[gtk+] GtkMenuShell: We want separators in submenus
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkMenuShell: We want separators in submenus
- Date: Tue, 29 Apr 2014 02:48:22 +0000 (UTC)
commit a6fb006ab50ed1f2e804b39f44cd174911fe5fec
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Apr 28 22:46:25 2014 -0400
GtkMenuShell: We want separators in submenus
This was probably an oversight when adding the merge_separators
parameter. Without this change, the testsuite/gtk/gtkmenu test
fails.
gtk/gtkmenushell.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkmenushell.c b/gtk/gtkmenushell.c
index ca0f1bb..062806b 100644
--- a/gtk/gtkmenushell.c
+++ b/gtk/gtkmenushell.c
@@ -2185,7 +2185,7 @@ gtk_menu_shell_bind_model (GtkMenuShell *menu_shell,
if (model)
menu_shell->priv->tracker = gtk_menu_tracker_new (GTK_ACTION_OBSERVABLE (muxer),
- model, with_separators, FALSE, action_namespace,
+ model, with_separators, TRUE, action_namespace,
gtk_menu_shell_tracker_insert_func,
gtk_menu_shell_tracker_remove_func,
menu_shell);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]