Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-window.c
Commit message (Collapse)AuthorAgeFilesLines
* Do not unfullscreen and fullscreen again the window when changing fromCarlos Garcia Campos2008-04-021-29/+54
| | | | | | | | | | | | | | | | | | | 2008-04-02 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_cmd_continuous), (ev_window_cmd_dual), (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width), (ev_window_run_fullscreen), (ev_window_stop_fullscreen), (ev_window_cmd_view_fullscreen), (ev_window_run_presentation), (ev_window_stop_presentation), (ev_window_cmd_view_presentation), (ev_window_cmd_leave_fullscreen), (ev_window_cmd_start_presentation), (ev_window_cmd_escape): Do not unfullscreen and fullscreen again the window when changing from fullscreen to presentation mode and vice versa. Fixes bug #524112. svn path=/trunk/; revision=2987
* Handle errors when opening remote files.Carlos Garcia Campos2008-03-311-29/+59
| | | | | | | | | | | 2008-03-31 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (window_open_file_copy_ready_cb), (ev_window_load_file_remote), (ev_window_open_uri): Handle errors when opening remote files. svn path=/trunk/; revision=2985
* Reuse g_app_info_launch_default_for_uri to save some code and fix bugEmil Soleyman2008-03-291-25/+4
| | | | | | | | | | | | 2008-03-30 Emil Soleyman <emil@nishra.com> * shell/ev-window.c: (launch_external_uri): Reuse g_app_info_launch_default_for_uri to save some code and fix bug #525009. svn path=/trunk/; revision=2983
* Use g_str_has_suffix. See bug #523069.Wouter Bolsterlee2008-03-241-1/+1
| | | | | | | | | | | 2008-03-24 Wouter Bolsterlee <wbolster@svn.gnome.org> * shell/ev-window.c (image_save_dialog_response_cb): Use g_str_has_suffix. See bug #523069. svn path=/trunk/; revision=2979
* Do not append the extension to filename when saving an image if theCarlos Garcia Campos2008-03-191-9/+12
| | | | | | | | | | | 2008-03-19 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (image_save_dialog_response_cb): Do not append the extension to filename when saving an image if the filename alredy contains the extension. Fixes bug #523069. svn path=/trunk/; revision=2972
* Cancel the find operation when the find bar is closed. Fixes bug #508845.Carlos Garcia Campos2008-03-181-0/+1
| | | | | | | | | | | | 2008-03-18 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.[ch]: (ev_view_find_cancel): * shell/ev-window.c: (find_bar_close_cb): Cancel the find operation when the find bar is closed. Fixes bug #508845. svn path=/trunk/; revision=2971
* Bug 495107 – Handle print dialog responses correctlyWouter Bolsterlee2008-03-091-1/+1
| | | | | | | | | | | | | 2008-03-09 Wouter Bolsterlee <wbolster@svn.gnome.org> * shell/ev-window.c (ev_window_print_dialog_response_cb): Bug 495107 – Handle print dialog responses correctly Correctly handle print dialog response. Properly fixes the above mentioned bug. svn path=/trunk/; revision=2958
* Make sure print job is only run when the print button is clicked. Based onCarlos Garcia Campos2008-03-081-1/+2
| | | | | | | | | | | 2008-03-08 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_print_dialog_response_cb): Make sure print job is only run when the print button is clicked. Based on patch by Eugen Dedu. Fixes bug #495107. svn path=/trunk/; revision=2956
* Use g_file_has_prefix instead of renamed g_file_contains_file.Alexander Larsson2008-02-251-1/+1
| | | | | | | | | | | | | | 2008-02-25 Alexander Larsson <alexl@redhat.com> * shell/ev-window.c (ev_window_clear_temp_file): Use g_file_has_prefix instead of renamed g_file_contains_file. * configure.ac: Require new glib for above change. svn path=/trunk/; revision=2929
* Remove libgnomeprint support. Fixes bug #512370.Carlos Garcia Campos2008-02-081-177/+8
| | | | | | | | | | | | | 2008-02-08 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * shell/Makefile.am: * shell/ev-application.[ch]: * shell/ev-sidebar-links.c: * shell/ev-utils.[ch]: * shell/ev-window.[ch]: Remove libgnomeprint support. Fixes bug #512370. svn path=/trunk/; revision=2895
* Fix compile warning.Carlos Garcia Campos2008-01-271-1/+1
| | | | | | | | 2008-01-27 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_cmd_escape): Fix compile warning. svn path=/trunk/; revision=2866
* RemovedCarlos Garcia Campos2008-01-261-29/+0
| | | | | | | | | | | | | | | 2008-01-26 Carlos Garcia Campos <carlosgc@gnome.org> * cut-n-paste/totem-screensaver/totem-scrsaver.c: (screensaver_disable_x11): * shell/Makefile.am: * shell/xdg-user-dir-lookup.c: Removed * shell/ev-metadata-manager.c: (ev_metadata_arm_timeout): * shell/ev-view.c: (ev_view_presentation_transition_start): * shell/ev-window.c: (ev_window_cmd_file_open), (ev_window_cmd_save_as), (presentation_set_timeout): Remove #ifdefs that are no longer needed. svn path=/trunk/; revision=2861
* Stop autoscroll when Escape key is pressed. Fixes bug #511635.Carlos Garcia Campos2008-01-261-1/+3
| | | | | | | | | | | 2008-01-26 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.[ch]: (ev_view_button_release_event), (ev_view_autoscroll_start), (ev_view_autoscroll_stop): * shell/ev-window.c: (ev_window_cmd_view_autoscroll), (ev_window_cmd_escape): Stop autoscroll when Escape key is pressed. Fixes bug #511635. svn path=/trunk/; revision=2860
* Port to gio and drop gnome-vfs dependency. Fixes bug #510401. Based onCarlos Garcia Campos2008-01-251-234/+188
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-25 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * backend/comics/comics-document.c: (comics_document_load): * libdocument/ev-attachment.[ch]: (ev_attachment_finalize), (ev_attachment_set_property), (ev_attachment_init), (ev_attachment_save), (ev_attachment_launch_app), (ev_attachment_open): * libdocument/ev-document-factory.c: (get_document_from_uri): * libdocument/ev-file-helpers.[ch]: (ev_tmp_file_get), (ev_tmp_file_unlink), (ev_tmp_uri_unlink), (ev_xfer_uri_simple),: * shell/ev-jobs.c: * shell/ev-password.c: (ev_password_dialog_set_property), (ev_password_dialog_save_password): * shell/ev-sidebar-attachments.c: (ev_sidebar_attachments_drag_data_get): * shell/ev-window-title.c: (get_filename_from_uri): * shell/ev-window.c: (ev_window_clear_temp_file), (ev_window_load_job_cb), (window_open_file_copy_ready_cb), (ev_window_open_uri), (window_save_file_copy_ready_cb), (ev_window_save_remote), (ev_window_cmd_save_as), (launch_action), (launch_external_uri), (image_save_dialog_response_cb), (attachment_save_dialog_response_cb): * shell/main.c: (load_files), (load_files_remote), (main): * thumbnailer/evince-thumbnailer.c: (main): Port to gio and drop gnome-vfs dependency. Fixes bug #510401. Based on patch by Cosimo Cecchi. svn path=/trunk/; revision=2858
* Use top/up/bottom/down arrows instead of first/left/last/right in theWouter Bolsterlee2008-01-241-4/+4
| | | | | | | | | | | | | 2008-01-24 Wouter Bolsterlee <wbolster@svn.gnome.org> * shell/ev-window.c: Use top/up/bottom/down arrows instead of first/left/last/right in the toolbar and menu actions. This fixes issues with RTL languages and is visually consistent with the page view. Fixes bug #170081. svn path=/trunk/; revision=2853
* Override PDF restrictions by default. Fixes bug #382700.Wouter Bolsterlee2008-01-241-1/+1
| | | | | | | | | | | | 2008-01-24 Wouter Bolsterlee <wbolster@svn.gnome.org> * NEWS: * data/evince.schemas.in: * shell/ev-window.c: (ev_window_setup_action_sensitivity): Override PDF restrictions by default. Fixes bug #382700. svn path=/trunk/; revision=2851
* Added comment for translatorsGil Forcada2008-01-231-0/+1
| | | | | | | | | | | 2008-01-23 Gil Forcada <gilforcada@guifi.net> * shell/ev-window.c: (register_custom_actions): Added comment for translators svn path=/trunk/; revision=2841
* Do not render images when rendering the page but on demand. It reduces theCarlos Garcia Campos2008-01-191-15/+27
| | | | | | | | | | | | | | | | | | | | | | 2008-01-19 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * backend/pdf/ev-poppler.cc: (pdf_document_images_get_image_mapping), (pdf_document_images_get_image), (pdf_document_document_images_iface_init): * libdocument/ev-document-images.[ch]: (ev_document_images_get_image_mapping), (ev_document_images_get_image): * libdocument/ev-image.[ch]: (ev_image_new), (ev_image_get_page), (ev_image_get_id), (ev_image_save_tmp): * shell/ev-jobs.c: (ev_job_render_run): * shell/ev-view.c: (ev_view_drag_data_get): * shell/ev-window.c: (image_save_dialog_response_cb), (ev_view_popup_cmd_copy_image): Do not render images when rendering the page but on demand. It reduces the memory comsumption. svn path=/trunk/; revision=2835
* Simplify image format selection on save.Nickolay V. Shmyrev2008-01-151-27/+39
| | | | | | | | | | | | | | | | | | | | | | | 2008-01-15 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * configure.ac: * cut-n-paste/Makefile.am: * cut-n-paste/fileformatchooser/Makefile.am: * cut-n-paste/fileformatchooser/egg-macros.h: * cut-n-paste/fileformatchooser/eggfileformatchooser.c: * cut-n-paste/fileformatchooser/eggfileformatchooser.h: * shell/Makefile.am: * shell/ev-utils.c: (file_chooser_dialog_add_writable_pixbuf_formats), (get_gdk_pixbuf_format_by_extension): * shell/ev-utils.h: * shell/ev-window.c: (ev_window_error_message), (image_save_dialog_response_cb), (ev_view_popup_cmd_save_image_as): Simplify image format selection on save. svn path=/trunk/; revision=2827
* RTL marker in recent file list. See bug #509076.Djihed Afifi2008-01-131-2/+5
| | | | | | | | | | | 2008-01-13 Djihed Afifi <djihed@gmail.com> * shell/ev-window.c: (ev_window_get_recent_file_label): RTL marker in recent file list. See bug #509076. svn path=/trunk/; revision=2818
* Fix compile warnings due to unused variables.Carlos Garcia Campos2008-01-131-2/+1
| | | | | | | | | 2008-01-13 Carlos Garcia Campos <carlosgc@gnome.org> * backend/djvu/djvu-text-page.c: (djvu_text_page_limits): * shell/ev-window.c: (image_save_dialog_response_cb): Fix compile warnings due to unused variables. svn path=/trunk/; revision=2817
* Allow exporting images in any format supported by GdkPixbuf. Fixes bugCarl-Anton Ingmarsson2007-12-301-10/+24
| | | | | | | | | | | | | | | | 2007-12-30 Carl-Anton Ingmarsson <c-a.ingmarsson@oktv.se> * configure.ac: * cut-n-paste/Makefile.am: * cut-n-paste/fileformatchooser/Makefile.am: * cut-n-paste/fileformatchooser/egg-macros.h: * cut-n-paste/fileformatchooser/eggfileformatchooser.[ch]: * shell/Makefile.am: * shell/ev-window.c: (image_save_dialog_response_cb), (ev_view_popup_cmd_save_image_as): Allow exporting images in any format supported by GdkPixbuf. Fixes bug #500209. svn path=/trunk/; revision=2791
* Autoscroll feature with the context menu. Fixes bug #323670. Thanks toNickolay V. Shmyrev2007-12-231-0/+10
| | | | | | | | | | | | | | | | | | | | | | 2007-12-23 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * data/evince-toolbar.xml: * data/evince-ui.xml: * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_handle_cursor_over_xy), (ev_view_button_press_event), (ev_view_motion_notify_event), (ev_view_button_release_event), (ev_view_init), (ev_view_autoscroll_cb), (ev_view_autoscroll), (ev_view_set_cursor): * shell/ev-view.h: * shell/ev-window.c: (ev_window_setup_action_sensitivity), (ev_window_cmd_view_autoscroll): Autoscroll feature with the context menu. Fixes bug #323670. Thanks to David Turner <cillian64@googlemail.com>. svn path=/trunk/; revision=2781
* Use a message area instead of a popup dialog for error notifications.Carlos Garcia Campos2007-12-021-34/+71
| | | | | | | | | | | | | | | | | | | | 2007-12-02 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * cut-n-paste/gedit-message-area/Makefile.am: * cut-n-paste/gedit-message-area/gedit-message-area.[ch]: * shell/Makefile.am: * shell/ev-message-area.[ch]: * shell/ev-window.c: (ev_window_set_message_area), (ev_window_error_message_response_cb), (ev_window_error_message), (ev_window_load_job_cb), (ev_window_cmd_file_open_copy_at_dest), (ev_window_save_job_cb), (image_save_dialog_response_cb), (ev_attachment_popup_cmd_open_attachment), (attachment_save_dialog_response_cb), (ev_window_set_document), (ev_window_init): Use a message area instead of a popup dialog for error notifications. Fixes bug #337495. svn path=/trunk/; revision=2757
* Remove the shadow of the fullscreen toolbar. Fixes bug #500702.Carlos Garcia Campos2007-12-021-0/+22
| | | | | | | | | 2007-12-02 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (fullscreen_toolbar_remove_shadow), (ev_window_run_fullscreen): Remove the shadow of the fullscreen toolbar. Fixes bug #500702. svn path=/trunk/; revision=2756
* Print settings that are specific to the document are now saved perCarlos Garcia Campos2007-12-011-1/+50
| | | | | | | | | | | | 2007-12-01 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_load_print_settings_from_metadata), (ev_window_save_print_settings), (ev_window_print_finished), (ev_window_print_range): Print settings that are specific to the document are now saved per document in the metadata file. Fixes bug #488806. svn path=/trunk/; revision=2754
* Add a command line option for search. Fixes bug #497710.Carlos Garcia Campos2007-11-251-4/+14
| | | | | | | | | | | | | | | | | 2007-11-25 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-application.[ch]: (get_find_string_from_args), (ev_application_open_uri_at_dest), (ev_application_open_uri), (ev_application_open_uri_list): * shell/ev-jobs.[ch]: (ev_job_load_dispose), (ev_job_load_new): * shell/ev-window.[ch]: (ev_window_load_job_cb), (ev_window_open_uri), (ev_window_cmd_file_open_copy_at_dest), (ev_window_cmd_recent_file_activate), (ev_window_open_recent_action_item_activated), (ev_window_print_send), (open_remote_link): * shell/main.c: (arguments_parse): Add a command line option for search. Fixes bug #497710. svn path=/trunk/; revision=2746
* Add an expander to the open toolbar item which pops up a dropdown menuCarlos Garcia Campos2007-10-281-4/+29
| | | | | | | | | | | | | | | 2007-10-29 Carlos Garcia Campos <carlosgc@gnome.org> * data/evince-toolbar.xml: * shell/Makefile.am: * shell/ev-application.c: (ev_application_init): * shell/ev-open-recent-action.[ch]: * shell/ev-window.c: (ev_window_open_recent_action_item_activated), (register_custom_actions): Add an expander to the open toolbar item which pops up a dropdown menu with the recently used documents. Fixes bug #487215. svn path=/trunk/; revision=2731
* Do not jump to the first page when reloading by running evince from theCarlos Garcia Campos2007-10-281-2/+5
| | | | | | | | | | 2007-10-29 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_open_uri), (ev_window_cmd_view_reload): Do not jump to the first page when reloading by running evince from the command line. Fixes bug #490847. svn path=/trunk/; revision=2728
* Plugged memory leak when help file is not found. Fixes bug #490762.Hiroyuki Ikezoe2007-10-271-0/+2
| | | | | | | | | 2007-10-27 Hiroyuki Ikezoe <poincare@ikezoe.net> * shell/ev-window.c: (ev_window_cmd_help_contents): Plugged memory leak when help file is not found. Fixes bug #490762. svn path=/trunk/; revision=2725
* RemovedCarlos Garcia Campos2007-10-261-74/+0
| | | | | | | | | | | | | | | | 2007-10-26 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * cut-n-paste/Makefile.am: * cut-n-paste/recent-files/*: Removed * help/reference/Makefile.am: * shell/Makefile.am: * shell/ev-application.[ch]: (ev_application_shutdown), (ev_application_init): * shell/ev-window.c: (ev_window_add_recent), (ev_window_setup_recent), (ev_window_dispose), (ev_window_init): Bump requirements to gtk+ 2.10.0 and remove egg-recent code. svn path=/trunk/; revision=2722
* Let GnomeVFS check the URL, this allow more URL (like mailto:), and reportPascal Terjan2007-10-251-22/+18
| | | | | | | | | | | | 2007-10-25 Pascal Terjan <pterjan@linuxfr.org> * shell/ev-window.c: (launch_external_uri): Let GnomeVFS check the URL, this allow more URL (like mailto:), and report error if the URL is not supported (#489910). svn path=/trunk/; revision=2718
* Fix conflicting shortcut for view sade pane and presentation.Carlos Garcia Campos2007-10-111-1/+1
| | | | | | | | 2007-10-11 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: Fix conflicting shortcut for view sade pane and presentation. svn path=/trunk/; revision=2701
* Respect ranges order when printing more than one range in random order.Carlos Garcia Campos2007-10-111-1/+11
| | | | | | | | | | | 2007-10-10 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-jobs.c: (ev_job_print_get_page_list), (ev_job_print_run): * shell/ev-window.c: (ev_window_print_dialog_response_cb): Respect ranges order when printing more than one range in random order. svn path=/trunk/; revision=2699
* Rotate also the window icon when document is rotated. Fixes bug #474681.Martin Schanzenbach2007-10-101-21/+33
| | | | | | | | | | 2007-10-10 Martin Schanzenbach <mschanzenbach@gmail.com> * shell/ev-window.c: (ev_window_refresh_window_thumbnail), (ev_window_setup_document), (ev_window_rotation_changed_cb): Rotate also the window icon when document is rotated. Fixes bug #474681. svn path=/trunk/; revision=2696
* Do not show the toolbar in fullscreen mode if the main toolbar is notCarlos Garcia Campos2007-10-041-1/+5
| | | | | | | | | 2007-10-04 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_run_fullscreen): Do not show the toolbar in fullscreen mode if the main toolbar is not visible. Fixes bug #483048. svn path=/trunk/; revision=2690
* Move save a copy task to its own job so that it's carried out in a threadCarlos Garcia Campos2007-09-041-124/+61
| | | | | | | | | | | | | | | | | | 2007-09-04 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked), (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue), (ev_job_queue_remove_job): * shell/ev-jobs.[ch]: (ev_job_save_init), (ev_job_save_dispose), (ev_job_save_class_init), (ev_job_save_new), (ev_job_save_run): * shell/ev-window.c: (ev_window_clear_save_job), (ev_window_save_job_cb), (file_save_dialog_response_cb), (ev_window_dispose): Move save a copy task to its own job so that it's carried out in a thread avoiding another lock in the main thread. Use ev_xfer_uri_simple() instead of gnome_vfs_move() so that document can be saved to a pathin another file system. Fixes bug #456891. svn path=/trunk/; revision=2664
* Make sure not to use the history with documents not supporting links.Carlos Garcia Campos2007-09-031-2/+4
| | | | | | | | | 2007-09-03 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_add_history): Make sure not to use the history with documents not supporting links. Fixes bug #468954. svn path=/trunk/; revision=2660
* Restart the search when reloading a document with the find bar visible.Carlos Garcia Campos2007-09-031-7/+21
| | | | | | | | | 2007-09-03 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_load_job_cb): Restart the search when reloading a document with the find bar visible. Fixes bug #461962. svn path=/trunk/; revision=2659
* Do not jump to the first page when reloading a document from the lastCarlos Garcia Campos2007-09-031-2/+7
| | | | | | | | | | 2007-09-03 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (setup_document_from_metadata), (ev_window_load_job_cb), (ev_window_cmd_view_reload): Do not jump to the first page when reloading a document from the last page. svn path=/trunk/; revision=2658
* Do not update visibility when changing a chrome flag so that it's possibleCarlos Garcia Campos2007-09-031-2/+11
| | | | | | | | | | | | | | | | 2007-09-03 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (update_chrome_flag), (setup_sidebar_from_metadata), (ev_window_cmd_focus_page_selector), (ev_window_cmd_edit_find), (ev_window_cmd_edit_find_next), (ev_window_cmd_edit_find_previous), (ev_window_cmd_escape), (ev_window_view_toolbar_cb), (ev_window_view_sidebar_cb), (find_bar_close_cb), (view_actions_focus_in_cb): Do not update visibility when changing a chrome flag so that it's possible to update several flags and update visibility only once for all of them. svn path=/trunk/; revision=2657
* Use GTK_UNIT_POINTS instead of GTK_UNIT_PIXEL, since it's not supported byCarlos Garcia Campos2007-09-031-2/+2
| | | | | | | | | 2007-09-03 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_print_dialog_response_cb): Use GTK_UNIT_POINTS instead of GTK_UNIT_PIXEL, since it's not supported by gtk+. Fixes bug #460907. svn path=/trunk/; revision=2656
* Actually fix printing regressions. Remove orientation from EvPrintContextCarlos Garcia Campos2007-09-011-13/+0
| | | | | | | | | | | | | 2007-09-01 Carlos Garcia Campos <carlosgc@gnome.org> * backend/pdf/ev-poppler.cc: (pdf_document_file_exporter_begin), (pdf_document_file_exporter_do_page): * libdocument/ev-file-exporter.h: * shell/ev-jobs.[ch]: (ev_job_print_new), (ev_job_print_run): * shell/ev-window.c: (ev_window_print_dialog_response_cb): Actually fix printing regressions. Remove orientation from EvPrintContext since it's redundant. svn path=/trunk/; revision=2649
* Add support for double and triple click selections.Carlos Garcia Campos2007-08-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-08-31 Carlos Garcia Campos <carlosgc@gnome.org> * backend/dvi/dvi-document.c: (dvi_document_document_iface_init): * backend/impress/impress-document.c: (impress_document_document_iface_init): * backend/ps/ps-document.c: (ps_document_document_iface_init): * backend/djvu/djvu-document.c: (djvu_document_document_iface_init), (djvu_selection_get_selected_text), (djvu_selection_iface_init): * backend/tiff/tiff-document.c: (tiff_document_document_iface_init): * backend/pixbuf/pixbuf-document.c: (pixbuf_document_document_iface_init): * backend/comics/comics-document.c: (comics_document_document_iface_init): * backend/pdf/ev-poppler.cc: (pdf_document_document_iface_init), (pdf_selection_render_selection), (pdf_selection_get_selected_text), (pdf_selection_get_selection_region), (pdf_selection_get_selection_map), (pdf_selection_iface_init): * libdocument/ev-selection.[ch]: (ev_selection_get_selected_text), (ev_selection_get_selection_region), (ev_selection_get_selection_map): * libdocument/ev-document.[ch]: * shell/ev-pixbuf-cache.[ch]: (add_job), (ev_pixbuf_cache_get_selection_surface), (update_job_selection): * shell/ev-view-private.h: * shell/ev-jobs.[ch]: (ev_job_render_new), (ev_job_render_new), (ev_job_render_run): * shell/ev-window.c: (ev_window_setup_action_sensitivity): * shell/ev-view.c: (start_selection_for_event), (ev_view_button_press_event), (ev_view_drag_data_get), (ev_view_drag_data_received), (ev_view_button_release_event), (compute_new_selection_text), (compute_selections), (ev_view_select_all), (get_selected_text), (ev_view_copy), (ev_view_primary_get_cb): Add support for double and triple click selections. svn path=/trunk/; revision=2648
* Enables 'find next' when bindbar is hidden. Fixes bug #323817.Justin Blanchard2007-08-271-9/+27
| | | | | | | | | | | | | | | | | 2007-08-28 Justin Blanchard <justinb04@aim.com> * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_expose_event), (ev_view_init), (ev_view_set_highlight_search): * shell/ev-view.h: * shell/ev-window.c: (ev_window_cmd_edit_find_next), (ev_window_cmd_edit_find_previous), (find_bar_search_changed_cb), (find_bar_visibility_changed_cb): Enables 'find next' when bindbar is hidden. Fixes bug #323817. svn path=/trunk/; revision=2645
* Create always a portrait cairo surface and rotate when needed forCarlos Garcia Campos2007-08-271-1/+1
| | | | | | | | | | | | | 2007-08-27 Carlos Garcia Campos <carlosgc@gnome.org> * backend/pdf/ev-poppler.cc: (pdf_print_context_free), (pdf_document_file_exporter_begin), (pdf_document_file_exporter_do_page): * shell/ev-jobs.c: (ev_job_print_run): * shell/ev-window.c: (ev_window_print_dialog_response_cb): Create always a portrait cairo surface and rotate when needed for landscape. It fixes printing problems in real printers. svn path=/trunk/; revision=2643
* Adjust number of pages per row according to page orientation when printingCarlos Garcia Campos2007-08-251-0/+13
| | | | | | | | | | | | | 2007-08-25 Carlos Garcia Campos <carlosgc@gnome.org> * backend/pdf/ev-poppler.cc: (pdf_document_file_exporter_begin): * libdocument/ev-file-exporter.[ch]: (ev_file_exporter_get_capabilities): * shell/ev-jobs.[ch]: (ev_job_print_new), (ev_job_print_run): * shell/ev-window.c: (ev_window_print_dialog_response_cb): Adjust number of pages per row according to page orientation when printing 2 or 6 pages per sheet. svn path=/trunk/; revision=2641
* Reset also cups setting to 1 when printing multiple pages per sheet. FixesCarlos Garcia Campos2007-08-251-1/+3
| | | | | | | | | 2007-08-25 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_print_send): Reset also cups setting to 1 when printing multiple pages per sheet. Fixes bug #468853. svn path=/trunk/; revision=2640
* Use g_get_user_special_dir when available instead of xdg_user_dir_lookup.Carlos Garcia Campos2007-08-111-2/+24
| | | | | | | | | | 2007-08-11 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_cmd_file_open), (ev_window_cmd_save_as): Use g_get_user_special_dir when available instead of xdg_user_dir_lookup. svn path=/trunk/; revision=2616
* Plugged memory leak.Hiroyuki Ikezoe2007-07-311-2/+6
| | | | | | | | | | | 2007-07-31 Hiroyuki Ikezoe <poincare@ikezoe.net> * shell/ev-window.c: (file_open_dialog_response_cb): Plugged memory leak. svn path=/trunk/; revision=2605