<div dir="ltr"><p><span style="font-family:Calibri,sans-serif">On Mon, 2 May 2016 12:40:35
+0200 Dave Barker <<a href="mailto:kzar@kzar.co.uk">kzar@kzar.co.uk</a>> wrote:</span> <br>
<span style="font-family:Calibri,sans-serif">> Control: forwarded -1 <a href="https://bugzilla.xfce.org/show_bug.cgi?id=11527"><span style="font-family:"Times New Roman",serif">https://bugzilla.xfce.org/show_bug.cgi?id=11527</span></a></span>
<br>
<span style="font-family:Calibri,sans-serif">> --</span> <br>
<span style="font-family:Calibri,sans-serif">> This appears to be the
upstream bug, the symptoms and version numbers match.</span> <br>
<span style="font-family:Calibri,sans-serif">> (I can also reproduce this
for version xfce-panel 4.12.0-4.)</span> <br>
<span style="font-family:Calibri,sans-serif">> </span><br>
<span style="font-family:Calibri,sans-serif">> </span></p><p><span style="font-family:Calibri,sans-serif">I have reported this upstream (because I didn't read </span><font face="Calibri, sans-serif"><a href="https://www.debian.org/Bugs/Reporting">https://www.debian.org/Bugs/Reporting</a> first - and it IS and upstream bug, sorry). </font></p><p><font face="Calibri, sans-serif">FWIW, this patch fixes it:</font></p><pre class="gmail-bz_comment_text" id="gmail-comment_text_7" style="font-size:12.8px;white-space:pre-wrap;width:659.563px;padding:0px 1em 1em;box-sizing:border-box;color:rgb(0,0,0);font-family:"Noto Sans",sans-serif">diff -Naur xfce4-panel-4.12.1.orig/plugins/clock/clock.c xfce4-panel-4.12.1/plugins/clock/clock.c
--- xfce4-panel-4.12.1.orig/plugins/clock/clock.c       2016-08-12 07:54:27.000000000 +1000
+++ xfce4-panel-4.12.1/plugins/clock/clock.c    2017-07-28 11:45:01.388259000 +1000
@@ -730,13 +730,13 @@
 
       if (format != NULL)
         {
-          gtk_entry_set_text (entry, format);
           gtk_widget_hide (GTK_WIDGET (entry));
-          g_free (format);
         }
       else
         {
+          gtk_entry_set_text (entry, format);
           gtk_widget_show (GTK_WIDGET (entry));
+          g_free (format);
         }
     }
 }</pre><p><font face="Calibri, sans-serif"><br></font></p></div>