From 2db0a5f994f5ff44cb41618daec3e4add3acdd97 Mon Sep 17 00:00:00 2001 From: Harald Judt Date: Thu, 17 May 2012 09:06:30 +0200 Subject: Facilitate bringing up the configuration dialog. Currently only the labels and the border react to clicks. The labels can be hidden, so it can be hard to bring up the configuration dialog. By setting the event box above its childs, all parts of the plugin will react to clicks. --- panel-plugin/systemload.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/panel-plugin/systemload.c b/panel-plugin/systemload.c index 58cc658..a35f1a8 100644 --- a/panel-plugin/systemload.c +++ b/panel-plugin/systemload.c @@ -293,6 +293,7 @@ monitor_update_orientation (XfcePanelPlugin *plugin, GTK_STATE_SELECTED, &global->monitor[count]->options.color); gtk_event_box_set_visible_window(GTK_EVENT_BOX(global->monitor[count]->ebox), FALSE); + gtk_event_box_set_above_child(GTK_EVENT_BOX(global->monitor[count]->ebox), TRUE); gtk_widget_show(GTK_WIDGET(global->monitor[count]->status)); -- 1.7.8.6