[gnome-panel] fish: respect the enable-tooltips setting
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel] fish: respect the enable-tooltips setting
- Date: Tue, 9 Jan 2018 17:21:48 +0000 (UTC)
commit 15311cfc23b4f1bbb7040ed4867f658872f7596f
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Tue Jan 9 19:07:04 2018 +0200
fish: respect the enable-tooltips setting
modules/fish/fish-applet.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/modules/fish/fish-applet.c b/modules/fish/fish-applet.c
index 04c2889..783c1ea 100644
--- a/modules/fish/fish-applet.c
+++ b/modules/fish/fish-applet.c
@@ -1216,6 +1216,10 @@ set_tooltip (FishApplet *fish)
desc = g_markup_printf_escaped (_("%s the Fish, the fortune teller"), fish->name);
gtk_widget_set_tooltip_markup (GTK_WIDGET (fish), desc);
g_free (desc);
+
+ g_object_bind_property (fish, "enable-tooltips",
+ fish, "has-tooltip",
+ G_BINDING_DEFAULT | G_BINDING_SYNC_CREATE);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]