Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
Commit message (Collapse)AuthorAgeFilesLines
* Fixed warnings on reload and probably crash reason.Nickolay V. Shmyrev2005-10-111-1/+1
| | | | | | * shell/ev-window.c: (ev_window_setup_document): Fixed warnings on reload and probably crash reason.
* Add .indd files (Adobe Indesign) to the list of "bad extensions".Nickolay V. Shmyrev2005-10-021-0/+1
| | | | | | | * shell/ev-window-title.c: Add .indd files (Adobe Indesign) to the list of "bad extensions".
* Add control+keypad bindings to zoom.Nickolay V. Shmyrev2005-10-021-0/+7
|
* URL-escape link before passing it to gnome_vfs_url_show.Christian Persch2005-09-271-6/+16
| | | | | | | | | 2005-09-27 Christian Persch <chpe@cvs.gnome.org> * shell/ev-window.c: (launch_link), (launch_external_uri), (view_external_link_cb): URL-escape link before passing it to gnome_vfs_url_show.
* Disable copy action when there isn't text selected.Carlos Garcia Campos2005-09-273-3/+44
| | | | | | 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.[ch], shell/ev-window.c: Disable copy action when there isn't text selected.
* Check tooltip is valid utf8 before showing itMarco Pesenti Gritti2005-09-271-3/+7
| | | | | | | | 2005-09-27 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-view.c: (handle_link_over_xy): Check tooltip is valid utf8 before showing it
* Allow drag and drop of text. Fixes #316772Carlos Garcia Campos2005-09-271-12/+98
| | | | | 2005-09-27 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: Allow drag and drop of text. Fixes #316772
* Guard against using g_strstrip on NULL. Fixes bug #317291.Christian Persch2005-09-261-5/+7
| | | | | | | | 2005-09-27 Christian Persch <chpe@cvs.gnome.org> * shell/ev-window-title.c: (ev_window_title_update): Guard against using g_strstrip on NULL. Fixes bug #317291.
* Strip the title stringMarco Pesenti Gritti2005-09-261-2/+4
| | | | | | | | 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-window-title.c: (ev_window_title_update): Strip the title string
* Add .rtf to the bad extensions listMarco Pesenti Gritti2005-09-261-1/+2
| | | | | | | | 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-window-title.c: Add .rtf to the bad extensions list
* Ignore link coordinates if they are outside page boundsMarco Pesenti Gritti2005-09-261-13/+30
| | | | | | | | | 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-view.c: (doc_point_to_view_point), (goto_fitr_link), (goto_fitv_link), (goto_fith_link), (goto_xyz_link): Ignore link coordinates if they are outside page bounds
* *** empty log message ***Marco Pesenti Gritti2005-09-261-2/+2
|
* Implement launch links. Delegate external link opening to the window.Marco Pesenti Gritti2005-09-262-3/+68
| | | | | | | | | | | | | | | | | 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_filename), (ev_link_get_params), (ev_link_get_property), (ev_link_set_property), (ev_window_dispose), (ev_link_class_init), (ev_link_new_launch): * backend/ev-link.h: * pdf/ev-poppler.cc: * shell/ev-view.c: (ev_view_goto_link), (ev_view_class_init): * shell/ev-window.c: (launch_link), (view_external_link_cb), (ev_window_init): Implement launch links. Delegate external link opening to the window.
* Implement fitr linksMarco Pesenti Gritti2005-09-241-0/+29
| | | | | | | | | | | | | | 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_bottom), (ev_link_get_right), (ev_link_get_property), (ev_link_set_property), (ev_link_class_init), (ev_link_new_page_fitv), (ev_link_new_page_fitr): * backend/ev-link.h: * pdf/ev-poppler.cc: * shell/ev-view.c: (goto_fitr_link), (ev_view_goto_link): Implement fitr links
* Do not use modes for link, we need to calculate size ad hoc. Still notMarco Pesenti Gritti2005-09-243-40/+56
| | | | | | | | | | | | | | | | | | | | | 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-view.c: (ev_view_get_width), (ev_view_get_height), (goto_fitv_link), (goto_fith_link), (goto_fit_link), (ev_view_goto_link), (ev_view_size_request_continuous_dual_page), (ev_view_size_request_continuous), (ev_view_size_request_dual_page), (ev_view_size_request_single_page), (ev_view_size_allocate), (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_sizing_mode_get_type): * shell/ev-view.h: * shell/ev-window.c: (ev_window_sizing_mode_changed_cb): Do not use modes for link, we need to calculate size ad hoc. Still not perfect because of the usual scrollbar issues grrr.
* Implement FIT_HEIGHT mode (only for links). Implement FITH linksMarco Pesenti Gritti2005-09-243-3/+72
| | | | | | | | | | | | | | | | | | | | | | | | | 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-link.c: (ev_link_type_get_type), (ev_link_new_page_fith), (ev_link_new_page_fitv): * backend/ev-link.h: * pdf/ev-poppler.cc: * shell/ev-view.c: (goto_fitv_link), (goto_fith_link), (ev_view_goto_link), (ev_view_size_request_continuous_dual_page), (ev_view_size_request_continuous), (ev_view_size_request_dual_page), (ev_view_size_request_single_page), (ev_view_size_allocate), (zoom_for_size_fit_height), (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_sizing_mode_get_type): * shell/ev-view.h: * shell/ev-window.c: (ev_window_sizing_mode_changed_cb): Implement FIT_HEIGHT mode (only for links). Implement FITH links
* Refactor window title building while fixing it for password documents.Marco Pesenti Gritti2005-09-243-77/+86
| | | | | | | | | | | | | | | 2005-09-24 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-window-title.c: (get_filename_from_uri), (ev_window_title_sanitize_extension), (ev_window_title_update), (ev_window_title_set_document), (ev_window_title_set_uri), (ev_window_title_free): * shell/ev-window-title.h: * shell/ev-window.c: (ev_window_setup_document), (ev_window_popup_password_dialog): Refactor window title building while fixing it for password documents.
* Add a function to retrieve window list and share it where necessary.Marco Pesenti Gritti2005-09-233-21/+81
| | | | | | | | | | | | | | | 2005-09-23 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-application.c: (removed_from_session), (save_session), (init_session), (ev_application_get_empty_window), (ev_application_init), (ev_application_get_windows): * shell/ev-application.h: * shell/ev-window.c: (ev_window_finalize): Add a function to retrieve window list and share it where necessary. Implement session handling, works pretty well thanks to the metadata system.
* Fix for bug 316972. Use async gnome-keyring API.Nickolay V. Shmyrev2005-09-221-15/+23
| | | | | | | * shell/ev-password.c: (ev_password_item_created_callback), (ev_password_dialog_save_password): Fix for bug 316972. Use async gnome-keyring API.
* Remove unused unrealize handler. Add scroll handling toChristian Persch2005-09-221-23/+41
| | | | | | | | | 2005-09-22 Christian Persch <chpe@cvs.gnome.org> * shell/ev-view.c: (ev_view_scroll_event), (ev_view_class_init): Remove unused unrealize handler. Add scroll handling to ev_view_scroll_event for presentation mode (bug #316708), and fix the event state checks there.
* "marco, maybe we should be crazy and jump right to 6! :)"Marco Pesenti Gritti2005-09-221-1/+1
| | | | | | | | | | 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-page-action.c: (page_changed_cb): "marco, maybe we should be crazy and jump right to 6! :)" Bryan Clark, Sep 2005
* Fix window size persistanceMarco Pesenti Gritti2005-09-221-2/+5
| | | | | | | | 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-application.c: (ev_application_open_uri): Fix window size persistance
* Based on a patch from carlosgc@gnome.org. Mouse buttons switch pages inMarco Pesenti Gritti2005-09-221-7/+19
| | | | | | | | | 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-view.c: (ev_view_button_release_event): Based on a patch from carlosgc@gnome.org. Mouse buttons switch pages in presentation mode.
* Dont cast to int before scalingMarco Pesenti Gritti2005-09-191-7/+7
| | | | | | | | 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-page-cache.c: (ev_page_cache_get_size): Dont cast to int before scaling
* Implement FIT and FITH linksMarco Pesenti Gritti2005-09-191-0/+27
| | | | | | | | | | | | | 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-link.c: (ev_link_type_get_type), (ev_link_new_page_xyz), (ev_link_new_page_fit), (ev_link_new_page_fith): * backend/ev-link.h: * pdf/ev-poppler.cc: * shell/ev-view.c: (goto_fith_link), (ev_view_goto_link): Implement FIT and FITH links
* Return 0 results when search is not in progress.Marco Pesenti Gritti2005-09-191-2/+3
| | | | | | | | | | | | | 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com> * pdf/ev-poppler.cc: Return 0 results when search is not in progress. * shell/ev-window.c: (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page), (find_bar_search_changed_cb): Update menu sensitivity when cancelling search
* Take all pages in consideration, not just current oneMarco Pesenti Gritti2005-09-191-4/+8
| | | | | | | | 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-view.c: (ev_view_can_find_next): Take all pages in consideration, not just current one
* Move page next/previous functions from page chace to view and change it toMarco Pesenti Gritti2005-09-195-33/+42
| | | | | | | | | | | | | | | | 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-page-cache.c: * shell/ev-page-cache.h: * shell/ev-view.c: (ev_view_binding_activated), (ev_view_next_page), (ev_view_previous_page), (ev_sizing_mode_get_type): * shell/ev-view.h: * shell/ev-window.c: (ev_window_cmd_go_previous_page), (ev_window_cmd_go_next_page): Move page next/previous functions from page chace to view and change it to move by 2 page steps in dual mode.
* Show the index by default when there is oneMarco Pesenti Gritti2005-09-191-34/+47
| | | | | | | | | | 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-window.c: (update_sidebar_visibility), (setup_sidebar_from_metadata), (ev_window_setup_document), (setup_view_from_metadata): Show the index by default when there is one
* Missing null checkMarco Pesenti Gritti2005-09-191-16/+16
| | | | | | | | 2005-09-19 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-window-title.c: (ev_window_title_set_document): Missing null check
* Allow display of last odd page in dual view. Fix for 316347.Nickolay V. Shmyrev2005-09-171-0/+2
| | | | | | * shell/ev-view.c: (view_update_range_and_current_page): Allow display of last odd page in dual view. Fix for 316347.
* Make close button in toolbar editor default.Nickolay V. Shmyrev2005-09-171-0/+1
|
* Mark close button as default. Fix for 316381.Nickolay V. Shmyrev2005-09-171-0/+2
| | | | | | * shell/ev-properties-dialog.c: (ev_properties_dialog_init): Mark close button as default. Fix for 316381.
* Remove a bunch of strings that was used only by the statusbar.Marco Pesenti Gritti2005-09-161-52/+26
| | | | | | | | | 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-window.c: Remove a bunch of strings that was used only by the statusbar.
* When title has a confusing extension, show also the document filenameMarco Pesenti Gritti2005-09-161-5/+43
| | | | | | | | | | 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-window-title.c: (get_filename_from_uri), (ev_window_title_set_document): When title has a confusing extension, show also the document filename inside ()
* Factor out and cleanup window title codeMarco Pesenti Gritti2005-09-164-66/+193
| | | | | | | | | | | | | | | 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com> * shell/Makefile.am: * shell/ev-window-title.c: (ev_window_title_new), (ev_window_title_update), (ev_window_title_set_type), (ev_window_title_set_document), (ev_window_title_free): * shell/ev-window-title.h: * shell/ev-window.c: (ev_window_setup_document), (password_dialog_response), (ev_window_popup_password_dialog), (ev_window_dispose), (ev_window_init): Factor out and cleanup window title code
* Make dialog transient so it doesnt block other windowsMarco Pesenti Gritti2005-09-161-2/+12
| | | | | | | | | 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-window.c: (unable_to_load_dialog_response_cb), (unable_to_load): Make dialog transient so it doesnt block other windows
* Increase timeout to hide full screen popup. Bug 316123.Wouter Bolsterlee2005-09-131-1/+3
| | | | | | | | | 2005-09-13 Wouter Bolsterlee <uws+gnome@xs4all.nl> * shell/ev-window.c: (fullscreen_set_timeout): Increase timeout to hide full screen popup. Bug 316123.
* Allow the user to override document restrictions. Fix for bug 305818.Nickolay V. Shmyrev2005-09-131-6/+12
| | | | | | | | * data/evince.schemas.in: * shell/ev-window.c: (update_action_sensitivity): Allow the user to override document restrictions. Fix for bug 305818.
* Fix multihead behaviour of fullscreen toolbar popup. Fixes bug #315451.Christian Persch2005-09-131-5/+37
| | | | | | | | | 2005-09-13 Christian Persch <chpe@cvs.gnome.org> * shell/ev-window.c: (ev_window_update_fullscreen_popup), (ev_window_create_fullscreen_popup), (ev_window_screen_changed), (ev_window_class_init): Fix multihead behaviour of fullscreen toolbar popup. Fixes bug #315451.
* Support for gnome-keyring for encrypted PDF's.Nickolay V. Shmyrev2005-09-133-90/+297
| | | | | | | | | | | | | | | | | | * configure.ac: * data/evince-password.glade: * shell/ev-password.c: (ev_password_dialog_set_property), (ev_password_dialog_finalize), (ev_password_dialog_class_init), (ev_password_dialog_init), (ev_password_set_bad_password_label), (ev_password_dialog_entry_changed_cb), (ev_password_dialog_entry_activated_cb), (ev_password_dialog_save_password), (ev_password_keyring_found_cb), (ev_password_search_in_keyring), (ev_password_dialog_get_password), (ev_password_dialog_set_bad_pass): * shell/ev-password.h: * shell/ev-window.c: (password_dialog_response), (ev_window_popup_password_dialog): Support for gnome-keyring for encrypted PDF's.
* More precise handling of enter_notify/leave_notify. Fix for 315470.Nickolay V. Shmyrev2005-09-111-31/+58
|
* leak fix: unref fullscreen_timeout_source before clearing itChristopher Aillon2005-09-081-2/+8
| | | | | | | | | | 2005-09-08 Christopher Aillon <caillon@redhat.com> * shell/ev-window.c: (fullscreen_timeout_cb), (fullscreen_set_timeout), (fullscreen_clear_timeout), (ev_window_dispose): leak fix: unref fullscreen_timeout_source before clearing it
* Fix some bugs with xyz links, respect zoomMarco Pesenti Gritti2005-09-081-6/+15
| | | | | | | | | | 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-link.c: (ev_link_new_page_xyz): * pdf/ev-poppler.cc: * shell/ev-view.c: (goto_xyz_link), (ev_view_goto_link): Fix some bugs with xyz links, respect zoom
* null check uri before setting and getting metadataMarco Pesenti Gritti2005-09-081-12/+32
| | | | | | | | | | | | | | 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-window.c: (page_changed_cb), (setup_document_from_metadata), (update_sidebar_visibility), (setup_view_from_metadata), (ev_window_run_fullscreen), (ev_window_stop_fullscreen), (ev_window_run_presentation), (ev_window_stop_presentation), (ev_window_continuous_changed_cb), (ev_window_dual_mode_changed_cb), (ev_window_sidebar_current_page_changed_cb): null check uri before setting and getting metadata
* Some build fixes for cygwin. Patch by yselkowitz@users.sourceforge.netMarco Pesenti Gritti2005-09-081-2/+2
| | | | | | | | | | | 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com> * dvi/Makefile.am: * properties/Makefile.am: * shell/Makefile.am: * thumbnailer/Makefile.am: Some build fixes for cygwin. Patch by yselkowitz@users.sourceforge.net
* Add a signal for link activation.Marco Pesenti Gritti2005-09-087-21/+34
| | | | | | | | | | | | | | | | | | | | | | 2005-09-08 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-sidebar-links.c: (ev_sidebar_links_class_init), (selection_changed_callback): * shell/ev-sidebar-links.h: Add a signal for link activation. * shell/ev-view.c: (ev_view_goto_link), (ev_view_button_release_event): * shell/ev-view.h: * shell/ev-window.c: (sidebar_links_link_activated_cb), (ev_window_init): Implement the signal so that we can handle all link types. * shell/ev-page-cache.c: Remove unused set_link function
* Use mozilla style vs gtk style, way better for links.Marco Pesenti Gritti2005-09-071-6/+9
| | | | | | | | | | | | | 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com> * lib/ev-tooltip.c: Use mozilla style vs gtk style, way better for links. * shell/ev-view.c: (ev_view_motion_notify_event), (ev_view_destroy), (ev_view_init): Deactive tooltip when the link hovered is changed.
* Implement xyz links, still not functional. Links are a total mess, willMarco Pesenti Gritti2005-09-071-1/+58
| | | | | | | | | | | | | | | | | 2005-09-07 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-document.h: * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_top), (ev_link_get_left), (ev_link_get_zoom), (ev_link_get_property), (ev_link_set_property), (ev_window_dispose), (ev_link_class_init), (ev_link_new_page), (ev_link_new_page_xyz): * backend/ev-link.h: * pdf/ev-poppler.cc: * shell/ev-view.c: (doc_point_to_view_point), (scroll_to_xyz_link), (go_to_link), (tip_from_link): Implement xyz links, still not functional. Links are a total mess, will need to refactor and bugfix a lot :(
* Remove the statusbar. This regress loading feedback, need to check withMarco Pesenti Gritti2005-09-054-437/+3
| | | | | | | | | | | | | | | | 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com> * data/evince-ui.xml: * data/evince.schemas.in: * shell/Makefile.am: * shell/ev-window.c: (update_chrome_visibility), (password_dialog_response), (ev_window_load_job_cb), (ev_window_xfer_job_cb), (ev_window_open_uri), (ev_window_class_init), (set_chrome_actions), (load_chrome), (ev_window_init): Remove the statusbar. This regress loading feedback, need to check with Bryan what we want to do there...