[gnome-settings-daemon/randr-osd: 15/15] Don't let the RANDR OSD window auto-hide itself



commit 0f8a0037004a97f301cebec3bb65b331d11f55d7
Author: Federico Mena Quintero <federico novell com>
Date:   Tue Jan 19 17:33:24 2010 -0600

    Don't let the RANDR OSD window auto-hide itself
    
    We need to control the time when the window hides, as this is not a fire-and-forget window.
    
    Signed-off-by: Federico Mena Quintero <federico novell com>

 plugins/xrandr/gsd-xrandr-manager.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/xrandr/gsd-xrandr-manager.c b/plugins/xrandr/gsd-xrandr-manager.c
index 751304b..10aa272 100644
--- a/plugins/xrandr/gsd-xrandr-manager.c
+++ b/plugins/xrandr/gsd-xrandr-manager.c
@@ -1201,6 +1201,7 @@ create_osd_window (GsdXrandrManager *manager)
                 destroy_osd_window (manager);
 
         priv->osd_window = gsd_osd_window_new ();
+        gsd_osd_window_set_auto_hide (GSD_OSD_WINDOW (priv->osd_window), FALSE);
 
         box = gtk_hbox_new (TRUE, 12);
         gtk_container_add (GTK_CONTAINER (priv->osd_window), box);



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