don't show the status bar's resize grip in fullscreen mode.

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.


svn path=/trunk/; revision=25465
This commit is contained in:
Michael Natterer 2008-04-11 09:08:40 +00:00 committed by Michael Natterer
parent 30fe366078
commit c57d42c32a
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,9 @@
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.
2008-04-11 Michael Natterer <mitch@gimp.org>
* plug-ins/print/print-preview.c: unset the move cursor in

View File

@ -72,14 +72,19 @@ void
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);