[gtk+/wip/baedert/drawing: 389/396] menushell: Hide model submenus by default
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/drawing: 389/396] menushell: Hide model submenus by default
- Date: Wed, 19 Jul 2017 11:43:05 +0000 (UTC)
commit b0250cb3840822efef10e057453ad9f8770ad32b
Author: Timm Bäder <mail baedert org>
Date: Sun Jul 16 17:19:17 2017 +0200
menushell: Hide model submenus by default
gtk/gtkmenushell.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkmenushell.c b/gtk/gtkmenushell.c
index c99c470..cd23d0a 100644
--- a/gtk/gtkmenushell.c
+++ b/gtk/gtkmenushell.c
@@ -1822,6 +1822,7 @@ gtk_menu_shell_tracker_insert_func (GtkMenuTrackerItem *item,
g_object_bind_property (item, "label", widget, "text", G_BINDING_SYNC_CREATE);
submenu = GTK_MENU_SHELL (gtk_menu_new ());
+ gtk_widget_hide (GTK_WIDGET (submenu));
/* We recurse directly here: we could use an idle instead to
* prevent arbitrary recursion depth. We could also do it
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]