Hi,
when sending the patch for initial sleep support to tracker.cfg I
intended to put InitialSleep inside the General section - well, sorry,
i missed it by some lines - Tshepang Lekhonkhobe found this and fixed
it with one of his latest patches.
This patch fixes tracker-preferences to use the General section of tracker.cfg.
Kind regards, Marcus
diff --git a/src/tracker-preferences/tracker-preferences.c b/src/tracker-preferences/tracker-preferences.c
index 270e43a..cbfc809 100644
--- a/src/tracker-preferences/tracker-preferences.c
+++ b/src/tracker-preferences/tracker-preferences.c
@@ -142,7 +142,7 @@ setup_page_general (TrackerPreferences * preferences)
widget = glade_xml_get_widget (priv->gxml, "spnInitialSleep");
- sleep = tracker_configuration_get_int (configuration,"/Watches/InitialSleep",NULL);
+ sleep = tracker_configuration_get_int (configuration,"/General/InitialSleep",NULL);
gtk_spin_button_set_value(GTK_SPIN_BUTTON(widget),sleep);
@@ -401,7 +401,7 @@ cmdClose_Clicked (GtkWidget * widget, gpointer data)
widget = glade_xml_get_widget (priv->gxml, "spnInitialSleep");
gint sleep = gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON(widget));
- tracker_configuration_set_int(configuration,"/Watches/InitialSleep",sleep);
+ tracker_configuration_set_int(configuration,"/General/InitialSleep",sleep);
widget = glade_xml_get_widget (priv->gxml, "chkIndexFileContents");
value = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (widget));
_______________________________________________
tracker-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/tracker-list