From: Carlos Garcia Campos Date: Sun, 28 Jan 2007 12:36:34 +0000 (+0000) Subject: Do not update links treeview if it doesn't have a model assigned yet. X-Git-Tag: EVINCE_0_7_2~63 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=f3fd33cd579a92acbd7a86e550424558f973a064;p=evince.git Do not update links treeview if it doesn't have a model assigned yet. 2007-01-28 Carlos Garcia Campos * shell/ev-sidebar-links.c: (ev_sidebar_links_map): Do not update links treeview if it doesn't have a model assigned yet. svn path=/trunk/; revision=2258 --- diff --git a/ChangeLog b/ChangeLog index 1ff8c5dd..8367a5e3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-01-28 Carlos Garcia Campos + + * shell/ev-sidebar-links.c: (ev_sidebar_links_map): + + Do not update links treeview if it doesn't have a model assigned yet. + 2007-01-28 Carlos Garcia Campos * shell/ev-sidebar-links.c: (ev_sidebar_links_map), diff --git a/shell/ev-sidebar-links.c b/shell/ev-sidebar-links.c index 50eb29f6..1205b4e2 100644 --- a/shell/ev-sidebar-links.c +++ b/shell/ev-sidebar-links.c @@ -178,7 +178,7 @@ ev_sidebar_links_map (GtkWidget *widget) GTK_WIDGET_CLASS (ev_sidebar_links_parent_class)->map (widget); - if (links->priv->page_cache) { + if (links->priv->model) { update_page_callback (links->priv->page_cache, ev_page_cache_get_current_page (links->priv->page_cache), links);