aboutsummaryrefslogtreecommitdiff
path: root/src/progressdialog.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/progressdialog.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/progressdialog.c')
-rw-r--r--src/progressdialog.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/progressdialog.c b/src/progressdialog.c
index 31295372..b7a21e1b 100644
--- a/src/progressdialog.c
+++ b/src/progressdialog.c
@@ -1,6 +1,6 @@
/*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2001 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
@@ -29,6 +29,7 @@
#include <gtk/gtkprogressbar.h>
#include <gtk/gtkscrolledwindow.h>
#include <gtk/gtkbutton.h>
+#include <gtk/gtkstock.h>
#include "intl.h"
#include "progressdialog.h"
@@ -74,8 +75,9 @@ ProgressDialog *progress_dialog_create(void)
gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 8);
gtk_widget_show(label);
- gtkut_button_set_create(&cancel_area, &cancel_btn, _("Cancel"),
- NULL, NULL, NULL, NULL);
+ gtkut_stock_button_set_create
+ (&cancel_area, &cancel_btn, GTK_STOCK_CANCEL,
+ NULL, NULL, NULL, NULL);
gtk_box_pack_end(GTK_BOX(vbox), cancel_area, FALSE, FALSE, 0);
gtk_widget_grab_default(cancel_btn);
gtk_widget_show_all(cancel_area);