2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
* TODO:
* shell/ev-view.c: (set_document_page):
Clamp page number, dont try to move to
not existant pages.
+2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
+
+ * TODO:
+ * shell/ev-view.c: (set_document_page):
+
+ Clamp page number, dont try to move to
+ not existant pages.
+
2005-02-04 Marco Pesenti Gritti <marco@gnome.org>
* backend/ev-document-find.c: (ev_document_find_changed):
Hook up recent documents support (though rumors are that it's slow)
Improve Find system
- Find Next/Previous don't go to other pages
- Find Next/Previous doesn't focus the results
Display location of results in thumbnails?
Only display thumbnails of pages found?
Create a TODO list
Create a project page (http://www.gnome.org/projects/evince/)
Encrypted PDF support
-
+Improve Find system
+ Find Next/Previous don't go to other pages
+ Find Next/Previous doesn't focus the results
}
static void
-set_document_page (EvView *view, int page)
+set_document_page (EvView *view, int new_page)
{
+ int page;
+ int pages;
+
+ pages = ev_document_get_n_pages (view->document);
+ page = CLAMP (new_page, 1, pages);
+
if (view->document) {
int old_page = ev_document_get_page (view->document);
int old_width, old_height;