[gimp/metadata-browser] Bug 676522 - Changing tabs in single-window-mode should switch the active image
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] Bug 676522 - Changing tabs in single-window-mode should switch the active image
- Date: Thu, 13 Sep 2012 00:20:19 +0000 (UTC)
commit 9438db41ff5eb994bba754c0c053be5055b520fd
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.
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]