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

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
parent f304fbe5
......@@ -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);
}
......
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