Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
Commit message (Collapse)AuthorAgeFilesLines
* Make selection work in any directionMarco Pesenti Gritti2005-01-211-8/+7
| | | | | | | | | 2005-01-21 Marco Pesenti Gritti <marco@gnome.org> * shell/ev-view.c: (ev_view_button_press_event), (ev_view_motion_notify_event): Make selection work in any direction
* Use shorter labels for some of the toolbars itemsMarco Pesenti Gritti2005-01-211-1/+14
| | | | | | | | | 2005-01-21 Marco Pesenti Gritti <marco@gnome.org> * TODO: * shell/ev-window.c: (set_short_labels), (ev_window_init): Use shorter labels for some of the toolbars items
* make the bg color darker.Jonathan Blandford2005-01-201-1/+1
| | | | | | Thu Jan 20 18:56:35 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-view.c (ev_view_realize): make the bg color darker.
* (set_document_page): handle paper size changes when the pageMartin Kretzschmar2005-01-201-0/+11
| | | | changes (test with Free Culture, page 2).
* (set_document_page): unset has_selection when the page changes.Martin Kretzschmar2005-01-201-0/+1
|
* Use normal style color for the widget background and draw a black boxMarco Pesenti Gritti2005-01-201-34/+17
| | | | | | | | | | 2005-01-20 Marco Pesenti Gritti <marco@gnome.org> * shell/ev-view.c: (ev_view_size_request), (ev_view_realize), (expose_bin_window), (ev_view_class_init), (ev_view_init): Use normal style color for the widget background and draw a black box around the page.
* forgot thisMarco Pesenti Gritti2005-01-201-3/+9
|
* Show a wait cursor while the page is renderingMarco Pesenti Gritti2005-01-201-19/+36
| | | | | | | | | | | 2005-01-20 Marco Pesenti Gritti <marco@gnome.org> * pdf/xpdf/pdf-document.cc: * shell/ev-view.c: (ev_view_set_cursor), (ev_view_motion_notify_event), (document_changed_callback), (set_document_page): Show a wait cursor while the page is rendering
* Ensure thumbnails selection, toolbar page control and current page are inMarco Pesenti Gritti2005-01-205-13/+54
| | | | | | | | | | | | | | | | | | 2005-01-20 Marco Pesenti Gritti <marco@gnome.org> * shell/ev-sidebar-thumbnails.c: (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_select_page): * shell/ev-sidebar-thumbnails.h: * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back), (ev_view_can_go_forward): * shell/ev-window.c: (ev_window_open_page), (ev_window_setup_document), (update_current_page), (view_page_changed_cb), (ev_window_init): * shell/ev-window.h: Ensure thumbnails selection, toolbar page control and current page are in sync.
* Add initial support for password-supported dialogs. This could be a lotJonathan Blandford2005-01-194-81/+322
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wed Jan 19 01:10:57 2005 Jonathan Blandford <jrb@redhat.com> * backend/Makefile.am: * backend/ev-document-links.h: * backend/ev-document-security.c: (ev_document_security_get_type), (ev_document_security_has_document_security), (ev_document_security_set_password): * backend/ev-document-security.h: * backend/ev-document.c: (ev_document_error_quark): * backend/ev-document.h: * data/Makefile.am: * data/evince-password.glade: * pdf/xpdf/pdf-document.cc: * shell/Makefile.am: * shell/ev-password.c: (ev_password_set_bad_password_label), (ev_window_password_entry_changed_cb), (ev_password_dialog_new), (ev_password_dialog_get_password), (ev_password_dialog_set_bad_pass): * shell/ev-password.h: * shell/ev-window.c: (ev_window_get_attribute), (ev_window_set_property), (update_action_sensitivity), (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf), (ev_window_setup_document), (ev_window_get_password), (ev_window_open), (ev_window_cmd_save_as), (using_postscript_printer), (ev_window_print), (find_not_supported_dialog), (ev_window_cmd_edit_find), (update_fullscreen_popup), (ev_window_fullscreen), (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen), (ev_window_focus_out_cb), (ev_window_cmd_help_about), (menu_item_select_cb), (find_bar_search_changed_cb), (ev_window_dispose), (ev_window_init): Add initial support for password-supported dialogs. This could be a lot cooler, but it'll do for now.
* Fix bugs in the links implementation and change cursor when hovering aMarco Pesenti Gritti2005-01-182-7/+53
| | | | | | | | | | | | | 2005-01-18 Marco Pesenti Gritti <marco@gnome.org> * pdf/xpdf/pdf-document.cc: * shell/ev-view.c: (status_message_from_link), (ev_view_set_status), (ev_view_set_cursor), (ev_view_motion_notify_event), (ev_view_init): * shell/ev-window.c: (view_status_changed_cb), (ev_window_init): Fix bugs in the links implementation and change cursor when hovering a link.
* new functions to help with implementation of sensitivity code FixDave Malcolm2005-01-143-12/+90
| | | | | | | | | | | 2005-01-14 Dave Malcolm <dmalcolm@redhat.com> * shell/ev-view.h: * shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward): new functions to help with implementation of sensitivity code * shell/ev-window.c (update_action_sensitivity): Fix sensitivity of all actions that might require it. Fixes a crash when you click on the Zoom actions in a window lacking a document.
* Fix sensitivity of the Find actionDave Malcolm2005-01-141-2/+12
| | | | | | 2005-01-13 Dave Malcolm <dmalcolm@redhat.com> * shell/ev-window.c (Module): Fix sensitivity of the Find action
* View status message support, use it to show the links. Needs work...Marco Pesenti Gritti2005-01-133-51/+204
| | | | | | | | | | | | | | | | | | | | | | 2005-01-13 Marco Pesenti Gritti <marco@gnome.org> * pixbuf/pixbuf-document.c: (pixbuf_document_get_link), (pixbuf_document_document_iface_init): * ps/ps-document.c: (ps_document_get_link), (ps_document_document_iface_init): * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event), (status_message_from_link), (ev_view_set_status), (ev_view_set_find_status), (ev_view_motion_notify_event), (ev_view_button_release_event), (ev_view_set_property), (ev_view_get_property), (ev_view_class_init), (ev_view_init), (ev_view_get_find_status_message), (update_find_results), (ev_view_get_status), (ev_view_get_find_status): * shell/ev-view.h: * shell/ev-window.c: (view_status_changed_cb), (view_find_status_changed_cb), (ev_window_init): View status message support, use it to show the links. Needs work...
* Add support for document linksMarco Pesenti Gritti2005-01-134-44/+36
| | | | | | | | | | | | | | | 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
* Set the spin button limits correctly.Anders Carlsson2005-01-132-4/+43
| | | | | | | | | | | | 2005-01-13 Anders Carlsson <andersca@gnome.org> * shell/ev-page-action.c: (update_spin), (total_pages_changed_cb), (create_tool_item): Set the spin button limits correctly. * shell/ev-sidebar-thumbnails.c: (ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init): Support changing pages by clicking on the thumbnails.
* Implement history dropdownsMarco Pesenti Gritti2005-01-116-26/+210
| | | | | | | | | | | | | | | | | | | | 2005-01-11 Marco Pesenti Gritti <marco@gnome.org> * shell/ev-history.c: (ev_history_get_property), (ev_history_set_property), (ev_history_class_init), (ev_history_add_page), (ev_history_set_current_index): * shell/ev-navigation-action.c: (ev_navigation_action_set_history), (activate_menu_item_cb), (new_history_menu_item), (build_menu), (ev_navigation_action_finalize): * shell/ev-navigation-action.h: * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back), (ev_view_go_forward), (ev_view_get_find_status_message), (history_index_changed_cb), (ev_view_set_history): * shell/ev-view.h: * shell/ev-window.c: (update_total_pages), (ev_window_open), (update_current_page), (register_custom_actions): Implement history dropdowns
* Fix several history bugsMarco Pesenti Gritti2005-01-113-11/+29
| | | | | | | | | | | 2005-01-11 Marco Pesenti Gritti <marco@gnome.org> * shell/ev-history.c: (ev_history_init), (ev_history_add_link): * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back), (ev_view_go_forward): * shell/ev-window.c: (register_custom_actions): Fix several history bugs
* Rename bookmark to link, and use "Index" for the sidebar panel.Marco Pesenti Gritti2005-01-1013-230/+228
|
* Initial history implementation. Needs work.Marco Pesenti Gritti2005-01-0910-16/+354
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Added ev-print-job.c.Martin Kretzschmar2005-01-083-4/+254
| | | | | | | | | | | | | | * POTFILES.in: Added ev-print-job.c. * shell/ev-print-job.c (ev_print_job_finalize) (ev_print_job_set_property, ev_print_job_get_property) (ev_print_job_set_gnome_print_job, ev_print_job_set_document) (ev_print_job_use_print_dialog_settings, idle_print_handler) (print_closure_finalize, ev_print_job_print): implement printing (for backends with EvPsExporter) * shell/ev-window.c (ev_window_print): unref print job after printing.
* (ev_view_set_document): don't connect to "found" unless the documentMartin Kretzschmar2005-01-081-4/+5
| | | | implements the EvDocumentFind interface.
* Add a way to open bookmarksMarco Pesenti Gritti2005-01-073-5/+40
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Hook up bookmarks navigationMarco Pesenti Gritti2005-01-071-1/+38
| | | | | | | | | 2005-01-07 Marco Pesenti Gritti <marco@gnome.org> * shell/ev-sidebar-bookmarks.c: (selection_changed_cb), (ev_sidebar_bookmarks_construct), (do_one_iteration): Hook up bookmarks navigation
* Add a bookmark object to the backend and use it instead of get_valuesMarco Pesenti Gritti2005-01-071-10/+9
| | | | | | | | | | | | | | | | | | | | | 2005-01-07 Marco Pesenti Gritti <marco@gnome.org> * backend/Makefile.am: * backend/ev-bookmark.c: (ev_bookmark_type_get_type), (ev_bookmark_get_title), (ev_bookmark_set_title), (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type), (ev_bookmark_get_page), (ev_bookmark_set_page), (ev_bookmark_get_property), (ev_bookmark_set_property), (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init), (ev_bookmark_new): * backend/ev-bookmark.h: * backend/ev-document-bookmarks.c: (ev_document_bookmarks_get_bookmark): * backend/ev-document-bookmarks.h: * pdf/xpdf/pdf-document.cc: * shell/ev-sidebar-bookmarks.c: (do_one_iteration): Add a bookmark object to the backend and use it instead of get_values
* Cleanup and add select all.Marco Pesenti Gritti2005-01-073-1/+32
| | | | | | | | | | | | | | | | 2005-01-07 Marco Pesenti Gritti <marco@gnome.org> * data/evince-ui.xml: Cleanup and add select all. * shell/ev-view.c: (ev_view_select_all), (ev_view_button_press_event): * shell/ev-view.h: * shell/ev-window.c: (ev_window_cmd_edit_select_all): Add select all. Clear selection on click.
* forgot to unref the loading_icon.Jonathan Blandford2005-01-071-0/+1
| | | | | | | | Fri Jan 7 01:28:58 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-sidebar-thumbnails.c (ev_sidebar_thumbnails_set_document): forgot to unref the loading_icon.
* fill in the thumbnails starting at the visible page, not just linearly.Jonathan Blandford2005-01-071-30/+89
| | | | | | | Fri Jan 7 01:22:48 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting at the visible page, not just linearly. This makes it look fast.
* fill in the thumbnail with white. New interface to get the size of a page.Jonathan Blandford2005-01-062-21/+20
| | | | | | | | | | Thu Jan 6 18:48:11 2005 Jonathan Blandford <jrb@redhat.com> * backend/ev-document-misc.c (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with white. * backend/ev-document-thumbnails.h: New interface to get the size of a page.
* Add ev-utils.[ch] so that make dist worksJeremy Katz2005-01-061-0/+2
| | | | | | | 2005-01-06 Jeremy Katz <katzj@redhat.com> * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that make dist works
* bypass GDKSplashOutputDev and just use a normal SplashOutputDev. SpeedsJonathan Blandford2005-01-052-8/+28
| | | | | | | | | | Wed Jan 5 15:38:28 2005 Jonathan Blandford <jrb@redhat.com> * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds things up a bit. * shell/ev-sidebar-thumbnail.c: start of some profiling code.
* Implement Edit->CopyMarco Pesenti Gritti2005-01-053-15/+27
| | | | | | | | | | 2005-01-05 Marco Pesenti Gritti <marco@gnome.org> * shell/ev-view.c: (ev_view_copy): * shell/ev-view.h: * shell/ev-window.c: (ev_window_cmd_edit_copy): Implement Edit->Copy
* Beginnings of clipboard support. Incomplete but primary sort of work.Marco Pesenti Gritti2005-01-051-9/+98
| | | | | | | | | | | | | | | 2005-01-05 Marco Pesenti Gritti <marco@gnome.org> * backend/ev-document.c: (ev_document_get_text): * backend/ev-document.h: * pdf/xpdf/pdf-document.cc: * shell/ev-view.c: (ev_view_realize), (expose_bin_window), (ev_view_primary_get_cb), (ev_view_primary_clear_cb), (ev_view_update_primary_selection), (ev_view_button_press_event), (ev_view_motion_notify_event), (ev_view_button_release_event): Beginnings of clipboard support. Incomplete but primary sort of work.
* Nicer rubberband drawing, from GtkIconView.Marco Pesenti Gritti2005-01-051-7/+47
| | | | | | | | | 2005-01-05 Marco Pesenti Gritti <marco@gnome.org> * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband), (expose_bin_window): Nicer rubberband drawing, from GtkIconView.
* Implement "Save a copy..." menu itemMarco Pesenti Gritti2005-01-051-1/+117
| | | | | | | | | | | | 2005-01-05 Marco Pesenti Gritti <marco@gnome.org> * backend/ev-document.c: (ev_document_save): * backend/ev-document.h: * data/evince-ui.xml: * pdf/xpdf/pdf-document.cc: * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as): Implement "Save a copy..." menu item
* Queue a resize when zoom changesMarco Pesenti Gritti2005-01-051-1/+1
| | | | | | | | 2005-01-05 Marco Pesenti Gritti <marco@gnome.org> * shell/ev-view.c: (ev_view_zoom): Queue a resize when zoom changes
* New misc file to do simple drop shadows.Jonathan Blandford2005-01-052-18/+14
| | | | | | | | | | Wed Jan 5 02:33:06 2005 Jonathan Blandford <jrb@redhat.com> * backend/ev-document-misc.[ch]: New misc file to do simple drop shadows. * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of thumbnails..
* Do real thumbnailing of PDF files. It's slow, but I'll speed it up next!Jonathan Blandford2005-01-051-2/+2
| | | | | | | Tue Jan 4 21:25:05 2005 Jonathan Blandford <jrb@redhat.com> * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files. It's slow, but I'll speed it up next!
* 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.
* s/next page/page down s/previous page/page upMarco Pesenti Gritti2005-01-041-8/+8
| | | | | | | | | | | 2005-01-04 Marco Pesenti Gritti <marco@gnome.org> * data/evince-ui.xml: * shell/ev-window.c: (update_action_sensitivity), (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down): s/next page/page down s/previous page/page up
* Change the layout to match clarkbw design.Marco Pesenti Gritti2005-01-047-30/+703
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-04 Marco Pesenti Gritti <marco@gnome.org> * data/evince-ui.xml: Change the layout to match clarkbw design. * shell/Makefile.am: * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb), (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init), (ev_navigation_action_finalize), (ev_navigation_action_set_property), (ev_navigation_action_get_property), (ev_navigation_action_class_init): * shell/ev-navigation-action.h: Implement clarkbw toolbar navigation controls (incomplete) * shell/ev-page-action.c: (update_label), (update_spin), (value_changed_cb), (create_tool_item), (connect_proxy), (ev_page_action_init), (ev_page_action_finalize), (ev_page_action_set_property), (ev_page_action_get_property), (ev_page_action_set_current_page), (ev_page_action_set_total_pages), (ev_page_action_class_init): * shell/ev-page-action.h: Implement a page switcher in the toolbar * shell/ev-view.c: (ev_view_scroll_view): * shell/ev-window.c: (update_total_pages), (ev_window_open), (update_current_page), (view_page_changed_cb), (goto_page_cb), (register_custom_actions), (ev_window_init): Change page on PageUp/Down.
* initial stab at implementing thumbnail support for pdfs. It only doesJonathan Blandford2005-01-042-2/+2
| | | | | | | | | Tue Jan 4 03:22:56 2005 Jonathan Blandford <jrb@redhat.com> * pdf/xpdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): initial stab at implementing thumbnail support for pdfs. It only does documents with precached pdfs now.
* move the thumbnail code into a time-based idle as well. Also, turn off theJonathan Blandford2005-01-031-6/+42
| | | | | | | | Mon Jan 3 17:22:25 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the thumbnail code into a time-based idle as well. Also, turn off the shadow temporarily as it's really slow.
* Fix document title bugs and fallback to filename when not available.Marco Pesenti Gritti2005-01-031-9/+15
| | | | | | | | | | | 2005-01-03 Marco Pesenti Gritti <marco@gnome.org> * backend/ev-document.c: (ev_document_class_init): * pdf/xpdf/pdf-document.cc: * shell/ev-window.c: (ev_window_open): Fix document title bugs and fallback to filename when not available.
* Initial support for document title. Not working yet.Marco Pesenti Gritti2005-01-031-1/+24
| | | | | | | | | | | | | | | | | | | 2005-01-03 Marco Pesenti Gritti <marco@gnome.org> * backend/ev-document.c: (ev_document_get_type), (ev_document_class_init), (ev_document_load), (ev_document_get_title): * backend/ev-document.h: * pdf/xpdf/pdf-document.cc: * ps/ps-document.c: (ps_document_set_property), (ps_document_get_property), (ps_document_class_init), (document_load): * ps/ps-document.h: * ps/ps.h: * shell/ev-window.c: (update_window_title), (ev_window_open), (ev_window_init): Initial support for document title. Not working yet.
* Grab focus on the view when clicking itMarco Pesenti Gritti2005-01-021-2/+7
| | | | | | | | 2005-01-02 Marco Pesenti Gritti <marco@gnome.org> * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event): Grab focus on the view when clicking it
* Add key bindings to the view. Now if the focus would work right...Marco Pesenti Gritti2005-01-022-2/+90
| | | | | | | | | | | 2005-01-02 Marco Pesenti Gritti <marco@gnome.org> * shell/ev-marshal.list: * shell/ev-view.c: (ev_view_realize), (add_scroll_binding), (ev_view_scroll_view), (ev_view_class_init), (ev_view_init): Add key bindings to the view. Now if the focus would work right...
* Fix mouse wheel scrollingMarco Pesenti Gritti2005-01-011-1/+1
| | | | | | | | 2005-01-01 Marco Pesenti Gritti <marco@gnome.org> * shell/ev-view.c: (ev_view_realize): Fix mouse wheel scrolling
* Rename GtkGS to PSDocumentMarco Pesenti Gritti2005-01-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-01 Marco Pesenti Gritti <marco@gnome.org> * ps/Makefile.am: * ps/gstypes.h: * ps/gtkgs.c: * ps/gtkgs.h: * ps/ps-document.c: (catchPipe), (ps_document_init), (ps_document_class_init), (ps_document_cleanup), (ps_document_finalize), (send_ps), (ps_document_get_orientation), (set_up_page), (close_pipe), (is_interpreter_ready), (interpreter_failed), (output), (input), (start_interpreter), (stop_interpreter), (file_length), (file_readable), (check_filecompressed), (check_pdf), (compute_xdpi), (compute_ydpi), (compute_size), (ps_document_enable_interpreter), (ps_document_get_type), (ps_document_emit_error_msg), (document_load), (ps_document_next_page), (ps_document_get_current_page), (ps_document_get_page_count), (ps_document_goto_page), (ps_document_set_page_size), (ps_document_zoom_to_fit), (ps_document_set_zoom), (ps_document_load), (ps_document_get_n_pages), (ps_document_set_page), (ps_document_get_page), (ps_document_widget_event), (ps_document_set_target), (ps_document_set_scale), (ps_document_set_page_offset), (ps_document_get_page_size), (ps_document_render), (ps_document_document_iface_init): * ps/ps-document.h: * ps/ps.c: * shell/ev-window.c: (ev_window_open): Rename GtkGS to PSDocument
* Add a changed event that is emitted when the page content changes. This isMarco Pesenti Gritti2004-12-311-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-31 Marco Pesenti Gritti <marco@gnome.org> * backend/ev-document.c: (ev_document_base_init), (ev_document_changed): * backend/ev-document.h: Add a changed event that is emitted when the page content changes. This is necessary to deal with the fact that in ps backend rendering happen asycrounously. This makes the ps backend mostly work. * pdf/xpdf/pdf-document.cc: Emit changed event * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event), (ps_document_set_target): Emit changed event * shell/ev-view.c: (document_changed_callback), (ev_view_set_document), (ev_view_set_page): Redraw on the changed signal