summaryrefslogtreecommitdiff
path: root/gdk/win32
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-11-15 07:51:22 -0500
committerMatthias Clasen <mclasen@redhat.com>2013-11-15 07:51:22 -0500
commit2fb64cf0e7b728e40baa07e036fdb26bc940bddb (patch)
treeac564dabff7ff3fc18b2babce3577efd42cf779f /gdk/win32
parentb3f17ea9159782828bd22d3578e9b8ad72f898e3 (diff)
downloadgtk+-2fb64cf0e7b728e40baa07e036fdb26bc940bddb.tar.gz
Win32: Set the shows-desktop platform setting
Win32 shows icons on the desktop, so set shows-desktop to TRUE here.
Diffstat (limited to 'gdk/win32')
-rw-r--r--gdk/win32/gdkproperty-win32.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdk/win32/gdkproperty-win32.c b/gdk/win32/gdkproperty-win32.c
index 72e7512c64..24cd55829b 100644
--- a/gdk/win32/gdkproperty-win32.c
+++ b/gdk/win32/gdkproperty-win32.c
@@ -389,6 +389,12 @@ _gdk_win32_screen_get_setting (GdkScreen *screen,
g_value_set_boolean (value, TRUE);
return TRUE;
}
+ else if (strcmp ("gtk-shell-shows-desktop", name) == 0)
+ {
+ GDK_NOTE(MISC, g_print("gdk_screen_get_setting(\"%s\") : TRUE\n", name));
+ g_value_set_boolean (value, TRUE);
+ return TRUE;
+ }
#if 0
/*
* With 'MS Sans Serif' as windows menu font (default on win98se) you'll get a