Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
Commit message (Collapse)AuthorAgeFilesLines
...
* [build] Use shave to improve build log readabilityCarlos Garcia Campos2009-05-121-4/+6
|
* [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.
* Move stock icons from libmisc to libview and make the API publicCarlos Garcia Campos2009-05-121-2/+2
|
* [document] Fixes handling of broken documentsNickolay V. Shmyrev2009-05-032-10/+22
| | | | | Instead of aborting on assertion, we gracefully report that document is broken. Fixes GNOME bug #580886.
* [ui] Escape URIs for displayNickolay V. Shmyrev2009-05-034-8/+55
| | | | | 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
|
* Change process working directory to $HOME so that we don't preventCarlos Garcia Campos2009-04-101-1/+7
| | | | | | | | | | | | 2009-04-10 Carlos Garcia Campos <carlosgc@gnome.org> * shell/main.c: (main): Change process working directory to $HOME so that we don't prevent unmounting in case the initial cwd is on an external device. Fixes bug #575436. svn path=/trunk/; revision=3598
* 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-083-72/+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-086-347/+150
| | | | | | | | | | | | | | | | | | | | | | | | 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 EvPageAction and EvStockIcons from shell to a new internal libraryCarlos Garcia Campos2009-04-089-1022/+9
| | | | | | | | | | | | | | | | | | | | | | | 2009-04-08 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * Makefile.am: * po/POTFILES.in: * shell/Makefile.am: * shell/ev-page-action-widget.[ch]: * shell/ev-page-action.[ch]: * shell/ev-stock-icons.[ch]: * shell/ev-application.c: * shell/main.c: * libmisc/Makefile.am: * libmisc/ev-page-action-widget.[ch]: * libmisc/ev-page-action.[ch]: * libmisc/ev-stock-icons.[ch]: Move EvPageAction and EvStockIcons from shell to a new internal library (libevmisc) that will be used by the evince previewer too. svn path=/trunk/; revision=3577
* 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
* Patch by Juanjo Marín <juanj.marin@juntadeandalucia.es> to fix the bugNickolay V. Shmyrev2009-04-041-8/+35
| | | | | | | | | | | | | | | 2009-04-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-print-operation.c (clamp_ranges), (ev_print_operation_export_print_dialog_response_cb): * test/Makefile.am: * test/test7.py: Patch by Juanjo Marín <juanj.marin@juntadeandalucia.es> to fix the bug 517735. Fixes preview of the empty selection. svn path=/trunk/; revision=3570
* Set proper path to saved accels file. Fixes bug #577500.Nickolay V. Shmyrev2009-03-311-1/+1
| | | | | | | | | | | 2009-04-01 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * shell/ev-application.c (ev_application_init): Set proper path to saved accels file. Fixes bug #577500. svn path=/trunk/; revision=3563
* 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
* Use gtk_tool_button_set_use_underline() for next/previous buttons so thatCarlos Garcia Campos2009-02-141-0/+2
| | | | | | | | | | | 2009-02-14 Carlos Garcia Campos <carlosgc@gnome.org> * shell/eggfindbar.c: (egg_find_bar_init): Use gtk_tool_button_set_use_underline() for next/previous buttons so that the underline is used for the mnemonic. Fixes bug #571547. svn path=/trunk/; revision=3431
* 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
* Use g_set_error_literal now that we depend on glib 2.18.Christian Persch2009-02-051-4/+4
| | | | | | | | | | | | | | | * backend/comics/comics-document.c: (comics_document_load): * backend/djvu/djvu-document.c: (djvu_document_load): * backend/dvi/dvi-document.c: (dvi_document_load): * backend/impress/impress-document.c: (impress_document_load): * backend/pdf/ev-poppler.cc: * libdocument/ev-document-factory.c: (get_document_from_uri), (ev_document_factory_get_document): * shell/ev-print-operation.c: (ev_print_operation_export_print_dialog_response_cb): Use g_set_error_literal now that we depend on glib 2.18. svn path=/trunk/; revision=3419
* Include gdkx.h only with X11. See bug #339172.Hib Eris2009-02-051-0/+2
| | | | | | | | | | 2009-02-05 Hib Eris <hib@hiberis.nl> * shell/ev-application.c: Include gdkx.h only with X11. See bug #339172. svn path=/trunk/; revision=3418
* Make session manager code compile for w32. These changes have been takenCarlos Garcia Campos2009-02-051-1/+9
| | | | | | | | | | | | | | | | 2009-02-05 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * cut-n-paste/smclient/Makefile.am: * cut-n-paste/smclient/eggdesktopfile.c: * cut-n-paste/smclient/eggsmclient-win32.c: * shell/main.c: Make session manager code compile for w32. These changes have been taken from upstream libegg. Based on patch by Hib Eris. See bug #339172. svn path=/trunk/; revision=3416
* 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
* Add mnemonics to buttons in search bar. Fixes bug #569212.Carlos Garcia Campos2009-02-011-2/+2
| | | | | | | | | | 2009-02-01 Carlos Garcia Campos <carlosgc@gnome.org> * shell/eggfindbar.c: (egg_find_bar_init): Add mnemonics to buttons in search bar. Fixes bug #569212. svn path=/trunk/; revision=3398
* Make sure pages_per_sheet is always >= 1. Fixes bug #569328.Carlos Garcia Campos2009-02-011-2/+2
| | | | | | | | | | | 2009-02-01 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-print-operation.c: (ev_print_operation_export_print_dialog_response_cb): Make sure pages_per_sheet is always >= 1. Fixes bug #569328. svn path=/trunk/; revision=3397
* A libdocument/ev-init.[ch]: Add single init/shutdown method. Bug #569117.Christian Persch2009-01-301-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | * evince-document.h: * libdocument/Makefile.am: A libdocument/ev-init.[ch]: Add single init/shutdown method. Bug #569117. * libdocument/ev-backends-manager.c: (_ev_backends_manager_init): * libdocument/ev-backends-manager.h: * libdocument/ev-debug.c: (_ev_debug_init), (_ev_debug_shutdown): * libdocument/ev-debug.h: * libdocument/ev-file-helpers.c: (_ev_file_helpers_init), (_ev_file_helpers_shutdown): * libdocument/ev-file-helpers.h: Make these init/shutdown methods private. * properties/ev-properties-main.c: (nautilus_module_initialize), (nautilus_module_shutdown): * shell/main.c: (main): * thumbnailer/evince-thumbnailer.c: (main): Use the new single init/shutdown method. svn path=/trunk/; revision=3391
* Add --version which was lost in the libgnome removal. Bug #562869.Christian Persch2009-01-291-0/+13
| | | | | | | * shell/main.c: (option_version_cb): Add --version which was lost in the libgnome removal. Bug #562869. svn path=/trunk/; revision=3390
* Move metadata manager initialisation and shutdown into EvApplication.Christian Persch2009-01-262-15/+9
| | | | | | | | | * shell/ev-application.c: (ev_application_register_service), (ev_application_shutdown): * shell/main.c: (main): Move metadata manager initialisation and shutdown into EvApplication. Follow-up from bug #569120. svn path=/trunk/; revision=3386
* Use N_() in g_option_context_new(), not _().Christian Persch2009-01-261-9/+5
| | | | | | | | It's safe to use GETTEXT_PACKAGE and setting the translation domain even when NLS is disabled, so no need for this extra ifdef'd code. Remove redundant gtk_init() call. Bug #569233. svn path=/trunk/; revision=3385
* Don't copy the string twice. Bug #569231.Christian Persch2009-01-261-1/+1
| | | | | | | * shell/ev-metadata-manager.c: (ev_metadata_manager_set_string): Don't copy the string twice. Bug #569231. svn path=/trunk/; revision=3384
* Move ev_dot_dir() from libdocument to shell, since it shouldn't be publicChristian Persch2009-01-263-6/+28
| | | | | | | | | | | | | | | | | | | * libdocument/ev-file-helpers.c: (ev_dir_ensure_exists), (ev_tmp_dir), (ev_file_helpers_init), (ev_file_helpers_shutdown): * libdocument/ev-file-helpers.h: * shell/ev-application.c: (ev_application_shutdown), (ev_application_init), (ev_application_screensaver_disable), (ev_application_save_print_settings), (ev_application_set_page_setup): * shell/ev-application.h: * shell/ev-metadata-manager.c: (load_values), (ev_metadata_manager_save): Move ev_dot_dir() from libdocument to shell, since it shouldn't be public API. Bug #569120. * libdocument/ev-file-helpers.c: (ev_tmp_filename): Use g_get_prgname() instead of hardcoding "evince" for the tmpdir name. svn path=/trunk/; revision=3383
* Renamed from evince-backend.pc.in. Renamed library to libevdocument.la.Christian Persch2009-01-252-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Use EV_DEFINE_INTERFACE to define EvSidebarPage interface. See bugCarlos Garcia Campos2009-01-241-42/+22
| | | | | | | | | | | 2009-01-24 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-sidebar-page.c: Use EV_DEFINE_INTERFACE to define EvSidebarPage interface. See bug #568228. svn path=/trunk/; revision=3380
* shell/ev-sidebar-links.cHiroyuki Ikezoe2009-01-208-19/+19
| | | | | | | | | | | | | | | | | | | 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
* Fix for a minor code typo.Michal Vaner2009-01-181-3/+3
| | | | | | | | | 2009-01-18 Michal Vaner <vorner+evince@ucw.cz> * shell/main.c (arguments_parse): Fix for a minor code typo. svn path=/trunk/; revision=3355
* Bug 558084 – simplify drag data handlingChristian Persch2009-01-182-25/+25
| | | | svn path=/trunk/; revision=3351
* Move EvView specific code to a libeviview library so that it can beCarlos Garcia Campos2009-01-1819-12406/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 2009-01-18 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * Makefile.am: * libdocument/Makefile.am: * libview/Makefile.am: * libview/ev-job-scheduler.[ch]: * libview/ev-jobs.[ch]: * libview/ev-page-cache.[ch]: * libview/ev-pixbuf-cache.[ch]: * libview/ev-timeline.[ch]: * libview/ev-transition-animation.[ch]: * libview/ev-view-accessible.[ch]: * libview/ev-view-marshal.list: * libview/ev-view.[ch]: * shell/Makefile.am: Move EvView specific code to a libeviview library so that it can be embbeded in other applications. Based on patches by Tomeu Vizoso. Fixes bug #567751. svn path=/trunk/; revision=3348
* Remove dest, mode and search_string from EvJobLoad since they are notCarlos Garcia Campos2009-01-183-36/+40
| | | | | | | | | | | | | | 2009-01-18 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-jobs.[ch]: (ev_job_load_dispose), (ev_job_load_new): * shell/ev-window.c: (ev_window_load_job_cb), (ev_window_load_job_cb), (ev_window_open_uri), (ev_window_reload_local), (ev_window_dispose): Remove dest, mode and search_string from EvJobLoad since they are not really needed by the job, but for the window. svn path=/trunk/; revision=3347
* Make the whole EvWindow the destination of a drag and drop operation.Carlos Garcia Campos2009-01-182-45/+46
| | | | | | | | | | | | | | 2009-01-17 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view.c: (ev_view_drag_data_received), (ev_view_class_init), (ev_view_init): * shell/ev-window.c: (ev_window_drag_data_received), (ev_window_class_init), (ev_window_init): Make the whole EvWindow the destination of a drag and drop operation. svn path=/trunk/; revision=3345
* Add missing brakets around the percentage in progress messages. See bugCarlos Garcia Campos2009-01-161-2/+2
| | | | | | | | | | | 2009-01-16 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (window_open_file_copy_progress_cb): Add missing brakets around the percentage in progress messages. See bug #567910. svn path=/trunk/; revision=3341
* Do no use gdk_x11_* when not available. Based on patch by Hib Eris, seeCarlos Garcia Campos2009-01-161-0/+10
| | | | | | | | | | | | 2009-01-16 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-application.c: (ev_application_open_window), (ev_application_open_uri_at_dest): Do no use gdk_x11_* when not available. Based on patch by Hib Eris, see bug #339172. svn path=/trunk/; revision=3340
* Include gdkx only for dbus support. See bug #339172.Hib Eris2009-01-161-1/+1
| | | | | | | | | | 2009-01-16 Hib Eris <hib@hiberis.nl> * shell/main.c: Include gdkx only for dbus support. See bug #339172. svn path=/trunk/; revision=3338
* Expose ev_view_set_zoom_for_size for embedders to use. Fixes bug #567785.Tomeu Vizoso2009-01-162-1/+6
| | | | | | | | | | | 2009-01-16 Tomeu Vizoso <tomeu@sugarlabs.org> * shell/ev-view.c: (ev_view_set_zoom_for_size): Expose ev_view_set_zoom_for_size for embedders to use. Fixes bug #567785. svn path=/trunk/; revision=3337
* Use brakets around the percentage in progress messages. See bug #567910.Carlos Garcia Campos2009-01-161-4/+4
| | | | | | | | | | | | 2009-01-16 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (reload_remote_copy_progress_cb), (window_save_file_copy_progress_cb): Use brakets around the percentage in progress messages. See bug #567910. svn path=/trunk/; revision=3336
* Fix typo in error message. See bug #567910.Carlos Garcia Campos2009-01-161-1/+1
| | | | | | | | | | 2009-01-16 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (reload_remote_copy_ready_cb): Fix typo in error message. See bug #567910. svn path=/trunk/; revision=3335