]> Pileus Git - ~andy/gtk/commit
Made button-press timeouts which work like key repeat timeouts
authorMichael Natterer <mitch@imendio.com>
Tue, 22 Nov 2005 12:40:15 +0000 (12:40 +0000)
committerMichael Natterer <mitch@src.gnome.org>
Tue, 22 Nov 2005 12:40:15 +0000 (12:40 +0000)
commitdfa4870b74be2ade513ffda504cd4fdfede19bb3
tree7d61b49610f0e32e36c7b9476fca4cc4f5299a20
parent1097260aa7ed40e508e181feed4d736727268eb5
Made button-press timeouts which work like key repeat timeouts

2005-11-22  Michael Natterer  <mitch@imendio.com>

Made button-press timeouts which work like key repeat timeouts
configurable. Addresses bug #142582:

* gtk/gtksettings.c: added properties "gtk-timeout-initial" and
"gtk-timeout-repeat" which defalt to 200/20 (ms).

Use the values from GtkSettings instead of hardcoding them
(the repeat value is either taken as-is for fast repeat or
multiplied by 5 for slow repeat). Changed all places to use these
two standard initial/repeat timings:

* gtk/gtkcalendar.c (unchanged 200/20)
* gtk/gtknotebook.c (unchanged 200/100)
* gtk/gtkpathbar.c (changed from 300/150 to 200/100)
* gtk/gtkrange.c (changed from 250/100 to 200/100)
* gtk/gtkspinbutton.c (unchanged 200/20)
ChangeLog
ChangeLog.pre-2-10
gtk/gtkcalendar.c
gtk/gtknotebook.c
gtk/gtkpathbar.c
gtk/gtkrange.c
gtk/gtksettings.c
gtk/gtkspinbutton.c