Commit f304fbe5 authored by Giselle Machado's avatar Giselle Machado Committed by Carlos Garcia Campos

Use thumbnails as default sidebar page

When the sidebar page set by the document metadata
is not supported, it falls back to thumbnails.

https://bugzilla.gnome.org/show_bug.cgi?id=628617
parent c7f3a822
......@@ -1007,6 +1007,9 @@ ev_window_sidebar_set_current_page (EvWindow *window,
} else if (strcmp (page_id, BOOKMARKS_SIDEBAR_ID) == 0 &&
ev_sidebar_page_support_document (EV_SIDEBAR_PAGE (bookmarks), document)) {
ev_sidebar_set_page (sidebar, bookmarks);
} else {
/* setup thumbnails by default */
ev_sidebar_set_page (sidebar, thumbs);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment