LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Double click speed with gtk and thunderbird (https://www.linuxquestions.org/questions/linux-software-2/double-click-speed-with-gtk-and-thunderbird-332254/)

Christophe_35 06-10-2005 12:55 PM

Double click speed with gtk and thunderbird
 
Hi everyone,

I want to slow down the double click speed in thunderbird. The settings in kde doesn't work in thunderbird (kde is based on qt) as the setting of gnome works in thunderbird (gnome and thunderbird are based on the same graphic library, gtk).

So, to slow down the double click speed in thunderbird when it is used with kde, if another gtk program that do this settings is launched before thunderbird(and does not quit), maybe thunderbird would benefit of this settings (I hope I'm clear ..).

So, if a gtk geek can do these few lines of code, I would be very gratefull and glad to test them.

Christophe

Harmaa Kettu 06-10-2005 02:06 PM

Gtk settings are in ~/.gtkrc-2.0 file. Add this line there:
Code:

gtk-double-click-time = 500
where 500 is the maximum time between two clicks in milliseconds.

There doesn't seem to be any documentation of the gtk configuration file besides the property lists in the gtk API reference, so it may be a good idea to post a short list of the most useful stuff that can be put in that file:
Code:

gtk-theme-name = "ThinIce"

# Display messagebox buttons in standard order (yes-no-cancel) instead the default backwards one.
gtk-alternative-button-order = 1

gtk-font-name = "Arial 10"

# Make combobox widgets look better.
# I believe there is one-line way to do this, but I haven't found it yet.
style "combobox_style"
{
  GtkComboBox::appears-as-list = 1
}
class "GtkComboBox" style "combobox_style"


Christophe_35 06-10-2005 04:04 PM

Thanks for the information, it worked fine with thunderbird and KDE..


Christophe


All times are GMT -5. The time now is 02:32 PM.