[Xfce4-commits] [panel-plugins/xfce4-weather-plugin] 01/01: Fix unprintable character in summary subtitle (bug #16394)

noreply at xfce.org noreply at xfce.org
Sat Apr 4 23:35:46 CEST 2020


This is an automated email from the git hooks/post-receive script.

h   j   u   d   t       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository panel-plugins/xfce4-weather-plugin.

commit 33cae35fd68cd27a9e9873222d73386c70558d43
Author: Harald Judt <h.judt at gmx.at>
Date:   Sat Apr 4 23:26:09 2020 +0200

    Fix unprintable character in summary subtitle (bug #16394)
    
    Due to the CSD changes, the subtitle will now no longer be split into
    two lines, and an unprintable character will be shown instead of the
    newline. Let's just separate location and date a bit using simple
    spaces.
---
 panel-plugin/weather-summary.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/panel-plugin/weather-summary.c b/panel-plugin/weather-summary.c
index afce939..a8da723 100644
--- a/panel-plugin/weather-summary.c
+++ b/panel-plugin/weather-summary.c
@@ -1140,7 +1140,7 @@ update_summary_subtitle(plugin_data *data)
 
     time(&now_t);
     date = format_date(now_t, "%Y-%m-%d %H:%M:%S (%Z)", TRUE);
-    title = g_strdup_printf("%s\n%s", data->location_name, date);
+    title = g_strdup_printf("%s   %s", data->location_name, date);
     g_free(date);
     xfce_titled_dialog_set_subtitle(XFCE_TITLED_DIALOG(data->summary_window),
                                     title);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list