Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-window.c
Commit message (Collapse)AuthorAgeFilesLines
* A data/evince.schemas.in:Christian Persch2005-02-071-84/+246
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-07 Christian Persch <chpe@cvs.gnome.org> * Makefile.am: * configure.ac: * data/.cvsignore: * data/Makefile.am: * data/evince-ui.xml: A data/evince.schemas.in: * po/POTFILES.in: * shell/ev-stock-icons.c: (ev_stock_icons_init): * shell/ev-stock-icons.h: * shell/ev-window.c: (update_chrome_visibility), (update_chrome_flag), (ev_window_cmd_edit_find), (ev_window_update_fullscreen_popup), (ev_window_fullscreen), (ev_window_unfullscreen), (ev_window_focus_in_event), (ev_window_focus_out_event), (ev_window_cmd_leave_fullscreen), (ev_window_view_toolbar_cb), (ev_window_view_statusbar_cb), (ev_window_view_sidebar_cb), (find_bar_close_cb), (ev_window_dispose), (ev_window_class_init), (set_action_properties), (set_chrome_actions), (load_chrome), (ev_window_init): Implement fullscreen mode changes from bug #164776. Also implement persistent chrome toggles.
* Open gzipped ps documentsMarco Pesenti Gritti2005-02-041-0/+1
| | | | | | | | | 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
* Fix several bugs with findMarco Pesenti Gritti2005-02-041-0/+1
| | | | | | | | | | | | 2005-02-04 Marco Pesenti Gritti <marco@gnome.org> * backend/ev-document-find.c: (ev_document_find_changed): * backend/ev-document-find.h: * pdf/xpdf/pdf-document.cc: * shell/ev-view.c: (jump_to_find_result), (ev_view_set_document): * shell/ev-window.c: (find_bar_search_changed_cb): Fix several bugs with find
* New file with some random thoughts.Jonathan Blandford2005-02-021-3/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wed Feb 2 21:13:11 2005 Jonathan Blandford <jrb@redhat.com> * NOTES: New file with some random thoughts. * TODO: Update. * backend/ev-document-misc.c: (ev_document_misc_get_page_border_size): New function to canonicalize shadow drawing sizes. Possibly goofy. * shell/ev-view.c: (ev_view_size_request), (set_document_page), (ev_view_best_fit), (ev_view_fit_width): * pdf/xpdf/pdf-document.cc: * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size): * ps/ps-document.c: (ps_document_get_page_size): * backend/ev-document-misc.h: * backend/ev-document.c: (ev_document_get_page_size): * backend/ev-document.h: get_page_size now takes a page number parameter. Made all the backends/frontends honor it. * data/evince-ui.xml: Added a multiple-page mode. Uncomment to see. Doesn't work yet. * shell/Makefile.am: * shell/ev-page-view.[ch]: New multi-page view. Really rough. Doesn't do anything yet. * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_set_document): [1..n_pages] instead of [0..n_pages-1] * shell/ev-window.c: (update_action_sensitivity), (ev_window_setup_document), (ev_window_set_page_mode), (ev_window_page_mode_cb), (ev_window_init): Clean up the view-swapping code a bit so we can have multiple views on a document. Add the multi-page view, though it can't be turned on yet.
* Support eps and check document supports find before drawing highlightingsMarco Pesenti Gritti2005-02-011-1/+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.
* More work on find implementation, mostly there nowMarco Pesenti Gritti2005-01-301-5/+2
| | | | | | | | | | | | | | | | | | 2005-01-30 Marco Pesenti Gritti <marco@gnome.org> * backend/ev-document-find.c: (ev_document_find_base_init), (ev_document_find_changed): * backend/ev-document-find.h: * pdf/xpdf/pdf-document.cc: * shell/ev-view.c: (draw_rubberband), (highlight_find_results), (expose_bin_window), (ev_view_init), (set_document_page), (ensure_rectangle_is_visible), (jump_to_find_result), (jump_to_find_page), (find_changed_cb), (ev_view_set_document), (ev_view_find_next), (ev_view_find_previous): * shell/ev-view.h: * shell/ev-window.c: (find_bar_previous_cb), (find_bar_next_cb): More work on find implementation, mostly there now
* Kill session historyMarco Pesenti Gritti2005-01-271-80/+0
| | | | | | | | | | | | | | | | | | 2005-01-27 Marco Pesenti Gritti <marco@gnome.org> * data/evince-ui.xml: * shell/Makefile.am: * shell/ev-history.c: * shell/ev-history.h: * shell/ev-navigation-action.c: * shell/ev-navigation-action.h: * shell/ev-view.c: (ev_view_finalize), (ev_view_go_to_link), (ev_view_set_page), (ev_view_fit_width): * shell/ev-view.h: * shell/ev-window.c: (update_action_sensitivity), (ev_window_setup_document), (register_custom_actions): Kill session history
* Fix inverted up/down buttonsMarco Pesenti Gritti2005-01-271-5/+5
| | | | | | | | 2005-01-27 Marco Pesenti Gritti <marco@gnome.org> * shell/ev-window.c: (update_action_sensitivity): Fix inverted up/down buttons
* (ev_window_init): add GTK_SHADOW_IN to the scrolled window forMartin Kretzschmar2005-01-261-3/+6
| | | | Federico.
* guard against unloaded docs when the title is accessed.Jonathan Blandford2005-01-251-197/+259
| | | | | | | | | | | | | Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com> * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against unloaded docs when the title is accessed. * shell/ev-password-view.[hc]: New widget for displaying password state. * shell/ev-window.[ch]: Refactor password handling code to handle the new view.
* (update_window_title): empty titles are useless, use filename in thatMartin Kretzschmar2005-01-221-1/+1
| | | | case too.
* 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
* Ensure thumbnails selection, toolbar page control and current page are inMarco Pesenti Gritti2005-01-201-6/+18
| | | | | | | | | | | | | | | | | | 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-191-81/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-181-2/+10
| | | | | | | | | | | | | 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-141-12/+54
| | | | | | | | | | | 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-131-8/+22
| | | | | | | | | | | | | | | | | | | | | | 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...
* Implement history dropdownsMarco Pesenti Gritti2005-01-111-15/+37
| | | | | | | | | | | | | | | | | | | | 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-111-1/+1
| | | | | | | | | | | 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-101-6/+6
|
* Initial history implementation. Needs work.Marco Pesenti Gritti2005-01-091-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-081-1/+3
| | | | | | | | | | | | | | * 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.
* Cleanup and add select all.Marco Pesenti Gritti2005-01-071-1/+11
| | | | | | | | | | | | | | | | 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.
* Implement Edit->CopyMarco Pesenti Gritti2005-01-051-1/+1
| | | | | | | | | | 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
* 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
* 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-041-1/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* 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.
* 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
* * backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *Jonathan Blandford2004-12-241-2/+4
| | | | | | | | | | | | | | | | | | | | | Fri Dec 24 00:48:44 2004 Jonathan Blandford <jrb@redhat.com> * backend/ev-document-bookmarks.c: (ev_document_bookmarks_get_child): * backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: * pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: * shell/Makefile.am: * shell/ev-sidebar-bookmarks.c: (ev_sidebar_bookmarks_destroy), (ev_sidebar_bookmarks_class_init), (ev_sidebar_bookmarks_construct), (stack_data_free), (do_one_iteration), (populate_bookmarks_idle), (ev_sidebar_bookmarks_clear_document), (ev_sidebar_bookmarks_set_document): * shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c: (ev_sidebar_add_page), (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open): Initial stab at a bookmarks sidebar. It doesn't navigate yet, but it displays both the topics and the page numbers.
* Set sidebar default value to visible.Kristian Høgsberg2004-12-231-1/+1
|
* Hook up sidebar toggle.Kristian Høgsberg2004-12-231-1/+5
| | | | | | | 2004-12-23 Kristian Høgsberg <krh@redhat.com> * shell/ev-window.c (ev_window_view_sidebar_cb): Hook up sidebar toggle.
* hook up potentially-questionable "find results status text" feature -Havoc Pennington2004-12-231-4/+21
| | | | | | | | | | | | | | 2004-12-23 Havoc Pennington <hp@redhat.com> * shell/ev-window.c: hook up potentially-questionable "find results status text" feature - something involving the sidebar or scrollbar or a continuous all-pages-on-giant-roll-of-paper-view might be better in the end. * shell/ev-view.c (ev_view_get_find_status_message): new function, with corresponding signal when it should be updated * shell/eggfindbar.c (egg_find_bar_set_status_text): new function
* display an error if the document doesn't support find (better ideas?)Havoc Pennington2004-12-231-9/+39
| | | | | | | | | | | | | | | | 2004-12-22 Havoc Pennington <hp@redhat.com> * shell/ev-window.c (ev_window_cmd_edit_find): display an error if the document doesn't support find (better ideas?) (find_bar_search_changed_cb): handle missing document or document that doesn't support find * pdf/xpdf/pdf-document.cc: port to implement the new EvDocumentFindIface * backend/ev-document-find.c: create a new interface for searching * backend/ev-document.h, backend/ev-document.c: delete the find stuff
* add GnomePrintJob to EvPrintJob constructor arguments.Martin Kretzschmar2004-12-231-1/+2
| | | | | | | | | | | | | | | | | * shell/ev-window.c (ev_window_print): add GnomePrintJob to EvPrintJob constructor arguments. * backend/ev-ps-exporter.c, backend/ev-ps-exporter.h: interface for documents that can export PostScript (page by page). * backend/Makefile.am (libevbackend_la_SOURCES): add them. * pdf/xpdf/pdf-document.cc (pdf_document_ps_export_begin) (pdf_document_ps_export_do_page, pdf_document_ps_export_end) (pdf_document_ps_exporter_iface_init: Implement EvPSExporter. * pdf/xpdf/Makefile.am (libxpdf_la_SOURCES): build PSOutputDev.
* Set up a print dialog for "PostScript injection" method.Martin Kretzschmar2004-12-221-2/+90
| | | | | | | | | | | * shell/ev-window.c (ev_window_cmd_file_print, ev_window_print) (using_postscript_printer): Set up a print dialog for "PostScript injection" method. * shell/ev-print-job.h, shell/ev-print-job.c: stub classes for EvPrintJob. * shell/Makefile.am (evince_SOURCES): add ev-print-job.[ch]
* initial sidebar document setting code.Jonathan Blandford2004-12-221-0/+2
| | | | | | | Wed Dec 22 13:41:01 2004 Jonathan Blandford <jrb@redhat.com> * shell/ev-sidebar.c (ev_sidebar_set_document): initial sidebar document setting code.
* Fix bugs in fullscreen code.Anders Carlsson2004-12-221-4/+43
| | | | | | | | | | 2004-12-22 Anders Carlsson <andersca@gnome.org> * shell/ev-window.c: (ev_window_cmd_edit_find), (update_fullscreen_popup), (ev_window_fullscreen), (ev_window_unfullscreen), (ev_window_state_event_cb), (ev_window_focus_out_cb), (find_bar_close_cb), (ev_window_init): Fix bugs in fullscreen code.
* Add pixbuf backend.Anders Carlsson2004-12-221-1/+42
| | | | | | | | | | | | | | | | | | | | | | | 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.
* *** empty log message ***Marco Pesenti Gritti2004-12-221-0/+3
|
* Add fullscreen support from Epiphany.Anders Carlsson2004-12-221-6/+184
| | | | | | | | | | | | 2004-12-22 Anders Carlsson <andersca@gnome.org> * shell/ev-window.c: (update_fullscreen_popup), (screen_size_changed_cb), (destroy_exit_fullscreen_popup), (exit_fullscreen_button_clicked_cb), (fullscreen_popup_size_request_cb), (ev_window_fullscreen), (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen), (ev_window_state_event_cb), (ev_window_init): Add fullscreen support from Epiphany.
* fit-width stock icon from gpdf.Mark McLoughlin2004-12-221-1/+2
| | | | | | | | | | | | | | | 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.
* add zooming.Mark McLoughlin2004-12-221-5/+5
| | | | | | | | | | | | | | | | | | 2004-12-22 Mark McLoughlin <mark@skynet.ie> * shell/ev-view.[ch]: (ev_view_zoom), (ev_view_zoom_in), (ev_view_zoom_out), (ev_view_normal_size), (ev_view_best_fit), (ev_view_fit_width): add zooming. * shell/ev-window.c: (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size), (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width): hook it up. * pdf/xpdf/pdf-document.cc: (pdf_document_begin_find), (pdf_document_end_find): make static.
* load files from the command line.Mark McLoughlin2004-12-221-66/+45
| | | | | | | | | | | | | | | | | | | 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.
* connect to "found" signal (expose_bin_window): draw find highlightsHavoc Pennington2004-12-221-1/+11
| | | | | | | | | | | | | | | 2004-12-22 Havoc Pennington <hp@redhat.com> * shell/ev-view.c (ev_view_set_document): connect to "found" signal (expose_bin_window): draw find highlights * shell/ev-window.c (find_bar_search_changed_cb): implement * pdf/xpdf/pdf-document.cc (pdf_document_begin_find) (pdf_document_end_find): implement this interface * backend/ev-document.c (ev_document_found): add this to emit signal
* Add a few more toolbar items.Owen Taylor2004-12-221-5/+58
| | | | | | | | | | | | | | | | | | Tue Dec 21 23:57:37 2004 Owen Taylor <otaylor@redhat.com> * data/evince-ui.xml: Add a few more toolbar items. * shell/ev-window.c: Hook up page navigation toolbar items. * shell/ev-view.[ch]: add ev_view_set/get_page and a page-changed signal. * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc:: Add ev_document_get_page(). * shell/ev-window.c: Sensitize/desensitize navigation actions.
* Construct an actual sidebar.Jonathan Blandford2004-12-221-0/+19
| | | | | | | | Tue Dec 21 23:20:35 2004 Jonathan Blandford <jrb@redhat.com> * shell/ev-sidebar.c: Construct an actual sidebar. * shell/ev-sidebar-bookmarks.[ch]: * shell/ev-sidebar-thumbnails.[ch]: Stub out sidebars.
* PDFDoc constructor assumes ownership of the string passed in.Owen Taylor2004-12-221-0/+1
| | | | | | | | | | Tue Dec 21 22:17:04 2004 Owen Taylor <otaylor@redhat.com> * pdf/xpdf/pdf-document.cc (pdf_document_load): PDFDoc constructor assumes ownership of the string passed in. * shell/ev-window.c (ev_window_open): Destroy the error dialog once we've displayed it.