[rhythmbox] Fix keyboard navigation over the search entry



commit a50d21fb6c8c537bcef8c8e6b1aafc87380f2790
Author: Sam Thursfield <sam afuera me uk>
Date:   Fri Aug 4 13:42:12 2017 +0100

    Fix keyboard navigation over the search entry
    
    The RbSearchEntry widget is a container so it can't have the focus.
    It contains a GtkEntry which can. Setting 'can-focus' to TRUE was
    confusing the gtk_container_focus() function causing focus to get
    stuck on the RbSearchEntry.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=785805

 widgets/rb-search-entry.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/widgets/rb-search-entry.c b/widgets/rb-search-entry.c
index cc30971..2b839f4 100644
--- a/widgets/rb-search-entry.c
+++ b/widgets/rb-search-entry.c
@@ -216,7 +216,6 @@ rb_search_entry_constructed (GObject *object)
 
        entry = RB_SEARCH_ENTRY (object);
 
-       gtk_widget_set_can_focus (GTK_WIDGET (entry), TRUE);
        entry->priv->entry = gtk_entry_new ();
        g_signal_connect_object (GTK_ENTRY (entry->priv->entry),
                                 "icon-press",


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