Mercurial > pidgin.yaz
changeset 10163:34a8bbf5b1b9
[gaim-migrate @ 11249]
Add the gtk account prefs from gtkaccount.c instead of gtkprefs.c
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 09 Nov 2004 05:24:04 +0000 |
parents | 17c3fc112410 |
children | 3f71f7282dbf |
files | src/gtkaccount.c src/gtkprefs.c |
diffstat | 2 files changed, 9 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkaccount.c Mon Nov 08 13:13:47 2004 +0000 +++ b/src/gtkaccount.c Tue Nov 09 05:24:04 2004 +0000 @@ -2533,7 +2533,13 @@ } void -gaim_gtk_account_init(void) { +gaim_gtk_account_init(void) +{ + gaim_prefs_add_none("/gaim/gtk/accounts"); + gaim_prefs_add_none("/gaim/gtk/accounts/dialog"); + gaim_prefs_add_int("/gaim/gtk/accounts/dialog/width", 550); + gaim_prefs_add_int("/gaim/gtk/accounts/dialog/height", 250); + gaim_signal_register(gaim_gtk_account_get_handle(), "account-modified", gaim_marshal_VOID__POINTER, NULL, 1, gaim_value_new(GAIM_TYPE_SUBTYPE, @@ -2541,6 +2547,7 @@ } void -gaim_gtk_account_uninit(void) { +gaim_gtk_account_uninit(void) +{ gaim_signals_unregister_by_instance(gaim_gtk_account_get_handle()); }
--- a/src/gtkprefs.c Mon Nov 08 13:13:47 2004 +0000 +++ b/src/gtkprefs.c Tue Nov 09 05:24:04 2004 +0000 @@ -2424,12 +2424,6 @@ gaim_prefs_add_none("/plugins/gtk/docklet"); gaim_prefs_add_bool("/plugins/gtk/docklet/queue_messages", FALSE); - /* Accounts Dialog */ - gaim_prefs_add_none("/gaim/gtk/accounts"); - gaim_prefs_add_none("/gaim/gtk/accounts/dialog"); - gaim_prefs_add_int("/gaim/gtk/accounts/dialog/width", 550); - gaim_prefs_add_int("/gaim/gtk/accounts/dialog/height", 250); - /* Away Queueing */ gaim_prefs_add_none("/gaim/gtk/away"); gaim_prefs_add_bool("/gaim/gtk/away/queue_messages", FALSE);