[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Pkg-xfce-devel] Bug#817978: Upstream XFCE bug 11527



On Mon, 2 May 2016 12:40:35 +0200 Dave Barker <kzar at kzar.co.uk> 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);
         }
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20170728/59f21c9b/attachment.html>



Reply to: