Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-view.c
Commit message (Collapse)AuthorAgeFilesLines
* 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-021-2/+89
| | | | | | | | | | | 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
* 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
* hook up potentially-questionable "find results status text" feature -Havoc Pennington2004-12-231-2/+110
| | | | | | | | | | | | | | 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
* make search find stuff on other pages, sort of (only returns one result onHavoc Pennington2004-12-231-15/+33
| | | | | | | | | | 2004-12-22 Havoc Pennington <hp@redhat.com> * pdf/xpdf/pdf-document.cc (pdf_document_find_begin): make search find stuff on other pages, sort of (only returns one result on invisible pages, to show they have results; updates full results for a page when you view it). Currently repaints the current page every time a new result is found on any page, which isn't so nice.
* display an error if the document doesn't support find (better ideas?)Havoc Pennington2004-12-231-0/+1
| | | | | | | | | | | | | | | | 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
* *** empty log message ***Marco Pesenti Gritti2004-12-221-1/+1
|
* because get_page_size() returns the scaled page size, we need to calculateMark McLoughlin2004-12-221-3/+3
| | | | | | | | | | | 2004-12-22 Mark McLoughlin <mark@skynet.ie> * shell/ev-view.c: (ev_view_best_fit), (ev_view_fit_width): because get_page_size() returns the scaled page size, we need to calculate the scale factor relative to the previous scale factor. Should really just add get_real_page_size().
* add zooming.Mark McLoughlin2004-12-221-0/+85
| | | | | | | | | | | | | | | | | | 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.
* connect to "found" signal (expose_bin_window): draw find highlightsHavoc Pennington2004-12-221-3/+65
| | | | | | | | | | | | | | | 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-0/+41
| | | | | | | | | | | | | | | | | | 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.
* Redo size handling.Owen Taylor2004-12-221-4/+21
| | | | | | | | | Tue Dec 21 23:05:51 2004 Owen Taylor <otaylor@redhat.com> * backend/ev-document.{h,cc} pdf/xpdf/pdf-document.cc: Redo size handling. * shell/ev-view.c: Track the size from the document.
* Hook things up a bit, it works! (sort of)Owen Taylor2004-12-221-4/+16
| | | | | | | | | | | | | Tue Dec 21 21:58:56 2004 Owen Taylor <otaylor@redhat.com> * pdf/xpdf/pdf-document.cc shell/ev-view.c: Hook things up a bit, it works! (sort of) * pdf/xpdf/Makefile.am pdf/xpdf/pdf-document.cc: Move to .cc since we need to use C++ in the implementation. * shell/dummy.cc: Add a CC file to force evince to be linked as a C++ program.x
* Start of content-area widget.Owen Taylor2004-12-221-0/+422
Tue Dec 21 21:07:55 2004 Owen Taylor <otaylor@redhat.com> * shell/ev-view.[ch]: Start of content-area widget. * shell/ev-window.c: Create a EvView, update it as we change documents. * shell/Makefile.am shell/ev-marshal.list: Add generated marshalers.