Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-application.c
Commit message (Collapse)AuthorAgeFilesLines
* Save last uri in file chooser dialog. Fix for the bug #327950.Nickolay V. Shmyrev2006-01-211-0/+12
| | | | | | | | | | * 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.
* Don't add pixbuf mime types if pixbuf backend is disabled.Nickolay V. Shmyrev2006-01-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * backend/ev-document-factory.c: (gdk_pixbuf_mime_type_list), (mime_type_supported_by_gdk_pixbuf), (ev_document_factory_get_mime_types), (ev_document_factory_get_all_mime_types): Don't add pixbuf mime types if pixbuf backend is disabled. * shell/ev-application.c: (ev_application_get_uri_window): Fix for the bug 325815 - unhandled MIME type message doesn't appear a second time. * shell/ev-document-types.c: (ev_document_types_add_filters): * shell/ev-window.c: (page_changed_cb), (ev_window_setup_document), (password_dialog_response), (ev_window_popup_password_dialog), (ev_window_load_job_cb), (ev_window_sidebar_position_change_cb), (ev_window_run_fullscreen), (ev_window_stop_fullscreen), (ev_window_run_presentation), (ev_window_stop_presentation), (save_sizing_mode), (ev_window_zoom_changed_cb), (ev_window_continuous_changed_cb), (ev_window_rotation_changed_cb), (ev_window_dual_mode_changed_cb), (ev_window_sidebar_current_page_changed_cb), (ev_window_sidebar_visibility_changed_cb), (ev_window_dispose), (window_state_event_cb), (window_configure_event_cb): Cleanup additional uris holded by EvWindow.
* Correct zoom setup and metadata save broken in some locales.Nickolay V. Shmyrev2005-12-251-3/+0
| | | | | | | | * shell/ev-metadata-manager.c: (parse_value): * shell/ev-view.c: (goto_xyz_link): Correct zoom setup and metadata save broken in some locales.
* New CBR/CBZ backend for comic books.Nickolay V. Shmyrev2005-11-141-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-11-14 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * Makefile.am: * backend/Makefile.am: * backend/ev-document-factory.c: * backend/ev-document-factory.h: * comics/Makefile.am: * comics/comics-document.c: (G_DEFINE_TYPE_WITH_CODE), (comics_document_load), (comics_document_save), (comics_document_get_n_pages), (comics_document_get_page_size), (get_page_size_area_prepared_cb), (comics_document_render_pixbuf) (render_pixbuf_size_prepared_cb), (comics_document_finalize), (comics_document_class_init), (comics_document_can_get_text), (comics_document_get_info), (comics_document_document_iface_init), (comics_document_init), (get_supported_image_extensions), (comics_document_thumbnails_get_geometry), (comics_document_thumbnails_get_thumbnail), (comics_document_thumbnails_get_dimensions), (comics_document_document_thumbnails_iface_init), (extract_argv): * comics/comics-document.h: * comics/ev-cbr-mime.xml: * configure.ac: * po/POTFILES.in: * shell/ev-application.c: (ev_application_register_service): * shell/ev-document-types.c: (ev_document_types_add_filters): * thumbnailer/Makefile.am: * thumbnailer/evince-thumbnailer-comics.schemas.in: New CBR/CBZ backend for comic books.
* Add a function to retrieve window list and share it where necessary.Marco Pesenti Gritti2005-09-231-7/+75
| | | | | | | | | | | | | | | 2005-09-23 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-application.c: (removed_from_session), (save_session), (init_session), (ev_application_get_empty_window), (ev_application_init), (ev_application_get_windows): * shell/ev-application.h: * shell/ev-window.c: (ev_window_finalize): Add a function to retrieve window list and share it where necessary. Implement session handling, works pretty well thanks to the metadata system.
* Fix window size persistanceMarco Pesenti Gritti2005-09-221-2/+5
| | | | | | | | 2005-09-22 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-application.c: (ev_application_open_uri): Fix window size persistance
* Last minute GTK-2.6 fixes. Release 0.4.0Jonathan Blandford2005-08-261-2/+10
| | | | | | | | Fri Aug 26 00:45:09 2005 Jonathan Blandford <jrb@redhat.com> * shell/main.c: * shell/ev-application.c: Last minute GTK-2.6 fixes. * NEWS: Release 0.4.0
* catch another gtk+-2.8ism Make work with gtk+-2.6 Release 0.4.0Jonathan Blandford2005-08-261-0/+5
| | | | | | | | Thu Aug 25 23:40:23 2005 Jonathan Blandford <jrb@redhat.com> * configure.ac: catch another gtk+-2.8ism * shell/main.c: Make work with gtk+-2.6 * NEWS: Release 0.4.0
* Add 'timestamp' argument to ev_application_open_window andRyan Lortie2005-08-261-5/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-08-25 Ryan Lortie <desrt@desrt.ca> * shell/ev-application-service.xml: Add 'timestamp' argument to ev_application_open_window and ev_application_open_uri methods. * shell/ev-application.h: Add 'timestamp' argument to ev_application_open_window, ev_application_open_uri, and ev_application_open_uri_list functions. * shell/ev-application.c (ev_application_open_window, ev_application_open_uri, ev_application_open_uri_list): Change functions that show/present windows to use a timestamp if one is passed in. * shell/ev-window.c (ev_window_cmd_file_open, ev_window_cmd_recent_file_activate, drag_data_received_cb): * shell/main.c (load_files): Modify calls to ev_application to include GDK_CURRENT_TIME as timestamp. * shell/main.c (load_files_remote): Obtain timestamp for client instance from GDK and pass to server instance so new windows are focused properly. Fix dbus_g_proxy_call() calls by including second G_TYPE_INVALID. Closes bug #314475.
* Let tbe check file existence for us. Add a comment about eggrecent mimeMarco Pesenti Gritti2005-07-081-4/+5
| | | | | | | | | 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-application.c: (ev_application_init): Let tbe check file existence for us. Add a comment about eggrecent mime filter.
* Use common toolbar and recent models for all windows. Patch by Nickolay V.Marco Pesenti Gritti2005-07-081-0/+50
| | | | | | | | | | | | | | | | | | 2005-07-08 Marco Pesenti Gritti <mpg@redhat.com> * data/evince-ui.xml: * shell/ev-application.c: (ev_application_shutdown), (ev_application_init), (ev_application_get_toolbars_model), (ev_application_get_recent_model), (ev_application_save_toolbars_model): * shell/ev-application.h: * shell/ev-window.c: (ev_window_add_recent), (ev_window_setup_recent), (ev_window_cmd_edit_toolbar_cb), (ev_window_cmd_edit_toolbar), (ev_window_dispose), (ev_window_init): Use common toolbar and recent models for all windows. Patch by Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* Marco Pesenti Gritti <mpg@redhat.com>Carlos Garcia Campos2005-07-051-13/+29
| | | | | | | | | | | | | 2005-07-05 Carlos Garcia Campos <carlosgc@gnome.org> Marco Pesenti Gritti <mpg@redhat.com> * shell/Makefile.am: Add --prefix for dbus-binding-tool script * shell/ev-application.[ch], shell/ev-window.c: change dbus RPC functions to the format required by dbus * shell/main.c: use G_TYPE instead of DBUS_TYPE to fix compilation errors. Use the RPC parameters in the expected way
* Metadata manager from gedit but modified to use GValue, so that we dontMarco Pesenti Gritti2005-06-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-30 Marco Pesenti Gritti <mpg@redhat.com> * shell/Makefile.am: * shell/ev-metadata-manager.c: (item_free), (ev_metadata_manager_init), (ev_metadata_manager_shutdown), (parse_value), (parseItem), (load_values), (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set), (save_values), (save_item), (get_oldest), (resize_items), (ev_metadata_manager_save), (ev_metadata_manager_set_int): * shell/ev-metadata-manager.h: Metadata manager from gedit but modified to use GValue, so that we dont need to keep converting from strings. * configure.ac: ENABLE_METADATA conditional, on when dbus is on * shell/ev-application.c: (ev_application_open_uri): Show the window after load so that we can initialize window size before it's showed. * shell/ev-window.c: (ev_window_setup_from_metadata), (ev_window_open_uri), (window_configure_event_cb), (ev_window_init): Save and load metadata information about window size. Not yet keeping states in account. * shell/main.c: (main): Shutdown metadata manager.
* Add an optional dbus interface (--enable-dbus). Rework application code,Marco Pesenti Gritti2005-06-301-96/+131
| | | | | | | | | | | | | | | | | | | 2005-06-24 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-application-service.xml: * configure.ac: * shell/Makefile.am: * shell/ev-application.c: * shell/ev-application.h: * shell/ev-window.c: * shell/ev-window.h: * shell/main.c: Add an optional dbus interface (--enable-dbus). Rework application code, mainly to be easier to use "remotely". Do not open multiple windows with the same document, spatial evince!
* Fix for bug 308402 - provide templates in Save dialogNickolay V. Shmyrev2005-06-231-70/+12
|
* Transfer remote documents to tmp directory to display them laterNickolay V. Shmyrev2005-06-101-1/+2
|
* PageCache and EvJobs are moved from backend to shell. Two new jobs toNickolay V. Shmyrev2005-06-071-6/+15
| | | | | load document in background and a statusbar to display this process. FileChooser now can select multiple uris.
* Fix build error and small problem on application exitNickolay V. Shmyrev2005-04-181-0/+4
|
* Recent files support.Nickolay V. Shmyrev2005-04-071-12/+47
| | | | | | | | | | | | | | | | | | | 2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * cut-n-paste/recent-files/Makefile.am: * data/evince-ui.xml, shell/Makefile.am: * shell/ev-application.c, shell/ev-application.h: * shell/ev-window.c: Recent files support. * configure.ac: Added "ru" to ALL_LINGUAS. * dvju: new backend to support DJVU files. * dvi: new backend to support DVI. * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c: * ev-application.c: Support for new backends. * help, ev-window.c, main.c shell/Makefile.am:
* Open gzipped ps documentsMarco Pesenti Gritti2005-02-041-0/+2
| | | | | | | | | 2005-02-04 Marco Pesenti Gritti <marco@gnome.org> * shell/ev-application.c: (ev_application_open): * shell/ev-window.c: (ev_window_open): Open gzipped ps documents
* Support eps and check document supports find before drawing highlightingsMarco Pesenti Gritti2005-02-011-0/+2
| | | | | | | | | | | 2005-02-01 Marco Pesenti Gritti <marco@gnome.org> * shell/ev-application.c: (ev_application_open): * shell/ev-view.c: (expose_bin_window): * shell/ev-window.c: (ev_window_open): Support eps and check document supports find before drawing highlightings in expose.
* Add support for document linksMarco Pesenti Gritti2005-01-131-27/+0
| | | | | | | | | | | | | | | 2005-01-13 Marco Pesenti Gritti <marco@gnome.org> * backend/ev-document.c: (ev_document_get_link): * backend/ev-document.h: * pdf/xpdf/pdf-document.cc: * shell/ev-application.c: (ev_application_open): * shell/ev-application.h: * shell/ev-sidebar-links.c: (selection_changed_cb): * shell/ev-view.c: (ev_view_button_release_event), (go_to_link), (ev_view_go_to_link): Add support for document links
* Rename bookmark to link, and use "Index" for the sidebar panel.Marco Pesenti Gritti2005-01-101-11/+11
|
* Initial history implementation. Needs work.Marco Pesenti Gritti2005-01-091-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-09 Marco Pesenti Gritti <marco@gnome.org> * shell/Makefile.am: * shell/ev-application.c: (ev_application_open_bookmark): * shell/ev-application.h: * shell/ev-history.c: (ev_history_init), (free_links_list), (ev_history_finalize), (ev_history_class_init), (ev_history_add_link), (ev_history_add_page), (ev_history_get_link_nth), (ev_history_get_n_links), (ev_history_get_current_index), (ev_history_set_current_index), (ev_history_new): * shell/ev-history.h: * shell/ev-sidebar-bookmarks.c: (selection_changed_cb): * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document), (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark), (go_to_index), (ev_view_go_back), (ev_view_go_forward), (ev_view_set_page): * shell/ev-view.h: * shell/ev-window.c: (ev_window_open_bookmark), (ev_window_cmd_go_back), (ev_window_cmd_go_forward), (goto_page_cb), (register_custom_actions): * shell/ev-window.h: Initial history implementation. Needs work.
* Add a way to open bookmarksMarco Pesenti Gritti2005-01-071-1/+28
| | | | | | | | | | | | | | | | | | | | | | | | 2005-01-07 Marco Pesenti Gritti <marco@gnome.org> * shell/ev-application.c: (ev_application_open), (ev_application_open_bookmark): * shell/ev-application.h: Add a way to open bookmarks * backend/ev-bookmark.c: (ev_bookmark_get_uri), (ev_bookmark_set_uri), (ev_bookmark_get_property), (ev_bookmark_set_property), (ev_bookmark_class_init), (ev_bookmark_new_title), (ev_bookmark_new_link), (ev_bookmark_new_external): Support for external uris, better constructors. * backend/ev-bookmark.h: * pdf/xpdf/pdf-document.cc: * shell/ev-sidebar-bookmarks.c: (selection_changed_cb): Handle external uris
* Add pixbuf backend.Anders Carlsson2004-12-221-3/+7
| | | | | | | | | | | | | | | | | | | | | | | 2004-12-22 Anders Carlsson <andersca@gnome.org> * Makefile.am: * configure.ac: * pixbuf/Makefile.am: * pixbuf/pixbuf-document.c: (G_DEFINE_TYPE_WITH_CODE), (pixbuf_document_load), (pixbuf_document_get_n_pages), (pixbuf_document_set_page), (pixbuf_document_get_page), (pixbuf_document_set_target), (pixbuf_document_set_scale), (pixbuf_document_set_page_offset), (pixbuf_document_get_page_size), (pixbuf_document_render), (pixbuf_document_begin_find), (pixbuf_document_end_find), (pixbuf_document_finalize), (pixbuf_document_class_init), (pixbuf_document_document_iface_init), (pixbuf_document_init): * pixbuf/pixbuf-document.h: * shell/Makefile.am: * shell/ev-application.c: (ev_application_open): * shell/ev-window.c: (mime_type_supported_by_gdk_pixbuf), (ev_window_open): Add pixbuf backend.
* Actually show the window...Marco Pesenti Gritti2004-12-211-2/+2
| | | | | | | | | | | 2004-12-21 Marco Pesenti Gritti <marco@gnome.org> * po/POTFILES.in: * shell/ev-application.c: (window_destroy_cb): * shell/ev-window.c: * shell/main.c: (main): Actually show the window...
* *** empty log message ***Marco Pesenti Gritti2004-12-211-13/+0
|
* Initial revisionMarco Pesenti Gritti2004-12-211-0/+196