aboutsummaryrefslogtreecommitdiff
path: root/src/filesel.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-04-11 07:58:58 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-04-11 07:58:58 +0000
commit739da17572ca8b33c7991c31c92716be0058a7ac (patch)
treedb74285f29dd0b43c2b733f73454960eff529469 /src/filesel.c
parent39dc449d3aedde4af54f6e8cffce95637da4c20a (diff)
use Yes/No button for overwrite confirmation dialog.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1623 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/filesel.c')
-rw-r--r--src/filesel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/filesel.c b/src/filesel.c
index 683f4f56..1b255f03 100644
--- a/src/filesel.c
+++ b/src/filesel.c
@@ -159,7 +159,7 @@ gchar *filesel_save_as(const gchar *file)
aval = alertpanel(_("Overwrite existing file"),
_("The file already exists. Do you want to replace it?"),
- GTK_STOCK_OK, GTK_STOCK_CANCEL, NULL);
+ GTK_STOCK_YES, GTK_STOCK_NO, NULL);
if (G_ALERTDEFAULT != aval) {
g_free(filename);
filename = NULL;
@@ -273,7 +273,7 @@ static GtkFileChooserConfirmation filesel_confirm_overwrite_cb
aval = alertpanel(_("Overwrite existing file"),
_("The file already exists. Do you want to replace it?"),
- GTK_STOCK_OK, GTK_STOCK_CANCEL, NULL);
+ GTK_STOCK_YES, GTK_STOCK_NO, NULL);
if (G_ALERTDEFAULT == aval)
ret = GTK_FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME;
else