Mercurial > pidgin.yaz
comparison src/gtkconn.c @ 12296:2f4577ae3810
[gaim-migrate @ 14600]
I give you an Accounts menu.
The patch is up at http://www.eden.rutgers.edu/~deryni/accounts_menu.diff in case people hate it and want it gone.
Currently there is both a Remove Account menu, and a Remove option for each account. I couldn't decide which I liked better and didn't get any good consensus about it the times I asked.
I also left the Accounts dialog and menu item, because there are still a few things that you can only do (or are much easier) from there.
committer: Tailor Script <tailor@pidgin.im>
author | Etan Reisner <pidgin@unreliablesource.net> |
---|---|
date | Fri, 02 Dec 2005 19:33:14 +0000 |
parents | f28e51bf9be8 |
children | 7c7cb03e5475 |
comparison
equal
deleted
inserted
replaced
12295:fc42c0d41482 | 12296:2f4577ae3810 |
---|---|
109 if (accountReconnecting == NULL) | 109 if (accountReconnecting == NULL) |
110 return; | 110 return; |
111 accountReconnecting = g_slist_remove(accountReconnecting, account); | 111 accountReconnecting = g_slist_remove(accountReconnecting, account); |
112 if (accountReconnecting == NULL) | 112 if (accountReconnecting == NULL) |
113 gtk_gaim_status_box_set_error(GTK_GAIM_STATUS_BOX(gtkblist->statusbox), NULL); | 113 gtk_gaim_status_box_set_error(GTK_GAIM_STATUS_BOX(gtkblist->statusbox), NULL); |
114 gaim_gtk_blist_update_protocol_actions(); | |
115 } | 114 } |
116 | 115 |
117 static void gaim_gtk_connection_disconnected(GaimConnection *gc) | 116 static void gaim_gtk_connection_disconnected(GaimConnection *gc) |
118 { | 117 { |
119 GaimGtkBuddyList *gtkblist = gaim_gtk_blist_get_default_gtk_blist(); | 118 GaimGtkBuddyList *gtkblist = gaim_gtk_blist_get_default_gtk_blist(); |
121 return; | 120 return; |
122 gtk_gaim_status_box_set_connecting(GTK_GAIM_STATUS_BOX(gtkblist->statusbox), | 121 gtk_gaim_status_box_set_connecting(GTK_GAIM_STATUS_BOX(gtkblist->statusbox), |
123 (gaim_connections_get_connecting() != NULL)); | 122 (gaim_connections_get_connecting() != NULL)); |
124 gtk_gaim_status_box_set_connecting(find_status_box_for_account(gc->account), | 123 gtk_gaim_status_box_set_connecting(find_status_box_for_account(gc->account), |
125 FALSE); | 124 FALSE); |
126 gaim_gtk_blist_update_protocol_actions(); | |
127 | 125 |
128 if (gaim_connections_get_all() != NULL) | 126 if (gaim_connections_get_all() != NULL) |
129 return; | 127 return; |
130 | 128 |
131 gaim_gtkdialogs_destroy_all(); | 129 gaim_gtkdialogs_destroy_all(); |