[Xfce4-commits] <xfce4-time-out-plugin:master> Fix bug 3224
Florian Rivoal
noreply at xfce.org
Fri Nov 5 15:54:02 CET 2010
Updating branch refs/heads/master
to 9ba7d355c1aef7e199bcb97f1d13c0c71c636497 (commit)
from 5fae033db0a1a76c2c40ddd5f8017cc5176a01d3 (commit)
commit 9ba7d355c1aef7e199bcb97f1d13c0c71c636497
Author: Florian Rivoal <frivoal at xfce.org>
Date: Fri Nov 5 23:51:14 2010 +0900
Fix bug 3224
Hide the time label on startup if the settings say so.
panel-plugin/time-out.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/panel-plugin/time-out.c b/panel-plugin/time-out.c
index fbc6269..49ab97d 100644
--- a/panel-plugin/time-out.c
+++ b/panel-plugin/time-out.c
@@ -238,6 +238,10 @@ time_out_construct (XfcePanelPlugin *plugin)
/* Load the settings */
time_out_load_settings (time_out);
+ /* Hide the time label if settings says so */
+ if (!time_out->display_time)
+ gtk_widget_hide (time_out->time_label);
+
/* Add the event box to the panel */
gtk_container_add (GTK_CONTAINER (plugin), time_out->ebox);
More information about the Xfce4-commits
mailing list