# HG changeset patch # User Mark Doliner # Date 1185862185 0 # Node ID 66df5d93cdf4458a5d08056fe548cdc1d9d5df66 # Parent 2cc872f4f620df2bbc0d989a907a3699175dd274 When a new user starts Pidgin we hide the buddy list so that they only see the account window to make it easier for them to create an account. But then once they create an account the buddy list stays minimized, which makes people think nothing is happening. This changes makes it so we unhide the buddy list when gtkaccount.c creates the first account. diff -r 2cc872f4f620 -r 66df5d93cdf4 pidgin/gtkaccount.c --- a/pidgin/gtkaccount.c Tue Jul 31 03:26:05 2007 +0000 +++ b/pidgin/gtkaccount.c Tue Jul 31 06:09:45 2007 +0000 @@ -1162,6 +1162,11 @@ { const char *screenname; + if (purple_accounts_get_all() == NULL) { + /* We're adding our first account. Be polite and show the buddy list */ + purple_blist_set_visible(TRUE); + } + screenname = gtk_entry_get_text(GTK_ENTRY(dialog->screenname_entry)); account = purple_account_new(screenname, dialog->protocol_id); new = TRUE;