aboutsummaryrefslogtreecommitdiff
path: root/src/alertpanel.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-01-23 18:01:05 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-01-23 18:01:05 +0000
commit90999c9a9932fe8d8f1bed21d7799db84f310076 (patch)
tree79e48eeacd4427fe31f4226e7584f9ed16fb292a /src/alertpanel.c
parent68457eb396400cc621286817298e3912e08361b1 (diff)
use GTK stock button for dialog button set.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@30 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/alertpanel.c')
-rw-r--r--src/alertpanel.c12
1 files changed, 6 insertions, 6 deletions
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);