[gnome-control-center: 6/8] Add a tooltip about how to select/drag the monitors



commit bbb7a64c2afd90bffc0ef5f4ee9dfacae360898d
Author: Federico Mena Quintero <federico novell com>
Date:   Wed Feb 17 17:17:17 2010 -0600

    Add a tooltip about how to select/drag the monitors
    
    Now that the label with instructions is gone, let's have
    a tooltip with better instructions.
    
    Signed-off-by: Federico Mena Quintero <federico novell com>

 capplets/display/xrandr-capplet.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/capplets/display/xrandr-capplet.c b/capplets/display/xrandr-capplet.c
index e478d82..aa5917a 100644
--- a/capplets/display/xrandr-capplet.c
+++ b/capplets/display/xrandr-capplet.c
@@ -2382,6 +2382,8 @@ run_application (App *app)
 
     g_object_set_data (G_OBJECT (app->area), "app", app);
 
+    gtk_widget_set_tooltip_text (app->area, _("Select a monitor to change its properties; drag it to rearrange its placement."));
+
     /* FIXME: this should be computed dynamically */
     foo_scroll_area_set_min_size (FOO_SCROLL_AREA (app->area), -1, 200);
     gtk_widget_show (app->area);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]