[tracker] tracker-control: Use g_settings_sync() to make sure all settings are stored



commit 9a0fa49322fc513b6ac367e3e873a748bb3d1585
Author: Martyn Russell <martyn lanedo com>
Date:   Sun Mar 17 11:34:01 2013 +0000

    tracker-control: Use g_settings_sync() to make sure all settings are stored
    
    --set-log-verbosity was not always working as expected

 src/tracker-control/tracker-control-general.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-control/tracker-control-general.c b/src/tracker-control/tracker-control-general.c
index 8eaf935..07231ef 100644
--- a/src/tracker-control/tracker-control-general.c
+++ b/src/tracker-control/tracker-control-general.c
@@ -290,6 +290,8 @@ tracker_gsettings_set_all (GSList           *all,
                g_settings_apply (c->settings);
        }
 
+       g_settings_sync ();
+
        return success;
 }
 
@@ -912,6 +914,8 @@ tracker_control_general_run (void)
                        g_settings_apply (c->settings);
                }
 
+               g_settings_sync ();
+
                tracker_gsettings_free (all);
        }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]