Mercurial > pidgin
changeset 8300:0f5cb0d93b11
[gaim-migrate @ 9024]
Give the GAIM_STOCK_WARN button some stock text, and use it in the Warn
User dialog.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Fri, 20 Feb 2004 23:03:48 +0000 |
parents | 7402101c0319 |
children | 35540faa72c0 |
files | src/dialogs.c src/stock.c |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dialogs.c Fri Feb 20 22:11:56 2004 +0000 +++ b/src/dialogs.c Fri Feb 20 23:03:48 2004 +0000 @@ -192,7 +192,7 @@ w->window = gtk_dialog_new_with_buttons(_("Warn User"), GTK_WINDOW(GAIM_GTK_WINDOW(c->window)->window), 0, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, - _("_Warn"), GTK_RESPONSE_OK, NULL); + GAIM_STOCK_WARN, GTK_RESPONSE_OK, NULL); gtk_dialog_set_default_response (GTK_DIALOG(w->window), GTK_RESPONSE_OK); g_signal_connect(G_OBJECT(w->window), "response", G_CALLBACK(do_warn), w);
--- a/src/stock.c Fri Feb 20 22:11:56 2004 +0000 +++ b/src/stock.c Fri Feb 20 23:03:48 2004 +0000 @@ -84,7 +84,8 @@ { { 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_PAUSE, N_("_Pause"), 0, 0, NULL }, + { GAIM_STOCK_WARN, N_("_Warn"), 0, 0, NULL } }; static gint stock_icon_count = sizeof(stock_icons) / sizeof(*stock_icons);