On Mon, 2 May 2016 12:40:35 +0200 Dave Barker <[email protected]> wrote:
> Control: forwarded -1 https://bugzilla.xfce.org/show_bug.cgi?id=11527
> --
> This appears to be the upstream bug, the symptoms and version numbers
match.
> (I can also reproduce this for version xfce-panel 4.12.0-4.)
>
>

I have reported this upstream (because I didn't read
https://www.debian.org/Bugs/Reporting first - and it IS and upstream bug,
sorry).

FWIW, this patch fixes it:

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);
         }
     }
 }
_______________________________________________
Pkg-xfce-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-xfce-devel

Reply via email to