diff options
author | C. Scott Ananian <cscott@laptop.org> | 2008-09-20 00:24:56 (GMT) |
---|---|---|
committer | C. Scott Ananian <cscott@laptop.org> | 2008-09-20 00:30:21 (GMT) |
commit | 5c77241f12bc393769ea8ba3d78311173a29827c (patch) | |
tree | 848f43dfa8bb59fd8d57329f2a5c555501d88c17 | |
parent | 3d18ecd57f42876db592dd44887641e952e1b785 (diff) |
Trac #7992: don't waste power blinking the cursor.
Original reporter: "[Sugar control panel] includes a search box with a
blinking cursor, which makes the process wake up every second to blink
it. ... This burns power unnecessarily."
I've used the gtk-cursor-blink-timeout option, so that we stop
blinking after 3s. This preserves the UI indication that interaction
is possible. The full set of possible settings is at
http://library.gnome.org/devel/gtk/unstable/GtkSettings.html#GtkSettings--gtk-cursor-blink-timeout
if we decide to tweak this (slower blink, blink longer before stopping,
don't blink at all, etc).
This doesn't seem to affect the text box widgets in Browse, but does affect
most (all?) GTK applications/activities.
-rw-r--r-- | data/gtkrc.em | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/data/gtkrc.em b/data/gtkrc.em index a19b519..cf68650 100644 --- a/data/gtkrc.em +++ b/data/gtkrc.em @@ -12,3 +12,4 @@ gtk-font-name = "@font_name" gtk-cursor-theme-name = "sugar" gtk-toolbar-style = GTK_TOOLBAR_ICONS gtk-icon-sizes = "@icon_sizes" +gtk-cursor-blink-timeout = 3 |