diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2006-05-02 19:02:46 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@src.gnome.org> | 2006-05-02 19:02:46 (GMT) |
commit | 67297a0108ba18a69972c98ee1771c3dad41d55b (patch) | |
tree | 37e49b1a02bc066b645591156daceb11065caf36 /shell/ev-window.h | |
parent | c9c1e2212e37fb03d5e4ce4192cfe3f8a7515c5c (diff) |
Rework links system, it adds support for remote links now and it makes
2006-05-02 Carlos Garcia Campos <carlosgc@gnome.org>
* backend/Makefile.am:
* backend/ev-document-links.[ch]:
* backend/ev-document.[ch]:
* backend/ev-link-action.[ch]:
* backend/ev-link-dest.[ch]:
* backend/ev-link.[ch]:
* pdf/ev-poppler.cc: (pdf_document_find_link_dest),
(ev_link_dest_from_dest), (ev_link_from_action), (build_tree):
* shell/ev-page-action.c: (build_new_tree_cb):
* shell/ev-sidebar-links.c: (get_page_from_dest), (print_section_cb),
(links_page_num_func), (update_page_callback):
* shell/ev-view.[ch]: (ev_view_goto_dest), (ev_view_handle_link),
(tip_from_link):
* shell/ev-jobs.c:
* shell/ev-window.[ch]: (ev_window_open_uri),
(sidebar_links_link_activated_cb), (ev_view_popup_cmd_open_link):
* shell/ev-application.[ch]: (ev_application_open_window),
(ev_application_open_uri):
Rework links system, it adds support for remote links now and it makes
easier to add new kinds of actions and destinations. Fixes bug #317292
Diffstat (limited to 'shell/ev-window.h')
-rw-r--r-- | shell/ev-window.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/ev-window.h b/shell/ev-window.h index fb6234d..2551073 100644 --- a/shell/ev-window.h +++ b/shell/ev-window.h @@ -55,7 +55,10 @@ GType ev_window_get_type (void); GtkWidget *ev_window_new (void); const char *ev_window_get_uri (EvWindow *ev_window); void ev_window_open_uri (EvWindow *ev_window, - const char *uri); + const char *uri, + EvLinkDest *dest); +void ev_window_goto_dest (EvWindow *ev_window, + EvLinkDest *dest); void ev_window_open_page_label (EvWindow *ev_window, const char *label); gboolean ev_window_is_empty (const EvWindow *ev_window); |