[gimp] Update the window title and icon when switching between shells



commit bf41a773cb2f959381c7d055b44186058d392a71
Author: Michael Natterer <mitch gimp org>
Date:   Tue Oct 6 10:56:46 2009 +0200

    Update the window title and icon when switching between shells

 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 b655ea3..147ac95 100644
--- a/app/display/gimpimagewindow.c
+++ b/app/display/gimpimagewindow.c
@@ -1009,6 +1009,9 @@ gimp_image_window_switch_page (GtkNotebook     *notebook,
                     G_CALLBACK (gimp_image_window_shell_icon_notify),
                     window);
 
+  gtk_window_set_title (GTK_WINDOW (window), shell->title);
+  gtk_window_set_icon (GTK_WINDOW (window), shell->icon);
+
   gimp_display_shell_appearance_update (private->active_shell);
 
   if (! active_display->image)



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