Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Check if text inserted in page entry is a valid page number when itCarlos Garcia Campos2006-12-153-8/+25
| | | | | | | | 2006-12-15 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-page-action.[ch]: (activate_cb): * shell/ev-window.c: (activate_label_cb): Check if text inserted in page entry is a valid page number when it doesn't match to any document page label. Fixes bug #383165.
* GTK_STOCK_SELECT_ALL is used in menu definition, but isn't available withJulien Rebetez2006-12-141-0/+4
| | | | | | | | 2006-12-14 Julien Rebetez, <julienr@cvs.gnome.org> * shell/ev-window.c: GTK_STOCK_SELECT_ALL is used in menu definition, but isn't available with GTK < 2.10. Added an ifdef to avoid compilation error.
* Take screen DPI into account when zooming. Fixes bug #318285.Carlos Garcia Campos2006-12-141-4/+28
| | | | | | | | | 2006-12-14 Carlos Garcia Campos <carlosgc@gnome.org> * ps/ps-document.c: (setup_page), (ps_document_get_page_size): * shell/ev-window.c: (ev_window_get_screen_dpi), (ev_window_update_actions), (setup_view_from_metadata), (ev_window_zoom_changed_cb), (zoom_control_changed_cb): Take screen DPI into account when zooming. Fixes bug #318285.
* Corrected "end of presentation" string.Wouter Bolsterlee2006-12-131-1/+1
| | | | | | | | 2006-12-13 Wouter Bolsterlee <wbolster@cvs.gnome.org> * shell/ev-view.c: (draw_end_presentation_page): Corrected "end of presentation" string.
* Correctly propagate key press event so that up/down keys work as expectedWouter Bolsterlee2006-12-131-3/+4
| | | | | | | | | | 2006-12-13 Wouter Bolsterlee <wbolster@cvs.gnome.org> * shell/ev-view.c: (ev_view_key_press_event): Correctly propagate key press event so that up/down keys work as expected (correct behaviour was broken by black/white screen key bindings for presentations).
* Fixes CHACK type in class casts. See bug #385343 for details.P. Henrique Silva2006-12-137-8/+8
| | | | | | | | | | | | | | | | | 2006-12-13 P. Henrique Silva <ph.silva@gmail.com> * lib/ev-tooltip.h: * properties/ev-properties-view.h: * shell/ev-jobs.h: * shell/ev-properties-dialog.h: * shell/ev-properties-fonts.h: * shell/ev-sidebar-links.h: * shell/ev-sidebar-thumbnails.h: * shell/ev-sidebar.h: * shell/ev-window.h: Fixes CHACK type in class casts. See bug #385343 for details.
* Blank screen in presentation mode when pressing 'b' (filling with black)Carlos Garcia Campos2006-12-102-16/+104
| | | | | | | | | | 2006-12-10 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view-private.h: * shell/ev-view.c: (draw_end_presentation_page), (ev_view_expose_event), (ev_view_key_press_event), (ev_view_class_init), (ev_view_init): Blank screen in presentation mode when pressing 'b' (filling with black) or 'w' (filling with white) keys. Fixes bug #358132.
* Use stock icon for Select All action. Fixes bug #382652.Gabriel Felipe Cornejo2006-12-091-1/+1
| | | | | | | | | | 2006-12-09 Gabriel Felipe Cornejo <gnomeusr@gmail.com> * data/evince-toolbar.xml: * shell/ev-window.c: Use stock icon for Select All action. Fixes bug #382652.
* Add links support in rotated documents. Fixes bug #343733.Radoslav Dorcik2006-12-091-6/+49
| | | | | | | 2006-12-09 Radoslav Dorcik <dixiecko@gmail.com> * shell/ev-view.c: (get_doc_point_from_offset), (ev_view_get_link_at_location), (ev_view_motion_notify_event): Add links support in rotated documents. Fixes bug #343733.
* Show a blank page after the last page in presentation mode with a messageCarlos Garcia Campos2006-12-092-4/+66
| | | | | | | | | 2006-12-09 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view-private.h: * shell/ev-view.c: (draw_end_presentation_page), (ev_view_expose_event), (ev_view_init), (ev_view_set_presentation): Show a blank page after the last page in presentation mode with a message indicating that presentation has finished and how to exit.
* Hide cursor after a while in presentation mode.Carlos Garcia Campos2006-12-091-2/+4
| | | | | | 2006-12-09 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (fullscreen_timeout_cb): Hide cursor after a while in presentation mode.
* Move screensaver handling to application. No more message on startup.Nickolay V. Shmyrev2006-12-033-15/+23
| | | | | | | | | | | | | | | | | | | 2006-12-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * cut-n-paste/totem-screensaver/totem-scrsaver.c: (screensaver_init_dbus), (totem_scrsaver_new), (totem_scrsaver_init): * cut-n-paste/totem-screensaver/totem-scrsaver.h: * shell/ev-application.c: (ev_application_register_service), (ev_application_screensaver_enable), (ev_application_screensaver_disable): * shell/ev-application.h: * shell/ev-window.c: (ev_window_run_presentation), (ev_window_stop_presentation), (build_comments_string), (ev_window_init): Move screensaver handling to application. No more message on startup.
* Allow printing to PDF when suppoted by the backend.Carlos Garcia Campos2006-12-033-22/+52
| | | | | | | | | | | | | | 2006-12-03 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * backend/Makefile.am: * backend/ev-file-exporter.[ch]: * pdf/ev-poppler.cc: (pdf_document_file_exporter_*): * ps/ps-document.c: (ps_document_file_exporter_*): * tiff/tiff-document.c: (tiff_document_document_file_exporter_*): * shell/ev-jobs.[ch]: (ev_job_print_new), (ev_job_print_run): * shell/ev-window.c: (ev_window_setup_action_sensitivity), (ev_window_print_dialog_response_cb), (ev_window_print_range): Allow printing to PDF when suppoted by the backend.
* Use always "Document Viewer" in about dialog.Carlos Garcia Campos2006-12-031-1/+1
| | | | | | 2006-12-03 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (build_comments_string): Use always "Document Viewer" in about dialog.
* Make pdf compilation optional. See bug #38007.Yevgen Muntyan2006-11-301-0/+6
| | | | | | | | | | | | 2006-11-30 Yevgen Muntyan <muntyan@tamu.edu> * Makefile.am: * backend/Makefile.am: * backend/ev-document-factory.c: (ev_document_factory_add_filters): * configure.ac: * shell/ev-window.c: (build_comments_string): Make pdf compilation optional. See bug #38007.
* Do not call g_type_class_peek_parent twice.Carlos Garcia Campos2006-11-222-10/+3
| | | | | | | | 2006-11-22 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-history.c: (ev_history_finalize), (ev_history_class_init): * shell/ev-navigation-action.c: (connect_proxy), (ev_navigation_action_finalize), (ev_navigation_action_class_init): Do not call g_type_class_peek_parent twice.
* cut-n-paste/totem-screensaver/.cvsignoreWouter Bolsterlee2006-11-212-3/+19
| | | | | | | | | | | | | | | | | | | | 2006-11-22 Wouter Bolsterlee <wbolster@cvs.gnome.org> * configure.ac: * cut-n-paste/Makefile.am: * cut-n-paste/totem-screensaver/.cvsignore * cut-n-paste/totem-screensaver/Makefile.am: * cut-n-paste/totem-screensaver/README: * cut-n-paste/totem-screensaver/totem-scrsaver.c: * cut-n-paste/totem-screensaver/totem-scrsaver.h: * shell/Makefile.am: * shell/ev-window.c: (ev_window_run_presentation), (ev_window_stop_presentation), (ev_window_cmd_help_about), (ev_window_init): Implemented screensaver enabling/disabling for presentation mode (not fullscreen mode). Code stolen from Totem (with some minor tweaks). Fixes bug #338889.
* Use page labels instead of numbers.Nickolay V. Shmyrev2006-11-193-5/+12
| | | | | | | | | | 2006-11-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-history.c: (ev_history_add_page): * shell/ev-history.h: * shell/ev-window.c: (page_changed_cb): Use page labels instead of numbers.
* Preliminary history implementationNickolay V. Shmyrev2006-11-1915-311/+1253
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-11-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * data/evince-toolbar.xml: * po/POTFILES.in: * shell/Makefile.am: * shell/ev-navigation-action-widget.c: (ev_navigation_action_widget_init), (ev_navigation_action_widget_class_init), (menu_deactivate_cb), (menu_detacher), (ev_navigation_action_widget_set_menu), (menu_position_func), (popup_menu_under_arrow), (ev_navigation_action_widget_toggled), (ev_navigation_action_widget_button_press_event): * shell/ev-navigation-action-widget.h: * shell/ev-navigation-action.c: (ev_navigation_action_set_history), (ev_navigation_action_set_window), (activate_menu_item_cb), (new_history_menu_item), (new_empty_history_menu_item), (build_menu), (menu_activated_cb), (connect_proxy), (create_tool_item), (ev_navigation_action_init), (ev_navigation_action_finalize), (ev_navigation_action_class_init): * shell/ev-navigation-action.h: * shell/ev-page-action-widget.c: (ev_page_action_widget_init), (ev_page_action_widget_set_page_cache), (ev_page_action_widget_finalize), (ev_page_action_widget_class_init), (match_selected_cb), (display_completion_text), (match_completion), (build_new_tree_cb), (get_filter_model_from_model), (ev_page_action_widget_update_model): * shell/ev-page-action-widget.h: * shell/ev-page-action.c: (activate_link_cb), (update_model), (connect_proxy): * shell/ev-page-action.h: * shell/ev-stock-icons.c: * shell/ev-stock-icons.h: * shell/ev-window.c: (ev_window_setup_action_sensitivity), (page_changed_cb), (ev_window_setup_document), (ev_window_dispose), (register_custom_actions): * shell/main.c: Preliminary history implementation
* 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.