[gtk+/gtk-3-10] Win32: Set the shows-desktop platform setting
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-10] Win32: Set the shows-desktop platform setting
- Date: Fri, 15 Nov 2013 13:58:35 +0000 (UTC)
commit 9bb7a8e7e0afa99a4e46c4fd2c85a39a4bee37c7
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Nov 15 07:51:22 2013 -0500
Win32: Set the shows-desktop platform setting
Win32 shows icons on the desktop, so set shows-desktop
to TRUE here.
gdk/win32/gdkproperty-win32.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gdk/win32/gdkproperty-win32.c b/gdk/win32/gdkproperty-win32.c
index 72e7512..24cd558 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]