Mercurial > pidgin
diff plugins/docklet/docklet.c @ 10738:55af3fa46329
[gaim-migrate @ 12340]
Lots of changes here. A lot of it stems from chaning
gaim_account_connect() so that it DOES NOT have the GaimStatus
parameter. It will attempt to use the GaimStatus of your
account from the last time it was connected (which doesn't
work quite right yet).
My goal here was to save and load each account's GaimStatuses
to accounts.xml, so if you were "away" when you signed off then
you'll be "away" when you sign back on. Not quite there yet.
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Sat, 26 Mar 2005 20:08:43 +0000 |
| parents | 7244386075c6 |
| children | d8b0b9c5ffd7 |
line wrap: on
line diff
--- a/plugins/docklet/docklet.c Sat Mar 26 19:19:33 2005 +0000 +++ b/plugins/docklet/docklet.c Sat Mar 26 20:08:43 2005 +0000 @@ -82,12 +82,6 @@ gaim_prefs_set_bool(key, gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(widget))); } -static void -docklet_auto_login() -{ - gaim_accounts_auto_login(GAIM_GTK_UI); -} - #ifdef _WIN32 #if 0 /* XXX NEW STATUS */ /* This is workaround for a bug in windows GTK+. Clicking outside of the @@ -137,7 +131,7 @@ switch (status) { case offline: case offline_connecting: - gaim_new_item_from_stock(menu, _("Auto-login"), GAIM_STOCK_SIGN_ON, G_CALLBACK(docklet_auto_login), NULL, 0, 0, NULL); + /* No special menu items right now */ break; default: gaim_new_item_from_stock(menu, _("New Message..."), GAIM_STOCK_IM, G_CALLBACK(gaim_gtkdialogs_im), NULL, 0, 0, NULL); @@ -356,14 +350,7 @@ #endif break; case 2: - switch (status) { - case offline: - case offline_connecting: - docklet_auto_login(); - break; - default: - break; - } + /* Don't do anything for middle click */ break; case 3: docklet_menu();
