[evince/gnome-3-12] sidebar: Enable supported pages after reloading
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince/gnome-3-12] sidebar: Enable supported pages after reloading
- Date: Wed, 30 Apr 2014 08:16:24 +0000 (UTC)
commit c7f44dfdfd1f725f112b6dba48e5fdaf44444434
Author: Giselle Machado <giselle mnr gmail com>
Date: Wed Apr 30 00:13:46 2014 +0200
sidebar: Enable supported pages after reloading
When a document is reloaded, the supported pages
in the sidebar should be enabled.
https://bugzilla.gnome.org/show_bug.cgi?id=628617
shell/ev-sidebar.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/shell/ev-sidebar.c b/shell/ev-sidebar.c
index 492abb8..cc2a00e 100644
--- a/shell/ev-sidebar.c
+++ b/shell/ev-sidebar.c
@@ -508,6 +508,7 @@ ev_sidebar_document_changed_cb (EvDocumentModel *model,
if (ev_sidebar_page_support_document (EV_SIDEBAR_PAGE (widget), document)) {
has_pages = TRUE;
+ gtk_widget_set_sensitive (menu_widget, TRUE);
} else {
gtk_widget_set_sensitive (menu_widget, FALSE);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]