gaim/gaim

Patch #1227823 from Richard Laager
oldstatus
2005-06-30, Richard Laager
aa2213e33e7a
Parents d670bc48b9a6
Children 6e1e3509c1d5
Patch #1227823 from Richard Laager

"This patch displays the Add Account dialog when you open the account editor and no accounts exist."
--- a/src/gtkaccount.c Wed Jun 29 23:55:34 2005 -0400
+++ b/src/gtkaccount.c Thu Jun 30 00:01:24 2005 -0400
@@ -2461,6 +2461,10 @@
dialog, GAIM_CALLBACK(signed_on_off_cb), dialog);
gtk_widget_show(win);
+
+ /* Display the add account window if no accounts exist. */
+ if (gaim_accounts_get_all() == NULL)
+ gaim_gtk_account_dialog_show(GAIM_GTK_ADD_ACCOUNT_DIALOG, NULL);
}
void