[gimp/gimp-2-8] Bug 676522 - Changing tabs in single-window-mode should switch the active image
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-8] Bug 676522 - Changing tabs in single-window-mode should switch the active image
- Date: Tue, 22 May 2012 23:27:52 +0000 (UTC)
commit a4fb9692ae7af6af204962c3db35ec164968a32d
Author: Michael Natterer <mitch gimp org>
Date: Wed May 23 01:25:22 2012 +0200
Bug 676522 - Changing tabs in single-window-mode should switch the active image
Change the active image when switching tabs in single-window-mode.
(cherry picked from commit c1cfe98d35d29bc2bdae6a4cb53434db1aa3b8c9)
app/display/gimpimagewindow.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/app/display/gimpimagewindow.c b/app/display/gimpimagewindow.c
index b8c63ba..1619714 100644
--- a/app/display/gimpimagewindow.c
+++ b/app/display/gimpimagewindow.c
@@ -1606,6 +1606,9 @@ gimp_image_window_switch_page (GtkNotebook *notebook,
active_display,
NULL /*new_entry_id*/);
+ gimp_context_set_display (gimp_get_user_context (private->gimp),
+ active_display);
+
gimp_ui_manager_update (private->menubar_manager, active_display);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]