gimp r25465 - in trunk: . app/display



Author: mitch
Date: Fri Apr 11 10:08:40 2008
New Revision: 25465
URL: http://svn.gnome.org/viewvc/gimp?rev=25465&view=rev

Log:
2008-04-11  Michael Natterer  <mitch gimp org>

	* app/display/gimpdisplayshell-appearance.c
	(gimp_display_shell_appearance_update): don't show the status
	bar's resize grip in fullscreen mode.



Modified:
   trunk/ChangeLog
   trunk/app/display/gimpdisplayshell-appearance.c

Modified: trunk/app/display/gimpdisplayshell-appearance.c
==============================================================================
--- trunk/app/display/gimpdisplayshell-appearance.c	(original)
+++ trunk/app/display/gimpdisplayshell-appearance.c	Fri Apr 11 10:08:40 2008
@@ -72,14 +72,19 @@
 gimp_display_shell_appearance_update (GimpDisplayShell *shell)
 {
   GimpDisplayOptions *options;
+  gboolean            fullscreen;
 
   g_return_if_fail (GIMP_IS_DISPLAY_SHELL (shell));
 
   options = GET_OPTIONS (shell);
 
+  fullscreen = gimp_display_shell_get_fullscreen (shell);
+
   gtk_widget_set_name (GTK_WIDGET (shell->menubar),
-                       gimp_display_shell_get_fullscreen (shell) ?
-                       "gimp-menubar-fullscreen" : NULL);
+                       fullscreen ? "gimp-menubar-fullscreen" : NULL);
+
+  gtk_statusbar_set_has_resize_grip (GTK_STATUSBAR (shell->statusbar),
+                                     ! fullscreen);
 
   gimp_display_shell_set_show_menubar       (shell,
                                              options->show_menubar);



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