[gnome-control-center] RANDR - Show 'Mirror Screens' in the monitor label, not a random monitor's name
- From: Federico Mena Quintero <federico src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-control-center] RANDR - Show 'Mirror Screens' in the monitor label, not a random monitor's name
- Date: Fri, 11 Dec 2009 19:30:42 +0000 (UTC)
commit a3aa98b49aa84ae90aaffaf63cc4c5127253f126
Author: Federico Mena Quintero <federico novell com>
Date: Fri Dec 11 11:36:27 2009 -0600
RANDR - Show 'Mirror Screens' in the monitor label, not a random monitor's name
Signed-off-by: Federico Mena Quintero <federico novell com>
capplets/display/xrandr-capplet.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/capplets/display/xrandr-capplet.c b/capplets/display/xrandr-capplet.c
index 9612fd7..1d4d12c 100644
--- a/capplets/display/xrandr-capplet.c
+++ b/capplets/display/xrandr-capplet.c
@@ -493,7 +493,11 @@ rebuild_current_monitor_label (App *app)
if (app->current_output)
{
- tmp = g_strdup_printf (_("Monitor: %s"), app->current_output->display_name);
+ if (app->current_configuration->clone)
+ tmp = g_strdup (_("Mirror Screens"));
+ else
+ tmp = g_strdup_printf (_("Monitor: %s"), app->current_output->display_name);
+
str = g_strdup_printf ("<b>%s</b>", tmp);
gnome_rr_labeler_get_color_for_output (app->labeler, app->current_output, &color);
use_color = TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]