mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 22:41:43 +00:00
Sync default double-click time with GNOME
The default value for the double-click key in the org.gnome.settings-daemon.peripherals.mouse schema is 400. Use the same value as the declared default for the gtk-double-click-time GTK+ setting, to avoid pointless differences in corner cases. https://bugzilla.gnome.org/show_bug.cgi?id=720950
This commit is contained in:
parent
1388b111a8
commit
13a94b66b6
@ -538,7 +538,7 @@ static TranslationEntry translations[] = {
|
||||
{ "org.gnome.desktop.interface", "cursor-blink-timeout", "gtk-cursor-blink-timeout", G_TYPE_INT, { .i = 3600 } },
|
||||
{ "org.gnome.desktop.interface", "gtk-im-module", "gtk-im-module", G_TYPE_STRING, { .s = "simple" } },
|
||||
{ "org.gnome.desktop.interface", "enable-animations", "gtk-enable-animations", G_TYPE_BOOLEAN, { .b = TRUE } },
|
||||
{ "org.gnome.settings-daemon.peripherals.mouse", "double-click", "gtk-double-click-time", G_TYPE_INT, { .i = 250 } },
|
||||
{ "org.gnome.settings-daemon.peripherals.mouse", "double-click", "gtk-double-click-time", G_TYPE_INT, { .i = 400 } },
|
||||
{ "org.gnome.settings-daemon.peripherals.mouse", "drag-threshold", "gtk-dnd-drag-threshold", G_TYPE_INT, {.i = 8 } },
|
||||
{ "org.gnome.desktop.sound", "theme-name", "gtk-sound-theme-name", G_TYPE_STRING, { .s = "freedesktop" } },
|
||||
{ "org.gnome.desktop.sound", "event-sounds", "gtk-enable-event-sounds", G_TYPE_BOOLEAN, { .b = TRUE } },
|
||||
|
@ -370,7 +370,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
|
||||
g_param_spec_int ("gtk-double-click-time",
|
||||
P_("Double Click Time"),
|
||||
P_("Maximum time allowed between two clicks for them to be considered a double click (in milliseconds)"),
|
||||
0, G_MAXINT, 250,
|
||||
0, G_MAXINT, 400,
|
||||
GTK_PARAM_READWRITE),
|
||||
NULL);
|
||||
g_assert (result == PROP_DOUBLE_CLICK_TIME);
|
||||
|
Loading…
Reference in New Issue
Block a user