[gtk/shortcuts-rebased-again: 141/159] treeview: Avoid popup-menu
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/shortcuts-rebased-again: 141/159] treeview: Avoid popup-menu
- Date: Mon, 24 Jun 2019 11:47:00 +0000 (UTC)
commit 9dc7636ea4c7e266c05a91c5bde3afb6c3b2bb52
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Jun 24 01:35:31 2019 +0000
treeview: Avoid popup-menu
gtk/gtktreeview.c | 9 ---------
1 file changed, 9 deletions(-)
---
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index 310baafc41..59f079b81f 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -5426,18 +5426,9 @@ gtk_tree_view_forward_controller_key_pressed (GtkEventControllerKey *key,
}
else
{
- gulong popup_menu_id;
-
- popup_menu_id = g_signal_connect (tree_view->priv->search_entry,
- "popup-menu", G_CALLBACK (no_popup),
- NULL);
-
/* Because we keep the focus on the treeview, we need to forward the
* key events to the entry, when it is visible. */
gtk_event_controller_key_forward (key, search_window);
-
- g_signal_handler_disconnect (tree_view->priv->search_entry,
- popup_menu_id);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]