Index: panel-plugin/netload.c =================================================================== --- panel-plugin/netload.c (revision 7079) +++ panel-plugin/netload.c (working copy) @@ -247,6 +247,14 @@ static void run_update (t_global_monitor if (global->monitor->options.update_interval > 0) { + /* reduce the default tooltip timeout to be smaller than the update interval otherwise + * we won't see tooltips on GTK 2.16 or newer */ + GtkSettings *settings; + settings = gtk_settings_get_default(); + if (g_object_class_find_property(G_OBJECT_GET_CLASS(settings), "gtk-tooltip-timeout")) + g_object_set(settings, "gtk-tooltip-timeout", + global->monitor->options.update_interval - 10, NULL); + global->timeout_id = g_timeout_add( global->monitor->options.update_interval, (GtkFunction)update_monitors, global); } @@ -823,7 +831,7 @@ monitor_dialog_response (GtkWidget *dlg, static void monitor_create_options(XfcePanelPlugin *plugin, t_global_monitor *global) { - GtkWidget *dlg, *header; + GtkWidget *dlg; GtkBox *vbox, *global_vbox, *net_hbox; GtkWidget *device_label, *unit_label[SUM], *max_label[SUM]; GtkWidget *sep1, *sep2;