aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-dialog-utils.c
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2007-07-29 03:23:00 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2007-07-29 03:23:00 +0800
commit4b4991f7db7b48f6d403104d9f5d01bb67405bcc (patch)
treeee11a23e136241627ecc23a541ab26facd0d6bed /e-util/e-dialog-utils.c
parent24d8eeeac78826238684408ec5ea3e5cf810b019 (diff)
downloadgsoc2013-evolution-4b4991f7db7b48f6d403104d9f5d01bb67405bcc.tar.gz
gsoc2013-evolution-4b4991f7db7b48f6d403104d9f5d01bb67405bcc.tar.zst
gsoc2013-evolution-4b4991f7db7b48f6d403104d9f5d01bb67405bcc.zip
** Fixes bug #451211
svn path=/trunk/; revision=33867
Diffstat (limited to 'e-util/e-dialog-utils.c')
-rw-r--r--e-util/e-dialog-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/e-util/e-dialog-utils.c b/e-util/e-dialog-utils.c
index 1ce839d185..a65f946ace 100644
--- a/e-util/e-dialog-utils.c
+++ b/e-util/e-dialog-utils.c
@@ -366,7 +366,7 @@ e_file_get_save_filesel (GtkWidget *parent, const char *title, const char *name,
NULL,
action,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
- GTK_STOCK_SAVE, GTK_RESPONSE_OK,
+ (action == GTK_FILE_CHOOSER_ACTION_OPEN) ? GTK_STOCK_OPEN:GTK_STOCK_SAVE, GTK_RESPONSE_OK,
NULL);
gtk_dialog_set_default_response (GTK_DIALOG (filesel), GTK_RESPONSE_OK);
gtk_file_chooser_set_local_only (GTK_FILE_CHOOSER (filesel), FALSE);