Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates-src > by-pkgid > 85224c18645f035b38b4e56558540e28 > files > 1

xfce4-time-out-plugin-0.1.1-5.fc13.src.rpm

From 9ba7d355c1aef7e199bcb97f1d13c0c71c636497 Mon Sep 17 00:00:00 2001
From: Florian Rivoal <frivoal@xfce.org>
Date: Fri, 05 Nov 2010 14:51:14 +0000
Subject: Fix bug 3224

Hide the time label on startup if the settings say so.
---
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);
 
--
cgit v0.8.3.4