# HG changeset patch # User Richard Laager # Date 1120104159 0 # Node ID 57e36a4ff1072f62dd3be1717f050b72938b072e # Parent b6070e971ceb7eb38a3e953600b85c1d195f0d47 [gaim-migrate @ 12933] Patch #1227823 from Richard Laager "This patch displays the Add Account dialog when you open the account editor and no accounts exist." committer: Tailor Script diff -r b6070e971ceb -r 57e36a4ff107 src/gtkaccount.c --- a/src/gtkaccount.c Thu Jun 30 03:49:45 2005 +0000 +++ b/src/gtkaccount.c Thu Jun 30 04:02:39 2005 +0000 @@ -2387,6 +2387,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