Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-window.c
Commit message (Collapse)AuthorAgeFilesLines
* Move load/save print settings code from EvApplication to EvWindowCarlos Garcia Campos2009-10-231-82/+153
| | | | Settings are now loaded everytime before printing and saved after.
* Use always a different process for every documentCarlos Garcia Campos2009-10-211-5/+7
|
* [shell] Do not setup page from metadata when provided by command lineCarlos Garcia Campos2009-10-211-1/+2
|
* Make sure metadata exists before reference it when opening a copyCarlos Garcia Campos2009-10-111-1/+2
|
* [shell] Use EvMetadata to get/set gvfs metadataCarlos Garcia Campos2009-10-111-208/+209
|
* [shell] Make sure total_num_bytes > 0 before using it in progress callbacksCarlos Garcia Campos2009-10-071-2/+11
| | | | Fixes bgo#597691
* [shell] Escape uri before showing it in progress areaCarlos Garcia Campos2009-10-071-1/+3
| | | | See bgo#597691.
* [shell] Use g_uri_unescape_string() instead of our own implementationCarlos Garcia Campos2009-10-071-1/+1
|
* [shell] Remove progress message area when document download finishesCarlos Garcia Campos2009-10-071-1/+2
|
* Use model instead of view to handle continuous, dual-page and fullscreenCarlos Garcia Campos2009-09-151-68/+57
|
* [shell] Remove unneeded call to ev_view_set_screen_dpi()Carlos Garcia Campos2009-09-151-2/+0
|
* [shell] Make sure to not open a document on the last pageCarlos Garcia Campos2009-09-151-14/+7
| | | | It was actually broken since commit 0e064f5e.
* [shell] Use ev_window_open_document() to open a copy instead of using a symlinkCarlos Garcia Campos2009-09-151-125/+10
|
* [shell] Add ev_window_open_document()Carlos Garcia Campos2009-09-151-0/+69
| | | | It allows open an already loaded document in an EvWindow
* Remove EvPageCache and use EvDocumentModel insteadCarlos Garcia Campos2009-09-151-172/+201
| | | | | | | EvView is now another view for the common model EvDocumentModel. Now it's possible to have several windows for the same document without the symlink hack. Every window has its own model, while the document object is shared.
* Remove zoom-invalid signal from EvViewCarlos Garcia Campos2009-09-151-40/+0
| | | | | | | | | It was used by EvView when sizing mode was best-fit or fit-width to request the window for its content size. This is not needed at all, since we already call size_allocate on parent class. GtkScrolledWindow takes into account the shadow type and scrollbars visibility in its size_allocate method, so we can just take the allocation returned to calculate the zoom in case of best-fit or fit-width.
* Move ev_page_cache_check_dimensions() to EvDocumentCarlos Garcia Campos2009-09-151-4/+4
|
* Move part of the EvPageCache to EvDocumentCarlos Garcia Campos2009-09-151-65/+45
| | | | The static data about the document is stored now in EvDocument class
* Save images as png or jpg when the filename has no extensionsPatrick Ammann2009-09-141-0/+9
|
* Fix bug #570054Fernando Herrera2009-09-081-23/+37
| | | | | | Populate destination page when reloading the document, so if the reload happens because a new command line invokation it still honors the "-p X" option and the document is reloaded at page X
* [view] Grab focus after setting metadataNickolay V. Shmyrev2009-07-251-0/+2
| | | | Fixes GNOME bug #589300.
* Update about dialogueChristian Persch2009-06-111-2/+3
|
* [printing] Make use of gtk+-unix-print optionalHib Eris2009-06-091-0/+5
|
* [windows] Make evince relocatable on windows - GUIHib Eris2009-06-091-3/+7
|
* Do not disable printing when cairo printing is available.Hib Eris2009-06-091-1/+1
|
* [shell] Allow activate the menubar in fullscreen modeCarlos Garcia Campos2009-06-061-9/+78
| | | | Fixes bgo#504243
* [printing] Use always default page setup before printingCarlos Garcia Campos2009-06-051-2/+7
|
* [shell] Remove left over GtkPrinterHib Eris2009-06-051-7/+0
|
* [shell] Remember and reuse "Save a Copy..." pathCarlos Garcia Campos2009-05-211-26/+63
| | | | Fixes bgo#485195.
* [shell] Implement Print named actionCarlos Garcia Campos2009-05-131-0/+2
|
* [shell] Abort dnd operations originated in the same Evince windowCarlos Garcia Campos2009-05-131-4/+11
| | | | Fixes bug #582077
* [shell] Propagate key events from EvWindow to EvViewCarlos Garcia Campos2009-05-121-0/+25
| | | | | | | | | EvAnnotationWindow is a GtkWindow that doesn't accept focus, but we manually grab the focus on the text view contained in it to be able to modify the annotation contents. We need to propagate the key events to the view even when the view is not the focused widget. The view will only handle these events when there's a popup window with the focus so that it's possible to type in window annotations.
* [document] Fixes handling of broken documentsNickolay V. Shmyrev2009-05-031-8/+15
| | | | | Instead of aborting on assertion, we gracefully report that document is broken. Fixes GNOME bug #580886.
* [ui] Escape URIs for displayNickolay V. Shmyrev2009-05-031-3/+8
| | | | | Uses uri escaping function to make more sensible URI's to display them. Fixes GNOME bug #581064.
* [ui] Use stock icon for Page SetupNickolay V. Shmyrev2009-05-031-1/+1
| | | | This stock icon requires GTK+-2.14, so it's fine to use it
* [ui] Renamed menu entry to Page SetupNickolay V. Shmyrev2009-05-031-2/+2
| | | | | To match with gtk+ dialog title and other applications like gedit. Fixes GNOME bug #581109
* Added F3 as a find-next accelerator key, bug 579072Michael J. Chudobiak2009-04-301-0/+4
|
* Use g_file_make_symbolic_link to create symlinks. Patch by Hib Eris. SeeCarlos Garcia Campos2009-04-101-16/+20
| | | | | | | | | | | 2009-04-10 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_create_tmp_symlink): Use g_file_make_symbolic_link to create symlinks. Patch by Hib Eris. See bug #339172. svn path=/trunk/; revision=3597
* RemovedCarlos Garcia Campos2009-04-081-65/+4
| | | | | | | | | | | | | | | | | | 2009-04-08 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * cut-n-paste/Makefile.am: * cut-n-paste/evmountoperation/*: Removed * po/POTFILES.in: * shell/Makefile.am: * shell/ev-print-operation.c: * shell/ev-window.c: (window_open_file_copy_ready_cb), (ev_window_cmd_help_contents), (launch_action), (launch_external_uri): Bump GTK+ requirement to 2.14. svn path=/trunk/; revision=3584
* Use g_error_matches() instead of manually check error code and domain.Carlos Garcia Campos2009-04-081-8/+4
| | | | | | | | | | | | 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
* Delete the temp symlink created when opening a copy.Carlos Garcia Campos2009-04-081-3/+19
| | | | | | | | | | | 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
* Remove the preview mode from EvWindow. EvPrintOperation now launchesCarlos Garcia Campos2009-04-081-226/+5
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Move ev_view_update_view_size() from libview to ev-window again and makeCarlos Garcia Campos2009-04-061-37/+47
| | | | | | | | | | | | | | | 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
* Follow up to bug #539972. Alt+Arrows conflict withNickolay V. Shmyrev2009-04-051-2/+2
| | | | | | | view scrolling, changed it to Ctrl+Arrows. svn path=/trunk/; revision=3571
* Set alternative button order for dialogues.Christian Persch2009-03-241-0/+19
| | | | | | | | | | * 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
* Do not lose page position when reloading. Fixes bug #573091.Carlos Garcia Campos2009-03-011-9/+12
| | | | | | | | | | | 2009-03-01 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_set_document), (ev_window_reload_job_cb): Do not lose page position when reloading. Fixes bug #573091. svn path=/trunk/; revision=3503
* Use g_error_matches.Christian Persch2009-02-151-2/+1
| | | | | | * shell/ev-window.c: (ev_window_load_job_cb): Use g_error_matches. svn path=/trunk/; revision=3458
* Do not use metadata when reloading the document, so that the window is notCarlos Garcia Campos2009-02-101-89/+101
| | | | | | | | | | | | | | | | 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
* Make use of GConf optional. Based on patch by Hib Eris. See bug #339172.Carlos Garcia Campos2009-02-051-2/+8
| | | | | | | | | | | | 2009-02-05 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * shell/ev-window.c: (ev_window_setup_action_sensitivity): Make use of GConf optional. Based on patch by Hib Eris. See bug #339172. svn path=/trunk/; revision=3414
* Renamed from evince-backend.pc.in. Renamed library to libevdocument.la.Christian Persch2009-01-251-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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