[gnome-control-center] shell: Start search when typing
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] shell: Start search when typing
- Date: Mon, 19 Aug 2013 22:37:06 +0000 (UTC)
commit 8c7efd538b0bfff61dff79ec24fcbe7806a70160
Author: Bastien Nocera <hadess hadess net>
Date: Tue Aug 20 00:18:50 2013 +0200
shell: Start search when typing
https://bugzilla.gnome.org/show_bug.cgi?id=706268
shell/cc-window.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/shell/cc-window.c b/shell/cc-window.c
index 8295459..1da28a0 100644
--- a/shell/cc-window.c
+++ b/shell/cc-window.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]