From a5542ba7635d06d7b4b8e94ea472f29cbf4d2c4e Mon Sep 17 00:00:00 2001 From: Nickolay V. Shmyrev Date: Fri, 15 Apr 2005 23:37:39 +0000 Subject: 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. --- (limited to 'shell/ev-sidebar-thumbnails.c') 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); -- cgit v0.9.1