[Xfce4-commits] <xfce4-indicator-plugin:andrzejr/gtk3> Making the plugin display indicator icons.

Andrzej noreply at xfce.org
Tue Apr 9 00:40:01 CEST 2013


Updating branch refs/heads/andrzejr/gtk3
         to 8fa31fbcabbbdc2d7dd685fdc0a733bcc3402888 (commit)
       from 84ab84c4f70b6c011b225a72e7cce9dd426155c3 (commit)

commit 8fa31fbcabbbdc2d7dd685fdc0a733bcc3402888
Author: Andrzej <ndrwrdck at gmail.com>
Date:   Mon Apr 8 23:38:19 2013 +0100

    Making the plugin display indicator icons.

 configure.in.in              |    4 ++--
 panel-plugin/indicator-box.c |    2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/configure.in.in b/configure.in.in
index 6ac22dd..0582c31 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -78,8 +78,8 @@ XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.9.0])
 XDT_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-2], [4.9.0])
 XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-2.0], [4.10.0])
 XDT_CHECK_PACKAGE([XFCONF], [libxfconf-0], [4.6.0])
-dnl XDT_CHECK_PACKAGE([INDICATOR], [indicator3], [0.4.0], [indicator_pkgname=indicator], [XDT_CHECK_PACKAGE([INDICATOR], [indicator3-0.4], [0.3.90], [indicator_pkgname=indicator3-0.4], [])])
-XDT_CHECK_PACKAGE([INDICATOR], [indicator3-0.4], [0.4.0])
+XDT_CHECK_PACKAGE([INDICATOR], [indicator3], [0.4.0], [indicator_pkgname=indicator], [XDT_CHECK_PACKAGE([INDICATOR], [indicator3-0.4], [0.3.90], [indicator_pkgname=indicator3-0.4], [])])
+dnl XDT_CHECK_PACKAGE([INDICATOR], [indicator3-0.4], [0.4.0])
 
 dnl ***********************************
 dnl *** Check for debugging support ***
diff --git a/panel-plugin/indicator-box.c b/panel-plugin/indicator-box.c
index 6e1332f..6651d3c 100644
--- a/panel-plugin/indicator-box.c
+++ b/panel-plugin/indicator-box.c
@@ -463,6 +463,8 @@ xfce_indicator_box_size_allocate (GtkWidget     *widget,
   x0 = allocation->x;
   y0 = allocation->y;
 
+  gtk_widget_set_allocation (widget, allocation);
+
   panel_size = indicator_config_get_panel_size (box->config);
   panel_orientation = indicator_config_get_panel_orientation (box->config);
   nrows = panel_size / xfce_indicator_box_get_row_size (box);


More information about the Xfce4-commits mailing list