Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
Commit message (Collapse)AuthorAgeFilesLines
* Fix a race condition when creating symlink. Increase the counter avoidingCarlos Garcia Campos2006-11-161-18/+30
| | | | | | | | | 2006-11-16 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_create_tmp_symlink), (ev_window_cmd_file_open_copy_at_dest): Fix a race condition when creating symlink. Increase the counter avoiding an infinite loop. Really fixes bug #357472. (Based on patch by Mathias Hasselmann).
* Use always ev_tmp_dir instead of g_get_tmp_dir. Fix a race condition inCarlos Garcia Campos2006-11-152-5/+5
| | | | | | | | | | | | | | 2006-11-15 Carlos Garcia Campos <carlosgc@gnome.org> * backend/Makefile.am: * backend/ev-attachment.c: (ev_attachment_open): * lib/ev-file-helpers.[ch]: (ensure_dir_exists), (ev_dot_dir), (ev_tmp_dir), (ev_tmp_filename): * shell/ev-sidebar-attachments.c: (ev_sidebar_attachments_drag_data_get): * shell/ev-window.c: (ev_window_clear_temp_file): Use always ev_tmp_dir instead of g_get_tmp_dir. Fix a race condition in ensure_dir_exists. Abort without crashing when we can't create user's directory.
* Allow opening a copy of the current document in a new window. Fixes bugCarlos Garcia Campos2006-11-141-4/+117
| | | | | | | | | | | | 2006-11-14 Carlos Garcia Campos <carlosgc@gnome.org> * data/evince-ui.xml: * shell/ev-window.c: (ev_window_setup_action_sensitivity), (ev_window_xfer_job_cb), (ev_window_get_copy_tmp_name), (ev_window_cmd_file_open_copy_at_dest), (ev_window_cmd_file_open_copy), (view_menu_popup_cb), (ev_view_popup_cmd_open_link_new_window): Allow opening a copy of the current document in a new window. Fixes bug #357472
* Add rotate right and rotate left to available items for toolbar.Nickolay V. Shmyrev2006-11-111-2/+7
| | | | | | | | | | | | | 2006-11-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * data/evince-toolbar.xml: Add rotate right and rotate left to available items for toolbar. * data/evince-ui.xml: * shell/ev-window.c: (ev_window_init): Customize toolbar with right click. Fixes bug #372451.
* Use "object-rotate-{left,right}" stock icons. Fixes bug #373863.Claudio Saavedra2006-11-111-2/+2
| | | | | | | 2006-11-11 Claudio Saavedra <csaavedra@alumnos.utalca.cl> * shell/ev-window.c: Use "object-rotate-{left,right}" stock icons. Fixes bug #373863.
* Remove temp file created when evince is used by GTK+ in preview mode.Carlos Garcia Campos2006-11-105-8/+83
| | | | | | | | | | | 2006-11-10 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-application.[ch]: (get_unlink_temp_file_from_args), (ev_application_open_uri_at_dest), (ev_application_open_uri): * shell/ev-window.[ch]: (ev_window_clear_temp_file), (ev_window_open_uri): * shell/main.c: (arguments_parse): Remove temp file created when evince is used by GTK+ in preview mode. Fixes bug #365282.
* Fixes bug #372474 - Side pane disabled when entering and leavingNickolay V. Shmyrev2006-11-101-2/+4
| | | | | | | | | 2006-11-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb): Fixes bug #372474 - Side pane disabled when entering and leaving fullscreen mode.
* Fixes bug #364364 - toolbar editor shows zoom actions again.Nickolay V. Shmyrev2006-11-103-25/+36
| | | | | | | | | | | | | | | | | 2006-11-10 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * cut-n-paste/toolbar-editor/egg-toolbar-editor.c: (setup_editor): * data/Makefile.am: * data/evince-preview-toolbar.xml: * data/evince-toolbar.xml: * shell/ev-application.c: (ev_application_shutdown), (ev_application_init), (ev_application_get_toolbars_model): * shell/ev-application.h: * shell/ev-window.c: (update_chrome_visibility), (ev_window_create_fullscreen_popup), (ev_window_run_preview), (ev_window_cmd_edit_toolbar), (ev_window_init): Fixes bug #364364 - toolbar editor shows zoom actions again.
* Do not take margins into consideration for paper size when printing.Carlos Garcia Campos2006-11-091-5/+5
| | | | | | | 2006-11-09 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_print_dialog_response_cb): Do not take margins into consideration for paper size when printing. Really fixes bug #350491.
* Add page setup settings for printing. Fixes bugs #363860 and #350491.Carlos Garcia Campos2006-11-082-11/+54
| | | | | | | | | | 2006-11-08 Carlos Garcia Campos <carlosgc@gnome.org> * data/evince-ui.xml: * shell/ev-window.c: (ev_window_print_page_setup_done_cb), (ev_window_cmd_file_print_setup), (ev_window_print_dialog_response_cb), (ev_window_setup_action_sensitivity): Add page setup settings for printing. Fixes bugs #363860 and #350491.
* Revert my previuos commit, since printing to PDF is not supported byCarlos Garcia Campos2006-11-081-2/+2
| | | | | | | 2006-11-08 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_print_range): Revert my previuos commit, since printing to PDF is not supported by evince yet.
* Enable print to a PDF. Fixes bug #332121.Carlos Garcia Campos2006-11-081-1/+2
| | | | | | 2006-11-08 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_print_range): Enable print to a PDF. Fixes bug #332121.
* Add support for multiscreen systems. Fixes bug #316206.Carlos Garcia Campos2006-10-315-33/+165
| | | | | | | | | | | | | 2006-10-31 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-application-service.xml: * shell/ev-application.[ch]: (ev_application_open_window), (ev_application_get_empty_window), (ev_application_open_uri_at_dest), (ev_application_open_uri), (ev_application_open_uri_list): * shell/ev-window.c: (file_open_dialog_response_cb), (ev_window_cmd_recent_file_activate), (ev_window_setup_recent), (drag_data_received_cb), (open_remote_link): * shell/main.c: (arguments_parse), (load_files), (load_files_remote): Add support for multiscreen systems. Fixes bug #316206.
* Allow printing only odd/even pages. Fixes bug #367289.Carlos Garcia Campos2006-10-304-23/+61
| | | | | | | | | 2006-10-30 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-jobs.[ch]: (ev_job_print_new), (ev_print_job_print_page_in_range), (ev_print_job_print_page_in_set), (ev_job_print_do_page): * shell/ev-window.[ch]: (ev_window_print_dialog_response_cb): Allow printing only odd/even pages. Fixes bug #367289.
* indent fixWouter Bolsterlee2006-10-291-1/+1
|
* Removed garbage from code and ui.Nickolay V. Shmyrev2006-10-291-5/+1
| | | | | | | | | 2006-10-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * data/evince-ui.xml: * shell/ev-window.c: (set_action_properties): Removed garbage from code and ui.
* Shamelessly add my name to the list of contributors.Wouter Bolsterlee2006-10-291-1/+2
| | | | | | | | 2006-10-29 Wouter Bolsterlee <wbolster@cvs.gnome.org> * shell/ev-window.c: (ev_window_cmd_help_about): Shamelessly add my name to the list of contributors.
* Don't render "loading..." text in presentation mode. Temporary workaroundWouter Bolsterlee2006-10-271-0/+6
| | | | | | | | 2006-10-27 Wouter Bolsterlee <wbolster@cvs.gnome.org> * shell/ev-view.c: (draw_loading_text): Don't render "loading..." text in presentation mode. Temporary workaround for bug #320352.
* Use print settings scale, copies, collate and reverse which were ignored.Carlos Garcia Campos2006-10-243-107/+115
| | | | | | | | 2006-10-24 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-jobs.[ch]: (ev_job_print_new), (ev_job_print_run): * shell/ev-window.c: (ev_window_print_dialog_response_cb): Use print settings scale, copies, collate and reverse which were ignored. Fixes bug #359032.
* Hide fullscreen toolbar when switching to another desktop workspace. FixesCarlos Garcia Campos2006-10-221-3/+8
| | | | | | | 2006-10-22 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (fullscreen_timeout_cb), (ev_window_init): Hide fullscreen toolbar when switching to another desktop workspace. Fixes bug #338871
* Test for .dvi in title of pdf documents.Nickolay V. Shmyrev2006-10-191-0/+1
| | | | | | | | 2006-10-20 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-window-title.c: Test for .dvi in title of pdf documents.
* Page Up/Down should do page jumps in "Best fit" mode. If a user hasWouter Bolsterlee2006-10-191-1/+1
| | | | | | | | | | 2006-10-19 Wouter Bolsterlee <wbolster@cvs.gnome.org> * shell/ev-view.c: (ev_view_scroll): Page Up/Down should do page jumps in "Best fit" mode. If a user has explicitly chosen to view exactly one page at a time, scrolling just a part of the page when pressing Page Up/Down is not right. Fixes bug #323107.
* Correctly disconnect from job signals on destroy.Nickolay V. Shmyrev2006-10-081-11/+25
| | | | | | | | | 2006-10-09 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose), (job_fonts_finished_cb), (ev_properties_fonts_set_document): Correctly disconnect from job signals on destroy.
* Fixes bug #343199, current page now follows find page.Nickolay V. Shmyrev2006-10-082-8/+10
| | | | | | | | | | | 2006-10-08 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-view-private.h: * shell/ev-view.c: (view_set_adjustment_values), (view_update_range_and_current_page), (ensure_rectangle_is_visible), (ev_view_size_allocate): Fixes bug #343199, current page now follows find page.
* Reduce relocations. Bug #360616.Christian Persch2006-10-082-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-10-08 Christian Persch <chpe@cvs.gnome.org> * backend/ev-async-renderer.c: (ev_async_renderer_get_type): * backend/ev-document-find.c: (ev_document_find_get_type): * backend/ev-document-fonts.c: (ev_document_fonts_get_type): * backend/ev-document-links.c: (ev_document_links_get_type): * backend/ev-document-security.c: (ev_document_security_get_type): * backend/ev-document-thumbnails.c: (ev_document_thumbnails_get_type): * backend/ev-document.c: (ev_document_get_type): * backend/ev-ps-exporter.c: (ev_ps_exporter_get_type): * backend/ev-selection.c: (ev_selection_get_type): * cut-n-paste/recent-files/egg-recent-model.c: (egg_recent_model_get_type): * cut-n-paste/recent-files/egg-recent-view-uimanager.c: (egg_recent_view_uimanager_get_type): * cut-n-paste/recent-files/egg-recent-view.c: (egg_recent_view_get_type): * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (egg_editable_toolbar_get_type): * cut-n-paste/toolbar-editor/egg-toolbar-editor.c: (egg_toolbar_editor_get_type): * cut-n-paste/toolbar-editor/egg-toolbars-model.c: (egg_toolbars_model_get_type): * cut-n-paste/toolbar-editor/eggtreemultidnd.c: (egg_tree_multi_drag_source_get_type): * cut-n-paste/zoom-control/ephy-zoom-action.c: (ephy_zoom_action_get_type): * cut-n-paste/zoom-control/ephy-zoom-control.c: (ephy_zoom_control_get_type): * impress/r_back.c: (_imp_fill_back): * properties/ev-properties-main.c: (ev_properties_plugin_register_type): * shell/ev-sidebar-page.c: (ev_sidebar_page_get_type): * shell/ev-view-accessible.c: (ev_view_accessible_get_type), (ev_view_accessible_factory_get_type): Reduce relocations. Bug #360616.
* Set size according to the document size/page size ratio. That shouldNickolay V. Shmyrev2006-10-022-41/+90
| | | | | | | | | | | | | 2006-10-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-metadata-manager.c: (save_values): * shell/ev-window.c: (setup_size_from_metadata), (setup_view_from_metadata), (ev_window_setup_document), (ev_window_xfer_job_cb), (window_configure_event_cb): Set size according to the document size/page size ratio. That should correct rather wierd behaviour of the previous commit.
* Set size for new windows from previous window size. See bugs #354968 andNickolay V. Shmyrev2006-10-021-2/+2
| | | | | | | | | | 2006-10-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-window.c: (setup_view_from_metadata): Set size for new windows from previous window size. See bugs #354968 and #168450 for details. Thanks to Meik Hellmund.
* Don't make sidebar close button insensitive. Fixes bug #357871.Nickolay V. Shmyrev2006-10-011-11/+13
| | | | | | | | | 2006-10-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-sidebar.c: (ev_sidebar_init), (ev_sidebar_set_document): Don't make sidebar close button insensitive. Fixes bug #357871.
* Don't enable Splash on documents which don't support find. Fixes bugNickolay V. Shmyrev2006-10-011-6/+10
| | | | | | | | | | 2006-10-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-window.c: (ev_window_setup_action_sensitivity), (ev_window_set_view_accels_sensitivity): Don't enable Splash on documents which don't support find. Fixes bug #358648.
* Make the open dialog fall back to the current document uri if theWouter Bolsterlee2006-09-301-1/+5
| | | | | | | | 2006-10-01 Wouter Bolsterlee <wbolster@gnome.org> * shell/ev-window.c: (ev_window_cmd_file_open): Make the open dialog fall back to the current document uri if the filechooser hasn't been used before. Fixes bug #356980.
* Escape underscores in filenames of recent file items.Mathias Hasselmann2006-09-241-3/+43
| | | | | | | | | 2006-09-24 Mathias Hasselmann <mathias.hasselmann@gmx.de> * shell/ev-window.c: (ev_window_setup_recent), (ev_window_get_recent_file_label): Escape underscores in filenames of recent file items.
* Reopen should reload document. Fixes bug 327951.Nickolay V. Shmyrev2006-09-141-9/+3
| | | | | | | | | 2006-09-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-application.c: (ev_application_open_uri_at_dest): Reopen should reload document. Fixes bug 327951.
* Don't open links with middle mouse button. Fixes bug #353649Carlos Garcia Campos2006-09-071-1/+1
| | | | | | 2006-09-07 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (ev_view_button_release_event): Don't open links with middle mouse button. Fixes bug #353649
* Implement Close named action. Patch by Carlos Garcia Campos.Nickolay V. Shmyrev2006-08-281-1/+3
| | | | | | | 2006-08-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-window.c: (ev_window_xfer_job_cb), (do_action_named): Implement Close named action. Patch by Carlos Garcia Campos.
* Don't clear link mapping on copy_job_to_job_info. Fixes bug 346168.Nickolay V. Shmyrev2006-08-271-14/+42
| | | | | | | | | 2006-08-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-pixbuf-cache.c: (copy_job_to_job_info): Don't clear link mapping on copy_job_to_job_info. Fixes bug 346168.
* Revert my previous commit, gnome_program_init owns the option context. FixCarlos Garcia Campos2006-08-211-1/+1
| | | | | | | 2006-08-21 Carlos Garcia Campos <carlosgc@gnome.org> * shell/main.c: (main): Revert my previous commit, gnome_program_init owns the option context. Fix another memory leak in main. Both caught by Christian Persch.
* Fix memory leak.Carlos Garcia Campos2006-08-211-0/+1
| | | | | | 2006-08-21 Carlos Garcia Campos <carlosgc@gnome.org> * shell/main.c: (main): Fix memory leak.
* Fixed a compilation error if HAVE_GTK_RECENT isn't defined.Julien Rebetez2006-08-151-1/+1
| | | | | | 2006-08-15 Julien Rebetez <julienr@cvs.gnome.org> * shell/ev-window.c: (ev_window_cmd_recent_file_activate): Fixed a compilation error if HAVE_GTK_RECENT isn't defined.
* Do not render thumbnails unless thumbnails page is active in the sidebar.Carlos Garcia Campos2006-08-151-2/+21
| | | | | | | 2006-08-14 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-sidebar-thumbnails.c: Do not render thumbnails unless thumbnails page is active in the sidebar.
* Fix dialogue spacing. Bug #351370.Christian Persch2006-08-141-1/+1
| | | | | | | | 2006-08-14 Christian Persch <chpe@cvs.gnome.org> * shell/ev-properties-dialog.c: Fix dialogue spacing. Bug #351370.
* GtkIconTheme is now screen safe too. Fixes bug #350878Carlos Garcia Campos2006-08-131-71/+118
| | | | | | 2006-08-13 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-sidebar-attachments.c: GtkIconTheme is now screen safe too. Fixes bug #350878
* GtkRecent manager is now screen safe. Fixes bug #350145Carlos Garcia Campos2006-08-111-5/+30
| | | | | | 2006-08-11 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: GtkRecent manager is now screen safe. Fixes bug #350145
* Make sidebar close icon smaller. Fix for bug 350177. See also bugs 350176Nickolay V. Shmyrev2006-08-111-1/+1
| | | | | | | | | 2006-08-11 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-sidebar.c: (ev_sidebar_init): Make sidebar close icon smaller. Fix for bug 350177. See also bugs 350176 and 165770.
* Ignore zoom for xyz destinations when it's <= 1, keeping user preferencesCarlos Garcia Campos2006-08-101-6/+6
| | | | | | | | 2006-08-10 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (goto_fith_dest), (goto_fit_dest), (goto_xyz_dest): Ignore zoom for xyz destinations when it's <= 1, keeping user preferences instead. Set correct sizing-mode for fith and fitv destinations rather than EV_SIZING_FREE. Fixes bug #349433
* Escape unfocus page entry. Fixes bug #345809.Radoslav Dorcik2006-08-071-2/+8
| | | | | | | | 2006-08-07 Radoslav Dorcik <dixiecko@gmail.com> * shell/ev-window.c: (ev_window_cmd_escape) Escape unfocus page entry. Fixes bug #345809.
* Convert from PDF style coordinates to X style coordinates in the backendCarlos Garcia Campos2006-08-061-6/+4
| | | | | | | | | | | 2006-08-06 Carlos Garcia Campos <carlosgc@gnome.org> * pdf/ev-poppler.cc: (ev_link_dest_from_dest), (ev_link_from_action), (build_tree), (pdf_document_links_get_links), (pdf_document_links_find_link_dest): * shell/ev-view.c: (goto_fitr_dest), (goto_fith_dest), (goto_xyz_dest): Convert from PDF style coordinates to X style coordinates in the backend rather than in the view. Fixes bug #338440
* Remove Ctrl+Shift+T shortcut for toolbars. See the bug #350098.Nickolay V. Shmyrev2006-08-061-1/+1
| | | | | | | | | 2006-08-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-window.c: Remove Ctrl+Shift+T shortcut for toolbars. See the bug #350098.
* Use GtkRecent instead of EggRecent when it's available. Fixes bug #349273Carlos Garcia Campos2006-08-054-15/+192
| | | | | | | | | | | | 2006-08-05 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * cut-n-paste/Makefile.am: * data/evince-ui.xml: * shell/Makefile.am: * shell/ev-application.[ch]: * shell/ev-window.c: Use GtkRecent instead of EggRecent when it's available. Fixes bug #349273
* Fixed typo in findbar code: s/help/search/Wouter Bolsterlee2006-08-041-1/+1
| | | | | | | 2006-08-04 Wouter Bolsterlee <uws+gnome@xs4all.nl> * shell/eggfindbar.c: (egg_find_bar_init): Fixed typo in findbar code: s/help/search/
* Fix memory leaks.Ricardo Markiewicz2006-08-041-1/+17
| | | | | | | | | | 2006-08-04 Ricardo Markiewicz <rmarkie@fi.uba.ar> * shell/ev-window.c: (setup_document_from_metadata), (setup_chrome_from_metadata), (setup_sidebar_from_metadata), (setup_view_from_metadata): Fix memory leaks.