Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
Commit message (Collapse)AuthorAgeFilesLines
* Move save a copy task to its own job so that it's carried out in a threadCarlos Garcia Campos2007-09-044-128/+250
| | | | | | | | | | | | | | | | | | 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
* Make sure current-page <= end-page in continuous mode. Fixes bug #454950.Carlos Garcia Campos2007-09-031-1/+1
| | | | | | | | | 2007-09-03 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (view_update_range_and_current_page): Make sure current-page <= end-page in continuous mode. Fixes bug #454950. svn path=/trunk/; revision=2655
* Use always drag mouse cursor during a drag operation. Fixes bug #470564.Carlos Garcia Campos2007-09-031-9/+13
| | | | | | | | | | 2007-09-03 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (ev_view_handle_cursor_over_xy), (ev_view_button_release_event), (ev_view_leave_notify_event): Use always drag mouse cursor during a drag operation. Fixes bug #470564. svn path=/trunk/; revision=2653
* Actually fix printing regressions. Remove orientation from EvPrintContextCarlos Garcia Campos2007-09-013-19/+1
| | | | | | | | | | | | | 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-317-43/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-274-16/+43
| | | | | | | | | | | | | | | | | 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-272-2/+2
| | | | | | | | | | | | | 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-253-2/+19
| | | | | | | | | | | | | 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
* Also store in page-cache the dimensions of the thumbnails so that they canCarlos Garcia Campos2007-08-173-12/+120
| | | | | | | | | | | | | 2007-08-17 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-page-cache.c: (ev_page_cache_new), (ev_page_cache_get_thumbnail_size): * shell/ev-sidebar-thumbnails.c: (get_scale_for_page), (ev_sidebar_thumbnails_set_loading_icon): Also store in page-cache the dimensions of the thumbnails so that they can be used to create the correct loading icon in the side pane. Fixes bug #466857. svn path=/trunk/; revision=2630
* Fixes invalid read, see bug #466401.Justin Blanchard2007-08-141-3/+10
| | | | | | | | | | | | 2007-08-14 Justin Blanchard <justinb04@aim.com> * shell/ev-page-cache.c: (build_height_to_page), (ev_page_cache_get_height_to_page): Fixes invalid read, see bug #466401. svn path=/trunk/; revision=2618
* 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
* Do not use cairo_rectangle and cairo_clip since we are not usingCarlos Garcia Campos2007-08-051-20/+14
| | | | | | | | | | 2007-08-05 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (ev_view_expose_event), (draw_one_page): Do not use cairo_rectangle and cairo_clip since we are not using cairo_fill but cairo_paint. Use the same cairo context for every page in the same expose event. svn path=/trunk/; revision=2613
* 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
* Fix a headers problem with ev-linkCarlos Garcia Campos2007-07-304-4/+75
| | | | | | | | | | | | | | | | | | 2007-07-30 Carlos Garcia Campos <carlosgc@gnome.org> * libdocument/ev-document-info.h: * libdocument/ev-document.h: * shell/ev-page-action.h: * shell/ev-sidebar-links.h: Fix a headers problem with ev-link * libdocument/ev-link.[ch]: (ev_link_mapping_get_area): * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_handle_cursor_over_xy), (get_link_area), (ev_view_query_tooltip), (ev_view_leave_notify_event), (ev_view_destroy), (ev_view_class_init): Use new gtk tooltips when available instead of ev-tooltip. svn path=/trunk/; revision=2599
* Do not hide sidebar in fullscreen mode. Fixes bug #396535.Carlos Garcia Campos2007-07-301-4/+2
| | | | | | | | | 2007-07-30 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (update_chrome_visibility), (ev_window_sidebar_visibility_changed_cb): Do not hide sidebar in fullscreen mode. Fixes bug #396535. svn path=/trunk/; revision=2597
* Fix compile warnings.Carlos Garcia Campos2007-07-293-5/+14
| | | | | | | | | | | | | 2007-07-29 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-navigation-action.c: (ev_navigation_action_history_changed), (ev_navigation_action_set_history): * shell/ev-navigation-action-widget.c: (ev_navigation_action_widget_init): * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb): Fix compile warnings. svn path=/trunk/; revision=2596
* Use g_timeout_add_seconds instead of g_timeout_add when available.Carlos Garcia Campos2007-07-293-7/+32
| | | | | | | | | | | | | 2007-07-29 Carlos Garcia Campos <carlosgc@gnome.org> * cut-n-paste/totem-screensaver/totem-scrsaver.c: (screensaver_disable_x11): * shell/ev-metadata-manager.c: (ev_metadata_arm_timeout): * shell/ev-window.c: (presentation_set_timeout): * shell/ev-view.c: (ev_view_presentation_transition_start): Use g_timeout_add_seconds instead of g_timeout_add when available. svn path=/trunk/; revision=2594
* Set horizontal scrollbar policy to AUTOMATIC instead of NEVER. WorkaroundCarlos Garcia Campos2007-07-291-1/+5
| | | | | | | | | 2007-07-29 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_init): Set horizontal scrollbar policy to AUTOMATIC instead of NEVER. Workaround for bug #449462. svn path=/trunk/; revision=2593
* Add page_ready callback to main loop with high priority and hold aCarlos Garcia Campos2007-07-291-1/+4
| | | | | | | | | 2007-07-29 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-jobs.c: (ev_job_render_page_ready): Add page_ready callback to main loop with high priority and hold a reference to job during idle. svn path=/trunk/; revision=2592
* Allow printing multiple pages per sheet. Fixes bug #395573.Carlos Garcia Campos2007-07-293-0/+14
| | | | | | | | | | | | | | | | 2007-07-29 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * backend/pdf/ev-poppler.cc: (pdf_print_context_free), (pdf_document_file_exporter_begin), (pdf_document_file_exporter_do_page), (pdf_document_file_exporter_get_capabilities): * libdocument/ev-file-exporter.h: * shell/ev-jobs.[ch]: (ev_job_print_new), (ev_job_print_run): * shell/ev-window.c: (ev_window_print_send), (ev_window_print_dialog_response_cb): Allow printing multiple pages per sheet. Fixes bug #395573. svn path=/trunk/; revision=2591
* Check for NULL, fixes bug #460862.Nickolay V. Shmyrev2007-07-291-3/+4
| | | | | | | | | | | 2007-07-29 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-view.c: (tip_from_link): Check for NULL, fixes bug #460862. svn path=/trunk/; revision=2590
* s/gtk/gdkNickolay V. Shmyrev2007-07-291-2/+2
| | | | svn path=/trunk/; revision=2589
* Fixes bug #437681 - blocks while enumerating printers.Christian Persch2007-07-291-50/+65
| | | | | | | | | | | | | 2007-07-29 Christian Persch <chpe@gnome.org> * shell/ev-window.c: (ev_window_enumerate_printer_cb), (ev_window_preview_print_finished), (ev_window_do_preview_print), (ev_window_cmd_preview_print): Fixes bug #437681 - blocks while enumerating printers. svn path=/trunk/; revision=2588
* Don't use deprecated gtk+ function. See bug #460909.Christian Persch2007-07-291-16/+7
| | | | | | | | | | | 2007-07-29 Christian Persch <chpe@gnome.org> * shell/ev-window.c: (ev_window_screen_changed): Don't use deprecated gtk+ function. See bug #460909. svn path=/trunk/; revision=2587
* Do not use display before initializing it. Remove compile warnings.Carlos Garcia Campos2007-07-272-10/+12
| | | | | | | | | | 2007-07-27 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-utils.c: (get_num_monitors): * shell/ev-window.c: (ev_window_sizing_mode_changed_cb): Do not use display before initializing it. Remove compile warnings. svn path=/trunk/; revision=2584
* Unix-like hjkl bindings added. See bug #458111.Cosimo Cecchi2007-07-271-0/+9
| | | | | | | | | | | | 2007-07-27 Cosimo Cecchi <anarki@lilik.it> * shell/ev-view.c: (ev_view_class_init): Unix-like hjkl bindings added. See bug #458111. svn path=/trunk/; revision=2583
* Reorganizes utility functions.Johannes Buchner2007-07-276-71/+101
| | | | | | | | | | | | | | | | | | | | 2007-07-27 Johannes Buchner <buchner.johannes@gmx.at> * shell/ev-utils.c: (get_num_monitors), (get_screen_dpi): * shell/ev-utils.h: * shell/ev-view.c: (ev_view_set_zoom_for_size), (ev_view_update_view_size): * shell/ev-view.h: * shell/ev-window.c: (ev_window_update_actions), (setup_view_from_metadata), (ev_window_screen_changed), (ev_window_sizing_mode_changed_cb), (ev_window_zoom_changed_cb), (zoom_control_changed_cb): * shell/ev-window.h: Reorganizes utility functions. svn path=/trunk/; revision=2582
* Add page_ready signal to notify that page is ready as soon as possibleCarlos Garcia Campos2007-07-263-52/+129
| | | | | | | | | | | | | | | | | | | 2007-07-26 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-pixbuf-cache.c: (job_page_ready_cb), (job_finished_cb), (copy_job_page_and_selection_to_job_info), (copy_job_to_job_info), (add_job), (ev_pixbuf_cache_get_surface), (ev_pixbuf_cache_get_link_mapping), (ev_pixbuf_cache_get_image_mapping), (ev_pixbuf_cache_get_form_field_mapping), (ev_pixbuf_cache_get_text_mapping): * shell/ev-jobs.[ch]: (ev_job_render_class_init), (notify_page_ready), (ev_job_render_page_ready), (ev_job_render_run): Add page_ready signal to notify that page is ready as soon as possible even if other page elements like links, forms, images or text mapping are not ready yet. svn path=/trunk/; revision=2581
* Use capabilities to know which options should be offered by the printCarlos Garcia Campos2007-07-263-60/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-07-26 Carlos Garcia Campos <carlosgc@gnome.org> * backend/dvi/dvi-document.c: (dvi_document_file_exporter_begin), (dvi_document_file_exporter_do_page), (dvi_document_file_exporter_get_capabilities), (dvi_document_file_exporter_iface_init): * backend/ps/ps-document.c: (ps_document_file_exporter_begin), (ps_document_file_exporter_do_page), (ps_document_file_exporter_get_capabilities), (ps_document_file_exporter_iface_init): * backend/djvu/djvu-document.c: (djvu_document_file_exporter_begin), (djvu_document_file_exporter_end), (djvu_document_file_exporter_get_capabilities), (djvu_document_file_exporter_iface_init): * backend/tiff/tiff-document.c: (tiff_document_file_exporter_begin), (tiff_document_file_exporter_get_capabilities), (tiff_document_document_file_exporter_iface_init): * backend/pdf/ev-poppler.cc: (pdf_document_file_exporter_begin), (pdf_document_file_exporter_do_page), (pdf_document_file_exporter_get_capabilities), (pdf_document_file_exporter_iface_init): * libdocument/ev-file-exporter.[ch]: (ev_file_exporter_begin), (ev_file_exporter_get_capabilities): * shell/ev-print-job.c: (ev_print_job_use_print_dialog_settings), (idle_print_handler), (ev_print_job_print): * shell/ev-jobs.c: (ev_job_print_run): * shell/ev-window.c: (ev_window_print_send), (ev_window_print_range): Use capabilities to know which options should be offered by the print dialog depending on the document backend. svn path=/trunk/; revision=2580
* Give priority to forms over text to set the cursor.Carlos Garcia Campos2007-07-251-2/+2
| | | | | | | | 2007-07-25 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (ev_view_handle_cursor_over_xy): Give priority to forms over text to set the cursor. svn path=/trunk/; revision=2578
* Use IBEAM cursor for text form fields and NORMAL cursor for read onlyCarlos Garcia Campos2007-07-242-48/+18
| | | | | | | | | | | | 2007-07-24 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_handle_cursor_over_xy), (ev_view_leave_notify_event), (ev_view_finalize), (ev_view_get_property), (ev_view_class_init): Use IBEAM cursor for text form fields and NORMAL cursor for read only fields. Remove unused status attribute. svn path=/trunk/; revision=2577
* Update region for current selected items also for checkbox buttons, sinceCarlos Garcia Campos2007-07-201-26/+18
| | | | | | | | | | 2007-07-20 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (ev_view_form_field_button_create_widget): Update region for current selected items also for checkbox buttons, since they can behave as radio buttons when they are in a set. svn path=/trunk/; revision=2576
* Fix build with current poppler cvs head.Carlos Garcia Campos2007-07-191-4/+2
| | | | | | | | | | 2007-07-19 Carlos Garcia Campos <carlosgc@gnome.org> * backend/pdf/ev-poppler.cc: (ev_form_field_from_poppler_field): * libdocument/ev-form-field.h: * shell/ev-view.c: (ev_view_form_field_text_create_widget): Fix build with current poppler cvs head. svn path=/trunk/; revision=2574
* Fix build with gtk+ >= 2.11.5 due to gtktooltips deprecation. Fixes bugCarlos Garcia Campos2007-07-111-0/+16
| | | | | | | | | | 2007-07-11 Carlos Garcia Campos <carlosgc@gnome.org> * cut-n-paste/zoom-control/ephy-zoom-control.c: * shell/eggfindbar.c: (egg_find_bar_init): Fix build with gtk+ >= 2.11.5 due to gtktooltips deprecation. Fixes bug #455667 svn path=/trunk/; revision=2571
* Fix a crash when closing whith a form widget visible.Carlos Garcia Campos2007-07-091-1/+7
| | | | | | | | | 2007-07-09 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (ev_view_form_field_text_save), (ev_view_form_field_choice_save): Fix a crash when closing whith a form widget visible. svn path=/trunk/; revision=2567
* Update also the region of the current selected button when clicking onCarlos Garcia Campos2007-07-091-11/+51
| | | | | | | | | 2007-07-09 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (ev_view_form_field_button_create_widget): Update also the region of the current selected button when clicking on another button if they are radio buttons. svn path=/trunk/; revision=2566
* Redraw only form field region instead of the whole page when reloading aCarlos Garcia Campos2007-07-093-39/+104
| | | | | | | | | | | | | | | | | | | 2007-07-09 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-pixbuf-cache.[ch]: (ev_pixbuf_cache_class_init), (dispose_cache_job_info), (job_finished_cb), (move_one_job), (add_job), (add_job_if_needed), (ev_pixbuf_cache_get_surface), (ev_pixbuf_cache_get_link_mapping), (ev_pixbuf_cache_get_image_mapping), (ev_pixbuf_cache_get_form_field_mapping), (ev_pixbuf_cache_get_text_mapping), (ev_pixbuf_cache_reload_page): * shell/ev-view.c: (ev_view_form_field_get_region), (ev_view_form_field_button_create_widget), (ev_view_form_field_text_save), (ev_view_form_field_choice_save), (job_finished_cb): Redraw only form field region instead of the whole page when reloading a page to show changes on the form field. svn path=/trunk/; revision=2565
* Fix selection of first item in list form fields.Carlos Garcia Campos2007-07-091-7/+7
| | | | | | | | 2007-07-09 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (ev_view_form_field_choice_save): Fix selection of first item in list form fields. svn path=/trunk/; revision=2563
* Some refactoring to avoid duplicated code.Carlos Garcia Campos2007-07-091-96/+53
| | | | | | | | | | 2007-07-09 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-pixbuf-cache.c: (add_job), (add_job_if_needed), (ev_pixbuf_cache_reload_page), (ev_pixbuf_cache_get_form_field_mapping): Some refactoring to avoid duplicated code. svn path=/trunk/; revision=2562
* Merge evince-forms branch.Carlos Garcia Campos2007-07-087-80/+711
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-07-08 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * backend/pdf/ev-poppler.cc: (pdf_document_get_crop_box), (ev_form_field_from_poppler_field), (pdf_document_forms_get_form_fields), (pdf_document_forms_form_field_text_get_text), (pdf_document_forms_form_field_text_set_text), (pdf_document_forms_form_field_button_set_state), (pdf_document_forms_form_field_button_get_state), (pdf_document_forms_form_field_choice_get_item), (pdf_document_forms_form_field_choice_get_n_items), (pdf_document_forms_form_field_choice_is_item_selected), (pdf_document_forms_form_field_choice_select_item), (pdf_document_forms_form_field_choice_toggle_item), (pdf_document_forms_form_field_choice_unselect_all), (pdf_document_forms_form_field_choice_set_text), (pdf_document_forms_form_field_choice_get_text), (pdf_document_document_forms_iface_init): * libdocument/Makefile.am: * libdocument/ev-form-field.[ch]: * libdocument/ev-document-forms.[ch]: * shell/ev-pixbuf-cache.[ch]: (dispose_cache_job_info), (move_one_job), (copy_job_to_job_info), (add_job_if_needed), (add_job), (ev_pixbuf_cache_reload_page), (ev_pixbuf_cache_get_form_field_mapping): * shell/ev-jobs.[ch]: (ev_job_render_new), (ev_job_render_run): * shell/ev-view-private.h: * shell/ev-view.[ch]: (ev_view_set_scroll_adjustments), (ev_view_handle_cursor_over_xy), (ev_view_get_form_field_at_location), (ev_view_forms_remove_widgets), (ev_view_form_field_destroy), (ev_view_form_field_button_create_widget), (ev_view_form_field_text_save), (ev_view_form_field_text_changed), (ev_view_form_field_text_create_widget), (ev_view_form_field_choice_save), (ev_view_form_field_choice_changed), (ev_view_form_field_choice_create_widget), (ev_view_handle_form_field), (ev_view_size_allocate), (ev_view_realize), (draw_end_presentation_page), (ev_view_button_press_event), (ev_view_remove_all), (ev_view_motion_notify_event), (ev_view_key_press_event), (ev_view_enter_notify_event), (highlight_find_results), (draw_loading_text), (draw_one_page), (ev_view_destroy), (ev_view_class_init), (page_changed_cb), (on_adjustment_value_changed), (ev_view_set_presentation), (merge_selection_region), (ev_view_set_cursor), (ev_view_reset_presentation_state): Merge evince-forms branch. svn path=/trunk/; revision=2560
* Adds a nice icon to page action during toolbar editing. See bug #452872.Jaap Haitsma2007-07-021-0/+1
| | | | | | | | | | | | 2007-07-02 Jaap Haitsma <jaap@haitsma.org> * shell/ev-window.c: Adds a nice icon to page action during toolbar editing. See bug #452872. svn path=/trunk/; revision=2539
* 2007-07-02 Nickolay V. Shmyrev <nshmyrev@yandex.ruNickolay V. Shmyrev2007-07-021-2/+2
| | | | | | | | | | | * data/evince-toolbar.xml: * shell/ev-window.c: Let user add a presentation and fullscreen icons on toolbar. See bug #449734. svn path=/trunk/; revision=2538
* Do not connect selection changed signal more than once. Fixes bug #349433.Carlos Garcia Campos2007-07-011-8/+16
| | | | | | | | | 2007-07-01 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-sidebar-links.c: (job_finished_callback): Do not connect selection changed signal more than once. Fixes bug #349433. svn path=/trunk/; revision=2531
* Do not change sidebar chrome flag when pressing F9 key in presentationCarlos Garcia Campos2007-06-291-1/+4
| | | | | | | | | 2007-06-29 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_view_sidebar_cb): Do not change sidebar chrome flag when pressing F9 key in presentation mode. svn path=/trunk/; revision=2527