Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
Commit message (Collapse)AuthorAgeFilesLines
* Make fullscreen toolbar always visible. Do not use egg toolbars forCarlos Garcia Campos2007-04-205-376/+194
| | | | | | | | | | | | | | | | | | | | | 2007-04-20 Carlos Garcia Campos <carlosgc@gnome.org> * data/Makefile.am: * data/evince-ui.xml: * shell/ev-stock-icons.[ch]: * shell/ev-application.[ch]: (ev_application_shutdown), (ev_application_init), (ev_application_get_toolbars_model): * shell/ev-window.c: (update_chrome_visibility), (fullscreen_toolbar_setup_item_properties), (ev_window_run_fullscreen), (ev_window_stop_fullscreen), (ev_window_run_presentation), (ev_window_stop_presentation), (ev_window_run_preview), (ev_window_screen_changed), (ev_window_cmd_leave_fullscreen), (ev_window_cmd_start_presentation), (ev_window_dispose), (ev_window_init): Make fullscreen toolbar always visible. Do not use egg toolbars for fullscreen and preview modes since such toolbars are not editables. Fixes bugs #300278, #338910 and #316188. svn path=/trunk/; revision=2412
* Developers documentation updated.Iñigo Martínez2007-04-206-1/+270
| | | | | | | | | | | | | | | | 2007-04-20 Iñigo Martínez <inigomartinez@gmail.com> * shell/ev-application.c: * shell/ev-job-queue.c: * shell/ev-metadata-manager.c: * shell/ev-stock-icons.c: * shell/ev-window.c: * shell/main.c: Developers documentation updated. svn path=/trunk/; revision=2410
* Check whether uri is valid before launching it. Fixes bug #427664.Carlos Garcia Campos2007-04-191-1/+36
| | | | | | | | 2007-04-19 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (uri_is_valid), (launch_external_uri): Check whether uri is valid before launching it. Fixes bug #427664. svn path=/trunk/; revision=2409
* Change key accelerator for Open a Copy menu entry which is in conflictCarlos Garcia Campos2007-04-191-1/+1
| | | | | | | | | 2007-04-19 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: Change key accelerator for Open a Copy menu entry which is in conflict with Close. Fixes bug #427321. svn path=/trunk/; revision=2408
* Do not make window bigger than screen. Fixes bug #388985.Nickolay V. Shmyrev2007-04-091-2/+18
| | | | | | | | | | | | 2007-04-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-window.c: (setup_size_from_metadata): Do not make window bigger than screen. Fixes bug #388985. svn path=/trunk/; revision=2400
* Fixup the previous commitMatthias Clasen2007-04-023-17/+4
| | | | svn path=/trunk/; revision=2393
* Use the xdg-user-dirs DOCUMENTS folder as default folder when opening aMatthias Clasen2007-04-022-1/+179
| | | | | | | | | | | | | | | 2007-04-02 Matthias Clasen <mclasen@redhat.com> * shell/ev-window.c (file_open_dialog_response_cb): Use the xdg-user-dirs DOCUMENTS folder as default folder when opening a file chooser. (#424858) * shell/xdg-user-dir-lookup.c: Copy-and-pasted file from xdg-user-dirs. svn path=/trunk/; revision=2392
* Do not setup view from metadata on preview mode.Carlos Garcia Campos2007-03-241-1/+4
| | | | | | | | 2007-03-24 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_load_job_cb): Do not setup view from metadata on preview mode. svn path=/trunk/; revision=2386
* Use unlink-tempfile instead of unlink-temp-file. Fixes bug #421274.Carlos Garcia Campos2007-03-221-1/+1
| | | | | | | | 2007-03-22 Carlos Garcia Campos <carlosgc@gnome.org> * shell/main.c: Use unlink-tempfile instead of unlink-temp-file. Fixes bug #421274. svn path=/trunk/; revision=2385
* Check pointer != NULL before using it. Fixes bug #416841.Carlos Garcia Campos2007-03-191-2/+4
| | | | | | | | 2007-03-19 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (ev_view_primary_get_cb): Check pointer != NULL before using it. Fixes bug #416841. svn path=/trunk/; revision=2382
* Do not render thumbnails when sidebar thumbnail page is not visible atCarlos Garcia Campos2007-03-101-8/+5
| | | | | | | | | 2007-03-10 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb): Do not render thumbnails when sidebar thumbnail page is not visible at startup. Fixes bug #416447. svn path=/trunk/; revision=2372
* Save document compressed when saving a copy of a compressed document.Carlos Garcia Campos2007-02-271-55/+90
| | | | | | | | | | | 2007-02-27 Carlos Garcia Campos <carlosgc@gnome.org> * libdocument/ev-file-helpers.[ch]: (compression_run), (ev_file_uncompress), (ev_file_compress): * shell/ev-window.c: (file_save_dialog_response_cb): Save document compressed when saving a copy of a compressed document. Fixes bug #334542. svn path=/trunk/; revision=2356
* Allow deleting in goto window entry in presentation mode.Carlos Garcia Campos2007-02-231-0/+2
| | | | | | | | 2007-02-23 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (ev_view_goto_window_key_press_event): Allow deleting in goto window entry in presentation mode. svn path=/trunk/; revision=2347
* Fix zoom shortcut keys when searching. Fixes bug #409828.Carlos Garcia Campos2007-02-201-9/+0
| | | | | | | | 2007-02-20 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_update_actions): Fix zoom shortcut keys when searching. Fixes bug #409828. svn path=/trunk/; revision=2339
* Fix crash when loading documents with only one page.Carlos Garcia Campos2007-02-181-1/+1
| | | | | | | | 2007-02-18 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_setup_document): Fix crash when loading documents with only one page. svn path=/trunk/; revision=2335
* Use an EvRenderContext for rendering thumbnails instead of a suggestedCarlos Garcia Campos2007-02-164-28/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-02-16 Carlos Garcia Campos <carlosgc@gnome.org> * backend/dvi/dvi-document.c: (dvi_document_thumbnails_get_dimensions), (dvi_document_thumbnails_get_thumbnail): * backend/impress/impress-document.c: (impress_document_thumbnails_get_thumbnail), (impress_document_thumbnails_get_dimensions): * backend/ps/ps-document.c: (ps_document_thumbnails_get_thumbnail), (ps_document_thumbnails_get_dimensions): * backend/djvu/djvu-document.c: (djvu_document_thumbnails_get_dimensions), (djvu_document_thumbnails_get_thumbnail): * backend/tiff/tiff-document.c: (tiff_document_thumbnails_get_thumbnail), (tiff_document_thumbnails_get_dimensions): * backend/pdf/ev-poppler.cc: (make_thumbnail_for_page), (pdf_document_thumbnails_get_thumbnail), (pdf_document_thumbnails_get_dimensions): * backend/comics/comics-document.c: (comics_document_thumbnails_get_thumbnail), (comics_document_thumbnails_get_dimensions): * backend/pixbuf/pixbuf-document.c: (pixbuf_document_thumbnails_get_thumbnail), (pixbuf_document_thumbnails_get_dimensions): * libdocument/ev-document-thumbnails.[ch]: (ev_document_thumbnails_get_thumbnail), (ev_document_thumbnails_get_dimensions): * libdocument/ev-document-misc.[ch]: (ev_document_misc_get_thumbnail_frame): * shell/ev-jobs.[ch]: (ev_job_thumbnail_dispose), (ev_job_thumbnail_new), (ev_job_thumbnail_run): * shell/ev-sidebar-thumbnails.c: (get_scale_for_page), (add_range), (ev_sidebar_thumbnails_set_loading_icon), (refresh), (ev_sidebar_thumbnails_refresh): * shell/ev-window.c: (ev_window_setup_document): * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get): Use an EvRenderContext for rendering thumbnails instead of a suggested width, so that different sized pages get sized proportionally. svn path=/trunk/; revision=2332
* Fix critical warnings when there is no document loaded.Carlos Garcia Campos2007-02-151-0/+6
| | | | | | | | | 2007-02-15 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (ev_view_button_press_event), (ev_view_key_press_event): Fix critical warnings when there is no document loaded. svn path=/trunk/; revision=2330
* Fix compile warnings.Carlos Garcia Campos2007-02-153-6/+6
| | | | | | | | | | 2007-02-15 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-page-action-widget.c: * shell/ev-navigation-action.c: * shell/ev-window.c: Fix compile warnings. svn path=/trunk/; revision=2329
* Use document thumbnail as window icon. Fixes bug #384442.Carlos Garcia Campos2007-02-121-22/+65
| | | | | | | | | | 2007-02-12 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_set_icon_from_thumbnail), (ev_window_clear_thumbnail_job), (ev_window_setup_document), (ev_window_dispose): Use document thumbnail as window icon. Fixes bug #384442. svn path=/trunk/; revision=2317
* Fix invalid free in ev-page-cache. Fixes bug #404745.Carlos Garcia Campos2007-02-111-1/+7
| | | | | | | | 2007-02-11 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-page-cache.c: (ev_page_cache_finalize): Fix invalid free in ev-page-cache. Fixes bug #404745. svn path=/trunk/; revision=2313
* Add some checks and call parent_class->finalize. Fixes bug #404745.Carlos Garcia Campos2007-02-061-6/+30
| | | | | | | | 2007-02-06 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-page-cache.c: (ev_page_cache_finalize): Add some checks and call parent_class->finalize. Fixes bug #404745. svn path=/trunk/; revision=2299
* Fixes dropdown history menu. Thanks a lot Carlos!Nickolay V. Shmyrev2007-02-051-1/+1
| | | | | | | | | | | 2007-02-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-navigation-action.c: (connect_proxy): Fixes dropdown history menu. Thanks a lot Carlos! svn path=/trunk/; revision=2298
* Support for PDF, PS and EPS compressed files. Fixes bug #307087.Carlos Garcia Campos2007-02-031-6/+6
| | | | | | | | | | | | | | | | 2007-02-03 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * backend/ps/ps-document.c: (ps_document_init), (ps_document_dispose), (ps_interpreter_start), (document_load), (save_document), (save_page_list): * libdocument/ev-file-helpers.[ch]: (ev_file_uncompress): * libdocument/ev-document-factory.c: (ev_document_factory_get_from_mime), (get_document_from_uri), (free_uncompressed_uri), (ev_document_factory_get_document): * shell/ev-window.c: (ev_window_cmd_file_open_copy_at_dest): Support for PDF, PS and EPS compressed files. Fixes bug #307087. svn path=/trunk/; revision=2291
* Setup window size and position before showing it. Fixes bug #401711.Carlos Garcia Campos2007-02-021-5/+9
| | | | | | | | | 2007-02-02 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_open_uri), (window_configure_event_cb): Setup window size and position before showing it. Fixes bug #401711. svn path=/trunk/; revision=2285
* Do not start an image drag and drop operation when pointer is on text, soCarlos Garcia Campos2007-02-011-1/+2
| | | | | | | | | | 2007-02-01 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (ev_view_button_press_event): Do not start an image drag and drop operation when pointer is on text, so that we can select text when the whole background is an image. svn path=/trunk/; revision=2283
* Disable all zoom related actions during presentation mode.Carlos Garcia Campos2007-01-311-6/+22
| | | | | | | | 2007-01-31 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_update_actions): Disable all zoom related actions during presentation mode. svn path=/trunk/; revision=2282
* Do not zoom in or out on presentation mode. Fixes bug #401305.Esteban Sanchez2007-01-311-0/+6
| | | | | | | | 2007-01-31 Esteban Sanchez <esteban@steve-0.com> * shell/ev-view.c: (ev_view_zoom_in), (ev_view_zoom_out): Do not zoom in or out on presentation mode. Fixes bug #401305. svn path=/trunk/; revision=2281
* Correctly show menu and fix crash when navigaton action is out of toolbarNickolay V. Shmyrev2007-01-301-5/+25
| | | | | | | | | | | | | | 2007-01-30 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-navigation-action.c: (connect_proxy), (create_menu_item), (ev_navigation_action_class_init): Correctly show menu and fix crash when navigaton action is out of toolbar visible area. svn path=/trunk/; revision=2278
* 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