[gtk+] GtkSettings: quartz: shell always shows menus
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkSettings: quartz: shell always shows menus
- Date: Mon, 19 Dec 2011 18:01:06 +0000 (UTC)
commit 88f16b13f323711f59b0953fcd2139d36eaea7ad
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 55c1bbf..a96a9cc 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -1527,7 +1527,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]