Added a tooltip text

This commit is contained in:
Pierre Pronchery 2011-09-05 20:59:27 +00:00
parent cbcfe175e9
commit d095f6b2a5

View File

@ -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(