diff options
Diffstat (limited to 'src/bookmarks')
-rw-r--r-- | src/bookmarks/ephy-bookmarks-editor.c | 10 | ||||
-rw-r--r-- | src/bookmarks/ephy-new-bookmark.c | 1 | ||||
-rw-r--r-- | src/bookmarks/ephy-topics-selector.c | 8 |
3 files changed, 18 insertions, 1 deletions
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c index 0cc0158a0..810bb9cb2 100644 --- a/src/bookmarks/ephy-bookmarks-editor.c +++ b/src/bookmarks/ephy-bookmarks-editor.c @@ -30,9 +30,17 @@ #include <gtk/gtkhbox.h> #include <gtk/gtkvbox.h> #include <gtk/gtkactiongroup.h> -#include <gtk/gtktoggleaction.h> +#include <gtk/gtkcombobox.h> #include <gtk/gtkuimanager.h> #include <gtk/gtktoggleaction.h> +#include <gtk/gtktreeselection.h> +#include <gtk/gtktreemodelsort.h> +#include <gtk/gtkcelllayout.h> +#include <gtk/gtkcellrenderertext.h> +#include <gtk/gtkradioaction.h> +#include <gtk/gtkclipboard.h> +#include <gtk/gtkmain.h> +#include <gtk/gtktreemodelsort.h> #include <gdk/gdkkeysyms.h> #include <glib/gi18n.h> #include <libgnomeui/gnome-stock-icons.h> diff --git a/src/bookmarks/ephy-new-bookmark.c b/src/bookmarks/ephy-new-bookmark.c index 341fdd2c5..9723690b9 100644 --- a/src/bookmarks/ephy-new-bookmark.c +++ b/src/bookmarks/ephy-new-bookmark.c @@ -28,6 +28,7 @@ #include <gtk/gtkhbox.h> #include <gtk/gtkvbox.h> #include <gtk/gtkstock.h> +#include <gtk/gtkimage.h> #include <gtk/gtkscrolledwindow.h> #include <gtk/gtkeditable.h> #include <glib/gi18n.h> 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; } |