[gnome-calendar] source-dialog: Use the right file chooser action



commit 22b0014bf992e861e0e7745553cc23cf0fe996e4
Author: Florian Brosch <flo brosch gmail com>
Date:   Wed Nov 8 22:23:43 2017 +0100

    source-dialog: Use the right file chooser action

 src/gcal-source-dialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcal-source-dialog.c b/src/gcal-source-dialog.c
index 70f6154..1783cc5 100644
--- a/src/gcal-source-dialog.c
+++ b/src/gcal-source-dialog.c
@@ -1154,7 +1154,7 @@ on_file_activated (GSimpleAction *action,
   /* Dialog */
   dialog = gtk_file_chooser_dialog_new (_("Select a calendar file"),
                                         GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (user_data))),
-                                        GTK_FILE_CHOOSER_ACTION_SAVE,
+                                        GTK_FILE_CHOOSER_ACTION_OPEN,
                                         _("Cancel"), GTK_RESPONSE_CANCEL,
                                         _("Open"), GTK_RESPONSE_OK,
                                         NULL);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]