[gimp/gimp-2-8] Bug 686025 - Closing a tab closes wrong tab



commit 634ae4a2cff0e3456c54ce0deb22d9757f80f058
Author: Michael Natterer <mitch gimp org>
Date:   Sat Oct 13 00:22:21 2012 +0200

    Bug 686025 - Closing a tab closes wrong tab
    
    Replace /* FIXME: switch tabs */ with an actual call to
    gimp_image_window_set_active_shell(). WTF...
    (cherry picked from commit 56c6935a0c37a2ca547935d0b8ce0a4d1102188d)

 app/display/gimpdisplayshell-close.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/display/gimpdisplayshell-close.c b/app/display/gimpdisplayshell-close.c
index ff71df5..2739f3e 100644
--- a/app/display/gimpdisplayshell-close.c
+++ b/app/display/gimpdisplayshell-close.c
@@ -339,7 +339,7 @@ gimp_display_shell_close_response (GtkWidget        *widget,
           {
             GimpUIManager *manager = gimp_image_window_get_ui_manager (window);
 
-            /* FIXME image window: set this display active */
+            gimp_image_window_set_active_shell (window, shell);
 
             gimp_ui_manager_activate_action (manager,
                                              "file", "file-save-and-close");



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