| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-05-16 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-window.c: (ev_window_print), (ev_window_print_range):
* shell/ev-window.h:
Expose api to print a range (with dialog). Make private _print use
it.
* shell/ev-sidebar-links.c: (print_section_cb), (button_press_cb),
(ev_sidebar_links_construct):
Show a print context menu on linkx, it prints the selected
section.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
* AUTHORS:
Update
* shell/ev-window.c: (build_comments_string),
(ev_window_cmd_help_about):
Show poppler version/backend and authors
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-marshal.list:
* shell/ev-page-action.c: (ev_page_action_widget_class_init),
(activate_cb), (match_selected_cb), (activate_link_cb),
(connect_proxy), (ev_page_action_class_init):
* shell/ev-page-action.h:
Use signals to notify action activation. Hopefully
I did not break completion since I cant test...
* shell/ev-window.c: (activate_link_cb), (activate_label_cb),
(register_custom_actions):
Connect to page selector actions and also grab focus on
the view when activated.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
* data/evince-toolbar.xml:
* shell/ev-window.c: (update_action_sensitivity),
(ev_window_setup_document), (ev_window_set_page_mode),
(ev_window_init):
Remove some leftover code from jrb first continous
attempt. Use the new actions, we still need good icons
though...
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
* data/evince-ui.xml:
* shell/ev-page-action.c: (ev_page_action_grab_focus):
* shell/ev-page-action.h:
* shell/ev-window.c: (ev_window_cmd_focus_page_selector):
Add mnemonic for edit toolbar.
ctrl+l focus the page entry.
|
|
|
|
|
|
|
|
|
|
|
| |
2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
* lib/Makefile.am:
* shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb),
(ev_window_init):
* shell/main.c: (main):
Put the toolbar xml in evince own dot dir
|
|
|
|
|
|
|
|
| |
2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-window.c: (ev_window_init):
Make the toolbar not removable
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
* data/evince-ui.xml:
* shell/ev-sidebar-links.c: (ev_sidebar_links_get_treeview):
* shell/ev-sidebar-links.h:
* shell/ev-sidebar-thumbnails.c:
(ev_sidebar_thumbnails_get_treeview):
* shell/ev-sidebar-thumbnails.h:
* shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_view),
(ev_view_class_init):
* shell/ev-view.h:
* shell/ev-window.c: (update_action_sensitivity),
(ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
(set_view_actions_sensitivity), (view_actions_focus_in_cb),
(view_actions_focus_out_cb), (enable_view_actions_for_widget),
(ev_window_init):
This is evil... Make space/backspace global accelerators but
enable them only for some widgets (sidebars and view).
I dont like it, but I dont know a better way... :/
|
|
|
|
|
|
|
|
|
|
| |
2005-05-10 Juerg Billeter <j@bitron.ch>
* shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings),
(idle_print_handler)
* shell/ev-window.c: (ev_window_print):
Support printing page range, based on patch by Amaury Jacquot
|
|
|
|
|
|
|
|
| |
2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-window.c: (update_action_sensitivity):
Set slash action insensitive when appropriate
|
|
|
|
|
|
|
|
| |
2005-05-10 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-window.c: (sanity_check_uri), (ev_window_open):
Check for uri correctness/existence
|
|
|
|
|
|
|
|
| |
2005-05-09 Juerg Billeter <j@bitron.ch>
* shell/ev-window.c: (using_postscript_printer):
LPD printers use postscript, too
|
|
|
|
|
|
|
|
|
| |
2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-window.c: (register_custom_actions):
The zoom one is actually sort of useful,
put it back
|
|
|
|
|
|
|
|
|
| |
2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-window.c: (register_custom_actions):
Hide page/zoom controls from overflow, they
are useless.
|
|
|
|
| |
Nickolay V. Shmyrev <nshmyrev@yandex.ru>
|
|
|
|
|
|
|
|
|
| |
2005-05-09 Marco Pesenti Gritti <mpg@redhat.com>
* data/evince-ui.xml:
* shell/ev-window.c:
Slash -> Find
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-05-08 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-document-types.c: (get_slow_mime_type),
(get_document_type_from_mime), (ev_document_type_lookup):
* shell/ev-document-types.h:
Change api to lookup from uri. Do fast lookup first, if the
type is unknown try with data sniffing.
* shell/ev-window.c: (ev_window_open), (ev_window_open_uri_list):
* thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
Adapt to api change
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-05-02 James Bowes <bowes@cs.dal.ca>
* configure.ac: Output zoom-control Makefile.
* cut-n-paste/Makefile.am: build zoom-control subdir.
* cut-n-paste/zoom-control/ephy-zoom-action.c:
* cut-n-paste/zoom-control/ephy-zoom-action.h:
* cut-n-paste/zoom-control/ephy-zoom-control.c:
* cut-n-paste/zoom-control/ephy-zoom-control.h:
* cut-n-paste/zoom-control/ephy-zoom.c:
* cut-n-paste/zoom-control/ephy-zoom.h: New files imported
from epiphany, and modified to add a separator into the menu.
* cut-n-paste/zoom-control/Makefile.am: Build zoom-control.
* data/evince-ui.xml: Replace old zoom toolbar actions with new
zoom-control action.
* shell/Makefile.am: Include zoom-control flags.
* shell/ev-view.c: (ev_view_set_zoom), (ev_view_get_zoom),
(ev_view_get_sizing_mode), (ev_view_zoom_in), (ev_view_zoom_out),
(ev_view_zoom_for_size_presentation),
(ev_view_zoom_for_size_continuous_and_dual_page),
(ev_view_zoom_for_size_continuous),
(ev_view_zoom_for_size_dual_page),
(ev_view_zoom_for_size_single_page), (ev_view_zoom_normal):
s/ev_view_zoom/ev_view_set_zoom/ and make public, add
ev_view_get_zoom and ev_view_get_sizing_mode.
* shell/ev-view.h:
* shell/ev-window.c: (update_action_sensitivity),
(update_sizing_buttons), (zoom_control_changed_cb),
(register_custom_actions): Initialize and use the zoom-control
widget.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sun May 1 00:46:47 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init): Change the
preview cache back to 1. Don't know when it got set to 0.
* shell/ev-view.c: (compute_border), (ev_view_realize),
(draw_one_page), (ev_view_set_property), (ev_view_get_property),
(ev_view_class_init), (ev_view_init), (ev_view_set_fullscreen),
(ev_view_get_fullscreen), (ev_view_set_presentation),
(ev_view_get_presentation), (ev_view_set_sizing_mode),
(ev_view_zoom_for_size_presentation), (ev_view_set_zoom_for_size):
* shell/ev-view.h:
* shell/ev-window.c:
(update_chrome_visibility),
(ev_window_cmd_continuous), (ev_window_cmd_dual),
(ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
(update_document_mode), (ev_window_update_fullscreen_action),
(ev_window_fullscreen), (ev_window_unfullscreen),
(ev_window_cmd_view_fullscreen),
(ev_window_update_presentation_action),
(ev_window_run_presentation), (ev_window_stop_presentation),
(ev_window_cmd_view_presentation), (ev_window_state_event),
(ev_window_focus_in_event), (ev_window_focus_out_event),
(ev_window_cmd_escape), (ev_window_sidebar_visibility_changed_cb):
* data/evince-ui.xml: Initial presentation mode. We should
probably hide this until it's done, as it's quite rough. Also,
change full-screen to fullscreen and add two getters to EvView.
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-04-29 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-page-action.c: (update_page_cache),
(ev_page_action_dispose):
* shell/ev-window.c: (destroy_fullscreen_popup),
(ev_window_create_fullscreen_popup):
Use connect_object rather than explicitly
disconnect on dispose.
|
|
|
|
| |
CVSr ----------------------------------------------------------------------
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sun Apr 24 01:07:27 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-view.c: (find_page_at_location),
(get_link_at_location),
(ev_view_set_show_border), (ev_view_set_spacing),
(ev_view_zoom_for_size_continuous_and_dual_page),
(ev_view_zoom_for_size_continuous): Fix links for dual/continuous.
Also, add a quick fix measuring of widths. Also, removed
ev_view_set_spacing and ev_view_set_show_border.
* shell/ev-window.c: (ev_window_unfullscreen),
(ev_window_cmd_view_fullscreen): Don't adjust the border/spacing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sat Apr 23 13:13:04 2005 Jonathan Blandford <jrb@redhat.com>
* TODO:
* backend/ev-page-cache.c: (_ev_page_cache_new),
(ev_page_cache_get_max_width_size),
(ev_page_cache_get_max_height_size):
* backend/ev-page-cache.h:
* data/evince-ui.xml:
* shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_init):
* shell/ev-view.c: (view_update_adjustments),
(view_update_range_and_current_page), (get_bounding_box_size),
(ev_view_size_request_continuous_and_dual_page),
(ev_view_size_request_continuous),
(ev_view_size_request_dual_page),
(ev_view_size_request_single_page), (ev_view_size_request),
(ev_view_size_allocate), (get_page_extents), (draw_one_page),
(ev_view_bin_expose), (ev_view_expose_event),
(ev_view_set_property), (ev_view_get_property),
(ev_view_class_init), (ev_view_init), (ev_view_new),
(page_changed_cb), (ev_view_zoom), (ev_view_set_continuous),
(ev_view_set_dual_page), (ev_view_set_full_screen),
(ev_view_set_presentation), (ev_view_set_sizing_mode),
(ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_in),
(ev_view_zoom_out), (zoom_for_size_fit_width),
(zoom_for_size_best_fit),
(ev_view_zoom_for_size_continuous_and_dual_page),
(ev_view_zoom_for_size_continuous),
(ev_view_zoom_for_size_dual_page),
(ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size),
(ev_view_show_cursor), (ev_sizing_mode_get_type):
* shell/ev-view.h:
* shell/ev-window.c: (update_action_sensitivity),
(ev_window_cmd_continuous), (ev_window_cmd_dual),
(ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
(update_sizing_buttons), (ev_window_cmd_view_zoom_in),
(ev_window_cmd_view_zoom_out), (update_view_size),
(ev_window_set_sizing_mode), (ev_window_init):
Add Continuous and Dual page modes.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-04-22 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out),
(ev_view_zoom_out), (ev_view_zoom_normal):
* shell/ev-view.h:
* shell/ev-window.c: (update_action_sensitivity),
(ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
(ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out),
(ev_window_cmd_view_normal_size):
Fix normal size zoom. Make zoom in/zoom out unsensitive when
they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but
better than oom.
|
|
|
|
|
|
|
|
|
|
| |
Thu Apr 21 23:37:52 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-pixbuf-cache.c (dispose_cache_job_info): actually
remove the job.
* backend/ev-document.h: Remove EV_DOC_MUTEX in favor of a locking
function. This helps debugging.
|
|
|
|
|
|
|
|
|
|
| |
2005-04-19 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-window.c: (update_document_mode),
(ev_window_setup_document):
Show the window in fullscreen when specified by
the document
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-04-18 David Malcolm <dmalcolm@redhat.com>
* shell/ev-document-types.h:
* shell/ev-document-types.c:
New files, handling the mapping from mimetypes to backends
* shell/ev-window.c:
* thumbnailer/evince-thumbnailer.c:
Use the ev-document-types code
* shell/Makefile.am:
Added new convenience library libevbackendfactory_la, containing
the new mimetype->backend logic; moved the backends into it.
* thumbnailer/Makefile.am:
Make the thumbnailer link with the libevbackend.la convenience
library, rather than having a duplicate of the backend logic here.
|
|
|
|
|
|
|
| |
2005-04-18 Paolo Borelli <pborelli@katamail.com>
* shell/ev-stock-icons.c: constify some vars.
* shell/ev-window.c: ditto.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* djvu/Makefile.am:
* dvi/Makefile.am:
* shell/Makefile.am:
Move library dependencies to components.
* shell/ev-window.c: (update_window_title),
(start_loading_document):
Fix display of uris with spaces. Bug 168358.
---------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
| |
Sat Apr 16 18:53:47 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-sidebar-links.c: (selection_changed_cb):
* shell/ev-view.c: (ev_view_finalize), (go_to_link),
(ev_view_button_release_event), (ev_view_set_document):
* shell/ev-view.h:
* shell/ev-window.c: (find_bar_search_changed_cb):
* shell/ev-window.h: Minor cleanups removing some dead code.
|
|
|
|
|
|
|
|
|
| |
2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-window.c: (update_view_size):
Calculate shadow size only when there is actually
a shadow.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-view.c: (ev_view_set_spacing), (ev_view_init):
* shell/ev-view.h:
Allow setting view spacing, default to 0
* shell/ev-window.c: (ev_window_unfullscreen),
(ev_window_cmd_view_fullscreen), (ev_window_init):
Remove spacing in fullscreen mode
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-view.c: (compute_border), (compute_zoom_factor),
(ev_view_size_request), (expose_bin_window),
(ev_view_set_show_border), (ev_view_init), (page_changed_cb):
* shell/ev-view.h:
* shell/ev-window.c: (ev_window_unfullscreen),
(ev_window_cmd_view_fullscreen):
Do not draw the border in fulscreen
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-04-16 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-page-cache.c: (ev_page_cache_init),
(_ev_page_cache_new):
Remove some assertions, documents can have 0 pages.
Make initial current page -1.
* shell/ev-page-action.c: (page_changed_cb):
Show "" if current page is -1
* shell/ev-window.c: (update_action_sensitivity),
(ev_window_setup_document):
When document has 0 pages do not set the view
and make nearly everything insensitive.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* shell/ev-page-view.c:
* shell/ev-page-view.h:
Remove unused files.
* shell/ev-sidebar-thumbnails.c:
(ev_sidebar_thumbnails_set_document):
* shell/ev-sidebar.c: (ev_sidebar_set_document),
(ev_sidebar_supports_document):
* shell/ev-sidebar.h:
* shell/ev-window.c: (ev_window_setup_document):
Doesn't show thumbnails if document has 1 page. Make
sidebar menu entries sensitive only if if they have
sense. Fix bug 164811.
|
|
|
|
|
|
|
|
| |
2005-04-15 Luca Ferretti <elle.uca@libero.it>
* shell/ev-window.c: (set_action_properties):
Make all toolbar items translatable
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-04-14 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-document.h:
* djvu/djvu-document.c: (djvu_document_can_get_text),
(djvu_document_document_iface_init):
* dvi/dvi-document.c: (dvi_document_can_get_text),
(dvi_document_document_iface_init):
* pdf/ev-poppler.cc:
* pixbuf/pixbuf-document.c: (pixbuf_document_can_get_text),
(pixbuf_document_document_iface_init):
* ps/ps-document.c: (ps_document_can_get_text),
(ps_document_document_iface_init):
* shell/ev-view.c: (ev_view_copy), (ev_view_primary_get_cb):
* shell/ev-window.c: (update_action_sensitivity):
Fix the crash when trying to copy in backends that doesnt
support it. We can implement a better solution once we
do real text selection.
|
|
|
|
|
|
|
|
|
| |
2005-04-12 Marco Pesenti Gritti <mpg@redhat.com>
* data/evince-ui.xml:
* shell/ev-window.c: (ev_window_cmd_escape):
Work around the Escape conflict (find bar and unfullscreen)
|
|
|
|
| |
and scrolling up with Shift + Space
|
|
|
|
|
|
|
|
|
| |
2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-view.c: (ev_view_can_find_next):
* shell/ev-window.c: (ev_window_setup_document):
Check that the document supports find
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-04-08 Marco Pesenti Gritti <mpg@redhat.com>
* data/evince-ui.xml:
* shell/ev-view.c: (ev_view_can_find_next):
* shell/ev-view.h:
* shell/ev-window.c: (update_action_sensitivity),
(find_changed_cb), (ev_window_setup_document),
(ev_window_cmd_edit_find_next):
Add Edit->Find Next
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fri Apr 8 01:12:24 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-page-action.h:
* shell/ev-page-action.c: (ev_page_action_widget_init),
(ev_page_action_widget_class_init), (page_changed_cb),
(create_tool_item), (update_page_cache), (build_new_tree_cb),
(get_filter_model_from_model), (match_selected_cb),
(display_completion_text), (match_completion), (update_model),
(connect_proxy), (ev_page_action_set_property),
(ev_page_action_get_property), (ev_page_action_set_document),
(ev_page_action_set_model), (ev_page_action_class_init): Big
reworking to make completions work iff we have >= GTK-2.7.0
* shell/ev-sidebar-links.c: (ev_sidebar_links_set_property),
(ev_sidebar_links_get_property), (ev_sidebar_links_class_init),
(job_finished_cb): We now have a 'model' property that is set when
the links are loaded. This can be caught with "notify::model"
* shell/ev-window.c: (sidebar_widget_model_set), (ev_window_init):
listen for the model to be set, and propagate it to the action.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* cut-n-paste/recent-files/Makefile.am:
* data/evince-ui.xml, shell/Makefile.am:
* shell/ev-application.c, shell/ev-application.h:
* shell/ev-window.c: Recent files support.
* configure.ac: Added "ru" to ALL_LINGUAS.
* dvju: new backend to support DJVU files.
* dvi: new backend to support DVI.
* configure.ac, Makefile.am, shell/Makefile.am, ev-window.c:
* ev-application.c: Support for new backends.
* help, ev-window.c, main.c shell/Makefile.am:
|
|
|
|
|
|
|
|
|
|
| |
2005-04-06 Marco Pesenti Gritti <mpg@redhat.com>
* po/POTFILES.in:
* shell/ev-window.c:
* thumbnailer/evince-thumbnailer.c:
s/pdf-document/ev-poppler
|
|
|
|
|
|
|
|
| |
2005-04-05 Kristian Høgsberg <krh@redhat.com>
* backend/ev-page-cache.c (ev_page_cache_next_page):
* shell/ev-window.c (ev_window_cmd_go_next_page)
(ev_window_cmd_go_first_page): Fix of by one errors.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-04-04 Kristian Høgsberg <krh@redhat.com>
Make searching work again.
* backend/ev-document.c:
* backend/ev-document.h:
* backend/ev-document-find.c:
* backend/ev-document-find.h: Change EvDocumentIface so we no
longer store the current page or zoom level in the document. The
consequence is that all calls that operate on the current page now
instead take the page number as an extra argument, and all
coordinates are now doubles in document coordinate system.
* pdf/ev-poppler.cc:
* pixbuf/pixbuf-document.c:
* ps/ps-document.c: Update backends accordingly.
|