[gnome-control-center] shell: Make sure we don't focus the icon view when starting



commit 8e0f4e7be0e532d33105962e7f49d0e47d29ddfb
Author: Rui Matos <tiagomatos gmail com>
Date:   Tue Aug 20 02:53:01 2013 +0100

    shell: Make sure we don't focus the icon view when starting
    
    If focus ends up in the icon view we get an ugly selection so avoid
    that at least initially.

 shell/cc-window.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/shell/cc-window.c b/shell/cc-window.c
index b91dcf3..6bdcf98 100644
--- a/shell/cc-window.c
+++ b/shell/cc-window.c
@@ -1542,6 +1542,7 @@ create_window (CcWindow *self)
                     G_CALLBACK (stack_page_notify_cb), self);
 
   gtk_widget_show_all (box);
+  gtk_window_set_focus (GTK_WINDOW (self), priv->search_button);
 }
 
 static void


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