From 90999c9a9932fe8d8f1bed21d7799db84f310076 Mon Sep 17 00:00:00 2001 From: hiro Date: Sun, 23 Jan 2005 18:01:05 +0000 Subject: use GTK stock button for dialog button set. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@30 ee746299-78ed-0310-b773-934348b2243d --- src/alertpanel.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/alertpanel.c') diff --git a/src/alertpanel.c b/src/alertpanel.c index c1f13c8b..4370a715 100644 --- a/src/alertpanel.c +++ b/src/alertpanel.c @@ -1,6 +1,6 @@ /* * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client - * Copyright (C) 1999-2004 Hiroyuki Yamamoto + * Copyright (C) 1999-2005 Hiroyuki Yamamoto * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -283,16 +283,16 @@ static void alertpanel_create(const gchar *title, /* for button(s) */ if (!button1_label) - button1_label = _("OK"); + button1_label = GTK_STOCK_OK; label2 = button2_label; label3 = button3_label; if (label2 && *label2 == '+') label2++; if (label3 && *label3 == '+') label3++; - gtkut_button_set_create(&confirm_area, - &button1, button1_label, - button2_label ? &button2 : NULL, label2, - button3_label ? &button3 : NULL, label3); + gtkut_stock_button_set_create(&confirm_area, + &button1, button1_label, + button2_label ? &button2 : NULL, label2, + button3_label ? &button3 : NULL, label3); gtk_box_pack_end(GTK_BOX(vbox), confirm_area, FALSE, FALSE, 0); gtk_widget_grab_default(button1); -- cgit v1.2.3