From d095f6b2a5541ecb951d5ff5a02bfcee6b6f22e2 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Mon, 5 Sep 2011 20:59:27 +0000 Subject: [PATCH] Added a tooltip text --- src/plugins/systray.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugins/systray.c b/src/plugins/systray.c index f37a7ef..208758e 100644 --- a/src/plugins/systray.c +++ b/src/plugins/systray.c @@ -78,6 +78,9 @@ static int _systray_init(PhonePlugin * plugin) return 1; plugin->priv = systray; systray->icon = gtk_status_icon_new_from_icon_name("phone-dialer"); +#if GTK_CHECK_VERSION(2, 16, 0) + gtk_status_icon_set_tooltip_text(systray->icon, "Phone"); +#endif g_signal_connect_swapped(systray->icon, "activate", G_CALLBACK( _systray_on_activate), plugin); g_signal_connect(systray->icon, "popup-menu", G_CALLBACK(