Mercurial > pidgin.yaz
changeset 12660:a614eb6c7d9d
[gaim-migrate @ 15003]
On the "You have unread messages, are you sure?" dialog, change
"Close" to "Close tabs"
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 26 Dec 2005 06:27:39 +0000 |
parents | 4c50dd655c30 |
children | e265e2eac9e1 |
files | src/gtkconv.c src/gtkstock.c src/gtkstock.h |
diffstat | 3 files changed, 16 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkconv.c Mon Dec 26 05:59:24 2005 +0000 +++ b/src/gtkconv.c Mon Dec 26 06:27:39 2005 +0000 @@ -6365,10 +6365,10 @@ warn_close_dialog = gtk_dialog_new_with_buttons( - _("Confirm close"), - GTK_WINDOW(gtkwin->window), GTK_DIALOG_MODAL, - GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, - GTK_STOCK_CLOSE, GTK_RESPONSE_OK, NULL); + _("Confirm close"), + GTK_WINDOW(gtkwin->window), GTK_DIALOG_MODAL, + GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, + GAIM_STOCK_CLOSE_TABS, GTK_RESPONSE_OK, NULL); gtk_dialog_set_default_response(GTK_DIALOG(warn_close_dialog), GTK_RESPONSE_OK);
--- a/src/gtkstock.c Mon Dec 26 05:59:24 2005 +0000 +++ b/src/gtkstock.c Mon Dec 26 06:27:39 2005 +0000 @@ -48,6 +48,7 @@ { GAIM_STOCK_BLOCK, NULL, GTK_STOCK_STOP }, { GAIM_STOCK_CHAT, NULL, GTK_STOCK_JUMP_TO }, { GAIM_STOCK_CLEAR, NULL, GTK_STOCK_CLEAR }, + { GAIM_STOCK_CLOSE_TABS, NULL, GTK_STOCK_CLOSE }, #if GTK_CHECK_VERSION(2,6,0) { GAIM_STOCK_CONNECT, NULL, GTK_STOCK_CONNECT }, #else @@ -135,15 +136,16 @@ static const GtkStockItem stock_items[] = { - { GAIM_STOCK_ALIAS, N_("_Alias"), 0, 0, NULL }, - { GAIM_STOCK_CHAT, N_("_Join"), 0, 0, NULL }, - { GAIM_STOCK_IM, N_("I_M"), 0, 0, NULL }, - { GAIM_STOCK_INFO, N_("_Get Info"), 0, 0, NULL }, - { GAIM_STOCK_INVITE, N_("_Invite"), 0, 0, NULL }, - { GAIM_STOCK_MODIFY, N_("_Modify"), 0, 0, NULL }, - { GAIM_STOCK_OPEN_MAIL, N_("_Open Mail"), 0, 0, NULL }, - { GAIM_STOCK_PAUSE, N_("_Pause"), 0, 0, NULL }, - { GAIM_STOCK_WARN, N_("_Warn"), 0, 0, NULL }, + { GAIM_STOCK_ALIAS, N_("_Alias"), 0, 0, NULL }, + { GAIM_STOCK_CHAT, N_("_Join"), 0, 0, NULL }, + { GAIM_STOCK_CLOSE_TABS, N_("Close _tabs"), 0, 0, NULL }, + { GAIM_STOCK_IM, N_("I_M"), 0, 0, NULL }, + { GAIM_STOCK_INFO, N_("_Get Info"), 0, 0, NULL }, + { GAIM_STOCK_INVITE, N_("_Invite"), 0, 0, NULL }, + { GAIM_STOCK_MODIFY, N_("_Modify"), 0, 0, NULL }, + { GAIM_STOCK_OPEN_MAIL, N_("_Open Mail"), 0, 0, NULL }, + { GAIM_STOCK_PAUSE, N_("_Pause"), 0, 0, NULL }, + { GAIM_STOCK_WARN, N_("_Warn"), 0, 0, NULL }, }; static gchar *
--- a/src/gtkstock.h Mon Dec 26 05:59:24 2005 +0000 +++ b/src/gtkstock.h Mon Dec 26 06:27:39 2005 +0000 @@ -38,6 +38,7 @@ #define GAIM_STOCK_BLOCK "gaim-block" #define GAIM_STOCK_CHAT "gaim-chat" #define GAIM_STOCK_CLEAR "gaim-clear" +#define GAIM_STOCK_CLOSE_TABS "gaim-close-tab" #define GAIM_STOCK_CONNECT "gaim-connect" #define GAIM_STOCK_DEBUG "gaim-debug" #define GAIM_STOCK_DIALOG_AUTH "gaim-dialog-auth"