[gtk+/gtk-2-24] gdk: Add XSetting for "gtk-cursor-blink-timeout"
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-24] gdk: Add XSetting for "gtk-cursor-blink-timeout"
- Date: Mon, 15 Nov 2010 17:21:04 +0000 (UTC)
commit df08bc43ec91cfacc5c8b91e8cd57d9f5a87c162
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 | 6 ++++--
2 files changed, 5 insertions(+), 2 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..e1c2c56 100644
--- a/gdk/x11/gdksettings.c
+++ b/gdk/x11/gdksettings.c
@@ -73,7 +73,8 @@ static const char gdk_settings_names[] =
"Fontconfig/Timestamp\0" "gtk-fontconfig-timestamp\0"
"Net/SoundThemeName\0" "gtk-sound-theme-name\0"
"Net/EnableInputFeedbackSounds\0" "gtk-enable-input-feedback-sounds\0"
- "Net/EnableEventSounds\0" "gtk-enable-event-sounds\0";
+ "Net/EnableEventSounds\0" "gtk-enable-event-sounds\0"
+ "Gtk/CursorBlinkTimeout\0" "gtk-cursor-blink-timeout\0";
static const struct
@@ -124,5 +125,6 @@ static const struct
{ 1487, 1508 },
{ 1533, 1552 },
{ 1573, 1603 },
- { 1636, 1658 }
+ { 1636, 1658 },
+ { 1682, 1705 },
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]