Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-window.c
Commit message (Collapse)AuthorAgeFilesLines
* Reorganize source tree.Nickolay V. Shmyrev2007-01-081-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-071-30/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-071-46/+0
| | | | | | | | | | 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
* Restore zoom settings when back from presentation mode.Carlos Garcia Campos2006-12-241-2/+0
| | | | | | | | 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.
* 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.
* 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.
* Use an specific lock for FontConfig. Hopefully it fixes some crashesCarlos Garcia Campos2006-12-181-0/+2
| | | | | | | | | | | | 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.
* Check if text inserted in page entry is a valid page number when itCarlos Garcia Campos2006-12-151-1/+1
| | | | | | | | 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.
* 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.
* 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-031-13/+4
| | | | | | | | | | | | | | | | | | | 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-031-12/+27
| | | | | | | | | | | | | | 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.
* cut-n-paste/totem-screensaver/.cvsignoreWouter Bolsterlee2006-11-211-3/+16
| | | | | | | | | | | | | | | | | | | | 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-191-2/+7
| | | | | | | | | | 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-191-3/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-151-4/+3
| | | | | | | | | | | | | | 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-101-4/+43
| | | | | | | | | | | 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-101-22/+18
| | | | | | | | | | | | | | | | | 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-081-10/+53
| | | | | | | | | | 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-311-10/+23
| | | | | | | | | | | | | 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-301-12/+17
| | | | | | | | | 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.
* Use print settings scale, copies, collate and reverse which were ignored.Carlos Garcia Campos2006-10-241-84/+57
| | | | | | | | 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
* Set size according to the document size/page size ratio. That shouldNickolay V. Shmyrev2006-10-021-39/+84
| | | | | | | | | | | | | 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 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.
* 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.
* 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.
* 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
* 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.
* 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-051-12/+167
| | | | | | | | | | | | 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