[Xfce4-commits] [panel-plugins/xfce4-whiskermenu-plugin] 361/473: Recognize keypad enter as return for searching.

noreply at xfce.org noreply at xfce.org
Mon Feb 16 23:58:51 CET 2015


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

gottcode pushed a commit to branch master
in repository panel-plugins/xfce4-whiskermenu-plugin.

commit 317c9a2b59b1b0385efb940637d0fc251f215320
Author: Graeme Gott <graeme at gottcode.org>
Date:   Tue Apr 8 05:15:48 2014 -0400

    Recognize keypad enter as return for searching.
---
 panel-plugin/search-page.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/panel-plugin/search-page.cpp b/panel-plugin/search-page.cpp
index 63b2736..855838c 100644
--- a/panel-plugin/search-page.cpp
+++ b/panel-plugin/search-page.cpp
@@ -211,7 +211,7 @@ gboolean SearchPage::search_entry_key_press(GtkWidget* widget, GdkEvent* event)
 			return false;
 		}
 	}
-	else if (key_event->keyval == GDK_Return)
+	else if (key_event->keyval == GDK_Return || key_event->keyval == GDK_KP_Enter)
 	{
 		GtkTreePath* path = get_view()->get_selected_path();
 		if (path)

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


More information about the Xfce4-commits mailing list