[frogr] Use the right type of action for the "Open project" file chooser dialog



commit 4eca266eb55b4e96b18b6d3ff1da92c58fbf20df
Author: Mario Sanchez Prada <msanchez gnome org>
Date:   Mon Jun 22 11:14:00 2015 +0100

    Use the right type of action for the "Open project" file chooser dialog
    
    Use GTK_FILE_CHOOSER_ACTION_OPEN instead of GTK_FILE_CHOOSER_ACTION_SAVE.

 src/frogr-main-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/frogr-main-view.c b/src/frogr-main-view.c
index 9f141e2..265ae95 100644
--- a/src/frogr-main-view.c
+++ b/src/frogr-main-view.c
@@ -1608,7 +1608,7 @@ _open_project_dialog (FrogrMainView *self)
 
   dialog = gtk_file_chooser_dialog_new (_("Select File"),
                                         GTK_WINDOW (self),
-                                        GTK_FILE_CHOOSER_ACTION_SAVE,
+                                        GTK_FILE_CHOOSER_ACTION_OPEN,
                                         _("_Cancel"), GTK_RESPONSE_CANCEL,
                                         _("_Open"), GTK_RESPONSE_ACCEPT,
                                         NULL);


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