Skip to content

Commit 09d8893

Browse files
committed
ev-sidebar-thumbnails.c: Don't attempt to generate thumbnails
for epub docs. Commit 63f21d5 was intended to prevent thumbnails from being generated for epub docs. Unfortunately, the way default metadata is generated for documents left open another way for this to be triggered. Fixes #674.
1 parent 6bc767b commit 09d8893

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: shell/ev-sidebar-thumbnails.c

+4
Original file line numberDiff line numberDiff line change
@@ -705,6 +705,10 @@ ev_sidebar_thumbnails_fill_model (EvSidebarThumbnails *sidebar_thumbnails)
705705
gint prev_width = -1;
706706
gint prev_height = -1;
707707

708+
if (priv->document->iswebdocument) {
709+
return;
710+
}
711+
708712
for (i = 0; i < sidebar_thumbnails->priv->n_pages; i++) {
709713
gchar *page_label;
710714
gchar *page_string;

0 commit comments

Comments
 (0)