diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2004-07-02 17:03:42 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2004-07-02 17:03:42 +0800 |
commit | 6dadef323fb59daefac69200014b1d5f238a911a (patch) | |
tree | f44b28f70a91dee49b95ebbc8d5c7a86a7ea9f3c /src/bookmarks/ephy-bookmarks-menu.c | |
parent | 5788200966658bf840916954af8718426d33c177 (diff) | |
download | gsoc2013-epiphany-6dadef323fb59daefac69200014b1d5f238a911a.tar gsoc2013-epiphany-6dadef323fb59daefac69200014b1d5f238a911a.tar.gz gsoc2013-epiphany-6dadef323fb59daefac69200014b1d5f238a911a.tar.bz2 gsoc2013-epiphany-6dadef323fb59daefac69200014b1d5f238a911a.tar.lz gsoc2013-epiphany-6dadef323fb59daefac69200014b1d5f238a911a.tar.xz gsoc2013-epiphany-6dadef323fb59daefac69200014b1d5f238a911a.tar.zst gsoc2013-epiphany-6dadef323fb59daefac69200014b1d5f238a911a.zip |
Move in the bookmarks dir.
2004-07-02 Marco Pesenti Gritti <marco@gnome.org>
* src/bookmarks/ephy-favorites-menu.c:
* src/bookmarks/ephy-favorites-menu.h:
Move in the bookmarks dir.
* lib/ephy-gui.c: (ephy_gui_select_row_by_key),
(ephy_gui_is_middle_click):
* lib/ephy-gui.h:
Add a function to check if menus was activated
by a middle or a ctrl+click (which is equivalent in epiphany)
* lib/ephy-marshal.list:
* src/Makefile.am:
* src/bookmarks/Makefile.am:
* src/bookmarks/ephy-bookmark-action.c: (activate_cb),
(ephy_bookmark_action_class_init):
* src/bookmarks/ephy-bookmark-action.h:
* src/bookmarks/ephy-bookmarks-menu.c: (open_bookmark_cb),
(create_menu):
* src/bookmarks/ephy-bookmarksbar.c: (bookmark_open_in_tab_cb),
(bookmark_open_cb), (ephy_bookmarksbar_action_request):
* src/bookmarks/ephy-topic-action.c: (menu_activate_cb),
(ephy_topic_action_class_init):
* src/bookmarks/ephy-topic-action.h:
Add signals to open bookmarks in new window/tab. I'll need
them for context menus.
Use them for middle/ctrl click.
Diffstat (limited to 'src/bookmarks/ephy-bookmarks-menu.c')
-rw-r--r-- | src/bookmarks/ephy-bookmarks-menu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bookmarks/ephy-bookmarks-menu.c b/src/bookmarks/ephy-bookmarks-menu.c index 601027aa2..77427c4d2 100644 --- a/src/bookmarks/ephy-bookmarks-menu.c +++ b/src/bookmarks/ephy-bookmarks-menu.c @@ -111,7 +111,7 @@ ephy_bookmarks_menu_clean (EphyBookmarksMenu *menu) } static void -go_location_cb (GtkAction *action, char *location, EphyWindow *window) +open_bookmark_cb (GtkAction *action, char *location, EphyWindow *window) { ephy_window_load_url (window, location); } @@ -219,8 +219,8 @@ create_menu (EphyBookmarksMenu *menu, EphyNode *node, const char *path) gtk_action_set_accel_path (action, accel_path); gtk_action_group_add_action (p->action_group, action); g_object_unref (action); - g_signal_connect (action, "go_location", - G_CALLBACK (go_location_cb), p->window); + g_signal_connect (action, "open", + G_CALLBACK (open_bookmark_cb), p->window); gtk_ui_manager_add_ui (p->merge, p->ui_id, path, name, verb, |