diff options
author | David Bordoley <bordoley@msu.edu> | 2003-03-30 23:57:07 +0800 |
---|---|---|
committer | Dave Bordoley <Bordoley@src.gnome.org> | 2003-03-30 23:57:07 +0800 |
commit | a3638b15667bac68d1afe793ff6416c263d55328 (patch) | |
tree | 2492552f19c78f9da9d61431c41ba05c1cf2cd99 /src/bookmarks/ephy-bookmarks-editor.c | |
parent | 33700d8d076cee88d0da1e12b4c27dfc0283139b (diff) | |
download | gsoc2013-epiphany-a3638b15667bac68d1afe793ff6416c263d55328.tar gsoc2013-epiphany-a3638b15667bac68d1afe793ff6416c263d55328.tar.gz gsoc2013-epiphany-a3638b15667bac68d1afe793ff6416c263d55328.tar.bz2 gsoc2013-epiphany-a3638b15667bac68d1afe793ff6416c263d55328.tar.lz gsoc2013-epiphany-a3638b15667bac68d1afe793ff6416c263d55328.tar.xz gsoc2013-epiphany-a3638b15667bac68d1afe793ff6416c263d55328.tar.zst gsoc2013-epiphany-a3638b15667bac68d1afe793ff6416c263d55328.zip |
Use hotkeys to navigate around the dialog.
2003-03-30 David Bordoley <bordoley@msu.edu>
* src/bookmarks/ephy-bookmark-properties.c: (build_ui):
* src/bookmarks/ephy-new-bookmark.c: (build_editing_table):
Use hotkeys to navigate around the dialog.
* src/bookmarks/ephy-topics-selector.c: (mneumonic_activated),
(ephy_topics_build_ui), (ephy_topics_selector_new):
Catch the mneumonic-activated signal and focus the currently
selected item in the list. If no items are selected, select the
first item.
* src/bookmarks/ephy-bookmarks-editor.c: (key_pressed_cb):
Change function to return a gboolean and return false
if we don't handle the key event (fixes keynav in the bme).
Diffstat (limited to 'src/bookmarks/ephy-bookmarks-editor.c')
-rw-r--r-- | src/bookmarks/ephy-bookmarks-editor.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c index 20756fd97..e50f5659e 100644 --- a/src/bookmarks/ephy-bookmarks-editor.c +++ b/src/bookmarks/ephy-bookmarks-editor.c @@ -523,7 +523,7 @@ bookmarks_filter (EphyBookmarksEditor *editor, ephy_node_filter_done_changing (editor->priv->bookmarks_filter); } -static void +static gboolean key_pressed_cb (GtkWidget *widget, GdkEventKey *event, EphyNodeView *view) @@ -533,11 +533,13 @@ key_pressed_cb (GtkWidget *widget, case GDK_Delete: case GDK_KP_Delete: ephy_node_view_remove (view); - break; + return TRUE; default: break; } + + return FALSE; } static void |