[vinagre/gnome-3-0] Leave initial focus set to the primary toolbar



commit 6d05904032c85a91d9adbc145462430ac88e8b09
Author: David King <amigadave amigadave com>
Date:   Fri Apr 1 08:11:13 2011 +0200

    Leave initial focus set to the primary toolbar
    
    Initial focus was set to the GtkHPaned, which caused it to be
    highlighted blue when initially starting Vinagre. Removing the
    gtk_widget_set_focus() call makes the focus default to the primary
    toolbar, fixing the issue and bug 646235.

 vinagre/vinagre-window.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/vinagre/vinagre-window.c b/vinagre/vinagre-window.c
index e75a1d3..fd646c3 100644
--- a/vinagre/vinagre-window.c
+++ b/vinagre/vinagre-window.c
@@ -821,8 +821,6 @@ vinagre_window_init (VinagreWindow *window)
 
   gtk_widget_show (window->priv->hpaned);
 
-  gtk_widget_grab_focus (window->priv->hpaned);
-
   init_widgets_visibility (window);
 //  vinagre_window_merge_tab_ui (window);
 



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