[recipes] Cosmetic improvements to "Export All"



commit e1094aaee7707eb6e1face0f786df44820213f62
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Mar 4 11:54:49 2017 -0500

    Cosmetic improvements to "Export All"
    
    Suggest a filename, and use "Export" as the button label.

 src/gr-window.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/gr-window.c b/src/gr-window.c
index 529c544..9c74b26 100644
--- a/src/gr-window.c
+++ b/src/gr-window.c
@@ -899,9 +899,10 @@ gr_window_save_all (GrWindow *window)
         window->file_chooser = (GObject *)gtk_file_chooser_native_new (_("Select a file"),
                                                                        GTK_WINDOW (window),
                                                                        GTK_FILE_CHOOSER_ACTION_SAVE,
-                                                                       _("Save"),
-                                                                       _("Cancel"));
+                                                                       _("_Export"),
+                                                                       _("_Cancel"));
         gtk_native_dialog_set_modal (GTK_NATIVE_DIALOG (window->file_chooser), TRUE);
+        gtk_file_chooser_set_current_name (GTK_FILE_CHOOSER (window->file_chooser), 
"all-recipes.gnome-recipes-export");
 
         g_signal_connect (window->file_chooser, "response",
                           G_CALLBACK (file_chooser_export_response), window);


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