[gtk+] gdk: Add XSetting for "gtk-cursor-blink-timeout"



commit 7a52b1df67e338e08b3a2c2f92cc14381ace83bd
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Nov 12 17:00:09 2010 +0000

    gdk: Add XSetting for "gtk-cursor-blink-timeout"
    
    Otherwise the blink timeout is the one used by default in GTK+.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=634697

 gdk/win32/gdkproperty-win32.c |    1 +
 gdk/x11/gdksettings.c         |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gdk/win32/gdkproperty-win32.c b/gdk/win32/gdkproperty-win32.c
index 6228ad1..542f83a 100644
--- a/gdk/win32/gdkproperty-win32.c
+++ b/gdk/win32/gdkproperty-win32.c
@@ -322,6 +322,7 @@ gdk_property_delete (GdkWindow *window,
   "Gtk/ButtonImages\0"        "gtk-button-images\0"
   "Gtk/MenuImages\0"          "gtk-menu-images\0"
   "Gtk/MenuBarAccel\0"        "gtk-menu-bar-accel\0"
+  "Gtk/CursorBlinkTimeout\0"  "gtk-cursor-blink-timeout\0"
   "Gtk/CursorThemeName\0"     "gtk-cursor-theme-name\0"
   "Gtk/CursorThemeSize\0"     "gtk-cursor-theme-size\0"
   "Gtk/ShowInputMethodMenu\0" "gtk-show-input-method-menu\0"
diff --git a/gdk/x11/gdksettings.c b/gdk/x11/gdksettings.c
index 0e98816..1db9ec7 100644
--- a/gdk/x11/gdksettings.c
+++ b/gdk/x11/gdksettings.c
@@ -51,6 +51,7 @@ static const char gdk_settings_names[] =
   "Gtk/ButtonImages\0"        "gtk-button-images\0"
   "Gtk/MenuImages\0"          "gtk-menu-images\0"
   "Gtk/MenuBarAccel\0"        "gtk-menu-bar-accel\0"
+  "Gtk/CursorBlinkTimeout\0"  "gtk-cursor-blink-timeout\0"
   "Gtk/CursorThemeName\0"     "gtk-cursor-theme-name\0"
   "Gtk/CursorThemeSize\0"     "gtk-cursor-theme-size\0"
   "Gtk/ShowInputMethodMenu\0" "gtk-show-input-method-menu\0"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]