[gtk+/wip/gmenu] GtkSettings: quartz: shell always shows menus
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/gmenu] GtkSettings: quartz: shell always shows menus
- Date: Sat, 3 Dec 2011 18:37:23 +0000 (UTC)
commit 52e7f37b81252e6f1b7a1b21dd80b705bcac2fbf
Author: Ryan Lortie <desrt desrt ca>
Date: Sat Dec 3 13:35:26 2011 -0500
GtkSettings: quartz: shell always shows menus
gtk/gtksettings.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index 51bb23c..74a9383 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -1523,7 +1523,11 @@ gtk_settings_get_for_screen (GdkScreen *screen)
{
#ifdef GDK_WINDOWING_QUARTZ
if (GDK_IS_QUARTZ_SCREEN (screen))
- settings = g_object_new (GTK_TYPE_SETTINGS, "gtk-key-theme-name", "Mac", NULL);
+ settings = g_object_new (GTK_TYPE_SETTINGS,
+ "gtk-key-theme-name", "Mac",
+ "gtk-shell-shows-app-menu", TRUE,
+ "gtk-shell-shows-menubar", TRUE,
+ NULL);
else
#endif
settings = g_object_new (GTK_TYPE_SETTINGS, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]