[tracker/tracker-preferences-for-gsettings: 2/3] fixup
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-preferences-for-gsettings: 2/3] fixup
- Date: Wed, 9 Mar 2011 16:37:07 +0000 (UTC)
commit 11f91c9c6d8bc7b1591ef4a25e284242ff412829
Author: Martyn Russell <martyn lanedo com>
Date: Wed Mar 9 15:17:44 2011 +0000
fixup
src/tracker-preferences/tracker-preferences.vala | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/tracker-preferences/tracker-preferences.vala b/src/tracker-preferences/tracker-preferences.vala
index 81dbe6b..edbc4bc 100644
--- a/src/tracker-preferences/tracker-preferences.vala
+++ b/src/tracker-preferences/tracker-preferences.vala
@@ -178,11 +178,11 @@ public class Tracker.Preferences {
config.ignored_files = model_to_slist (liststore_ignored_files);
config.ignored_directories_with_content = model_to_slist (liststore_gnored_directories_with_content);
config.index_recursive_directories = model_to_slist (liststore_index_recursively);
-
+
config.low_disk_space_limit = (int) hscale_disk_space_limit.get_value ();
config.throttle = (int) hscale_throttle.get_value ();
config.removable_days_threshold = (int) hscale_drop_device_threshold.get_value ();
-
+
config.save ();
// TODO: restart the Application and Files miner (no idea how to cleanly do this atm)
@@ -368,7 +368,6 @@ public class Tracker.Preferences {
dialog.destroy ();
}
-
private void add_dir (ListStore model) {
FileChooserDialog dialog = new FileChooserDialog (_("Select directory"), window,
FileChooserAction.SELECT_FOLDER,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]