Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
Commit message (Collapse)AuthorAgeFilesLines
* Fix memory leak.Carlos Garcia Campos2007-01-282-6/+4
| | | | | | | | 2007-01-29 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_add_history): Fix memory leak. svn path=/trunk/; revision=2270
* Correctly handle named destination linksNickolay V. Shmyrev2007-01-283-12/+14
| | | | | | | | | | | | | 2007-01-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-view.c: (ev_view_page_label_from_dest), (tip_from_link): * shell/ev-view.h: * shell/ev-window.c: (ev_window_add_history): Correctly handle named destination links svn path=/trunk/; revision=2269
* Correctly handle link dest with page labelNickolay V. Shmyrev2007-01-281-3/+7
| | | | svn path=/trunk/; revision=2268
* Check if document have links modelNickolay V. Shmyrev2007-01-281-5/+9
| | | | svn path=/trunk/; revision=2266
* Don't use markup, just set pango attributeNickolay V. Shmyrev2007-01-282-9/+5
| | | | svn path=/trunk/; revision=2265
* Implements another history variantNickolay V. Shmyrev2007-01-287-195/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-01-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * NOTES: * backend/djvu/djvu-links.c: (djvu_links_get_links_model): * backend/pdf/ev-poppler.cc: * libdocument/ev-document-links.h: * libdocument/ev-link.c: (ev_link_get_page): * libdocument/ev-link.h: * shell/ev-history.c: (ev_history_init), (ev_history_class_init), (ev_history_add_link): * shell/ev-history.h: * shell/ev-navigation-action.c: (activate_menu_item_cb), (new_history_menu_item), (build_menu): * shell/ev-page-cache.c: (ev_page_cache_set_current_page_history): * shell/ev-sidebar-links.c: (create_loading_model), (print_section_cb), (ev_sidebar_links_construct), (fill_page_labels), (update_page_callback_foreach), (update_page_callback), (job_finished_callback): * shell/ev-view.c: (ev_view_handle_link): * shell/ev-window.c: (ev_window_find_chapter), (ev_window_add_history), (view_handle_link_cb), (history_changed_cb): Implements another history variant svn path=/trunk/; revision=2264
* Open links in new window when clicking with middle button.Carlos Garcia Campos2007-01-282-2/+28
| | | | | | | | | 2007-01-28 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (view_external_link_cb): * shell/ev-view.c: (ev_view_button_release_event): Open links in new window when clicking with middle button. svn path=/trunk/; revision=2263
* Don't delete history Nickolay V. Shmyrev2007-01-281-13/+0
| | | | svn path=/trunk/; revision=2262
* Store link before jump, not the destination. For me it seems like moreNickolay V. Shmyrev2007-01-284-8/+8
| | | | | | | | | | | | | | | 2007-01-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-navigation-action.c: (new_history_menu_item): * shell/ev-page-cache.c: (ev_page_cache_set_current_page_history): * shell/ev-view.c: (ev_view_handle_link): * shell/ev-window.c: Store link before jump, not the destination. For me it seems like more natural history behavior. svn path=/trunk/; revision=2261
* Don't crash on links without titleNickolay V. Shmyrev2007-01-281-0/+4
| | | | svn path=/trunk/; revision=2260
* History finally works as expected.Nickolay V. Shmyrev2007-01-2811-49/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-01-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-navigation-action.c: (activate_menu_item_cb), (ev_navigation_action_class_init): * shell/ev-navigation-action.h: * shell/ev-page-action.c: (activate_cb): * shell/ev-page-cache.c: (ev_page_cache_class_init), (ev_page_cache_set_current_page_history): * shell/ev-page-cache.h: * shell/ev-sidebar-thumbnails.c: (ev_sidebar_tree_selection_changed), (ev_sidebar_icon_selection_changed), (page_changed_cb): * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_handle_link), (ev_view_class_init): * shell/ev-view.h: * shell/ev-window.c: (page_changed_cb), (history_changed_cb), (ev_window_setup_document), (ev_window_load_job_cb): * shell/ev-window.h: History finally works as expected. svn path=/trunk/; revision=2259
* Do not update links treeview if it doesn't have a model assigned yet.Carlos Garcia Campos2007-01-281-1/+1
| | | | | | | | 2007-01-28 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-sidebar-links.c: (ev_sidebar_links_map): Do not update links treeview if it doesn't have a model assigned yet. svn path=/trunk/; revision=2258
* Do not update links treeview when sidepane is not visible.Carlos Garcia Campos2007-01-282-16/+33
| | | | | | | | | 2007-01-28 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-sidebar-links.c: (ev_sidebar_links_map), (ev_sidebar_links_class_init), (update_page_callback): Do not update links treeview when sidepane is not visible. svn path=/trunk/; revision=2257
* Remove activate_link signal, not required.Nickolay V. Shmyrev2007-01-285-45/+12
| | | | | | | | | | | | | | | | | 2007-01-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-marshal.list: * shell/ev-page-action.c: (activate_cb), (ev_page_action_class_init): * shell/ev-page-action.h: * shell/ev-page-cache.c: (ev_page_cache_set_page_label): * shell/ev-window.c: Remove activate_link signal, not required. svn path=/trunk/; revision=2256
* Reorder menu items and build menu with fixed lengthNickolay V. Shmyrev2007-01-281-3/+3
| | | | svn path=/trunk/; revision=2255
* Normalize text to fix ligatures problem. See bug #341947 for details.Ed Catmur2007-01-271-1/+4
| | | | | | | | | | | | 2007-01-27 Ed Catmur <ed@catmur.co.uk> * shell/ev-view.c: (get_selected_text): Normalize text to fix ligatures problem. See bug #341947 for details. svn path=/trunk/; revision=2254
* Fix memory leak in ev-page-cache.Carlos Garcia Campos2007-01-251-0/+1
| | | | | | | | 2007-01-25 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-page-cache.c: (ev_page_cache_finalize): Fix memory leak in ev-page-cache. svn path=/trunk/; revision=2251
* Do file transfer asynchronously in the main thread instead ofCarlos Garcia Campos2007-01-245-119/+152
| | | | | | | | | | | | | | | | | | | | 2007-01-24 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked), (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue), (ev_job_queue_remove_job): * shell/ev-jobs.[ch]: (ev_job_load_init), (ev_job_load_class_init), (ev_job_load_dispose), (ev_job_load_new), (ev_job_load_set_uri), (ev_job_load_run): * shell/ev-window.c: (ev_window_is_empty), (password_dialog_response), (ev_window_popup_password_dialog), (ev_window_clear_load_job), (ev_window_load_job_cb), (xfer_update_progress_callback), (ev_window_open_uri), (ev_window_dispose): * shell/main.c: (main): Do file transfer asynchronously in the main thread instead of synchronously in the load thread. Fixes bugs #399694, #398307 and #343542. svn path=/trunk/; revision=2248
* Load the document with the font-config lock held.Carlos Garcia Campos2007-01-241-0/+2
| | | | | | | | 2007-01-24 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-jobs.c: (ev_job_xfer_run): Load the document with the font-config lock held. svn path=/trunk/; revision=2247
* Do not acquire fontconfig lock in impress backend, since it is using theCarlos Garcia Campos2007-01-211-1/+1
| | | | | | | | | | 2007-01-21 Carlos Garcia Campos <carlosgc@gnome.org> * backend/impress/impress-document.c: (impress_document_render_pixbuf): Do not acquire fontconfig lock in impress backend, since it is using the main loop for rendering. svn path=/trunk/; revision=2242
* Render "loading..." text into a cairo surface instead of directly into theCarlos Garcia Campos2007-01-212-41/+66
| | | | | | | | | | | | 2007-01-21 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view-private.h: * shell/ev-view.c: (draw_loading_text), (ev_view_destroy), (ev_view_set_zoom): Render "loading..." text into a cairo surface instead of directly into the window so that fontconfig lock is only needed once and UI is not blocked. Change text color to #9B9B9B. Fixes bug #397356. svn path=/trunk/; revision=2240
* Use icon theme associated with the window screen rather than default.Carlos Garcia Campos2007-01-192-12/+27
| | | | | | | | | 2007-01-19 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-stock-icons.c: (ev_stock_icons_init): * shell/ev-application.c: (ev_application_open_uri_at_dest): Use icon theme associated with the window screen rather than default. svn path=/trunk/; revision=2238
* Move Evince icons under new apps directory.Luca Ferretti2007-01-192-11/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | 2007-01-19 Luca Ferretti <elle.uca@libero.it> * data/icons/*/apps/evince.*: Move Evince icons under new apps directory. * data/icons/*/actions/*: Add new custom themeable Evince icons: view-page-continuous, view-page-facing, zoom-fit-width, zoom-fit-page. From Andreas Nilsson, at 16 and 22 pixels (plus 24 for compatibility). * configure.ac: Add new directories to AC_CONFIG_FILES. * shell/ev-stock-icons.c: * shell/ev-stock-icons.h: Use new custom themeable icons. svn path=/trunk/; revision=2235
* Do not draw white background page in presentation mode.Carlos Garcia Campos2007-01-182-8/+8
| | | | | | | | 2007-01-18 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (ev_view_expose_event), (draw_one_page): Do not draw white background page in presentation mode. svn path=/trunk/; revision=2234
* Remove unused gnome-vfs include.Jani Monoses2007-01-161-1/+0
| | | | | | | | | 2007-01-16 Jani Monoses <jani.monoses@gmail.com> * shell/ev-view.c: Remove unused gnome-vfs include. svn path=/trunk/; revision=2230
* Do not include in recent menu inexistent documents. Fixes bug #339171.Carlos Garcia Campos2007-01-141-3/+4
| | | | | | | | | 2007-01-14 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_setup_recent): Do not include in recent menu inexistent documents. Fixes bug #339171. svn path=/trunk/; revision=2224
* Do Save a copy in atomic way. Fixes bug #328266.Carlos Garcia Campos2007-01-131-12/+48
| | | | | | | | 2007-01-13 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (file_save_dialog_response_cb): Do Save a copy in atomic way. Fixes bug #328266. svn path=/trunk/; revision=2221
* Keep selected cell always visible in index treeview.Carlos Garcia Campos2007-01-121-5/+3
| | | | | | | | 2007-01-12 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-sidebar-links.c: (update_page_callback_foreach): Keep selected cell always visible in index treeview. svn path=/trunk/; revision=2219
* Restore horizontal scrollbar after switching to/from fullscreen orCarlos Garcia Campos2007-01-121-5/+2
| | | | | | | | | 2007-01-12 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (ev_view_size_allocate): Restore horizontal scrollbar after switching to/from fullscreen or presentation mode. Fixes bug #331728. svn path=/trunk/; revision=2218
* Use max and min scale values in the view iby taking dpi into account.Carlos Garcia Campos2007-01-114-16/+38
| | | | | | | | | | | | 2007-01-11 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view-private.h: * shell/ev-window.c: (ev_window_screen_changed), (ev_window_init): * shell/ev-view.[ch]: (ev_view_class_init), (ev_view_set_zoom), (ev_view_set_screen_dpi), (ev_view_can_zoom_in), (ev_view_can_zoom_out): Use max and min scale values in the view iby taking dpi into account. svn path=/trunk/; revision=2214
* Send print job to printer with some settings set to default values, sinceCarlos Garcia Campos2007-01-091-1/+19
| | | | | | | | | | 2007-01-09 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_print_send): Send print job to printer with some settings set to default values, since we have already exported to a file according to such settings and they could be taken twice by some printers. svn path=/trunk/; revision=2204
* Show main window and load document with the font-config lock held.Carlos Garcia Campos2007-01-092-0/+4
| | | | | | | | | 2007-01-09 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-jobs.c: (ev_job_xfer_run): * shell/ev-application.c: (ev_application_open_uri_at_dest): Show main window and load document with the font-config lock held. svn path=/trunk/; revision=2203
* Bump requirements to dbus-glib 0.71 and drop all ifdefs used.Carlos Garcia Campos2007-01-082-73/+3
| | | | | | | | | | 2007-01-08 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * shell/ev-application.c: (ev_application_register_service): * shell/main.c: (load_files_remote): Bump requirements to dbus-glib 0.71 and drop all ifdefs used. svn path=/trunk/; revision=2201
* Reorganize source tree.Nickolay V. Shmyrev2007-01-0811-10/+353
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-01-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * Makefile.am: * backend/Makefile.am: * backend/comics/Makefile.am: * backend/djvu/Makefile.am: * backend/dvi/Makefile.am: * backend/ev-async-renderer.c: * backend/ev-async-renderer.h: * backend/ev-attachment.c: * backend/ev-attachment.h: * backend/ev-backend-marshal.c: * backend/ev-document-factory.c: * backend/ev-document-factory.h: * backend/ev-document-find.c: * backend/ev-document-find.h: * backend/ev-document-fonts.c: * backend/ev-document-fonts.h: * backend/ev-document-images.c: * backend/ev-document-images.h: * backend/ev-document-info.h: * backend/ev-document-links.c: * backend/ev-document-links.h: * backend/ev-document-misc.c: * backend/ev-document-misc.h: * backend/ev-document-security.c: * backend/ev-document-security.h: * backend/ev-document-thumbnails.c: * backend/ev-document-thumbnails.h: * backend/ev-document-transition.c: * backend/ev-document-transition.h: * backend/ev-document.c: * backend/ev-document.h: * backend/ev-file-exporter.c: * backend/ev-file-exporter.h: * backend/ev-image.c: * backend/ev-image.h: * backend/ev-link-action.c: * backend/ev-link-action.h: * backend/ev-link-dest.c: * backend/ev-link-dest.h: * backend/ev-link.c: * backend/ev-link.h: * backend/ev-render-context.c: * backend/ev-render-context.h: * backend/ev-selection.c: * backend/ev-selection.h: * backend/impress/Makefile.am: * backend/pdf/Makefile.am: * backend/pixbuf/Makefile.am: * backend/ps/Makefile.am: * backend/ps/ps-document.c: (push_pixbuf), (interpreter_failed), (ps_document_widget_event), (setup_pixmap), (setup_page), (input), (start_interpreter), (stop_interpreter), (document_load), (ps_document_next_page), (render_page): * backend/tiff/Makefile.am: * comics/Makefile.am: * comics/comics-document.c: * comics/comics-document.h: * configure.ac: * cut-n-paste/zoom-control/ephy-zoom-control.c: * djvu/Makefile.am: * djvu/djvu-document-private.h: * djvu/djvu-document.c: * djvu/djvu-document.h: * djvu/djvu-links.c: * djvu/djvu-links.h: * djvu/djvu-text-page.c: * djvu/djvu-text-page.h: * djvu/djvu-text.c: * djvu/djvu-text.h: * dvi/Makefile.am: * dvi/dvi-document.c: * dvi/dvi-document.h: * dvi/fonts.c: * dvi/fonts.h: * dvi/mdvi-lib/Makefile.am: * dvi/mdvi-lib/afmparse.c: * dvi/mdvi-lib/afmparse.h: * dvi/mdvi-lib/bitmap.c: * dvi/mdvi-lib/bitmap.h: * dvi/mdvi-lib/color.c: * dvi/mdvi-lib/color.h: * dvi/mdvi-lib/common.c: * dvi/mdvi-lib/common.h: * dvi/mdvi-lib/defaults.h: * dvi/mdvi-lib/dvimisc.c: * dvi/mdvi-lib/dviopcodes.h: * dvi/mdvi-lib/dviread.c: * dvi/mdvi-lib/files.c: * dvi/mdvi-lib/font.c: * dvi/mdvi-lib/fontmap.c: * dvi/mdvi-lib/fontmap.h: * dvi/mdvi-lib/fontsrch.c: * dvi/mdvi-lib/gf.c: * dvi/mdvi-lib/hash.c: * dvi/mdvi-lib/hash.h: * dvi/mdvi-lib/list.c: * dvi/mdvi-lib/mdvi.h: * dvi/mdvi-lib/pagesel.c: * dvi/mdvi-lib/paper.c: * dvi/mdvi-lib/paper.h: * dvi/mdvi-lib/pk.c: * dvi/mdvi-lib/private.h: * dvi/mdvi-lib/setup.c: * dvi/mdvi-lib/sp-epsf.c: * dvi/mdvi-lib/special.c: * dvi/mdvi-lib/sysdeps.h: * dvi/mdvi-lib/t1.c: * dvi/mdvi-lib/tfm.c: * dvi/mdvi-lib/tfmfile.c: * dvi/mdvi-lib/tt.c: * dvi/mdvi-lib/util.c: * dvi/mdvi-lib/vf.c: * dvi/pixbuf-device.c: * dvi/pixbuf-device.h: * impress/Makefile.am: * impress/common.h: * impress/document.c: * impress/f_oasis.c: * impress/f_oo13.c: * impress/iksemel.c: * impress/iksemel.h: * impress/imposter.h: * impress/impress-document.c: * impress/impress-document.h: * impress/internal.h: * impress/r_back.c: * impress/r_draw.c: * impress/r_geometry.c: * impress/r_gradient.c: * impress/r_style.c: * impress/r_text.c: * impress/render.c: * impress/render.h: * impress/zip.c: * impress/zip.h: * lib/Makefile.am: * lib/ev-debug.c: * lib/ev-debug.h: * lib/ev-file-helpers.c: * lib/ev-file-helpers.h: * lib/ev-gui.c: * lib/ev-gui.h: * lib/ev-tooltip.c: * lib/ev-tooltip.h: * libdocument/Makefile.am: * libdocument/ev-file-helpers.c: * pdf/Makefile.am: * pdf/ev-poppler.cc: * pdf/ev-poppler.h: * pixbuf/Makefile.am: * pixbuf/pixbuf-document.c: * pixbuf/pixbuf-document.h: * properties/Makefile.am: * ps/Makefile.am: * ps/gsdefaults.c: * ps/gsdefaults.h: * ps/gsio.c: * ps/gsio.h: * ps/gstypes.h: * ps/ps-document.c: * ps/ps-document.h: * ps/ps.c: * ps/ps.h: * shell/Makefile.am: * shell/ev-application.h: * shell/ev-sidebar-links.c: * shell/ev-sidebar-links.h: * shell/ev-utils.c: (ev_gui_sanitise_popup_position), (ev_gui_menu_position_tree_selection): * shell/ev-utils.h: * shell/ev-view.c: (ev_view_finalize): * shell/ev-window.c: * shell/main.c: (main): * thumbnailer/Makefile.am: * tiff/Makefile.am: * tiff/tiff-document.c: * tiff/tiff-document.h: * tiff/tiff2ps.c: * tiff/tiff2ps.h: Reorganize source tree. svn path=/trunk/; revision=2197
* Add image handling support. Fixes bugs #310008 and #325047. ImagesCarlos Garcia Campos2007-01-077-63/+390
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-01-07 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * data/evince-ui.xml: * pdf/ev-poppler.cc: (pdf_document_images_get_images), (pdf_document_document_images_iface_init): * backend/Makefile.am: * backend/ev-document-images.[ch]: * backend/ev-image.[ch]: * lib/ev-file-helpers.[ch]: (ev_tmp_filename): * shell/ev-jobs.[ch]: (ev_job_render_new), (ev_job_render_run), (ev_job_xfer_run): * shell/ev-pixbuf-cache.[ch]: (dispose_cache_job_info), (move_one_job), (copy_job_to_job_info), (add_job_if_needed), (ev_pixbuf_cache_get_image_mapping): * shell/ev-window.c: (view_menu_link_popup), (view_menu_image_popup), (view_menu_popup_cb), (ev_window_dispose), (image_save_dialog_response_cb), (ev_view_popup_cmd_save_image_as), (ev_view_popup_cmd_copy_image): * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_get_image_at_location), (ev_view_do_popup_menu), (ev_view_popup_menu), (ev_view_button_press_event), (ev_view_drag_data_get), (ev_view_drag_motion), (ev_view_drag_data_received), (ev_view_motion_notify_event), (ev_view_button_release_event), (ev_view_finalize), (ev_view_class_init): Add image handling support. Fixes bugs #310008 and #325047. Images selection is not supported yet. svn path=/trunk/; revision=2194
* Move view drag and drop stuff to ev-view.Carlos Garcia Campos2007-01-072-50/+49
| | | | | | | | | | 2007-01-07 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (drag_data_received_cb), (ev_window_init): * shell/ev-view.c: (ev_view_drag_data_received), (ev_view_class_init), (ev_view_init): Move view drag and drop stuff to ev-view. svn path=/trunk/; revision=2192
* Clear selection also in pixbuf cache.Carlos Garcia Campos2007-01-052-0/+3
| | | | | | | | | 2007-01-05 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-pixbuf-cache.c: (clear_job_selection): * shell/ev-view.c: (clear_selection): Clear selection also in pixbuf cache. svn path=/trunk/; revision=2189
* Actually remove .cvsignore filesChristian Persch2006-12-311-6/+0
| | | | svn path=/trunk/; revision=2181
* Add page transition support in presentation mode. At the moment only pageCarlos Garcia Campos2006-12-272-0/+50
| | | | | | | | | | | | | | | | | 2006-12-27 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * backend/Makefile.am: * backend/ev-document-transition.[ch]: * pdf/ev-poppler.cc: (pdf_document_get_page_duration), (pdf_document_page_transition_iface_init): * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_destroy), (page_changed_cb), (ev_view_set_presentation), (transition_next_page), (ev_view_presentation_transition_stop), (ev_view_presentation_transition_start), (ev_view_next_page): Add page transition support in presentation mode. At the moment only page duration is supported, but not transition effects. Fixes bug #309815.
* Update page-cache when page is changed by the view, so that page-changedCarlos Garcia Campos2006-12-251-1/+7
| | | | | | | 2006-12-25 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (goto_dest): Update page-cache when page is changed by the view, so that page-changed signal is emitted.
* Restore zoom settings when back from presentation mode.Carlos Garcia Campos2006-12-243-3/+15
| | | | | | | | 2006-12-24 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_run_presentation): * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_set_presentation): Restore zoom settings when back from presentation mode.
* Always use "best fit" zoom in presentation mode. Fixes bug #389195.Wouter Bolsterlee2006-12-241-0/+2
| | | | | | | | | 2006-12-24 Wouter Bolsterlee <wbolster@cvs.gnome.org> * shell/ev-window.c: (ev_window_run_presentation): Always use "best fit" zoom in presentation mode. Fixes bug #389195.
* Show "Jump to page" label in the page jumping popup in presentation modeWouter Bolsterlee2006-12-241-6/+11
| | | | | | | | | 2006-12-24 Wouter Bolsterlee <wbolster@cvs.gnome.org> * shell/ev-view.c: (ev_view_goto_window_create): Show "Jump to page" label in the page jumping popup in presentation mode instead of just a GtkEntry.
* Do not escape uri before calling gnome_vfs_url_show(). Fixes bug #378085.Carlos Garcia Campos2006-12-231-8/+1
| | | | | | | 2006-12-23 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (launch_external_uri): Do not escape uri before calling gnome_vfs_url_show(). Fixes bug #378085.
* Allow jumping to another page by typing a page number in presentationCarlos Garcia Campos2006-12-222-1/+223
| | | | | | | | | | | | | | 2006-12-22 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view-private.h: * shell/ev-view.c: (send_focus_change), (ev_view_goto_window_hide), (ev_view_goto_window_delete_event), (key_is_numeric), (ev_view_goto_window_key_press_event), (ev_view_goto_window_button_press_event), (ev_view_goto_entry_activate), (ev_view_goto_window_create), (ev_view_goto_entry_grab_focus), (ev_view_goto_window_send_key_event), (ev_view_key_press_event), (ev_view_focus_out), (ev_view_destroy): Allow jumping to another page by typing a page number in presentation mode. It uses a popup window with an entry. Fixes bug #353625.
* Make sure Evince doesn't restore the view on the last page when a documentWouter Bolsterlee2006-12-201-1/+9
| | | | | | | | | 2006-12-20 Wouter Bolsterlee <wbolster@cvs.gnome.org> * shell/ev-window.c: (setup_document_from_metadata): Make sure Evince doesn't restore the view on the last page when a document is reopened. Fixes bug #383381.
* Fix compilation with older compilers like gcc 2. Fixes bug #387237.Jens Granseuer2006-12-181-1/+2
| | | | | | 2006-12-18 Jens Granseuer <jensgr@gmx.net> * shell/ev-view.c: (draw_loading_text): Fix compilation with older compilers like gcc 2. Fixes bug #387237.
* Use ev_file_exporter instead of ev_ps_exporter in ev-print-job.Carlos Garcia Campos2006-12-181-6/+7
| | | | | | 2006-12-18 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-print-job.c: (idle_print_handler), (ev_print_job_print): Use ev_file_exporter instead of ev_ps_exporter in ev-print-job.
* Use an specific lock for FontConfig. Hopefully it fixes some crashesCarlos Garcia Campos2006-12-183-3/+10
| | | | | | | | | | | | 2006-12-18 Carlos Garcia Campos <carlosgc@gnome.org> * backend/ev-document.[ch]: (ev_document_get_fc_mutex), (ev_document_fc_mutex_lock), (ev_document_fc_mutex_unlock): * pdf/ev-poppler.cc: (make_thumbnail_for_size): * shell/ev-jobs.c: (ev_job_render_run), (ev_job_fonts_run): * shell/ev-view.c: (draw_loading_text): * shell/ev-window.c: (ev_window_cmd_file_properties): Use an specific lock for FontConfig. Hopefully it fixes some crashes related to using FontConfig from different threads.
* Acquire lock document when drawing "Loading..." text so that only oneCarlos Garcia Campos2006-12-181-0/+4
| | | | | | | 2006-12-18 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (draw_loading_text): Acquire lock document when drawing "Loading..." text so that only one thread will use FontConfig at the same time. Fixes bug #374750.