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



commit 887148033bdc9170d6cd33777854c64b713ac719
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]