[Xfce4-commits] <xfce4-indicator-plugin:master> Changes needed for the plugin not to crash at load time.

Andrzej noreply at xfce.org
Sun Apr 14 23:04:02 CEST 2013


Updating branch refs/heads/master
         to ed35886b41b7d1b7059822773ce423c3e3dbe962 (commit)
       from 72a3de8c1c84b89a242519e87de6f597dc5a93d3 (commit)

commit ed35886b41b7d1b7059822773ce423c3e3dbe962
Author: Andrzej <ndrwrdck at gmail.com>
Date:   Sun Apr 7 22:44:44 2013 +0100

    Changes needed for the plugin not to crash at load time.
    
    For some reason X-XFCE-Gtk3 has to be FALSE (an error in
    the corresponding panel changes).

 panel-plugin/indicator-button.c   |    3 ++-
 panel-plugin/indicator.desktop.in |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/panel-plugin/indicator-button.c b/panel-plugin/indicator-button.c
index dd11169..ca1458c 100644
--- a/panel-plugin/indicator-button.c
+++ b/panel-plugin/indicator-button.c
@@ -128,7 +128,8 @@ xfce_indicator_button_init (XfceIndicatorButton *button)
   gtk_container_add (GTK_CONTAINER (button), button->align_box);
   gtk_widget_show (button->align_box);
 
-  button->box = xfce_hvbox_new (GTK_ORIENTATION_HORIZONTAL, FALSE, 1);
+  //button->box = xfce_hvbox_new (GTK_ORIENTATION_HORIZONTAL, FALSE, 1);
+  button->box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 1);
   gtk_container_add (GTK_CONTAINER (button->align_box), button->box);
   gtk_widget_show (button->box);
 }
diff --git a/panel-plugin/indicator.desktop.in b/panel-plugin/indicator.desktop.in
index 5f722ab..aba66ee 100644
--- a/panel-plugin/indicator.desktop.in
+++ b/panel-plugin/indicator.desktop.in
@@ -6,4 +6,4 @@ _Comment=An indicator of something that needs your attention on the desktop
 Icon=xfce4-indicator-plugin
 X-XFCE-Module=indicator-plugin
 X-XFCE-Internal=FALSE
-X-XFCE-Gtk3=TRUE
+X-XFCE-Gtk3=FALSE


More information about the Xfce4-commits mailing list