]> Pileus Git - ~andy/gtk/commitdiff
wayland: Advertise the cursor theme through GtkSettings as Adwaita
authorRob Bradford <rob@linux.intel.com>
Tue, 5 Feb 2013 13:07:28 +0000 (13:07 +0000)
committerRob Bradford <rob@linux.intel.com>
Tue, 5 Feb 2013 13:25:20 +0000 (13:25 +0000)
... as per the way we advertise a GTK theme to use.

gdk/wayland/gdkscreen-wayland.c

index 1a14bf50aae711b548f7a6c515f95f11b77b1a97..aecbd6f6ebccc2671c57ae16866c598eaf932f1d 100644 (file)
@@ -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";