Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-sidebar-thumbnails.c
diff options
context:
space:
mode:
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>2005-04-15 23:37:39 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2005-04-15 23:37:39 (GMT)
commita5542ba7635d06d7b4b8e94ea472f29cbf4d2c4e (patch)
treee9a04d26deb2f8599c14fcdc124a62d9778ad2b9 /shell/ev-sidebar-thumbnails.c
parentbfde9e1345e4d129511a8f72e592ad7bc9e827c0 (diff)
Remove unused files.
* shell/ev-page-view.c: * shell/ev-page-view.h: Remove unused files. * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_set_document): * shell/ev-sidebar.c: (ev_sidebar_set_document), (ev_sidebar_supports_document): * shell/ev-sidebar.h: * shell/ev-window.c: (ev_window_setup_document): Doesn't show thumbnails if document has 1 page. Make sidebar menu entries sensitive only if if they have sense. Fix bug 164811.
Diffstat (limited to 'shell/ev-sidebar-thumbnails.c')
-rw-r--r--shell/ev-sidebar-thumbnails.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ev-sidebar-thumbnails.c b/shell/ev-sidebar-thumbnails.c
index e9ff445..b2734cb 100644
--- a/shell/ev-sidebar-thumbnails.c
+++ b/shell/ev-sidebar-thumbnails.c
@@ -255,7 +255,7 @@ ev_sidebar_thumbnails_set_document (EvSidebarThumbnails *sidebar_thumbnails,
* icon. */
g_mutex_lock (EV_DOC_MUTEX);
ev_document_thumbnails_get_dimensions (EV_DOCUMENT_THUMBNAILS (priv->document),
- 1, THUMBNAIL_WIDTH, &width, &height);
+ 0, THUMBNAIL_WIDTH, &width, &height);
g_mutex_unlock (EV_DOC_MUTEX);
loading_icon = ev_document_misc_get_thumbnail_frame (width, height, NULL);