[Xfce4-commits] [panel-plugins/xfce4-clipman-plugin] 02/03: Attach key-press/release also to treeview

noreply at xfce.org noreply at xfce.org
Sun Mar 29 00:14:39 CET 2020


This is an automated email from the git hooks/post-receive script.

o   c   h   o   s   i       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository panel-plugins/xfce4-clipman-plugin.

commit daaa66a728763eb4ca7e477e8e923781b4a31e88
Author: Florian Schüller <florian.schueller at gmail.com>
Date:   Sat Mar 28 18:13:09 2020 +0100

    Attach key-press/release also to treeview
---
 panel-plugin/xfce4-clipman-history.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/panel-plugin/xfce4-clipman-history.c b/panel-plugin/xfce4-clipman-history.c
index dc6fd50..445b055 100644
--- a/panel-plugin/xfce4-clipman-history.c
+++ b/panel-plugin/xfce4-clipman-history.c
@@ -289,6 +289,8 @@ clipman_history_treeview_init (MyPlugin *plugin)
   gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (treeview), FALSE);
   gtk_tree_view_set_enable_search (GTK_TREE_VIEW (treeview), FALSE);
   g_signal_connect_swapped (G_OBJECT (treeview), "start-interactive-search", G_CALLBACK (gtk_widget_grab_focus), entry);
+  g_signal_connect (G_OBJECT (treeview), "key-press-event", G_CALLBACK (clipman_history_key_press_event), plugin);
+  g_signal_connect (G_OBJECT (treeview), "key-release-event", G_CALLBACK (clipman_history_key_release_event), plugin);
   g_signal_connect (G_OBJECT (treeview), "row-activated", G_CALLBACK (clipman_history_row_activated), plugin);
   gtk_container_add (GTK_CONTAINER (scroll), treeview);
   gtk_widget_show (treeview);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list