[f-spot: 1/3] Revert "Avoid setting import Preferences if dialog is not used"
- From: Stephane Delcroix <sdelcroix src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [f-spot: 1/3] Revert "Avoid setting import Preferences if dialog is not used"
- Date: Wed, 12 Aug 2009 08:02:10 +0000 (UTC)
commit b67dd5d1a83ff4e6db9bc0eec6eb1e1cf28dffb4
Author: Stephane Delcroix <stephane delcroix org>
Date: Wed Aug 12 09:56:48 2009 +0200
Revert "Avoid setting import Preferences if dialog is not used"
This reverts commit 16141dc4e5b2e9857724af5a4396d84e2ee7f7f4.
This patch should have been committed to 6_STABLE branch and is a little
suboptimal. Proper fix coming in a sec.
src/ImportCommand.cs | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/src/ImportCommand.cs b/src/ImportCommand.cs
index 2325920..8d106f0 100644
--- a/src/ImportCommand.cs
+++ b/src/ImportCommand.cs
@@ -527,11 +527,9 @@ public class ImportCommand : GladeDialog
private void SavePreferences ()
{
- if (copy_check != null) {
- Preferences.Set(Preferences.IMPORT_COPY_FILES, copy_check.Active);
- Preferences.Set(Preferences.IMPORT_INCLUDE_SUBFOLDERS, recurse_check.Active);
- Preferences.Set(Preferences.IMPORT_CHECK_DUPLICATES, duplicate_check.Active);
- }
+ Preferences.Set(Preferences.IMPORT_COPY_FILES, copy_check.Active);
+ Preferences.Set(Preferences.IMPORT_INCLUDE_SUBFOLDERS, recurse_check.Active);
+ Preferences.Set(Preferences.IMPORT_CHECK_DUPLICATES, duplicate_check.Active);
}
public void HandleImportBrowse (object o, EventArgs args)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]