mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Shorten the tooltip timeout
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
d78e6a4876
commit
7a7b58340d
1 changed files with 3 additions and 0 deletions
|
@ -588,11 +588,14 @@ void init_ui(int argc, char **argv)
|
||||||
GtkWidget *equipment;
|
GtkWidget *equipment;
|
||||||
GtkWidget *menubar;
|
GtkWidget *menubar;
|
||||||
GtkWidget *vbox;
|
GtkWidget *vbox;
|
||||||
|
GtkSettings *settings;
|
||||||
static const GtkTargetEntry notebook_target = {
|
static const GtkTargetEntry notebook_target = {
|
||||||
"GTK_NOTEBOOK_TAB", GTK_TARGET_SAME_APP, 0
|
"GTK_NOTEBOOK_TAB", GTK_TARGET_SAME_APP, 0
|
||||||
};
|
};
|
||||||
|
|
||||||
gtk_init(&argc, &argv);
|
gtk_init(&argc, &argv);
|
||||||
|
settings = gtk_settings_get_default();
|
||||||
|
gtk_settings_set_long_property(settings, "gtk_tooltip_timeout", 10, "subsurface setting");
|
||||||
|
|
||||||
g_type_init();
|
g_type_init();
|
||||||
gconf = gconf_client_get_default();
|
gconf = gconf_client_get_default();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue