[gnome-control-center/gnome-3-22] info: Remove trailing spaces in renderer strings



commit 5e3051aa5ab01ab76e3db79bf2bb6961bc8b6f41
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Oct 21 19:39:07 2016 +0200

    info: Remove trailing spaces in renderer strings
    
    https://bugzilla.gnome.org/show_bug.cgi?id=773213#c4

 panels/info/cc-info-panel.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/panels/info/cc-info-panel.c b/panels/info/cc-info-panel.c
index 96129dc..209f07c 100644
--- a/panels/info/cc-info-panel.c
+++ b/panels/info/cc-info-panel.c
@@ -237,6 +237,7 @@ prettify_info (const char *info)
     return NULL;
 
   pretty = g_markup_escape_text (info, -1);
+  pretty = g_strchug (g_strchomp (pretty));
 
   for (i = 0; i < G_N_ELEMENTS (rs); i++)
     {


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