summaryrefslogtreecommitdiff
path: root/rapid/prefsrapid.py
diff options
context:
space:
mode:
authorJulien Valroff <julien@kirya.net>2011-04-08 07:09:55 +0200
committerJulien Valroff <julien@kirya.net>2011-04-08 07:09:55 +0200
commitc7dff12ef94a1f5e5faa422444ebd2cf47b6b549 (patch)
tree028059e3a81327c18ec61f46bd30a3ed82a707ce /rapid/prefsrapid.py
parent4e2b25f9d85f23c51ae51a03049436a6778da69e (diff)
parenteb4c5cc4472b16ce10401611140381e5ba5b6aca (diff)
Merge commit 'upstream/0.4.0_alpha4' into experimental
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():