summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Lefebvre <[email protected]>2015-09-04 12:07:25 +0100
committerClement Lefebvre <[email protected]>2015-09-04 12:07:25 +0100
commitae8081d9bd6483d58eefa7ef781bc1d690d64278 (patch)
treea29bf5e391a221f3c03eb48a6a485aebdbc44638
parent4399fcd592684e15848c78ceb99a0e53e13b6e78 (diff)
downloadmate-control-center-ae8081d9bd6483d58eefa7ef781bc1d690d64278.tar.bz2
mate-control-center-ae8081d9bd6483d58eefa7ef781bc1d690d64278.tar.xz
Display settings: Only make the display name bold, not the output name.
-rw-r--r--capplets/display/xrandr-capplet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/capplets/display/xrandr-capplet.c b/capplets/display/xrandr-capplet.c
index fe09036e..6b09de84 100644
--- a/capplets/display/xrandr-capplet.c
+++ b/capplets/display/xrandr-capplet.c
@@ -1665,7 +1665,7 @@ get_display_name (App *app,
text = _("Mirror Screens");
}
else {
- text = g_strdup_printf ("%s\n<small>%s</small>", mate_rr_output_info_get_display_name (output), mate_rr_output_info_get_name (output));
+ text = 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));
}
layout = gtk_widget_create_pango_layout (GTK_WIDGET (app->area), text);
pango_layout_set_markup (layout, text, -1);
@@ -1845,7 +1845,7 @@ paint_output (App *app, cairo_t *cr, int i)
cairo_stroke (cr);
cairo_set_line_width (cr, 2);
- layout_set_font (layout, "Sans Bold 12");
+ layout_set_font (layout, "Sans 12");
pango_layout_get_pixel_extents (layout, &ink_extent, &log_extent);
available_w = w * scale + 0.5 - 6; /* Same as the inner rectangle's width, minus 1 pixel of padding on each side */