aboutsummaryrefslogtreecommitdiff
path: root/src/folderview.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-01-27 07:18:16 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-01-27 07:18:16 +0000
commitcc152a4558452fd6ab85fd2de73ef541268edea2 (patch)
tree3bf7ff3a9a0aee3cfa07d3576617786907aa3e7d /src/folderview.c
parent7027c02cc3bdc7a946e5f6fed57d90a578d77d1a (diff)
use GTK stock button for alertpanel.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@47 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/folderview.c')
-rw-r--r--src/folderview.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/folderview.c b/src/folderview.c
index ef9a2e3f..8ee6f81f 100644
--- a/src/folderview.c
+++ b/src/folderview.c
@@ -697,7 +697,7 @@ static void folderview_rescan_tree(FolderView *folderview, Folder *folder)
avalue = alertpanel
(_("Rebuild folder tree"),
_("The folder tree will be rebuilt. Continue?"),
- _("Yes"), _("No"), NULL);
+ GTK_STOCK_YES, GTK_STOCK_NO, NULL);
if (avalue != G_ALERTDEFAULT) return;
if (!FOLDER_IS_LOCAL(folder) &&
@@ -1962,7 +1962,7 @@ static void folderview_empty_trash_cb(FolderView *folderview, guint action,
if (item->stype != F_TRASH) return;
if (alertpanel(_("Empty trash"), _("Empty all messages in trash?"),
- _("Yes"), _("No"), NULL) != G_ALERTDEFAULT)
+ GTK_STOCK_YES, GTK_STOCK_NO, NULL) != G_ALERTDEFAULT)
return;
procmsg_empty_trash(folder->trash);