[yelp] [yelp-window.c] Don't grab focus on view when find entry loses	focus
- From: Shaun McCance <shaunm src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [yelp] [yelp-window.c] Don't grab focus on view when find entry loses	focus
 
- Date: Thu,  6 May 2010 16:46:34 +0000 (UTC)
 
commit d7a2f3d7d5397610a687254de38e4e7c6af44cab
Author: Shaun McCance <shaunm gnome org>
Date:   Thu May 6 11:45:38 2010 -0500
    [yelp-window.c] Don't grab focus on view when find entry loses focus
    
    It's not necessary at all, and it was preventing users from going directly
    from the find entry to Ctrl+S or Ctrl+L.
 src/yelp-window.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/yelp-window.c b/src/yelp-window.c
index 3545aed..ca08114 100644
--- a/src/yelp-window.c
+++ b/src/yelp-window.c
@@ -961,7 +961,6 @@ find_entry_focus_out (GtkEntry      *entry,
     YelpWindowPrivate *priv = GET_PRIV (window);
     webkit_web_view_unmark_text_matches (WEBKIT_WEB_VIEW (priv->view));
     webkit_web_view_set_highlight_text_matches (WEBKIT_WEB_VIEW (priv->view), FALSE);
-    gtk_widget_grab_focus (GTK_WIDGET (priv->view));
     priv->find_cur_height = priv->find_bar_height;
     priv->find_animate = g_timeout_add (2, (GSourceFunc) find_animate_close, window);
     return FALSE;
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]