[gimp/gtk3-port: 53/240] app: remove call to gtk_statusbar_set_has_resize_grip()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 53/240] app: remove call to gtk_statusbar_set_has_resize_grip()
- Date: Sat, 28 Apr 2018 18:27:25 +0000 (UTC)
commit e0831b37994a25e790d98b14fec5a79d7190f6ea
Author: Michael Natterer <mitch gimp org>
Date: Tue Oct 19 20:01:16 2010 +0200
app: remove call to gtk_statusbar_set_has_resize_grip()
app/display/gimpdisplayshell-appearance.c | 17 +----------------
1 files changed, 1 insertions(+), 16 deletions(-)
---
diff --git a/app/display/gimpdisplayshell-appearance.c b/app/display/gimpdisplayshell-appearance.c
index 74f6103..f8da7b8 100644
--- a/app/display/gimpdisplayshell-appearance.c
+++ b/app/display/gimpdisplayshell-appearance.c
@@ -61,25 +61,10 @@ gimp_display_shell_appearance_update (GimpDisplayShell *shell)
if (window)
{
- GimpDockColumns *left_docks;
- GimpDockColumns *right_docks;
- gboolean fullscreen;
- gboolean has_grip;
-
- fullscreen = gimp_image_window_get_fullscreen (window);
+ gboolean fullscreen = gimp_image_window_get_fullscreen (window);
gimp_display_shell_set_action_active (shell, "view-fullscreen",
fullscreen);
-
- left_docks = gimp_image_window_get_left_docks (window);
- right_docks = gimp_image_window_get_right_docks (window);
-
- has_grip = (! fullscreen &&
- ! (left_docks && gimp_dock_columns_get_docks (left_docks)) &&
- ! (right_docks && gimp_dock_columns_get_docks (right_docks)));
-
- gtk_statusbar_set_has_resize_grip (GTK_STATUSBAR (shell->statusbar),
- has_grip);
}
gimp_display_shell_set_show_menubar (shell,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]