Updating branch refs/heads/master
to 71d7831d69279a4445b261c5b51693f06f584629 (commit)
from 8429e931cc6e305a84fe25f923574bad5a9005b1 (commit)
commit 71d7831d69279a4445b261c5b51693f06f584629
Author: Andrzej <[email protected]>
Date: Thu Apr 19 02:00:14 2012 +0900
Changing uptime label orientation in the vertical mode
Signed-off-by: Landry Breuil <[email protected]>
panel-plugin/systemload.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/panel-plugin/systemload.c b/panel-plugin/systemload.c
index d210437..da19892 100644
--- a/panel-plugin/systemload.c
+++ b/panel-plugin/systemload.c
@@ -333,6 +333,9 @@ monitor_update_orientation (XfcePanelPlugin *plugin,
global->uptime->label = gtk_label_new("");
+ gtk_label_set_angle(GTK_LABEL(global->uptime->label),
+ (orientation == GTK_ORIENTATION_HORIZONTAL) ? 0 : -90);
+
gtk_widget_show(global->uptime->label);
gtk_container_add(GTK_CONTAINER(global->uptime->ebox),
GTK_WIDGET(global->uptime->label));
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits