Mercurial > pidgin.yaz
diff pidgin/gtksavedstatuses.c @ 16064:5106ccf9f9f1
merge of '662dc38f3c156e501f9fa55b24a10bfcf82cc7ac'
and '6eba96b8d82f01cef4c91319b48d5d98c0a72155'
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Wed, 11 Apr 2007 15:21:47 +0000 |
parents | 07554cc5d090 |
children | 247e421c4fa6 |
line wrap: on
line diff
--- a/pidgin/gtksavedstatuses.c Wed Apr 11 14:03:28 2007 +0000 +++ b/pidgin/gtksavedstatuses.c Wed Apr 11 15:21:47 2007 +0000 @@ -521,8 +521,8 @@ { if (GTK_WIDGET_VISIBLE(widget)) { - purple_prefs_set_int("/purple/gtk/status/dialog/width", event->width); - purple_prefs_set_int("/purple/gtk/status/dialog/height", event->height); + purple_prefs_set_int(PIDGIN_PREFS_ROOT "/status/dialog/width", event->width); + purple_prefs_set_int(PIDGIN_PREFS_ROOT "/status/dialog/height", event->height); } return FALSE; @@ -547,8 +547,8 @@ status_window = dialog = g_new0(StatusWindow, 1); - width = purple_prefs_get_int("/purple/gtk/status/dialog/width"); - height = purple_prefs_get_int("/purple/gtk/status/dialog/height"); + width = purple_prefs_get_int(PIDGIN_PREFS_ROOT "/status/dialog/width"); + height = purple_prefs_get_int(PIDGIN_PREFS_ROOT "/status/dialog/height"); dialog->window = win = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_window_set_default_size(GTK_WINDOW(win), width, height); @@ -1768,10 +1768,10 @@ void pidgin_status_init(void) { - purple_prefs_add_none("/purple/gtk/status"); - purple_prefs_add_none("/purple/gtk/status/dialog"); - purple_prefs_add_int("/purple/gtk/status/dialog/width", 550); - purple_prefs_add_int("/purple/gtk/status/dialog/height", 250); + purple_prefs_add_none(PIDGIN_PREFS_ROOT "/status"); + purple_prefs_add_none(PIDGIN_PREFS_ROOT "/status/dialog"); + purple_prefs_add_int(PIDGIN_PREFS_ROOT "/status/dialog/width", 550); + purple_prefs_add_int(PIDGIN_PREFS_ROOT "/status/dialog/height", 250); } void