shell: Start search when typing
https://bugzilla.gnome.org/show_bug.cgi?id=706268
This commit is contained in:
parent
65c0b26888
commit
8c7efd538b
1 changed files with 3 additions and 0 deletions
|
@ -1206,6 +1206,9 @@ window_key_press_event (GtkWidget *win,
|
|||
GdkModifierType state;
|
||||
gboolean is_rtl;
|
||||
|
||||
if (gtk_search_bar_handle_event (GTK_SEARCH_BAR (self->priv->search_bar), (GdkEvent*) event) == GDK_EVENT_STOP)
|
||||
return GDK_EVENT_STOP;
|
||||
|
||||
if (event->state == 0)
|
||||
return GDK_EVENT_PROPAGATE;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue