diff options
author | Matthias Clasen <mclasen@redhat.com> | 2013-11-15 07:50:37 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2013-11-15 07:50:37 -0500 |
commit | b3f17ea9159782828bd22d3578e9b8ad72f898e3 (patch) | |
tree | 46e3b68c972ff36c792368143c71a2f95a2b4b9f /gdk/quartz | |
parent | df2b534042e219ee87f81131add8079541e0d558 (diff) | |
download | gtk+-b3f17ea9159782828bd22d3578e9b8ad72f898e3.tar.gz |
Quartz: Set the shows-desktop platform setting
OS X shows icons on the desktop, so set this setting
to TRUE here.
Diffstat (limited to 'gdk/quartz')
-rw-r--r-- | gdk/quartz/gdkevents-quartz.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdk/quartz/gdkevents-quartz.c b/gdk/quartz/gdkevents-quartz.c index 90bcdb97da..39a214bb0e 100644 --- a/gdk/quartz/gdkevents-quartz.c +++ b/gdk/quartz/gdkevents-quartz.c @@ -1673,6 +1673,13 @@ _gdk_quartz_screen_get_setting (GdkScreen *screen, return TRUE; } + else if (strcmp (name, "gtk-shell-shows-desktop") == 0) + { + GDK_QUARTZ_ALLOC_POOL; + + g_value_set_boolean (value, TRUE); + + GDK_QUARTZ_RELEASE_POOL; /* FIXME: Add more settings */ |