[gnome-software] shell: Don't progate CTRL+F key pressed event
- From: Iain Lane <iainl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] shell: Don't progate CTRL+F key pressed event
- Date: Wed, 24 Apr 2019 08:46:00 +0000 (UTC)
commit 62153c4a6a1ff3c711df706e64cc8b7b57b9f496
Author: Andrea Azzarone <andrea azzarone canonical com>
Date: Thu Apr 18 16:35:11 2019 +0100
shell: Don't progate CTRL+F key pressed event
If the search bar is toggled using CTRL+F key don't propagate the key press
event.
Closes: https://gitlab.gnome.org/GNOME/gnome-software/issues/641
src/gs-shell.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gs-shell.c b/src/gs-shell.c
index 215c31fa..029aa49c 100644
--- a/src/gs-shell.c
+++ b/src/gs-shell.c
@@ -589,7 +589,7 @@ window_keypress_handler (GtkWidget *window, GdkEvent *event, GsShell *shell)
} else {
gtk_search_bar_set_search_mode (GTK_SEARCH_BAR (w), FALSE);
}
- return GDK_EVENT_PROPAGATE;
+ return GDK_EVENT_STOP;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]