[gtk+] Quartz: Set the shows-desktop platform setting
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Quartz: Set the shows-desktop platform setting
- Date: Fri, 15 Nov 2013 12:52:03 +0000 (UTC)
commit b3f17ea9159782828bd22d3578e9b8ad72f898e3
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Nov 15 07:50:37 2013 -0500
Quartz: Set the shows-desktop platform setting
OS X shows icons on the desktop, so set this setting
to TRUE here.
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 90bcdb9..39a214b 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 */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]