comparison src/gtkaccount.c @ 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 952fb08c60b0
children ec140184437b
comparison
equal deleted inserted replaced
10162:17c3fc112410 10163:34a8bbf5b1b9
2531 2531
2532 return &handle; 2532 return &handle;
2533 } 2533 }
2534 2534
2535 void 2535 void
2536 gaim_gtk_account_init(void) { 2536 gaim_gtk_account_init(void)
2537 {
2538 gaim_prefs_add_none("/gaim/gtk/accounts");
2539 gaim_prefs_add_none("/gaim/gtk/accounts/dialog");
2540 gaim_prefs_add_int("/gaim/gtk/accounts/dialog/width", 550);
2541 gaim_prefs_add_int("/gaim/gtk/accounts/dialog/height", 250);
2542
2537 gaim_signal_register(gaim_gtk_account_get_handle(), "account-modified", 2543 gaim_signal_register(gaim_gtk_account_get_handle(), "account-modified",
2538 gaim_marshal_VOID__POINTER, NULL, 1, 2544 gaim_marshal_VOID__POINTER, NULL, 1,
2539 gaim_value_new(GAIM_TYPE_SUBTYPE, 2545 gaim_value_new(GAIM_TYPE_SUBTYPE,
2540 GAIM_SUBTYPE_ACCOUNT)); 2546 GAIM_SUBTYPE_ACCOUNT));
2541 } 2547 }
2542 2548
2543 void 2549 void
2544 gaim_gtk_account_uninit(void) { 2550 gaim_gtk_account_uninit(void)
2551 {
2545 gaim_signals_unregister_by_instance(gaim_gtk_account_get_handle()); 2552 gaim_signals_unregister_by_instance(gaim_gtk_account_get_handle());
2546 } 2553 }