summaryrefslogtreecommitdiff
path: root/rapid/prefsrapid.py
diff options
context:
space:
mode:
authorJulien Valroff <julien@kirya.net>2011-04-08 07:09:54 +0200
committerJulien Valroff <julien@kirya.net>2011-04-08 07:09:54 +0200
commiteb4c5cc4472b16ce10401611140381e5ba5b6aca (patch)
tree6e52c0a981186a09ab8161a6bc99a999f32ac408 /rapid/prefsrapid.py
parent6866d4a5b74779f087b8e44148a49163d8b7327b (diff)
Imported Upstream version 0.4.0~alpha4upstream/0.4.0_alpha4
Diffstat (limited to 'rapid/prefsrapid.py')
-rw-r--r--rapid/prefsrapid.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/rapid/prefsrapid.py b/rapid/prefsrapid.py
index 82079ec..491d75d 100644
--- a/rapid/prefsrapid.py
+++ b/rapid/prefsrapid.py
@@ -165,6 +165,15 @@ class RapidPreferences(prefs.Preferences):
return True
return False
+ def must_synchronize_raw_jpg(self):
+ """Returns True if synchronize_raw_jpg is True and photo renaming
+ uses sequence values"""
+ if self.synchronize_raw_jpg:
+ for s in LIST_SEQUENCE_L1:
+ if self._pref_list_uses_component(self.image_rename, s, 1):
+ return True
+ return False
+
def any_pref_uses_stored_sequence_no(self):
"""Returns True if any of the pref lists contain a stored sequence no"""
for pref_list in self._get_pref_lists():