[anjuta/gsettings-migration: 20/65] gtodo: Fixed preference names to match with GSettings rules
- From: Johannes Schmid <jhs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta/gsettings-migration: 20/65] gtodo: Fixed preference names to match with GSettings rules
- Date: Sun, 17 Oct 2010 09:34:27 +0000 (UTC)
commit 043f86c2a00012027db37edf94ef65809a390d18
Author: Johannes Schmid <jhs gnome org>
Date: Thu Sep 30 22:12:09 2010 +0200
gtodo: Fixed preference names to match with GSettings rules
plugins/gtodo/callback.c | 4 +-
plugins/gtodo/interface.c | 52 +++++++++++++++---------------
plugins/gtodo/list_tooltip.c | 2 +-
plugins/gtodo/notification.c | 4 +-
plugins/gtodo/preferences.c | 72 +++++++++++++++++++++---------------------
5 files changed, 67 insertions(+), 67 deletions(-)
---
diff --git a/plugins/gtodo/callback.c b/plugins/gtodo/callback.c
index 3805958..f911fb4 100644
--- a/plugins/gtodo/callback.c
+++ b/plugins/gtodo/callback.c
@@ -44,7 +44,7 @@ void category_changed(void)
if(i != 0)if( mw.mitems == NULL || mw.mitems[i-2] == NULL) return;
if(i == categorys+3)
{
- int j = anjuta_preferences_get_int (preferences, "gtodo.last-category");
+ int j = anjuta_preferences_get_int (preferences, "gtodo-last-category");
category_manager();
if(j < categorys+3 && mw.mitems != NULL && mw.mitems[j-2] != NULL) gtk_combo_box_set_active(GTK_COMBO_BOX(mw.option),j);
gtk_list_store_clear(mw.list);
@@ -53,7 +53,7 @@ void category_changed(void)
}
gtk_list_store_clear(mw.list);
load_category();
- anjuta_preferences_set_int (preferences, "gtodo.last-category", i);
+ anjuta_preferences_set_int (preferences, "gtodo-last-category", i);
}
}
diff --git a/plugins/gtodo/interface.c b/plugins/gtodo/interface.c
index 0b6aea4..ff45ae6 100644
--- a/plugins/gtodo/interface.c
+++ b/plugins/gtodo/interface.c
@@ -43,26 +43,26 @@ void gtodo_load_settings ()
debug_printf(DEBUG_INFO, "Loading settings from anjuta preferences");
- settings.ask_delete_category = anjuta_preferences_get_bool(preferences, "gtodo.ask-delete-category");
+ settings.ask_delete_category = anjuta_preferences_get_bool(preferences, "gtodo-ask-delete-category");
/* this is kinda (thanks gtk :-/) buggy.. gtk need fix first */
-// settings.list_tooltip = anjuta_preferences_get_bool(preferences, "gtodo.show-tooltip");
+// settings.list_tooltip = anjuta_preferences_get_bool(preferences, "gtodo-show-tooltip");
/* auto purge is default on.. */
- settings.auto_purge = anjuta_preferences_get_bool(preferences, "gtodo.auto-purge");
+ settings.auto_purge = anjuta_preferences_get_bool(preferences, "gtodo-auto-purge");
/* set default auto purge to a week */
- settings.purge_days = anjuta_preferences_get_int(preferences, "gtodo.auto-purge-days");
- settings.due_color = anjuta_preferences_get(preferences, "gtodo.due-color");
- settings.due_today_color = anjuta_preferences_get(preferences, "gtodo.due-today-color");
- settings.due_in_days_color = anjuta_preferences_get(preferences, "gtodo.due-in-days-color");
- settings.due_days = anjuta_preferences_get_int(preferences, "gtodo.due-days");
- settings.sorttype = anjuta_preferences_get_int(preferences, "gtodo.sort-type");
- settings.sortorder = anjuta_preferences_get_int(preferences, "gtodo.sort-order");
+ settings.purge_days = anjuta_preferences_get_int(preferences, "gtodo-auto-purge-days");
+ settings.due_color = anjuta_preferences_get(preferences, "gtodo-due-color");
+ settings.due_today_color = anjuta_preferences_get(preferences, "gtodo-due-today-color");
+ settings.due_in_days_color = anjuta_preferences_get(preferences, "gtodo-due-in-days-color");
+ settings.due_days = anjuta_preferences_get_int(preferences, "gtodo-due-days");
+ settings.sorttype = anjuta_preferences_get_int(preferences, "gtodo-sort-type");
+ settings.sortorder = anjuta_preferences_get_int(preferences, "gtodo-sort-order");
/* treeview hide preferences.. */
- settings.hide_done = anjuta_preferences_get_bool(preferences, "gtodo.hide-done");
- settings.hide_due = anjuta_preferences_get_bool(preferences, "gtodo.hide-due");
- settings.hide_nodate = anjuta_preferences_get_bool(preferences, "gtodo.hide-nodate");
- settings.hl_indays = anjuta_preferences_get_bool(preferences,"gtodo.hl-indays");
- settings.hl_due = anjuta_preferences_get_bool(preferences,"gtodo.hl-due");
- settings.hl_today = anjuta_preferences_get_bool(preferences,"gtodo.hl-today");
+ settings.hide_done = anjuta_preferences_get_bool(preferences, "gtodo-hide-done");
+ settings.hide_due = anjuta_preferences_get_bool(preferences, "gtodo-hide-due");
+ settings.hide_nodate = anjuta_preferences_get_bool(preferences, "gtodo-hide-nodate");
+ settings.hl_indays = anjuta_preferences_get_bool(preferences,"gtodo-hl-indays");
+ settings.hl_due = anjuta_preferences_get_bool(preferences,"gtodo-hl-due");
+ settings.hl_today = anjuta_preferences_get_bool(preferences,"gtodo-hl-today");
pref_set_notifications(preferences);
}
@@ -76,13 +76,13 @@ void gtodo_update_settings()
/* read the categorys */
{
- int i = anjuta_preferences_get_int(preferences, "gtodo.last-category");
+ int i = anjuta_preferences_get_int(preferences, "gtodo-last-category");
debug_printf(DEBUG_INFO, "Reading categories");
read_categorys();
gtk_combo_box_set_active(GTK_COMBO_BOX(mw.option),i);
}
/* nasty thing to fix the tooltip in the list */
- if(anjuta_preferences_get_bool(preferences, "gtodo.show-tooltip"))
+ if(anjuta_preferences_get_bool(preferences, "gtodo-show-tooltip"))
{
gtk_tree_view_set_headers_visible(GTK_TREE_VIEW(mw.treeview), FALSE);
}
@@ -205,21 +205,21 @@ GtkWidget * gui_create_todo_widget()
column = gtk_tree_view_column_new_with_attributes(_("Priority"), renderer, "text" , PRIOSTR,"strikethrough", DONE, "foreground-set", DUE,"foreground", COLOR, NULL);
gtk_tree_view_column_set_sort_column_id (column, PRIOSTR);
gtk_tree_view_append_column(GTK_TREE_VIEW(mw.treeview), column);
- if(!anjuta_preferences_get_bool(preferences, "gtodo.show-priority-column")) gtk_tree_view_column_set_visible(column, FALSE);
+ if(!anjuta_preferences_get_bool(preferences, "gtodo-show-priority-column")) gtk_tree_view_column_set_visible(column, FALSE);
renderer = gtk_cell_renderer_text_new();
g_object_set (renderer, "yalign", 0.0, NULL);
column = gtk_tree_view_column_new_with_attributes(_("Due date"), renderer, "text" , F_DATE,"strikethrough", DONE, "foreground-set", DUE,"foreground", COLOR,NULL);
gtk_tree_view_column_set_sort_column_id (column, F_DATE);
gtk_tree_view_append_column(GTK_TREE_VIEW(mw.treeview), column);
- if(!anjuta_preferences_get_bool(preferences, "gtodo.show-due-column")) gtk_tree_view_column_set_visible(column, FALSE);
+ if(!anjuta_preferences_get_bool(preferences, "gtodo-show-due-column")) gtk_tree_view_column_set_visible(column, FALSE);
renderer = gtk_cell_renderer_text_new();
g_object_set (renderer, "yalign", 0.0, NULL);
column = gtk_tree_view_column_new_with_attributes(_("Category"), renderer, "text" , CATEGORY,"strikethrough", DONE, "foreground-set", DUE,"foreground", COLOR,NULL);
gtk_tree_view_column_set_sort_column_id (column, CATEGORY);
gtk_tree_view_append_column(GTK_TREE_VIEW(mw.treeview), column);
- if(!anjuta_preferences_get_bool(preferences, "gtodo.show-category-column")) gtk_tree_view_column_set_visible(column, FALSE);
+ if(!anjuta_preferences_get_bool(preferences, "gtodo-show-category-column")) gtk_tree_view_column_set_visible(column, FALSE);
renderer = gtk_cell_renderer_text_new();
g_object_set (renderer, "yalign", 0.0, "wrap-mode", PANGO_WRAP_WORD, "wrap-width", 500, NULL);
@@ -280,19 +280,19 @@ void gtodo_set_hide_done(gboolean hide_it)
{
/* settings.hide_done = gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM (gtk_item_factory_get_widget(mw.item_factory, N_("/View/Todo List/Hide Completed Items"))));*/
settings.hide_done = hide_it;
- anjuta_preferences_set_bool(preferences, "gtodo.hide-done", settings.hide_done);
+ anjuta_preferences_set_bool(preferences, "gtodo-hide-done", settings.hide_done);
}
void gtodo_set_hide_nodate(gboolean hide_it)
{
settings.hide_nodate = hide_it;
- anjuta_preferences_set_bool(preferences, "gtodo.hide-nodate", settings.hide_nodate);
+ anjuta_preferences_set_bool(preferences, "gtodo-hide-nodate", settings.hide_nodate);
}
void gtodo_set_hide_due(gboolean hide_it)
{
settings.hide_due = hide_it;
- anjuta_preferences_set_bool(preferences, "gtodo.hide-due", settings.hide_due);
+ anjuta_preferences_set_bool(preferences, "gtodo-hide-due", settings.hide_due);
}
gboolean gtodo_get_hide_done()
@@ -313,14 +313,14 @@ gboolean gtodo_get_hide_due()
void gtodo_set_sorting_order (gboolean ascending_sort)
{
settings.sortorder = ascending_sort;
- anjuta_preferences_set_int(preferences, "gtodo.sort-order",settings.sortorder);
+ anjuta_preferences_set_int(preferences, "gtodo-sort-order",settings.sortorder);
gtk_tree_sortable_set_sort_column_id(GTK_TREE_SORTABLE (mw.sortmodel),0, settings.sortorder);
}
void gtodo_set_sorting_type (int sorting_type)
{
settings.sorttype = sorting_type;
- anjuta_preferences_set_int(preferences, "gtodo.sort-type",sorting_type);
+ anjuta_preferences_set_int(preferences, "gtodo-sort-type",sorting_type);
gtk_tree_sortable_set_sort_column_id(GTK_TREE_SORTABLE (gtk_tree_view_get_model(GTK_TREE_VIEW(mw.treeview))),0, settings.sortorder);
category_changed();
}
diff --git a/plugins/gtodo/list_tooltip.c b/plugins/gtodo/list_tooltip.c
index aceb04e..8dfe20d 100644
--- a/plugins/gtodo/list_tooltip.c
+++ b/plugins/gtodo/list_tooltip.c
@@ -185,7 +185,7 @@ gboolean mw_tooltip_timeout(GtkWidget *tv)
gboolean mw_motion_cb (GtkWidget *tv, GdkEventMotion *event, gpointer null)
{
GtkTreePath *path;
- if(!anjuta_preferences_get_bool(preferences, "gtodo.show-tooltip")) return FALSE;
+ if(!anjuta_preferences_get_bool(preferences, "gtodo-show-tooltip")) return FALSE;
if(rect.y == 0 && rect.height == 0 && gtodo_timeout)
{
diff --git a/plugins/gtodo/notification.c b/plugins/gtodo/notification.c
index 902a65e..24aee39 100644
--- a/plugins/gtodo/notification.c
+++ b/plugins/gtodo/notification.c
@@ -16,8 +16,8 @@ typedef struct
int check_for_notification_event(void)
{
GTodoList *list = NULL;
- int min_b_not = anjuta_preferences_get_int(preferences, "gtodo.notify_in_minutes");
- if(!anjuta_preferences_get_bool(preferences, "gtodo.do_notification")) return TRUE;
+ int min_b_not = anjuta_preferences_get_int(preferences, "gtodo-notify_in_minutes");
+ if(!anjuta_preferences_get_bool(preferences, "gtodo-do_notification")) return TRUE;
list = gtodo_client_get_todo_item_list(cl, NULL);
if(list == NULL) return TRUE;
do{
diff --git a/plugins/gtodo/preferences.c b/plugins/gtodo/preferences.c
index d40f3e7..b6421c7 100644
--- a/plugins/gtodo/preferences.c
+++ b/plugins/gtodo/preferences.c
@@ -31,9 +31,9 @@ void gui_preferences(void)
/* because there not directly visible I can go save the values now.. (not like do_tray) */
// settings.auto_purge = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(cb_auto_purge));
- // anjuta_preferences_set_bool(preferences,"gtodo.auto-purge",settings.auto_purge,NULL);
+ // anjuta_preferences_set_bool(preferences,"gtodo-auto-purge",settings.auto_purge,NULL);
// settings.purge_days = gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON(sp_purge_days));
- // anjuta_preferences_set_int(preferences,"gtodo.auto-purge-days",settings.purge_days,NULL);
+ // anjuta_preferences_set_int(preferences,"gtodo-auto-purge-days",settings.purge_days,NULL);
gtk_widget_destroy(dialog);
/* save the settings */
}
@@ -89,24 +89,24 @@ GtkWidget *preferences_widget()
gtk_box_pack_start(GTK_BOX(vbox),cb_show_date, FALSE, TRUE, 0);
/* set it to current value and add signal handler */
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(cb_show_date),
- anjuta_preferences_get_bool(preferences, "gtodo.show-due-column"));
+ anjuta_preferences_get_bool(preferences, "gtodo-show-due-column"));
g_signal_connect(G_OBJECT(cb_show_date), "toggled", G_CALLBACK(preferences_cb_show_date), NULL);
cb = gtk_check_button_new_with_label(_("Show category column"));
gtk_box_pack_start(GTK_BOX(vbox),cb, FALSE, TRUE, 0);
- gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(cb), anjuta_preferences_get_bool(preferences, "gtodo.show-category-column"));
+ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(cb), anjuta_preferences_get_bool(preferences, "gtodo-show-category-column"));
g_signal_connect(G_OBJECT(cb), "toggled", G_CALLBACK(preferences_cb_toggle_show_category_column), NULL);
cb = gtk_check_button_new_with_label(_("Show priority column"));
gtk_box_pack_start(GTK_BOX(vbox),cb, FALSE, TRUE, 0);
- gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(cb), anjuta_preferences_get_bool(preferences, "gtodo.show-priority-column"));
+ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(cb), anjuta_preferences_get_bool(preferences, "gtodo-show-priority-column"));
g_signal_connect(G_OBJECT(cb), "toggled", G_CALLBACK(preferences_cb_toggle_show_priority_column), NULL);
cb_list_tooltip = gtk_check_button_new_with_label(_("Tooltips in list"));
gtk_box_pack_start(GTK_BOX(vbox),cb_list_tooltip, FALSE, TRUE, 0);
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(cb_list_tooltip),
- anjuta_preferences_get_bool(preferences, "gtodo.show-tooltip"));
+ anjuta_preferences_get_bool(preferences, "gtodo-show-tooltip"));
g_signal_connect(G_OBJECT(cb_list_tooltip), "toggled", G_CALLBACK(preferences_cb_do_tooltip), NULL);
@@ -217,12 +217,12 @@ GtkWidget *preferences_widget()
gtk_box_pack_start(GTK_BOX(vbox2), frame, FALSE, FALSE, 0);
tmp = g_strdup_printf(ngettext("Allow to-do items to notify me when they are due in %i minute",
"Allow to-do items to notify me when they are due in %i minutes",
- anjuta_preferences_get_int(preferences, "gtodo.notify_in_minutes")),
- anjuta_preferences_get_int(preferences, "gtodo.notify_in_minutes"));
+ anjuta_preferences_get_int(preferences, "gtodo-notify-in-minutes")),
+ anjuta_preferences_get_int(preferences, "gtodo-notify-in-minutes"));
cb = gtk_check_button_new_with_label(tmp);
g_free(tmp);
gtk_box_pack_start(GTK_BOX(vbox),cb, FALSE, TRUE, 0);
- gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(cb), anjuta_preferences_get_bool(preferences, "gtodo.do_notification"));
+ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(cb), anjuta_preferences_get_bool(preferences, "gtodo-do-notification"));
g_signal_connect(G_OBJECT(cb), "toggled", G_CALLBACK(preferences_cb_toggle_show_notification), NULL);
gtk_widget_show_all (notebook);
@@ -231,21 +231,21 @@ GtkWidget *preferences_widget()
static void preferences_cb_toggle_hl_today(GtkWidget *chbox)
{
- anjuta_preferences_set_bool(preferences, "gtodo.hl-today", gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(chbox)));
+ anjuta_preferences_set_bool(preferences, "gtodo-hl-today", gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(chbox)));
settings.hl_today = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(chbox));
category_changed();
}
static void preferences_cb_toggle_hl_due(GtkWidget *chbox)
{
- anjuta_preferences_set_bool(preferences, "gtodo.hl-due", gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(chbox)));
+ anjuta_preferences_set_bool(preferences, "gtodo-hl-due", gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(chbox)));
settings.hl_due = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(chbox));
category_changed();
}
static void preferences_cb_toggle_hl_indays(GtkWidget *chbox)
{
- anjuta_preferences_set_bool(preferences, "gtodo.hl-indays",
+ anjuta_preferences_set_bool(preferences, "gtodo-hl-indays",
gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(chbox)));
settings.hl_indays = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(chbox));
category_changed();
@@ -253,29 +253,29 @@ static void preferences_cb_toggle_hl_indays(GtkWidget *chbox)
static void preferences_cb_toggle_show_notification(GtkWidget *chbox)
{
- anjuta_preferences_set_bool(preferences, "gtodo.do_notification",
+ anjuta_preferences_set_bool(preferences, "gtodo-do_notification",
gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(chbox)));
}
static void preferences_cb_toggle_show_category_column(GtkWidget *chbox)
{
- anjuta_preferences_set_bool(preferences, "gtodo.show-category-column",
+ anjuta_preferences_set_bool(preferences, "gtodo-show-category-column",
gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(chbox)));
gtk_tree_view_column_set_visible(gtk_tree_view_get_column(GTK_TREE_VIEW(mw.treeview), 3),
- anjuta_preferences_get_bool(preferences, "gtodo.show-category-column"));
+ anjuta_preferences_get_bool(preferences, "gtodo-show-category-column"));
}
static void preferences_cb_toggle_show_priority_column(GtkWidget *chbox)
{
- anjuta_preferences_set_bool(preferences, "gtodo.show-priority-column",
+ anjuta_preferences_set_bool(preferences, "gtodo-show-priority-column",
gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(chbox)));
gtk_tree_view_column_set_visible(gtk_tree_view_get_column(GTK_TREE_VIEW(mw.treeview), 1),
- anjuta_preferences_get_bool(preferences, "gtodo.show-priority-column"));
+ anjuta_preferences_get_bool(preferences, "gtodo-show-priority-column"));
}
static void preferences_cb_show_date(GtkWidget *chbox)
{
- anjuta_preferences_set_bool(preferences, "gtodo.show-due-column",
+ anjuta_preferences_set_bool(preferences, "gtodo-show-due-column",
gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(chbox)));
if(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(chbox)))
{
@@ -289,7 +289,7 @@ static void preferences_cb_show_date(GtkWidget *chbox)
static void preferences_cb_do_tooltip(GtkWidget *chbox)
{
- anjuta_preferences_set_bool(preferences, "gtodo.show-tooltip", gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(chbox)));
+ anjuta_preferences_set_bool(preferences, "gtodo-show-tooltip", gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(chbox)));
if(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(chbox)))
{
@@ -303,7 +303,7 @@ static void preferences_cb_do_tooltip(GtkWidget *chbox)
static void preferences_cb_auto_purge(GtkWidget *cb, GtkWidget *hbox)
{
- anjuta_preferences_set_bool(preferences, "gtodo.auto-purge", gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(cb)));
+ anjuta_preferences_set_bool(preferences, "gtodo-auto-purge", gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(cb)));
if(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(cb)))
gtk_widget_set_sensitive(GTK_WIDGET(hbox), TRUE);
else
@@ -326,21 +326,21 @@ static void pref_changed_show_priority_column(AnjutaPreferences *preferences, co
{
gtk_tree_view_column_set_visible(
gtk_tree_view_get_column(GTK_TREE_VIEW(mw.treeview), 1),
- anjuta_preferences_get_bool(preferences, "gtodo.show-priority-column"));
+ anjuta_preferences_get_bool(preferences, "gtodo-show-priority-column"));
}
static void pref_changed_show_category_column(AnjutaPreferences *preferences, const char *key, gpointer data)
{
gtk_tree_view_column_set_visible(gtk_tree_view_get_column(GTK_TREE_VIEW(mw.treeview), 3),
- anjuta_preferences_get_bool(preferences, "gtodo.show-category-column"));
+ anjuta_preferences_get_bool(preferences, "gtodo-show-category-column"));
}
static void pref_changed_show_due_column(AnjutaPreferences *preferences, const char *key, gpointer data)
{
gtk_tree_view_column_set_visible(
gtk_tree_view_get_column(GTK_TREE_VIEW(mw.treeview), 2),
- anjuta_preferences_get_bool(preferences, "gtodo.show-due-column"));
+ anjuta_preferences_get_bool(preferences, "gtodo-show-due-column"));
}
static void pref_changed_auto_purge(AnjutaPreferences *preferences, const char *key, gpointer data)
@@ -351,7 +351,7 @@ static void pref_changed_auto_purge(AnjutaPreferences *preferences, const char
#if 0
static void pref_changed_auto_purge_days(GConfClient *client)
{
- settings.purge_days = anjuta_preferences_get_int(preferences, "gtodo.auto-purge-days",NULL);
+ settings.purge_days = anjuta_preferences_get_int(preferences, "gtodo-auto-purge-days",NULL);
}
#endif
@@ -393,46 +393,46 @@ static void pref_changed_hide_nodate(AnjutaPreferences *preferences, const char
void pref_set_notifications(AnjutaPreferences *preferences)
{
- anjuta_preferences_notify_add(preferences,"gtodo.show-tooltip",
+ anjuta_preferences_notify_add(preferences,"gtodo-show-tooltip",
pref_changed_show_tooltip,
NULL);
- anjuta_preferences_notify_add(preferences,"gtodo.ask-delete-category",
+ anjuta_preferences_notify_add(preferences,"gtodo-ask-delete-category",
pref_changed_ask_delete_category,
NULL);
- anjuta_preferences_notify_add(preferences,"gtodo.show-due-column",
+ anjuta_preferences_notify_add(preferences,"gtodo-show-due-column",
pref_changed_show_due_column,
NULL);
- anjuta_preferences_notify_add(preferences,"gtodo.show-category-column",
+ anjuta_preferences_notify_add(preferences,"gtodo-show-category-column",
pref_changed_show_category_column,
NULL);
- anjuta_preferences_notify_add(preferences,"gtodo.show-priority-column",
+ anjuta_preferences_notify_add(preferences,"gtodo-show-priority-column",
pref_changed_show_priority_column,
NULL);
- anjuta_preferences_notify_add(preferences,"gtodo.auto-purge",
+ anjuta_preferences_notify_add(preferences,"gtodo-auto-purge",
pref_changed_auto_purge,
NULL);
- anjuta_preferences_notify_add(preferences,"gtodo.hl-today",
+ anjuta_preferences_notify_add(preferences,"gtodo-hl-today",
pref_changed_hl_today,
NULL);
- anjuta_preferences_notify_add(preferences,"gtodo.hl-due",
+ anjuta_preferences_notify_add(preferences,"gtodo-hl-due",
pref_changed_hl_due,
NULL);
- anjuta_preferences_notify_add(preferences,"gtodo.hl-indays",
+ anjuta_preferences_notify_add(preferences,"gtodo-hl-indays",
pref_changed_hl_indays,
NULL);
- anjuta_preferences_notify_add(preferences,"gtodo.hide-done",
+ anjuta_preferences_notify_add(preferences,"gtodo-hide-done",
pref_changed_hide_done,
NULL);
- anjuta_preferences_notify_add(preferences,"gtodo.hide-due",
+ anjuta_preferences_notify_add(preferences,"gtodo-hide-due",
pref_changed_hide_due,
NULL);
- anjuta_preferences_notify_add(preferences,"gtodo.hide-nodate",
+ anjuta_preferences_notify_add(preferences,"gtodo-hide-nodate",
pref_changed_hide_nodate,
NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]