Mercurial > pidgin
comparison plugins/docklet/docklet.c @ 10272:bf1ebc8f3bf3
[gaim-migrate @ 11421]
Change "Signoff" to "Log Out" in a few user-visible places.
I <dinky little heart> consistency.
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Sat, 27 Nov 2004 17:07:28 +0000 |
| parents | d082b2a71ee7 |
| children | ec140184437b |
comparison
equal
deleted
inserted
replaced
| 10271:361c9170d8af | 10272:bf1ebc8f3bf3 |
|---|---|
| 219 switch (status) { | 219 switch (status) { |
| 220 case offline: | 220 case offline: |
| 221 case offline_connecting: | 221 case offline_connecting: |
| 222 break; | 222 break; |
| 223 default: | 223 default: |
| 224 gaim_new_item_from_stock(menu, _("Signoff"), GTK_STOCK_CLOSE, G_CALLBACK(gaim_connections_disconnect_all), NULL, 0, 0, 0); | 224 gaim_new_item_from_stock(menu, _("Log Out"), GTK_STOCK_CLOSE, G_CALLBACK(gaim_connections_disconnect_all), NULL, 0, 0, 0); |
| 225 break; | 225 break; |
| 226 } | 226 } |
| 227 | 227 |
| 228 gaim_new_item_from_stock(menu, _("Quit"), GTK_STOCK_QUIT, G_CALLBACK(gaim_core_quit), NULL, 0, 0, NULL); | 228 gaim_new_item_from_stock(menu, _("Quit"), GTK_STOCK_QUIT, G_CALLBACK(gaim_core_quit), NULL, 0, 0, NULL); |
| 229 | 229 |
| 408 } | 408 } |
| 409 | 409 |
| 410 /* callbacks */ | 410 /* callbacks */ |
| 411 | 411 |
| 412 static void | 412 static void |
| 413 gaim_signon(GaimConnection *gc, void *data) | 413 gaim_login(GaimConnection *gc, void *data) |
| 414 { | 414 { |
| 415 docklet_update_status(); | 415 docklet_update_status(); |
| 416 } | 416 } |
| 417 | 417 |
| 418 static void | 418 static void |
| 419 gaim_signoff(GaimConnection *gc, void *data) | 419 gaim_logout(GaimConnection *gc, void *data) |
| 420 { | 420 { |
| 421 /* do this when idle so that if the prpl was connecting | 421 /* do this when idle so that if the prpl was connecting |
| 422 and was cancelled, we register that connecting_count | 422 and was cancelled, we register that connecting_count |
| 423 has returned to 0 */ | 423 has returned to 0 */ |
| 424 /* no longer necessary because Chip decided that us plugins | 424 /* no longer necessary because Chip decided that us plugins |
| 502 docklet_ui_init(); | 502 docklet_ui_init(); |
| 503 if (ui_ops && ui_ops->create) | 503 if (ui_ops && ui_ops->create) |
| 504 ui_ops->create(); | 504 ui_ops->create(); |
| 505 | 505 |
| 506 gaim_signal_connect(conn_handle, "signed-on", | 506 gaim_signal_connect(conn_handle, "signed-on", |
| 507 plugin, GAIM_CALLBACK(gaim_signon), NULL); | 507 plugin, GAIM_CALLBACK(gaim_login), NULL); |
| 508 gaim_signal_connect(conn_handle, "signed-off", | 508 gaim_signal_connect(conn_handle, "signed-off", |
| 509 plugin, GAIM_CALLBACK(gaim_signoff), NULL); | 509 plugin, GAIM_CALLBACK(gaim_logout), NULL); |
| 510 gaim_signal_connect(accounts_handle, "account-connecting", | 510 gaim_signal_connect(accounts_handle, "account-connecting", |
| 511 plugin, GAIM_CALLBACK(gaim_connecting), NULL); | 511 plugin, GAIM_CALLBACK(gaim_connecting), NULL); |
| 512 gaim_signal_connect(accounts_handle, "account-away", | 512 gaim_signal_connect(accounts_handle, "account-away", |
| 513 plugin, GAIM_CALLBACK(gaim_away), NULL); | 513 plugin, GAIM_CALLBACK(gaim_away), NULL); |
| 514 gaim_signal_connect(conv_handle, "received-im-msg", | 514 gaim_signal_connect(conv_handle, "received-im-msg", |
