[gtk+] wayland: Advertise the cursor theme through GtkSettings as Adwaita
- From: Rob Bradford <rbradford src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] wayland: Advertise the cursor theme through GtkSettings as Adwaita
- Date: Tue, 5 Feb 2013 13:25:52 +0000 (UTC)
commit 69e9ecf90adcdffe1436b36993350b93b1754377
Author: Rob Bradford <rob linux intel com>
Date: Tue Feb 5 13:07:28 2013 +0000
wayland: Advertise the cursor theme through GtkSettings as Adwaita
... as per the way we advertise a GTK theme to use.
gdk/wayland/gdkscreen-wayland.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/gdk/wayland/gdkscreen-wayland.c b/gdk/wayland/gdkscreen-wayland.c
index 1a14bf5..aecbd6f 100644
--- a/gdk/wayland/gdkscreen-wayland.c
+++ b/gdk/wayland/gdkscreen-wayland.c
@@ -309,6 +309,13 @@ gdk_wayland_screen_get_setting (GdkScreen *screen,
g_value_set_string (value, s);
return TRUE;
}
+ if (strcmp ("gtk-cursor-theme-name", name) == 0)
+ {
+ const gchar *s = "Adwaita";
+ GDK_NOTE(MISC, g_print("gdk_screen_get_setting(\"%s\") : %s\n", name, s));
+ g_value_set_string (value, s);
+ return TRUE;
+ }
else if (strcmp ("gtk-icon-theme-name", name) == 0)
{
const gchar *s = "gnome";
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]