[gimp] Bug 686025 - Closing a tab closes wrong tab
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Bug 686025 - Closing a tab closes wrong tab
- Date: Fri, 12 Oct 2012 22:23:31 +0000 (UTC)
commit 56c6935a0c37a2ca547935d0b8ce0a4d1102188d
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...
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 a1a0c30..d2c95c4 100644
--- a/app/display/gimpdisplayshell-close.c
+++ b/app/display/gimpdisplayshell-close.c
@@ -338,7 +338,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]