[Xfce4-commits] <xfce4-battery-plugin:master> Don't set labels orientation on 4.8 panels (Bug #8961)

Landry Breuil noreply at xfce.org
Mon May 28 15:00:01 CEST 2012


Updating branch refs/heads/master
         to 7a5c18a7616944c38bd971c6a76dd93ad343ce07 (commit)
       from fd70a6269eaa3528af0fcacd86b785091bbb0887 (commit)

commit 7a5c18a7616944c38bd971c6a76dd93ad343ce07
Author: Landry Breuil <landry at xfce.org>
Date:   Mon May 28 14:58:44 2012 +0200

    Don't set labels orientation on 4.8 panels (Bug #8961)

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

diff --git a/panel-plugin/battery.c b/panel-plugin/battery.c
index 4168f26..49fd16b 100644
--- a/panel-plugin/battery.c
+++ b/panel-plugin/battery.c
@@ -800,7 +800,6 @@ battmon_set_orientation (XfcePanelPlugin *plugin, GtkOrientation orientation,
     xfce_hvbox_set_orientation(XFCE_HVBOX(battmon->actempbox), !orientation);
     gtk_progress_bar_set_orientation(GTK_PROGRESS_BAR(battmon->battstatus),
                (orientation == GTK_ORIENTATION_HORIZONTAL ? GTK_PROGRESS_BOTTOM_TO_TOP : GTK_PROGRESS_LEFT_TO_RIGHT));
-    battmon_set_labels_orientation(battmon, orientation);
     battmon_set_size(plugin, xfce_panel_plugin_get_size (plugin), battmon);
     update_apm_status( battmon );
     battmon->timeoutid = g_timeout_add(1 * 1024, (GSourceFunc) update_apm_status, battmon);


More information about the Xfce4-commits mailing list