| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-02-16 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-view.c: (ev_view_realize), (highlight_find_results),
(ev_view_create_invisible_cursor), (ev_view_set_cursor),
(set_document_page), (document_changed_callback),
(ev_view_set_document), (ev_view_find_previous),
(ev_view_hide_cursor), (ev_view_show_cursor):
* shell/ev-view.h:
* shell/ev-window.c: (update_chrome_visibility),
(fullscreen_timeout_cb), (fullscreen_set_timeout),
(fullscreen_clear_timeout), (fullscreen_motion_notify_cb),
(fullscreen_leave_notify_cb), (ev_window_fullscreen),
(ev_window_unfullscreen):
* shell/main.c: (main):
Automatically hide the fullscreen button.
Patch by Kristian Høgsberg <krh@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tue Feb 15 22:27:13 2005 Jonathan Blandford <jrb@redhat.com>
* backend/ev-document-misc.h:
* backend/ev-document-misc.c:
(ev_document_misc_get_page_border_size),
(ev_document_misc_paint_one_page): New function to canonicalize
sizing/painting a border.
* shell/Makefile.am: Remove ev-page-view.c entirely as it's not
used.
* pdf/xpdf/pdf-document.cc: use new function
* shell/ev-view.c: (ev_view_size_request), (expose_bin_window),
(ev_view_init), (ev_view_set_mode), (ev_view_zoom),
(ev_view_best_fit), (ev_view_fit_width): * shell/ev-view.h: *
shell/ev-window.c: (update_sizing_buttons),
(ev_window_setup_document), (ev_window_cmd_view_zoom_in),
(ev_window_cmd_view_zoom_out), (ev_window_cmd_view_best_fit),
(ev_window_cmd_view_page_width), (size_allocate_cb),
(ev_window_set_sizing_mode), (ev_window_init): make the "best fit"
and "fit width" values act as toggle buttons so they stay
toggled. It's not 100% perfect, and it's a little slow, but it's
good enough to commit I think.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* shell/ev-view.c (ev_view_best_fit, ev_view_fit_width): add
parameters providing allocation width and height without
scrollbars and width of a possible vertical scrollbar. With this
additional information the functions can work as
intended. Unfortunately they're not idempotent. We should
transform these commands to toggles. Fixes Bug #164976
Initial patch by Stephane Loeuillet, then heavily modified.
* shell/ev-view.h: update prototypes.
* shell/ev-window.c (ev_window_cmd_view_best_fit)
(ev_window_cmd_view_page_width): provide EvView fit functions with
all the information they need. Formulas to calculate this
information taken from GtkScrolledWindow.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
* backend/ev-document-find.c: (ev_document_find_base_init),
(ev_document_find_changed):
* backend/ev-document-find.h:
* pdf/xpdf/pdf-document.cc:
* shell/ev-view.c: (draw_rubberband), (highlight_find_results),
(expose_bin_window), (ev_view_init), (set_document_page),
(ensure_rectangle_is_visible), (jump_to_find_result),
(jump_to_find_page), (find_changed_cb), (ev_view_set_document),
(ev_view_find_next), (ev_view_find_previous):
* shell/ev-view.h:
* shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb):
More work on find implementation, mostly there now
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-01-27 Marco Pesenti Gritti <marco@gnome.org>
* data/evince-ui.xml:
* shell/Makefile.am:
* shell/ev-history.c:
* shell/ev-history.h:
* shell/ev-navigation-action.c:
* shell/ev-navigation-action.h:
* shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link),
(ev_view_set_page), (ev_view_fit_width):
* shell/ev-view.h:
* shell/ev-window.c: (update_action_sensitivity),
(ev_window_setup_document), (register_custom_actions):
Kill session history
|
|
|
|
|
|
|
|
|
|
|
| |
2005-01-14 Dave Malcolm <dmalcolm@redhat.com>
* shell/ev-view.h:
* shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
new functions to help with implementation of sensitivity code
* shell/ev-window.c (update_action_sensitivity): Fix sensitivity
of all actions that might require it. Fixes a crash when you
click on the Zoom actions in a window lacking a document.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-01-13 Marco Pesenti Gritti <marco@gnome.org>
* pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
(pixbuf_document_document_iface_init):
* ps/ps-document.c: (ps_document_get_link),
(ps_document_document_iface_init):
* shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
(status_message_from_link), (ev_view_set_status),
(ev_view_set_find_status), (ev_view_motion_notify_event),
(ev_view_button_release_event), (ev_view_set_property),
(ev_view_get_property), (ev_view_class_init), (ev_view_init),
(ev_view_get_find_status_message), (update_find_results),
(ev_view_get_status), (ev_view_get_find_status):
* shell/ev-view.h:
* shell/ev-window.c: (view_status_changed_cb),
(view_find_status_changed_cb), (ev_window_init):
View status message support, use it to show the links.
Needs work...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-01-11 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-history.c: (ev_history_get_property),
(ev_history_set_property), (ev_history_class_init),
(ev_history_add_page), (ev_history_set_current_index):
* shell/ev-navigation-action.c: (ev_navigation_action_set_history),
(activate_menu_item_cb), (new_history_menu_item), (build_menu),
(ev_navigation_action_finalize):
* shell/ev-navigation-action.h:
* shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
(ev_view_go_forward), (ev_view_get_find_status_message),
(history_index_changed_cb), (ev_view_set_history):
* shell/ev-view.h:
* shell/ev-window.c: (update_total_pages), (ev_window_open),
(update_current_page), (register_custom_actions):
Implement history dropdowns
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-01-09 Marco Pesenti Gritti <marco@gnome.org>
* shell/Makefile.am:
* shell/ev-application.c: (ev_application_open_bookmark):
* shell/ev-application.h:
* shell/ev-history.c: (ev_history_init), (free_links_list),
(ev_history_finalize), (ev_history_class_init),
(ev_history_add_link), (ev_history_add_page),
(ev_history_get_link_nth), (ev_history_get_n_links),
(ev_history_get_current_index), (ev_history_set_current_index),
(ev_history_new):
* shell/ev-history.h:
* shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
* shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
(set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
(go_to_index), (ev_view_go_back), (ev_view_go_forward),
(ev_view_set_page):
* shell/ev-view.h:
* shell/ev-window.c: (ev_window_open_bookmark),
(ev_window_cmd_go_back), (ev_window_cmd_go_forward),
(goto_page_cb), (register_custom_actions):
* shell/ev-window.h:
Initial history implementation. Needs work.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-01-07 Marco Pesenti Gritti <marco@gnome.org>
* data/evince-ui.xml:
Cleanup and add select all.
* shell/ev-view.c: (ev_view_select_all),
(ev_view_button_press_event):
* shell/ev-view.h:
* shell/ev-window.c: (ev_window_cmd_edit_select_all):
Add select all.
Clear selection on click.
|
|
|
|
|
|
|
|
|
|
| |
2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-view.c: (ev_view_copy):
* shell/ev-view.h:
* shell/ev-window.c: (ev_window_cmd_edit_copy):
Implement Edit->Copy
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-12-23 Havoc Pennington <hp@redhat.com>
* shell/ev-window.c: hook up potentially-questionable "find
results status text" feature - something involving the sidebar or
scrollbar or a continuous all-pages-on-giant-roll-of-paper-view
might be better in the end.
* shell/ev-view.c (ev_view_get_find_status_message): new function,
with corresponding signal when it should be updated
* shell/eggfindbar.c (egg_find_bar_set_status_text): new function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-12-22 Mark McLoughlin <mark@skynet.ie>
* shell/ev-view.[ch]:
(ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out),
(ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width):
add zooming.
* shell/ev-window.c: (ev_window_cmd_view_zoom_in),
(ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size),
(ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width):
hook it up.
* pdf/xpdf/pdf-document.cc:
(pdf_document_begin_find),
(pdf_document_end_find): make static.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com>
* data/evince-ui.xml: Add a few more toolbar items.
* shell/ev-window.c: Hook up page navigation toolbar
items.
* shell/ev-view.[ch]: add ev_view_set/get_page and
a page-changed signal.
* backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc::
Add ev_document_get_page().
* shell/ev-window.c: Sensitize/desensitize navigation
actions.
|
|
Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com>
* shell/ev-view.[ch]: Start of content-area widget.
* shell/ev-window.c: Create a EvView, update it
as we change documents.
* shell/Makefile.am shell/ev-marshal.list: Add
generated marshalers.
|