Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
Commit message (Collapse)AuthorAgeFilesLines
* Connect to button-press event on correct widget. Fixes bug #431988Nickolay V. Shmyrev2007-05-091-6/+17
| | | | | | | | | | | | | | | | 2007-05-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-navigation-action-widget.c: (ev_navigation_action_widget_init), (ev_navigation_action_widget_class_init), (ev_navigation_action_widget_button_press_event): Connect to button-press event on correct widget. Fixes bug #431988 svn path=/trunk/; revision=2445
* Add app-specific icons to our icon theme. Fixes bug #425508.Nickolay V. Shmyrev2007-05-093-27/+37
| | | | | | | | | | | | | | | | 2007-05-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-application.c: (ev_application_open_window), (ev_application_add_icon_path_for_screen), (ev_application_open_uri_at_dest): * shell/ev-navigation-action-widget.c: (popup_menu_under_arrow): * shell/ev-navigation-action.c: (build_menu): Add app-specific icons to our icon theme. Fixes bug #425508. svn path=/trunk/; revision=2444
* Make navigation action unsensitive instead of showing menu withNickolay V. Shmyrev2007-05-094-18/+42
| | | | | | | | | | | | | | | | | | | | 2007-05-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-history.c: (ev_history_class_init), (ev_history_add_link): * shell/ev-history.h: * shell/ev-navigation-action.c: (ev_navigation_action_history_changed), (ev_navigation_action_set_history), (build_menu), (ev_navigation_action_finalize): * shell/ev-window.c: (ev_window_setup_action_sensitivity): Make navigation action unsensitive instead of showing menu with unsensitive word. svn path=/trunk/; revision=2443
* Remember print settings. Fixes bug #349102.Carlos Garcia Campos2007-05-083-3/+104
| | | | | | | | | | | 2007-05-08 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-application.[ch]: (ev_application_shutdown), (ev_application_get_print_settings), (ev_application_set_print_settings): * shell/ev-window.c: Remember print settings. Fixes bug #349102. svn path=/trunk/; revision=2442
* Add --without-libgnome, check for libgnome and libgnomeui separately, andRoss Burton2007-05-042-4/+42
| | | | | | | | | | | | | | | | | | | | | | | 2007-05-04 Ross Burton <ross@openedhand.com> * configure.ac: Add --without-libgnome, check for libgnome and libgnomeui separately, and add them to the symbols as required. * libdocument/ev-file-helpers.c: When building without libgnome, use g_get_user_config_dir instead of gnome_user_dir_get. * shell/ev-application.c: When building without libgnome, don't use session management. * shell/main.c: When building without libgnome, don't use GnomeProgram or initialise the authentication manager. This fixes #328842. svn path=/trunk/; revision=2436
* Don't use libgnome to open help, instead call Yelp directly.Ross Burton2007-05-041-4/+33
| | | | | | | | | 2007-05-04 Ross Burton <ross@openedhand.com> * shell/ev-window.c: Don't use libgnome to open help, instead call Yelp directly. svn path=/trunk/; revision=2435
* Don't use libgnome to lookup icons for MIME types, instead copy code fromRoss Burton2007-05-041-15/+22
| | | | | | | | | | 2007-05-04 Ross Burton <ross@openedhand.com> * shell/ev-sidebar-attachments.c: Don't use libgnome to lookup icons for MIME types, instead copy code from GTK+ to do it manually. svn path=/trunk/; revision=2434
* Add missing includes, fix indentation.Ross Burton2007-05-022-5/+8
| | | | | | | | | | | | 2007-05-02 Ross Burton <ross@openedhand.com> * shell/ev-window.c: Add missing includes, fix indentation. * shell/main.c: Fix indentation. svn path=/trunk/; revision=2430
* Use ev_application_open_uri_at_dest instead of ev_application_open_uriEduardo Lima2007-04-301-2/+4
| | | | | | | | | | | | | 2007-04-30 Eduardo Lima <eduardo.lima@indt.org.br> * shell/ev-window.c (ev_window_cmd_recent_file_activate): Use ev_application_open_uri_at_dest instead of ev_application_open_uri preventing new document always being opened in a new window even if there is an empty window. svn path=/trunk/; revision=2429
* Add missing chain to parent class methods. Fixes bug #433128.Nickolay V. Shmyrev2007-04-294-0/+10
| | | | | | | | | | | | | | | | | | | | 2007-04-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * cut-n-paste/recent-files/egg-recent-view-uimanager.c: (egg_recent_view_uimanager_finalize): * properties/ev-properties-view.c: (ev_properties_view_dispose): * shell/ev-page-action-widget.c: (ev_page_action_widget_finalize): * shell/ev-pixbuf-cache.c: (ev_pixbuf_cache_finalize), (ev_pixbuf_cache_dispose): * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose): * shell/ev-tooltip.c: (ev_tooltip_dispose): Add missing chain to parent class methods. Fixes bug #433128. svn path=/trunk/; revision=2428
* Start rendering pages before any other jobs.Carlos Garcia Campos2007-04-223-27/+41
| | | | | | | | | | | 2007-04-22 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_setup_document), (ev_window_set_document), (ev_window_load_job_cb): * shell/ev-view.c: (setup_caches): * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_set_document): Start rendering pages before any other jobs. svn path=/trunk/; revision=2417
* Update chrome visibility before window unfullscreen.Carlos Garcia Campos2007-04-221-4/+2
| | | | | | | | | 2007-04-22 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_stop_fullscreen), (ev_window_stop_presentation): Update chrome visibility before window unfullscreen. svn path=/trunk/; revision=2416
* 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