Updating branch refs/heads/bluesabre/display-settings
         to f719c097b50cadac6bace060df50fb2c71fb8de3 (commit)
       from 947c856976d8fd0478e67a370815c42a10d46b5e (commit)

commit f719c097b50cadac6bace060df50fb2c71fb8de3
Author: Simon Steinbeiss <simon.steinbe...@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 files 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);
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to