[Xfce4-commits] <xfce4-systemload-plugin:master> Facilitate bringing up the configuration dialog (bug #8900).

Landry Breuil noreply at xfce.org
Fri May 18 11:10:05 CEST 2012


Updating branch refs/heads/master
         to 6496dd0a8f90e60bdb953e003d4062a9d87b9434 (commit)
       from c9d024792d12d78b6bc17c6524a93918e5558e4b (commit)

commit 6496dd0a8f90e60bdb953e003d4062a9d87b9434
Author: Harald Judt <h.judt at gmx.at>
Date:   Thu May 17 09:06:30 2012 +0200

    Facilitate bringing up the configuration dialog (bug #8900).
    
    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.
    
    Signed-off-by: Landry Breuil <landry at xfce.org>

 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));
 


More information about the Xfce4-commits mailing list