This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository apps/ristretto.

commit 2b09353675c005de920a40e1bbb8e4801cb3d997
Author: Marc Schink <xfce-...@marcschink.de>
Date:   Tue Sep 1 17:43:32 2015 +0200

    Use default filename in save-copy dialog.
    
    The filename of the currently displayed image is now used as default
    filename in the save-copy dialog. This makes file copying more
    comfortable.
    
    Signed-off-by: Eric Koegel <eric.koe...@gmail.com>
---
 src/main_window.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/main_window.c b/src/main_window.c
index 432113d..87170da 100644
--- a/src/main_window.c
+++ b/src/main_window.c
@@ -3176,6 +3176,8 @@ cb_rstto_main_window_save_copy (GtkWidget *widget, 
RsttoMainWindow *window)
                                          GTK_STOCK_SAVE, GTK_RESPONSE_OK,
                                          NULL);
     gtk_file_chooser_set_do_overwrite_confirmation (GTK_FILE_CHOOSER (dialog), 
TRUE);
+    gtk_file_chooser_set_current_name (GTK_FILE_CHOOSER (dialog),
+        rstto_file_get_display_name (r_file));
 
     response = gtk_dialog_run(GTK_DIALOG(dialog));
     if(response == GTK_RESPONSE_OK)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to