[Xfce4-commits] <xfce4-genmon-plugin:master> Make sure the plugin can be right clicked

Florian Rivoal noreply at xfce.org
Thu Feb 24 15:26:02 CET 2011


Updating branch refs/heads/master
         to e7c6e58b5c6aa3f489d032d22855e5475097098a (commit)
       from 3999bb246e53a3cf9efbcbc8f4d676e4ecb87ec1 (commit)

commit e7c6e58b5c6aa3f489d032d22855e5475097098a
Author: Steve Tyler <stephent98 at hotmail.com>
Date:   Thu Feb 24 08:37:18 2011 +0900

    Make sure the plugin can be right clicked
    
    Fixes bug #4020

 panel-plugin/main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/panel-plugin/main.c b/panel-plugin/main.c
index 81e66d8..c22d722 100644
--- a/panel-plugin/main.c
+++ b/panel-plugin/main.c
@@ -347,6 +347,7 @@ static genmon_t *genmon_create_control (XfcePanelPlugin *plugin)
 
     /* Add Button */
     poMonitor->wButton = (Widget_t) xfce_create_panel_button ();
+    xfce_panel_plugin_add_action_widget (plugin, poMonitor->wButton);
     gtk_box_pack_start (GTK_BOX (poMonitor->wImgBox),
         GTK_WIDGET (poMonitor->wButton), TRUE, FALSE, 0);
 



More information about the Xfce4-commits mailing list