summaryrefslogtreecommitdiffstats
path: root/gtk-gui.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2011-10-04 16:06:27 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2011-10-04 16:06:27 -0700
commit7a7b58340d75c6c81e28a2365694faa992df4242 (patch)
treef43017591636907cbae8750942ccb065be5e2ec0 /gtk-gui.c
parentd78e6a48765241ede7b1ac2c68a16f7718ab9459 (diff)
downloadsubsurface-7a7b58340d75c6c81e28a2365694faa992df4242.tar.gz
Shorten the tooltip timeout
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'gtk-gui.c')
-rw-r--r--gtk-gui.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk-gui.c b/gtk-gui.c
index 1419e2d69..d6ab412c7 100644
--- a/gtk-gui.c
+++ b/gtk-gui.c
@@ -588,11 +588,14 @@ void init_ui(int argc, char **argv)
GtkWidget *equipment;
GtkWidget *menubar;
GtkWidget *vbox;
+ GtkSettings *settings;
static const GtkTargetEntry notebook_target = {
"GTK_NOTEBOOK_TAB", GTK_TARGET_SAME_APP, 0
};
gtk_init(&argc, &argv);
+ settings = gtk_settings_get_default();
+ gtk_settings_set_long_property(settings, "gtk_tooltip_timeout", 10, "subsurface setting");
g_type_init();
gconf = gconf_client_get_default();