summaryrefslogtreecommitdiff
path: root/libmate-desktop/mate-rr-labeler.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmate-desktop/mate-rr-labeler.c')
-rw-r--r--libmate-desktop/mate-rr-labeler.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/libmate-desktop/mate-rr-labeler.c b/libmate-desktop/mate-rr-labeler.c
index e65ced5..673c03a 100644
--- a/libmate-desktop/mate-rr-labeler.c
+++ b/libmate-desktop/mate-rr-labeler.c
@@ -420,7 +420,7 @@ create_label_window (MateRRLabeler *labeler, MateRROutputInfo *output, GdkColor
GtkWidget *window;
GtkWidget *widget;
char *str;
- const char *display_name;
+ char *display_name;
GdkColor black = { 0, 0, 0, 0 };
int x,y;
@@ -452,10 +452,13 @@ create_label_window (MateRRLabeler *labeler, MateRROutputInfo *output, GdkColor
* translation could be "Pantallas en Espejo", *not* "Espejar Pantallas".
*/
display_name = _("Mirror Screens");
- } else
- display_name = mate_rr_output_info_get_display_name (output);
+ str = g_strdup_printf ("<b>%s</b>", display_name);
+ } else {
+ display_name = g_strdup_printf ("<b>%s</b>\n<small>%s</small>", mate_rr_output_info_get_display_name (output), mate_rr_output_info_get_name (output));
+ str = g_strdup_printf ("%s", display_name);
+ }
+ g_free (display_name);
- str = g_strdup_printf ("<b>%s</b>", display_name);
widget = gtk_label_new (NULL);
gtk_label_set_markup (GTK_LABEL (widget), str);
g_free (str);