[Xfce4-commits] <xfce4-settings:bluesabre/display-settings> Escape the text in the identification-popup labels

Nick Schermer noreply at xfce.org
Mon Dec 9 12:56:46 CET 2013


Updating branch refs/heads/bluesabre/display-settings
         to bac44358340e4d960a4147111dd8fabfe1b469ed (commit)
       from 4076c8a4ff786c0a87685a5f848c71dcdb7a4312 (commit)

commit bac44358340e4d960a4147111dd8fabfe1b469ed
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Mon Oct 8 15:28:22 2012 +0200

    Escape the text in the identification-popup labels

 dialogs/display-settings/main.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dialogs/display-settings/main.c b/dialogs/display-settings/main.c
index 57a611f..e8c0e52 100644
--- a/dialogs/display-settings/main.c
+++ b/dialogs/display-settings/main.c
@@ -1110,10 +1110,10 @@ display_setting_identity_display (gint display_id,
         if ((has_selection)) color_hex = "#D20000";
   
         gtk_label_set_markup (GTK_LABEL(display_name),
-                              g_strdup_printf("<span foreground='%s'><big><b>%s: %s</b></big></span>", color_hex, _("Display"), name) );
+                              g_markup_printf_escaped("<span foreground='%s'><big><b>%s %s</b></big></span>", color_hex, _("Display:"), name) );
 
         gtk_label_set_markup (GTK_LABEL(display_details),
-                              g_strdup_printf("<span foreground='%s'>%s: %i x %i</span>", color_hex, _("Resolution"), screen_width, screen_height) );
+                              g_markup_printf_escaped("<span foreground='%s'>%s %i x %i</span>", color_hex, _("Resolution:"), screen_width, screen_height) );
                               
                 
         gtk_window_get_size(GTK_WINDOW(popup), &window_width, &window_height);


More information about the Xfce4-commits mailing list