diff options
Diffstat (limited to 'src/bookmarks/ephy-topics-selector.c')
-rw-r--r-- | src/bookmarks/ephy-topics-selector.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/bookmarks/ephy-topics-selector.c b/src/bookmarks/ephy-topics-selector.c index 8d15a59b2..007a3a05d 100644 --- a/src/bookmarks/ephy-topics-selector.c +++ b/src/bookmarks/ephy-topics-selector.c @@ -25,6 +25,7 @@ #include "ephy-topics-selector.h" #include "ephy-debug.h" #include "ephy-node-view.h" +#include "ephy-gui.h" #include <glib/gi18n.h> #include <gtk/gtkliststore.h> @@ -325,6 +326,7 @@ topic_key_pressed (GtkTreeView *tree_view, GtkTreeSelection *sel = NULL; GtkTreeIter iter; GtkTreePath *path; + guint32 unicode; switch (event->keyval) { @@ -347,6 +349,12 @@ topic_key_pressed (GtkTreeView *tree_view, break; } + unicode = gdk_keyval_to_unicode (event->keyval); + if (unicode) + { + return ephy_gui_select_row_by_key (tree_view, COL_TOPIC, unicode); + } + return FALSE; } |