summaryrefslogtreecommitdiff
path: root/gdk/x11/gdksettings.c
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2011-11-29 22:28:11 -0500
committerRyan Lortie <desrt@desrt.ca>2011-12-19 12:51:08 -0500
commitf826dd548109752dcb44c63fb6ed98f4d9b37f0c (patch)
tree2ef61f698b56e3ab889eda493367ead480ff5468 /gdk/x11/gdksettings.c
parent7ee18bd74adcea1772950363a9cd6f1c70d88350 (diff)
downloadgtk+-f826dd548109752dcb44c63fb6ed98f4d9b37f0c.tar.gz
GtkSettings: add shell-shows-app-menu property
This is a boolean property that will be set to TRUE if the current desktop environment is capable of displaying the application menu as part of the desktop shell. If it is FALSE then the application will need to display the menu for itself.
Diffstat (limited to 'gdk/x11/gdksettings.c')
-rw-r--r--gdk/x11/gdksettings.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdk/x11/gdksettings.c b/gdk/x11/gdksettings.c
index 7a876f03c2..23980457c1 100644
--- a/gdk/x11/gdksettings.c
+++ b/gdk/x11/gdksettings.c
@@ -81,7 +81,8 @@ static const char gdk_settings_names[] =
"Net/EnableEventSounds\0" "gtk-enable-event-sounds\0"
"Gtk/CursorBlinkTimeout\0" "gtk-cursor-blink-timeout\0"
"Gtk/AutoMnemonics\0" "gtk-auto-mnemonics\0"
- "Gtk/VisibleFocus\0" "gtk-visible-focus\0";
+ "Gtk/VisibleFocus\0" "gtk-visible-focus\0"
+ "Gtk/ShellShowsAppMenu\0" "gtk-shell-shows-app-menu\0";
static const struct
@@ -135,5 +136,6 @@ static const struct
{ 1636, 1658 },
{ 1682, 1705 },
{ 1730, 1748 },
- { 1767, 1784 }
+ { 1767, 1784 },
+ { 1802, 1824 }
};