Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/main.c
Commit message (Collapse)AuthorAgeFilesLines
* Ever build metadata manager since it's just disabled at runtime now.Marco Pesenti Gritti2005-07-071-6/+1
| | | | | | | | | | 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com> * configure.ac: * shell/Makefile.am: Ever build metadata manager since it's just disabled at runtime now.
* Add an _init functions that enabled metadata management at runtime.Marco Pesenti Gritti2005-07-071-11/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-07 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-metadata-manager.c: (ev_metadata_manager_init), (ev_metadata_manager_get), (ev_metadata_manager_set): * shell/ev-metadata-manager.h: Add an _init functions that enabled metadata management at runtime. * shell/ev-window.c: (page_changed_cb), (setup_document_from_metadata), (ev_window_setup_document), (setup_view_from_metadata), (ev_window_open_uri), (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_dual_mode_changed_cb), (window_state_event_cb), (window_configure_event_cb): Remove all ugly metadata define since we deal with it at runtime now. * shell/main.c: (load_files_remote), (main): Add support for dbus cvs head. Hopefully didnt break one of the other versions now! If we dont get a response from the dbus server just give up with it and not enable metadata.
* Marco Pesenti Gritti <mpg@redhat.com>Carlos Garcia Campos2005-07-051-10/+16
| | | | | | | | | | | | | 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
* include libgnomeui/gnome-authentication-manager.h (main): to callMartin Kretzschmar2005-07-041-0/+3
| | | | | | | | * shell/main.c: include libgnomeui/gnome-authentication-manager.h (main): to call gnome_authentication_manager_init. Should fix Bug #308510 * configure.ac: that requires libgnomeui 2.6.0.
* Metadata manager from gedit but modified to use GValue, so that we dontMarco Pesenti Gritti2005-06-301-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-19/+70
| | | | | | | | | | | | | | | | | | | 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!
* PageCache and EvJobs are moved from backend to shell. Two new jobs toNickolay V. Shmyrev2005-06-071-1/+1
| | | | | load document in background and a statusbar to display this process. FileChooser now can select multiple uris.
* Massive code clean up from Nickolay Shmyrev. Keep page offset whenJonathan Blandford2005-05-181-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tue May 17 22:54:17 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-view.c: (view_update_adjustments), (view_set_adjustment_values), (view_update_range_and_current_page), (view_scroll_to_page), (set_scroll_adjustment), (ev_view_set_scroll_adjustments), (add_scroll_binding_keypad), (ev_view_scroll), (ev_view_scroll_view), (ensure_rectangle_is_visible), (find_page_at_location), (get_link_at_location), (go_to_link), (status_message_from_link), (ev_view_size_request_continuous_dual_page), (ev_view_size_request), (ev_view_size_allocate), (ev_view_realize), (ev_view_unrealize), (ev_view_expose_event), (ev_view_button_press_event), (ev_view_motion_notify_event), (ev_view_button_release_event), (ev_gdk_color_to_rgb), (draw_rubberband), (highlight_find_results), (draw_one_page), (ev_view_finalize), (ev_view_destroy), (ev_view_class_init), (ev_view_init), (find_changed_cb), (page_changed_cb), (on_adjustment_value_changed), (ev_view_new), (ev_view_set_document), (ev_view_set_zoom), (ev_view_set_continuous), (ev_view_set_dual_page), (ev_view_set_presentation), (ev_view_zoom_in), (ev_view_zoom_out), (zoom_for_size_fit_width), (zoom_for_size_best_fit), (ev_view_zoom_for_size_presentation), (ev_view_zoom_for_size_continuous_dual_page), (ev_view_zoom_for_size_continuous), (ev_view_zoom_for_size_dual_page), (ev_view_zoom_for_size_single_page), (ev_view_set_zoom_for_size), (ev_view_get_status), (ev_view_set_status), (update_find_status_message), (ev_view_get_find_status), (ev_view_set_find_status), (jump_to_find_result), (jump_to_find_page), (compute_selections), (clear_selection), (ev_view_select_all), (get_selected_text), (ev_view_copy), (ev_view_primary_get_cb), (ev_view_primary_clear_cb), (ev_view_update_primary_selection), (ev_view_create_invisible_cursor), (ev_view_set_cursor): * shell/ev-view.h: * shell/ev-window.c: (ev_window_open_page_label), (ev_window_cmd_view_reload), (ev_window_sizing_mode_changed_cb), (ev_window_init): * shell/ev-window.h: * shell/main.c: (load_files): Massive code clean up from Nickolay Shmyrev. Keep page offset when resizing. Remove the bin_window(). Also, patch from James Bowes to fix command line page, #300641
* Put the toolbar xml in evince own dot dirMarco Pesenti Gritti2005-05-101-0/+3
| | | | | | | | | | | 2005-05-10 Marco Pesenti Gritti <mpg@redhat.com> * lib/Makefile.am: * shell/ev-window.c: (ev_window_cmd_edit_toolbar_cb), (ev_window_init): * shell/main.c: (main): Put the toolbar xml in evince own dot dir
* Save accelerators on exit. Fixes bug #172095.Christian Persch2005-04-091-0/+2
| | | | | | | | 2005-04-09 Christian Persch <chpe@cvs.gnome.org> * shell/main.c: (main): Save accelerators on exit. Fixes bug #172095.
* Recent files support.Nickolay V. Shmyrev2005-04-071-1/+1
| | | | | | | | | | | | | | | | | | | 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:
* merge evince-threads branchMarco Pesenti Gritti2005-03-231-0/+2
|
* Specify an icon for the window. Patch by Jaap A. Haitsma. Fixes #166177.Vincent Noel2005-02-161-0/+1
| | | | | | | 2005-02-16 Vincent Noel <vnoel@cox.net> * shell/main.c (main): Specify an icon for the window. Patch by Jaap A. Haitsma. Fixes #166177.
* Add debugging helpersMarco Pesenti Gritti2005-02-071-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-07 Marco Pesenti Gritti <marco@gnome.org> * Makefile.am: * configure.ac: * doc/debugging.txt: * lib/.cvsignore: * lib/Makefile.am: * lib/ev-debug.c: (log_module), (trap_handler), (ev_debug_init), (ev_profiler_new), (ev_should_profile), (ev_profiler_dump), (ev_profiler_free), (ev_profiler_start), (ev_profiler_stop): * lib/ev-debug.h: Add debugging helpers * ps/Makefile.am: * ps/ps-document.c: (set_up_page), (start_interpreter), (stop_interpreter), (document_load), (ps_document_next_page), (ps_document_goto_page), (ps_document_set_page_size), (ps_document_widget_event), (ps_document_render): * shell/Makefile.am: * shell/ev-view.c: (expose_bin_window): * shell/main.c: (main): Add some logs
* use gnome_vfs_make_uri_from_shell_arg so that relative paths work from theJeff Muizelaar2005-01-041-11/+5
| | | | | | | | | 2005-01-04 Jeff Muizelaar <jrmuizel@nit.ca> * shell/main.c (load_files): use gnome_vfs_make_uri_from_shell_arg so that relative paths work from the command line and because it seems more appropriate.
* fit-width stock icon from gpdf.Mark McLoughlin2004-12-221-0/+4
| | | | | | | | | | | | | | | 2004-12-22 Mark McLoughlin <mark@skynet.ie> * data/ev-stock-zoom-fit-width.png: fit-width stock icon from gpdf. * shell/ev-stock-icons.[ch]: copied from gpdf. * shell/main.c: (main): init stock icons. * shell/ev-window.c: use the fit-width icon. * data/evince-ui.xml: add zooming toolbar items.
* load files from the command line.Mark McLoughlin2004-12-221-3/+33
| | | | | | | | | | | | | | | | | | | 2004-12-22 Mark McLoughlin <mark@skynet.ie> * shell/main.c: (load_files), (main): load files from the command line. 2004-12-22 Mark McLoughlin <mark@skynet.ie> * configure.ac: don't require bonobo. * cut-n-paste/recent-files/*: kill bonobo recent view. * shell/ev-window.c: (ev_window_is_empty): upd. (unable_to_load), (ev_window_open): load backend based on the mime type.
* (main): this is not epiphany.Martin Kretzschmar2004-12-221-1/+1
|
* Actually show the window...Marco Pesenti Gritti2004-12-211-0/+6
| | | | | | | | | | | 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...
* Initial revisionMarco Pesenti Gritti2004-12-211-0/+66