[gimp/gimp-2-8] app: set the name of the open dialog again in file_open_dialog_show()



commit 242c5152ae96e817042ff869896056d615fd7441
Author: Michael Natterer <mitch gimp org>
Date:   Wed Jan 6 05:12:03 2016 +0100

    app: set the name of the open dialog again in file_open_dialog_show()
    
    so we get back the "Open Image as Layers" window title. Seems it was
    gone since I broke it in 2008.
    
    (cherry picked from commit 865bb627e01bb9c83ed7f84038a406ef6e2b3db5)

 app/actions/file-commands.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/app/actions/file-commands.c b/app/actions/file-commands.c
index 7bb9c20..70b7b4d 100644
--- a/app/actions/file-commands.c
+++ b/app/actions/file-commands.c
@@ -527,6 +527,8 @@ file_open_dialog_show (Gimp        *gimp,
       if (uri)
         gtk_file_chooser_set_uri (GTK_FILE_CHOOSER (dialog), uri);
 
+      gtk_window_set_title (GTK_WINDOW (dialog), title);
+
       gimp_file_dialog_set_open_image (GIMP_FILE_DIALOG (dialog),
                                        image, open_as_layers);
 


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