[Xfce4-commits] <xfce4-indicator-plugin:master> button: Compilation fix.
Andrzej
noreply at xfce.org
Fri Apr 5 02:02:01 CEST 2013
Updating branch refs/heads/master
to a7ae93ad809b386634f84e11c6ef1bea0eb3b6ca (commit)
from 305bd32976b88219e2432154c8500877283eb7ac (commit)
commit a7ae93ad809b386634f84e11c6ef1bea0eb3b6ca
Author: Andrzej <ndrwrdck at gmail.com>
Date: Fri Apr 5 01:00:00 2013 +0100
button: Compilation fix.
There is no 'orientation' field in IndicatorButton. The label orientation
is set in the following _update_layout() call.
panel-plugin/indicator-button.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/panel-plugin/indicator-button.c b/panel-plugin/indicator-button.c
index b24606a..25a3572 100644
--- a/panel-plugin/indicator-button.c
+++ b/panel-plugin/indicator-button.c
@@ -307,8 +307,6 @@ xfce_indicator_button_set_label (XfceIndicatorButton *button,
button->label = GTK_WIDGET (label);
g_object_ref (G_OBJECT (button->label));
- gtk_label_set_angle (GTK_LABEL (button->label),
- (button->orientation == GTK_ORIENTATION_VERTICAL) ? -90 : 0);
gtk_box_pack_end (GTK_BOX (button->box), button->label, TRUE, FALSE, 1);
g_signal_connect(G_OBJECT(button->label), "notify::label", G_CALLBACK(xfce_indicator_button_label_changed), button);
}
More information about the Xfce4-commits
mailing list