1. 08 Apr, 2009 3 commits
    • Carlos Garcia Campos's avatar
      Use g_error_matches() instead of manually check error code and domain. · bc88b9f7
      Carlos Garcia Campos authored
      2009-04-08  Carlos Garcia Campos  <carlosgc@gnome.org>
      
      	* shell/ev-window.c: (window_open_file_copy_ready_cb),
      	(reload_remote_copy_ready_cb), (window_save_file_copy_ready_cb):
      
      	Use g_error_matches() instead of manually check error code and
      	domain.
      
      svn path=/trunk/; revision=3583
      bc88b9f7
    • Carlos Garcia Campos's avatar
      Delete the temp symlink created when opening a copy. · dcbfea19
      Carlos Garcia Campos authored
      2009-04-08  Carlos Garcia Campos  <carlosgc@gnome.org>
      
      	* shell/ev-window.c: (ev_window_clear_temp_symlink),
      	(ev_window_dispose):
      
      	Delete the temp symlink created when opening a copy.
      
      svn path=/trunk/; revision=3582
      dcbfea19
    • Carlos Garcia Campos's avatar
      Remove the preview mode from EvWindow. EvPrintOperation now launches · e5c6189a
      Carlos Garcia Campos authored
      2009-04-08  Carlos Garcia Campos  <carlosgc@gnome.org>
      
      	* data/evince-ui.xml:
      	* shell/ev-application.[ch]: (ev_application_open_uri_at_dest),
      	(ev_application_open_uri), (ev_application_open_uri_list):
      	* shell/ev-print-operation.c: (export_print_done):
      	* shell/ev-window.[ch]: (ev_window_setup_action_sensitivity),
      	(update_chrome_visibility), (ev_window_clear_local_uri),
      	(ev_window_load_job_cb), (window_open_file_copy_ready_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_dispose), (open_remote_link):
      	* shell/main.c: (launch_previewer), (arguments_parse), (main):
      
      	Remove the preview mode from EvWindow. EvPrintOperation now
      	launches evince-previewer. The preview mode command line options
      	have not been removed to keep backwards compatibility, launching
      	evince-previewer when evince is run in preview mode.
      
      svn path=/trunk/; revision=3579
      e5c6189a
  2. 06 Apr, 2009 1 commit
    • Carlos Garcia Campos's avatar
      Move ev_view_update_view_size() from libview to ev-window again and make · 8a6f3e4f
      Carlos Garcia Campos authored
      2009-04-06  Carlos Garcia Campos  <carlosgc@gnome.org>
      
      	* libview/ev-view.[ch]: (ev_view_set_zoom),
      	(ev_view_update_view_size):
      	* shell/ev-window.c: (ev_window_set_view_size),
      	(ev_window_sizing_mode_changed_cb), (ev_window_init):
      
      	Move ev_view_update_view_size() from libview to ev-window again
      	and make sure the view is not redrawn when calling
      	ev_view_set_zoom more than once with the same zoom scale.
      
      svn path=/trunk/; revision=3573
      8a6f3e4f
  3. 05 Apr, 2009 1 commit
  4. 24 Mar, 2009 1 commit
    • Christian Persch's avatar
      Set alternative button order for dialogues. · 7db6cfd8
      Christian Persch authored
      	* shell/ev-window.c: (ev_window_cmd_save_as),
      	(ev_window_cmd_file_close_window),
      	(ev_view_popup_cmd_save_image_as),
      	(ev_attachment_popup_cmd_save_attachment_as): Set alternative button
      	order for dialogues.
      
      svn path=/trunk/; revision=3556
      7db6cfd8
  5. 01 Mar, 2009 1 commit
  6. 15 Feb, 2009 1 commit
    • Christian Persch's avatar
      Use g_error_matches. · 0cf51a0d
      Christian Persch authored
      	* shell/ev-window.c: (ev_window_load_job_cb): Use g_error_matches.
      
      svn path=/trunk/; revision=3458
      0cf51a0d
  7. 10 Feb, 2009 1 commit
    • Carlos Garcia Campos's avatar
      Do not use metadata when reloading the document, so that the window is not · 0e064f5e
      Carlos Garcia Campos authored
      2009-02-09  Carlos Garcia Campos  <carlosgc@gnome.org>
      
      	* shell/ev-window.c: (setup_document_from_metadata),
      	(setup_sidebar_from_metadata), (setup_document_from_metadata),
      	(setup_view_from_metadata), (ev_window_set_document),
      	(ev_window_load_job_cb), (ev_window_reload_job_cb),
      	(ev_window_reload_remote), (ev_window_init):
      
      	Do not use metadata when reloading the document, so that the
      	window is not resized when reloading. See bugs #571051 and
      	#304249.
      
      svn path=/trunk/; revision=3426
      0e064f5e
  8. 05 Feb, 2009 1 commit
  9. 25 Jan, 2009 1 commit
    • Christian Persch's avatar
      Renamed from evince-backend.pc.in. Renamed library to libevdocument.la. · 49129873
      Christian Persch authored
              * configure.ac:
              * evince-document.pc.in: Renamed from evince-backend.pc.in.
              * libdocument/Makefile.am: Renamed library to libevdocument.la.
              * libview/Makefile.am:
              * shell/Makefile.am:
              * backend/*/Makefile.am: Adapt to changed library name.
      
              * libdocument/Makefile.am:
              * libview/Makefile.am: Change the installed headers path to match
              the directory names in SVN.
      
              * evince-document.h:
              * evince-view.h: Add single headers. Bug #568227.
      
              * libdocument/*.h:
              * libview/*.h: Add single headers guards.
      
              * libview/Makefile.am:
              * libdocument/Makefile.am:
              * backend/*/Makefile.am:
              * help/reference/Makefile.am: Define EVINCE_COMPILATION, so we can
              still include individual headers.
      
              * properties/Makefile.am:
              * properties/ev-properties-main.c:
              * properties/ev-properties-view.h:
              * thumbnailer/Makefile.am:
              * thumbnailer/evince-thumbnailer.c: Include only evince-document.h.
      
              * libdocument/Makefile.am:
              * libview/Makefile.am: Generate type builtins from all installed headers.
              * libdocument/ev-link-action.[ch]:
              * libdocument/ev-link-dest.[ch]:
              * libdocument/ev-transition-effect.[ch]:
              * libview/ev-view.[ch]: Remove handcoded type builtins.
      
              * libdocument/Makefile.am:
              * evince-document.h: Add ev-document-factory.h to the public headers.
      
      svn path=/trunk/; revision=3381
      49129873
  10. 20 Jan, 2009 1 commit
    • Hiroyuki Ikezoe's avatar
      shell/ev-sidebar-links.c · 5b09db3c
      Hiroyuki Ikezoe authored
      2009-01-21  Hiroyuki Ikezoe  <poincare@ikezoe.net>
      
      	* shell/ev-sidebar-links.c
      	* shell/ev-print-operation.c:
      	* shell/ev-history.c:
      	* shell/ev-file-monitor.c:
      	* shell/ev-window.c:
      	* shell/ev-password-view.c:
      	* shell/ev-sidebar-thumbnails.c:
      	* shell/ev-sidebar-attachments.c:
      	* libview/ev-pixbuf-cache.c:
      	* libview/ev-view.c: Remove needless G_OBJECT from g_signal_connect.
      	Bug #568386.
      
      
      svn path=/trunk/; revision=3370
      5b09db3c
  11. 18 Jan, 2009 3 commits
  12. 16 Jan, 2009 4 commits
  13. 30 Dec, 2008 2 commits
    • Carlos Garcia Campos's avatar
      Show progress information when loading/saving remote files. Fixes bug · 0384290a
      Carlos Garcia Campos authored
      2008-12-30  Carlos Garcia Campos  <carlosgc@gnome.org>
      
      	* shell/ev-window.c: (ev_window_clear_progress_idle),
      	(reset_progress_idle), (ev_window_show_progress_message),
      	(ev_window_reset_progress_cancellable),
      	(ev_window_progress_response_cb), (show_loading_progress),
      	(ev_window_load_remote_failed), (window_open_file_copy_ready_cb),
      	(window_open_file_copy_progress_cb), (ev_window_load_file_remote),
      	(show_reloading_progress), (reload_remote_copy_ready_cb),
      	(reload_remote_copy_progress_cb), (query_remote_uri_mtime_cb),
      	(show_saving_progress), (window_save_file_copy_ready_cb),
      	(window_save_file_copy_progress_cb), (ev_window_save_remote),
      	(ev_window_dispose):
      
      	Show progress information when loading/saving remote files. Fixes
      	bug #370958.
      
      svn path=/trunk/; revision=3316
      0384290a
    • Carlos Garcia Campos's avatar
      Fix saving images to remote locations. · ee610189
      Carlos Garcia Campos authored
      2008-12-30  Carlos Garcia Campos  <carlosgc@gnome.org>
      
      	* shell/ev-window.c: (image_save_dialog_response_cb):
      
      	Fix saving images to remote locations.
      
      svn path=/trunk/; revision=3314
      ee610189
  14. 29 Dec, 2008 1 commit
    • Carlos Garcia Campos's avatar
      Remember page setup options too. Paper size is globally remembered while · 76f0af54
      Carlos Garcia Campos authored
      2008-12-29  Carlos Garcia Campos  <carlosgc@gnome.org>
      
      	* shell/ev-application.[ch]: (ev_application_shutdown),
      	(ev_application_get_print_settings_file),
      	(ev_application_save_print_settings),
      	(ev_application_get_print_settings),
      	(ev_application_set_print_settings),
      	(ev_application_get_page_setup), (ev_application_set_page_setup):
      	* shell/ev-window.c: (ev_window_save_print_page_setup),
      	(ev_window_load_print_page_setup_from_metadata),
      	(ev_window_print_page_setup_done_cb),
      	(ev_window_cmd_file_print_setup), (ev_window_do_preview_print),
      	(ev_window_cmd_preview_print):
      
      	Remember page setup options too. Paper size is globally remembered
      	while page margins are stored per document in metadata file. Fixes
      	bugs #525185 and #349102.
      
      svn path=/trunk/; revision=3313
      76f0af54
  15. 28 Dec, 2008 1 commit
    • Carlos Garcia Campos's avatar
      Show a confirmation dialog when there are pending print jobs while closing · 755ab0a9
      Carlos Garcia Campos authored
      2008-12-28  Carlos Garcia Campos  <carlosgc@gnome.org>
      
      	* shell/ev-print-operation.c: (export_cancel),
      	(export_job_cancelled), (ev_print_operation_export_begin),
      	(ev_print_operation_export_cancel):
      	* shell/ev-window.c: (ev_window_print_cancel),
      	(ev_window_print_update_pending_jobs_message),
      	(ev_window_print_operation_done),
      	(ev_window_print_operation_status_changed),
      	(print_jobs_confirmation_dialog_response),
      	(ev_window_cmd_file_close_window):
      
      	Show a confirmation dialog when there are pending print jobs while
      	closing the main window. Fixes bug #480964.
      
      svn path=/trunk/; revision=3311
      755ab0a9
  16. 27 Dec, 2008 3 commits
    • Carlos Garcia Campos's avatar
      Show progress information when printing. Fixes bug #482770. · 5c07c67f
      Carlos Garcia Campos authored
      2008-12-27  Carlos Garcia Campos  <carlosgc@gnome.org>
      
      	* shell/ev-print-operation.[ch]: (ev_print_operation_class_init),
      	(ev_print_operation_get_job_name),
      	(ev_print_operation_get_status),
      	(ev_print_operation_get_progress),
      	(ev_print_operation_update_status),
      	(ev_print_operation_export_get_job_name), (clamp_ranges),
      	(get_first_and_last_page), (ev_print_operation_export_run_next),
      	(print_job_finished), (export_print_done), (export_job_cancelled),
      	(update_progress), (export_print_page),
      	(ev_print_operation_export_begin),
      	(ev_print_operation_export_print_dialog_response_cb),
      	(ev_print_operation_export_run),
      	(ev_print_operation_export_cancel),
      	(ev_print_operation_export_class_init):
      	* shell/ev-window.c:
      	(ev_window_print_update_pending_jobs_message),
      	(ev_window_print_operation_done),
      	(ev_window_print_progress_response_cb),
      	(ev_window_print_operation_status_changed),
      	(ev_window_print_operation_begin_print), (ev_window_print_range),
      	(ev_window_dispose):
      
      	Show progress information when printing. Fixes bug #482770.
      
      svn path=/trunk/; revision=3309
      5c07c67f
    • Carlos Garcia Campos's avatar
      First step of the printing system rework. EvJobPrint has been replaced by · 48e488b5
      Carlos Garcia Campos authored
      2008-12-24  Carlos Garcia Campos  <carlosgc@gnome.org>
      
      	* shell/Makefile.am:
      	* shell/ev-print-operation.[ch]:
      	* shell/ev-jobs.[ch]: (ev_job_export_init),
      	(ev_job_export_dispose), (ev_job_export_run),
      	(ev_job_export_class_init), (ev_job_export_new),
      	(ev_job_export_set_page):
      	* shell/ev-window.c: (ev_window_print_operation_done),
      	(ev_window_print_range), (ev_window_dispose):
      
      	First step of the printing system rework. EvJobPrint has been
      	replaced by EvJobExport so that every page is scheduled to be
      	exported in a thread instead of scheduling the whole printing
      	process. This way the gui is responsive during printing.
      
      svn path=/trunk/; revision=3306
      48e488b5
    • Carlos Garcia Campos's avatar
      Fix memory leaks. · 6b3613c2
      Carlos Garcia Campos authored
      2008-12-24  Carlos Garcia Campos  <carlosgc@gnome.org>
      
      	* shell/ev-window.c: (setup_size_from_metadata),
      	(ev_window_load_print_settings_from_metadata):
      
      	Fix memory leaks.
      
      svn path=/trunk/; revision=3305
      6b3613c2
  17. 03 Dec, 2008 1 commit
    • Carlos Garcia Campos's avatar
      Add document URI to properties page. Fixes bug #555376. · 309a8fb9
      Carlos Garcia Campos authored
      2008-12-03  Carlos Garcia Campos  <carlosgc@gnome.org>
      
      	* properties/ev-properties-main.c: (ev_properties_get_pages):
      	* properties/ev-properties-view.[ch]:
      	(ev_properties_view_dispose), (ev_properties_view_class_init),
      	(ev_properties_view_set_info), (ev_properties_view_new):
      	* shell/ev-properties-dialog.[ch]:
      	(ev_properties_dialog_set_document):
      	* shell/ev-window.c: (ev_window_setup_document),
      	(ev_window_cmd_file_properties):
      
      	Add document URI to properties page. Fixes bug #555376.
      
      svn path=/trunk/; revision=3290
      309a8fb9
  18. 01 Dec, 2008 1 commit
    • Carlos Garcia Campos's avatar
      Removed · dc3a49f9
      Carlos Garcia Campos authored
      2008-12-01  Carlos Garcia Campos  <carlosgc@gnome.org>
      
      	* configure.ac:
      	* shell/Makefile.am:
      	* shell/ev-keyring.[ch]:
      	* shell/ev-password.[ch]: Removed
      	* shell/ev-password-view.[ch]: (ev_password_view_finalize),
      	(ev_password_view_class_init), (ev_password_view_clicked_cb),
      	(ev_password_view_init), (ev_password_view_set_uri),
      	(ev_password_dialog_got_response),
      	(ev_password_dialog_remember_button_toggled),
      	(ev_password_dialog_entry_changed_cb),
      	(ev_password_dialog_entry_activated_cb),
      	(ev_password_view_ask_password), (ev_password_view_get_password),
      	(ev_password_view_get_password_save_flags),
      	(ev_password_view_new):
      	* shell/ev-window.c: (ev_window_password_view_unlock),
      	(ev_window_load_job_cb), (ev_window_close_dialogs),
      	(ev_window_init):
      
      	Rework the password view. When the password is in the keyring it's
      	used automatically without showing the password dialog and it's
      	only stored in the keyring when we are sure it's correct. The
      	password dialog has been reworked too, in order to make it
      	more hig compliant and consistent with the GTK+ dialog used in
      	gtkmountoperation. Fixes bug #562496.
      
      svn path=/trunk/; revision=3281
      dc3a49f9
  19. 29 Nov, 2008 1 commit
    • Carlos Garcia Campos's avatar
      Add support for reloading remote documents. Fixes bug #555399. · 4327eef2
      Carlos Garcia Campos authored
      2008-11-29  Carlos Garcia Campos  <carlosgc@gnome.org>
      
      	* shell/ev-window.c: (ev_window_load_job_cb), (set_uri_mtime),
      	(window_open_file_copy_ready_cb), (ev_window_reload_local),
      	(reload_remote_copy_ready_cb), (query_remote_uri_mtime_cb),
      	(ev_window_reload_remote), (ev_window_reload_document):
      
      	Add support for reloading remote documents. Fixes bug #555399.
      
      svn path=/trunk/; revision=3278
      4327eef2
  20. 18 Nov, 2008 1 commit
    • Marek Kašík's avatar
      Fixes assertion fail on selecting text. See bug #561393. · a20cf6aa
      Marek Kašík authored
      2008-11-19  Marek Kašík <mkasik@redhat.com>
      
      	* shell/ev-pixbuf-cache.c (ev_pixbuf_cache_add_jobs_if_needed):
      	* shell/ev-window.c (launch_external_uri):
      	
      	Fixes assertion fail on selecting text. See bug #561393.
      
      
      svn path=/trunk/; revision=3271
      a20cf6aa
  21. 15 Nov, 2008 1 commit
    • Carlos Garcia Campos's avatar
      Add layers support. · 7f94a407
      Carlos Garcia Campos authored
      2008-11-15  Carlos Garcia Campos  <carlosgc@gnome.org>
      
      	* shell/Makefile.am:
      	* shell/ev-jobs.[ch]: (ev_job_layers_init),
      	(ev_job_layers_dispose), (ev_job_layers_run),
      	(ev_job_layers_class_init), (ev_job_layers_new):
      	* shell/ev-sidebar-layers.[ch]:
      	* shell/ev-view.[ch]: (ev_view_form_field_button_create_widget),
      	(ev_view_form_field_text_save), (ev_view_form_field_choice_save),
      	(ev_view_reload_page), (ev_view_reload):
      	* shell/ev-window.c: (setup_sidebar_from_metadata),
      	(ev_window_sidebar_current_page_changed_cb),
      	(sidebar_layers_visibility_changed), (ev_window_init):
      
      	Add layers support.
      
      svn path=/trunk/; revision=3268
      7f94a407
  22. 05 Nov, 2008 1 commit
  23. 01 Nov, 2008 4 commits
    • Carlos Garcia Campos's avatar
      Do not use popup dialogs to show error messages anymore, use the message · 125b3ea4
      Carlos Garcia Campos authored
      2008-11-01  Carlos Garcia Campos  <carlosgc@gnome.org>
      
      	* shell/ev-window.c: (window_save_file_copy_ready_cb),
      	(ev_window_print_finished), (ev_window_print_dialog_response_cb),
      	(ev_window_preview_print_finished), (launch_action):
      
      	Do not use popup dialogs to show error messages anymore, use the
      	message area instead.
      
      svn path=/trunk/; revision=3246
      125b3ea4
    • Carlos Garcia Campos's avatar
      Use a message format (with printf()-style) in ev_window_error_message and · 48a0bd50
      Carlos Garcia Campos authored
      2008-11-01  Carlos Garcia Campos  <carlosgc@gnome.org>
      
      	* shell/ev-window.c: (ev_window_error_message),
      	(ev_window_warning_message), (ev_window_set_document),
      	(ev_window_load_job_cb), (ev_window_load_remote_failed),
      	(ev_window_cmd_file_open_copy_at_dest), (ev_window_save_job_cb),
      	(ev_window_cmd_help_contents), (launch_external_uri),
      	(image_save_dialog_response_cb), (image_save_dialog_response_cb),
      	(ev_attachment_popup_cmd_open_attachment),
      	(attachment_save_dialog_response_cb):
      
      	Use a message format (with printf()-style) in
      	ev_window_error_message and ev_window_warning_message.
      
      svn path=/trunk/; revision=3245
      48a0bd50
    • Carlos Garcia Campos's avatar
      Change ev_window_error_message and ev_window_warning_message to receive a · 9b1e68d8
      Carlos Garcia Campos authored
      2008-11-01  Carlos Garcia Campos  <carlosgc@gnome.org>
      
      	* shell/ev-window.c: (ev_window_error_message),
      	(ev_window_warning_message), (ev_window_set_document),
      	(ev_window_load_job_cb), (ev_window_load_remote_failed),
      	(ev_window_cmd_file_open_copy_at_dest), (ev_window_save_job_cb),
      	(ev_window_cmd_help_contents), (launch_external_uri),
      	(image_save_dialog_response_cb),
      	(ev_attachment_popup_cmd_open_attachment),
      	(attachment_save_dialog_response_cb):
      
      	Change ev_window_error_message and ev_window_warning_message to
      	receive a EvWindow instead of a GtkWindow. It's more consistent
      	and avoids unneeded casts.
      
      svn path=/trunk/; revision=3244
      9b1e68d8
    • Carlos Garcia Campos's avatar
      Use gtk_show_uri() when availale to display help contents. · cabe1204
      Carlos Garcia Campos authored
      2008-11-01  Carlos Garcia Campos  <carlosgc@gnome.org>
      
      	* shell/ev-window.c: (ev_window_cmd_help_contents):
      
      	Use gtk_show_uri() when availale to display help contents.
      
      svn path=/trunk/; revision=3243
      cabe1204
  24. 31 Oct, 2008 1 commit
    • Carlos Garcia Campos's avatar
      Removed shell/ev-view-private.h · 81c13428
      Carlos Garcia Campos authored
      2008-10-31  Carlos Garcia Campos  <carlosgc@gnome.org>
      
      	* configure.ac:
      	* backend/pdf/ev-poppler.cc:
      	* properties/ev-properties-view.c:
      	* shell/Makefile.am:
      	* shell/ev-tooltip.[ch]: Removed
      	* shell/ev-view-private.h
      	* shell/eggfindbar.c:
      	* shell/ev-application.c:
      	* shell/ev-open-recent-action.c:
      	* shell/ev-sidebar-thumbnails.c:
      	* shell/ev-view.c:
      	* shell/ev-window.c:
      
      	Bump GTK+ requirement to 2.12.
      
      svn path=/trunk/; revision=3242
      81c13428
  25. 27 Oct, 2008 1 commit
  26. 17 Oct, 2008 1 commit
  27. 12 Oct, 2008 1 commit