Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-window.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fix memory leaks.Ricardo Markiewicz2006-08-041-1/+17
| | | | | | | | | | 2006-08-04 Ricardo Markiewicz <rmarkie@fi.uba.ar> * shell/ev-window.c: (setup_document_from_metadata), (setup_chrome_from_metadata), (setup_sidebar_from_metadata), (setup_view_from_metadata): Fix memory leaks.
* GtkPrintJob doesn't support print ranges or current page, so we export toCarlos Garcia Campos2006-07-261-21/+71
| | | | | | | | | 2006-07-26 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-jobs.[ch]: * shell/ev-sidebar-links.c: * shell/ev-window.[ch]: GtkPrintJob doesn't support print ranges or current page, so we export to a ps file now when printing ranges or current page.
* We should be more clear about bugzilla. See the poppler bug #7623.Nickolay V. Shmyrev2006-07-261-1/+3
| | | | | | | | | | 2006-07-26 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * pdf/ev-poppler.cc: * shell/ev-window.c: (do_action_named): We should be more clear about bugzilla. See the poppler bug #7623.
* Use GtkPrint instead of GnomePrint when it's available. Fixes bug #348422Carlos Garcia Campos2006-07-231-78/+361
| | | | | | | | | | | | 2006-07-23 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * shell/Makefile.am: * shell/ev-job-queue.c: * shell/ev-jobs.[ch]: * shell/ev-sidebar-links.c: * shell/ev-window.[ch]: Use GtkPrint instead of GnomePrint when it's available. Fixes bug #348422
* Add preview toolbar (hidden by default)Carlos Garcia Campos2006-07-171-3/+53
| | | | | | | | | | | | | 2006-07-17 Carlos Garcia Campos <carlosgc@gnome.org> * data/evince-toolbar.xml: Add preview toolbar (hidden by default) * shell/ev-application-service.xml: * shell/ev-application.[ch]: * shell/ev-jobs.[ch]: * shell/ev-window.[ch]: (ev_window_run_preview): * shell/main.c: Add preview mode to use evince as a printing previewer. It also adds other command line options for fullscreen and presentation modes. Fixes bugs #347822, #317031
* Fixes bug #344160: if the xfer job doesn't complete because a password isNickolay V. Shmyrev2006-06-091-17/+3
| | | | | | | | | | * shell/ev-jobs.c: (ev_job_xfer_run): * shell/ev-window.c: (password_dialog_response), (ev_window_popup_password_dialog), (ev_window_xfer_job_cb), (ev_window_dispose): Fixes bug #344160: if the xfer job doesn't complete because a password is required, reload the existing instance instead of creating a new one.
* Don't crash on reload. Fix for the bug #343167.Nickolay V. Shmyrev2006-05-291-21/+5
| | | | | | | | | * shell/ev-jobs.c: (ev_job_xfer_dispose), (ev_job_xfer_new): * shell/ev-jobs.h: * shell/ev-window.c: (ev_window_xfer_job_cb), (ev_window_open_uri), (ev_window_cmd_view_reload), (ev_window_init): Don't crash on reload. Fix for the bug #343167.
* Use consistent quoting style. Fix for the bug #320285.Nickolay V. Shmyrev2006-05-271-2/+2
| | | | | | | | | | | | | | | | | * backend/ev-attachment.c: (ev_attachment_save), (ev_attachment_launch_app), (ev_attachment_open): * backend/ev-document-factory.c: (get_document_from_uri): * cut-n-paste/recent-files/egg-recent-view-uimanager.c: (egg_recent_view_uimanager_set_list): * ps/ps-document.c: (check_filecompressed), (document_load), (ps_document_load): * shell/ev-metadata-manager.c: (load_values): * shell/ev-password.c: (ev_password_dialog_set_property): * shell/ev-view.c: (tip_from_link): * shell/ev-window.c: (file_save_dialog_response_cb), (ev_window_print_dialog_response_cb): Use consistent quoting style. Fix for the bug #320285.
* Fix page-label command line option. Bug #342070.Nickolay V. Shmyrev2006-05-271-10/+0
| | | | | | | | | | | | | | | * backend/ev-link-dest.c: (ev_link_dest_type_get_type), (ev_link_dest_get_page_label), (ev_link_dest_get_property), (ev_link_dest_set_property), (ev_link_dest_finalize), (ev_link_dest_class_init), (ev_link_dest_new_named), (ev_link_dest_new_page_label): * backend/ev-link-dest.h: * shell/ev-application.c: (ev_application_open_uri): * shell/ev-view.c: (goto_dest): * shell/ev-window.c: * shell/ev-window.h: Fix page-label command line option. Bug #342070.
* Setup sidebar from metadata even if there is no document loaded. Fix forNickolay V. Shmyrev2006-05-271-9/+6
| | | | | | | | * shell/ev-window.c: (setup_sidebar_from_metadata), (ev_window_sidebar_visibility_changed_cb), (ev_window_init): Setup sidebar from metadata even if there is no document loaded. Fix for the bug #342807.
* Sync toolbareditor with epiphany and libeggNickolay V. Shmyrev2006-05-261-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cut-n-paste/toolbar-editor/Makefile.am: * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (get_dock_position), (get_toolbar_position), (get_toolbar_nth), (find_action), (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb), (drag_data_get_cb), (move_item_cb), (remove_item_cb), (remove_toolbar_cb), (popup_context_deactivate), (popup_context_menu_cb), (button_press_event_cb), (configure_item_sensitivity), (configure_item_cursor), (configure_item_tooltip), (connect_widget_signals), (action_sensitive_cb), (create_item_from_action), (create_item_from_position), (toolbar_drag_data_received_cb), (toolbar_drag_drop_cb), (toolbar_drag_motion_cb), (toolbar_drag_leave_cb), (configure_drag_dest), (toggled_visibility_cb), (toolbar_visibility_refresh), (create_dock), (toolbar_changed_cb), (unparent_fixed), (update_fixed), (toolbar_added_cb), (toolbar_removed_cb), (item_added_cb), (item_removed_cb), (egg_editable_toolbar_build), (egg_editable_toolbar_set_model), (egg_editable_toolbar_init), (egg_editable_toolbar_dispose), (egg_editable_toolbar_set_ui_manager), (egg_editable_toolbar_get_selected), (egg_editable_toolbar_set_selected), (set_edit_mode), (egg_editable_toolbar_set_property), (egg_editable_toolbar_get_property), (egg_editable_toolbar_class_init), (egg_editable_toolbar_new), (egg_editable_toolbar_new_with_model), (egg_editable_toolbar_get_edit_mode), (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_add_visibility), (egg_editable_toolbar_show), (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed): * cut-n-paste/toolbar-editor/egg-editable-toolbar.h: * cut-n-paste/toolbar-editor/egg-toolbar-editor.c: (compare_items), (item_added_or_removed_cb), (toolbar_removed_cb), (egg_toolbar_editor_set_model), (egg_toolbar_editor_class_init), (egg_toolbar_editor_finalize), (drag_begin_cb), (drag_end_cb), (drag_data_get_cb), (set_drag_cursor), (editor_create_item), (editor_create_item_from_name), (append_table), (update_editor_sheet), (egg_toolbar_editor_init): * cut-n-paste/toolbar-editor/egg-toolbar-editor.h: * cut-n-paste/toolbar-editor/egg-toolbars-model.c: (egg_toolbars_model_to_xml), (egg_toolbars_model_save_toolbars), (is_unique), (toolbar_node_new), (item_node_new), (item_node_free), (toolbar_node_free), (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags), (egg_toolbars_model_get_data), (egg_toolbars_model_get_name), (impl_add_item), (egg_toolbars_model_add_item), (egg_toolbars_model_add_toolbar), (parse_data_list), (parse_item_list), (parse_toolbars), (egg_toolbars_model_load_toolbars), (parse_available_list), (parse_names), (egg_toolbars_model_load_names), (egg_toolbars_model_class_init), (egg_toolbars_model_init), (egg_toolbars_model_finalize), (egg_toolbars_model_remove_toolbar), (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item), (egg_toolbars_model_delete_item), (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth), (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth), (egg_toolbars_model_get_types), (egg_toolbars_model_set_types), (fill_avail_array), (egg_toolbars_model_get_name_avail), (egg_toolbars_model_get_name_flags), (egg_toolbars_model_set_name_flags): * cut-n-paste/toolbar-editor/egg-toolbars-model.h: * cut-n-paste/toolbar-editor/eggintl.h: * cut-n-paste/toolbar-editor/eggtreemultidnd.c: (egg_tree_multi_drag_source_get_type), (egg_tree_multi_drag_source_row_draggable), (egg_tree_multi_drag_source_drag_data_delete), (egg_tree_multi_drag_source_drag_data_get), (stop_drag_check), (egg_tree_multi_drag_button_release_event), (selection_foreach), (path_list_free), (set_context_data), (get_context_data), (get_info), (egg_tree_multi_drag_drag_data_get), (egg_tree_multi_drag_motion_event), (egg_tree_multi_drag_button_press_event), (egg_tree_multi_drag_add_drag_support): * cut-n-paste/toolbar-editor/eggtreemultidnd.h: * shell/ev-application.c: (ev_application_init), (ev_application_save_toolbars_model): * shell/ev-window.c: (ev_window_create_fullscreen_popup), (ev_window_cmd_edit_toolbar), (ev_window_init): Sync toolbareditor with epiphany and libegg
* Do not wrap license. Fix for the bug #309460.Nickolay V. Shmyrev2006-05-131-8/+9
| | | | | | * shell/ev-window.c: (ev_window_cmd_help_about): Do not wrap license. Fix for the bug #309460.
* Bump requirements to gtk 2.8 and drop all idfefs used.Nickolay V. Shmyrev2006-05-131-5/+0
| | | | | | | | | | | | | | | | * configure.ac: * properties/ev-properties-main.c: (ev_properties_get_pages): * shell/ev-application.c: (ev_application_open_window), (ev_application_open_uri_at_dest): * shell/ev-sidebar-attachments.c: (ev_sidebar_attachments_init): * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb), (ev_sidebar_thumbnails_use_icon_view), (page_changed_cb): * shell/ev-utils.c: (save_print_config_to_file): * shell/ev-window.c: (ev_window_cmd_save_as), (ev_attachment_popup_cmd_save_attachment_as): * shell/main.c: (load_files_remote): Bump requirements to gtk 2.8 and drop all idfefs used.
* Show attachments page.Nickolay V. Shmyrev2006-05-111-12/+12
| | | | | | | * shell/ev-sidebar-attachments.c: (ev_sidebar_attachments_init): * shell/ev-window.c: (ev_window_init): Show attachments page.
* Move attachments bar to sidebar.Nickolay V. Shmyrev2006-05-101-55/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * po/POTFILES.in: * properties/Makefile.am: * shell/Makefile.am: * shell/ev-attachment-bar.c: * shell/ev-attachment-bar.h: * shell/ev-sidebar-attachments.c: (ev_sidebar_attachments_icon_cache_add), (icon_theme_get_pixbuf_from_mime_type), (ev_sidebar_attachments_icon_cache_get), (icon_cache_update_icon), (ev_sidebar_attachments_icon_cache_refresh), (ev_sidebar_attachments_get_attachment_at_pos), (ev_sidebar_attachments_popup_menu_show), (ev_sidebar_attachments_popup_menu), (ev_sidebar_attachments_button_press), (ev_sidebar_attachments_update_icons), (ev_sidebar_attachments_drag_data_get), (ev_sidebar_attachments_get_property), (ev_sidebar_attachments_destroy), (ev_sidebar_attachments_class_init), (ev_sidebar_attachments_init), (ev_sidebar_attachments_new), (ev_sidebar_attachments_set_document), (ev_sidebar_attachments_support_document), (ev_sidebar_attachments_get_label), (ev_sidebar_attachments_page_iface_init): * shell/ev-sidebar-attachments.h: * shell/ev-window.c: (update_chrome_visibility), (setup_sidebar_from_metadata), (ev_window_setup_document), (ev_window_sidebar_current_page_changed_cb), (attachment_bar_menu_popup_cb), (ev_window_init): * thumbnailer/Makefile.am: Move attachments bar to sidebar.
* Update sidebar chrome flag when sidebar visibility changes. Fixes bugCarlos Garcia Campos2006-05-081-8/+4
| | | | | | | 2006-05-08 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_sidebar_visibility_changed_cb): Update sidebar chrome flag when sidebar visibility changes. Fixes bug #341049
* Update fullscreen and presentation timeout handling. Hide cursor inNickolay V. Shmyrev2006-05-051-95/+80
| | | | | | | | | | | | | | | | | | | | * data/evince.desktop.in.in: * shell/ev-view.c: (view_update_range_and_current_page), (ev_view_next_page), (ev_view_previous_page): * shell/ev-window.c: (update_chrome_visibility), (setup_sidebar_from_metadata), (ev_window_setup_document), (ev_window_update_fullscreen_popup), (fullscreen_timeout_cb), (fullscreen_set_timeout), (fullscreen_clear_timeout), (fullscreen_motion_notify_cb), (ev_window_run_fullscreen), (ev_window_stop_fullscreen), (ev_window_run_presentation), (ev_window_stop_presentation), (ev_window_focus_in_event), (ev_window_focus_out_event), (ev_window_view_sidebar_cb), (ev_window_init): * thumbnailer/Makefile.am: Update fullscreen and presentation timeout handling. Hide cursor in presentation after timeout. Fix for the bugs #136359 and #336981.
* Add support for Named Action linksCarlos Garcia Campos2006-05-041-0/+26
| | | | | | | | | | 2006-05-03 Carlos Garcia Campos <carlosgc@gnome.org> * backend/ev-link-action.[ch]: * pdf/ev-poppler.cc: (ev_link_from_action): * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_handle_link), (tip_from_action_named): * shell/ev-window.c: (do_action_named), (view_external_link_cb): Add support for Named Action links
* Rework links system, it adds support for remote links now and it makesCarlos Garcia Campos2006-05-021-92/+141
| | | | | | | | | | | | | | | | | | | | | | | | 2006-05-02 Carlos Garcia Campos <carlosgc@gnome.org> * backend/Makefile.am: * backend/ev-document-links.[ch]: * backend/ev-document.[ch]: * backend/ev-link-action.[ch]: * backend/ev-link-dest.[ch]: * backend/ev-link.[ch]: * pdf/ev-poppler.cc: (pdf_document_find_link_dest), (ev_link_dest_from_dest), (ev_link_from_action), (build_tree): * shell/ev-page-action.c: (build_new_tree_cb): * shell/ev-sidebar-links.c: (get_page_from_dest), (print_section_cb), (links_page_num_func), (update_page_callback): * shell/ev-view.[ch]: (ev_view_goto_dest), (ev_view_handle_link), (tip_from_link): * shell/ev-jobs.c: * shell/ev-window.[ch]: (ev_window_open_uri), (sidebar_links_link_activated_cb), (ev_view_popup_cmd_open_link): * shell/ev-application.[ch]: (ev_application_open_window), (ev_application_open_uri): Rework links system, it adds support for remote links now and it makes easier to add new kinds of actions and destinations. Fixes bug #317292
* Evince use it's own icon. Fix for the bug #313392.Nickolay V. Shmyrev2006-05-021-21/+15
| | | | | | | | | | | | | | | | | * data/Makefile.am: * data/evince.png: * data/evince-16.png: * data/evince-22.png: * data/evince.svg: * shell/main.c: (main): Evince use it's own icon. Fix for the bug #313392. * shell/ev-window.c: (fullscreen_timeout_cb), (fullscreen_set_timeout), (fullscreen_clear_timeout), (ev_window_cmd_help_about), (ev_window_dispose): Simplify fullscreen timeout code.
* Allow multiple selection of attachmentsCarlos Garcia Campos2006-04-301-45/+100
| | | | | | | | 2006-04-29 Carlos Garcia Campos <carlosgc@gnome.org> * backend/ev-attachment.c: * shell/ev-attachment-bar.c: * shell/ev-window.c: Allow multiple selection of attachments
* Add ellipsis to the Find... menu item, as dictated by the GNOME HIG. FixesWouter Bolsterlee2006-04-211-1/+1
| | | | | | | 2006-04-21 Wouter Bolsterlee <uws+gnome@xs4all.nl> * shell/ev-window.c: Add ellipsis to the Find... menu item, as dictated by the GNOME HIG. Fixes bug #339235.
* Add support for "Find Previous" as dictated by the GNOME HIG. A menu itemWouter Bolsterlee2006-04-201-0/+12
| | | | | | | | | | | | | | 2006-04-20 Wouter Bolsterlee <uws+gnome@xs4all.nl> * data/evince-ui.xml: * shell/ev-view.c: (ev_view_can_find_previous): * shell/ev-view.h: * shell/ev-window.c: (ev_window_update_actions), (ev_window_cmd_edit_find_previous): Add support for "Find Previous" as dictated by the GNOME HIG. A menu item is added and some glue code to make it all work is added to various files.
* Add support for PDF attachments. Fixes bug #325143Nickolay V. Shmyrev2006-04-031-66/+228
| | | | | | | | | | | | | | | | * backend/Makefile.am: * data/evince-ui.xml: * backend/ev-attachment.[ch]: * backend/ev-document.[ch]: (ev_document_has_attachments), (ev_document_get_attachments): * pdf/ev-poppler.cc: (pdf_document_has_attachments), (attachment_save_to_buffer), (pdf_document_get_attachments), (pdf_document_document_iface_init): * shell/Makefile.am: * shell/ev-attachment-bar.[ch]: * shell/ev-window.c: Add support for PDF attachments. Fixes bug #325143
* Cleanup mime type detection on document load. Fix for the bug #336448.Nickolay V. Shmyrev2006-04-021-144/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * backend/ev-document-factory.c: (get_document_from_uri), (ev_document_factory_get_document): * backend/ev-document-factory.h: * properties/ev-properties-main.c: (ev_properties_get_pages): * shell/Makefile.am: * 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-job-queue.h: * shell/ev-job-xfer.c: * shell/ev-job-xfer.h: * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init), (ev_job_fonts_new), (ev_job_fonts_run), (ev_job_xfer_init), (ev_job_xfer_dispose), (ev_job_xfer_class_init), (ev_job_xfer_new), (ev_job_xfer_run): * shell/ev-jobs.h: * shell/ev-window.c: (ev_window_is_empty), (password_dialog_response), (ev_window_clear_xfer_job), (ev_window_xfer_job_cb), (ev_window_open_uri), (ev_window_cmd_focus_page_selector), (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward), (ev_window_cmd_continuous), (ev_window_cmd_dual), (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width), (ev_window_dispose): * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get): * Cleanup mime type detection on document load. Fix for the bug #336448.
* Rework factory functions so they are placed now in a single fileNickolay V. Shmyrev2006-03-301-3/+3
| | | | | | | | | | | | | | | | | | | | * backend/ev-document-factory.c: (ev_document_factory_get_from_mime), (ev_document_factory_get_all_mime_types), (get_document_from_uri), (ev_document_factory_get_document), (file_filter_add_mime_list_and_free), (ev_document_factory_add_filters): * backend/ev-document-factory.h: * properties/ev-properties-main.c: (ev_properties_get_pages): * shell/Makefile.am: * shell/ev-application.c: * shell/ev-job-xfer.c: (ev_job_xfer_run): * shell/ev-window.c: (ev_window_cmd_file_open), (ev_window_cmd_save_as): * thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get): Rework factory functions so they are placed now in a single file ev-document-factory.c
* Fix for the bug 166566 - don't show menubar in fullscreen mode.Nickolay V. Shmyrev2006-03-281-4/+4
| | | | | | | * shell/ev-window.c: (update_chrome_visibility): Fix for the bug 166566 - don't show menubar in fullscreen mode.
* Fix for the bug #333902, now it's possible to search words with slash.Nickolay V. Shmyrev2006-03-211-144/+132
| | | | | | | | | | | | | | | | | * shell/ev-window.c: (ev_window_set_action_sensitive), (ev_window_setup_action_sensitivity), (ev_window_update_actions), (ev_window_set_view_accels_sensitivity), (update_chrome_visibility), (ev_window_cmd_focus_page_selector), (ev_window_cmd_continuous), (ev_window_cmd_dual), (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width), (find_changed_cb), (page_changed_cb), (ev_window_setup_document), (ev_window_cmd_edit_find), (ev_window_set_page_mode), (ev_window_cmd_edit_toolbar_cb), (ev_window_zoom_changed_cb), (ev_window_has_selection_changed_cb), (find_bar_search_changed_cb), (view_actions_focus_in_cb), (ev_window_init): Fix for the bug #333902, now it's possible to search words with slash.
* Dont't jump to find result if window was scrolled during search. Fix forNickolay V. Shmyrev2006-02-241-0/+1
| | | | | | | | | | | | * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_scroll), (ev_view_scroll_event), (ev_view_init), (find_changed_cb), (ev_view_find_previous), (ev_view_search_changed): * shell/ev-view.h: * shell/ev-window.c: (find_bar_search_changed_cb): Dont't jump to find result if window was scrolled during search. Fix for the bug #313266.
* Fix for the bug 319133 - Find entry should allow text scroll.Stanislav Slusny2006-02-201-2/+12
| | | | | | | | | | | | | | | | | | 2006-02-21 Stanislav Slusny <slusnys@gmail.com> * shell/eggfindbar.c: (egg_find_bar_class_init): * shell/eggfindbar.h: * shell/ev-view-accessible.c: (ev_view_accessible_idle_do_action): * shell/ev-view-private.h: * shell/ev-view.c: (add_scroll_binding_keypad), (ev_view_scroll), (ev_view_class_init), (ev_sizing_mode_get_type), (ev_scroll_type_get_type): * shell/ev-view.h: * shell/ev-window.c: (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward), (find_bar_scroll), (ev_window_init): Fix for the bug 319133 - Find entry should allow text scroll.
* Ask filechooser to confirm overwrite. Fix for the bug #328266. Thanks toNickolay V. Shmyrev2006-02-181-1/+4
| | | | | | | | * configure.ac: * shell/ev-window.c: (ev_window_cmd_save_as): Ask filechooser to confirm overwrite. Fix for the bug #328266. Thanks to Gary Coady <gary@lyranthe.org>
* Allow to add sidebar checkbutton on toolbar. Fix for the bug #144577.Nickolay V. Shmyrev2006-02-161-1/+1
| | | | | | | | * data/evince-toolbar.xml: * shell/ev-window.c: Allow to add sidebar checkbutton on toolbar. Fix for the bug #144577.
* Make printing support optional. Patch from Eduardo de Barros LimaNickolay V. Shmyrev2006-02-101-2/+19
| | | | | | | | | | | | | | * configure.ac: * shell/Makefile.am: * shell/ev-sidebar-links.c: (print_section_cb): * shell/ev-utils.c: * shell/ev-utils.h: * shell/ev-window.c: (update_action_sensitivity), (ev_window_close_dialogs), (ev_window_print): * shell/ev-window.h: Make printing support optional. Patch from Eduardo de Barros Lima <eduardo.lima@indt.org.br> for the bug #330546.
* Draw Loading message during xfer job. Fix for the bug #329495.Nickolay V. Shmyrev2006-02-071-7/+4
| | | | | | | | | | | | * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_expose_event), (ev_view_set_loading), (ev_view_set_document): * shell/ev-view.h: * shell/ev-window.c: (ev_window_load_job_cb), (ev_window_xfer_job_cb), (ev_window_open_uri), (ev_window_dispose), (ev_window_init): Draw Loading message during xfer job. Fix for the bug #329495.
* Save last uri in file chooser dialog. Fix for the bug #327950.Nickolay V. Shmyrev2006-01-211-1/+6
| | | | | | | | | | * shell/ev-application.c: (ev_application_shutdown), (ev_application_set_chooser_uri), (ev_application_get_chooser_uri): * shell/ev-application.h: * shell/ev-window.c: (file_open_dialog_response_cb), (ev_window_cmd_file_open): Save last uri in file chooser dialog. Fix for the bug #327950.