[Xfce4-commits] [apps/xfce4-taskmanager] 02/14: Add key binding Ctrl+f for the filter entry

noreply at xfce.org noreply at xfce.org
Fri Dec 19 22:58:32 CET 2014


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

landry pushed a commit to branch master
in repository apps/xfce4-taskmanager.

commit e352eff87734a71a9fb805d71950f263145c6281
Author: Harald Judt <h.judt at gmx.at>
Date:   Thu Dec 18 23:28:56 2014 +0100

    Add key binding Ctrl+f for the filter entry
---
 src/process-window.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/process-window.c b/src/process-window.c
index 748abd9..0069404 100644
--- a/src/process-window.c
+++ b/src/process-window.c
@@ -254,6 +254,10 @@ xtm_process_window_key_pressed (XtmProcessWindow *window, GdkEventKey *event)
 		emit_delete_event_signal (window, (GdkEvent*) event);
 		ret = TRUE;
 	}
+	else if (event->keyval == GDK_KEY_f && event->state & GDK_CONTROL_MASK) {
+		gtk_widget_grab_focus (GTK_WIDGET(window->filter_entry));
+		ret = TRUE;
+	}
 
 	return ret;
 }

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


More information about the Xfce4-commits mailing list