diff options
Diffstat (limited to 'shell/ev-page-action.c')
-rw-r--r-- | shell/ev-page-action.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ev-page-action.c b/shell/ev-page-action.c index 4b559c5..d122be4 100644 --- a/shell/ev-page-action.c +++ b/shell/ev-page-action.c @@ -100,7 +100,7 @@ page_changed_cb (EvPageCache *page_cache, { g_assert (proxy); - if (page_cache != NULL) { + if (page_cache != NULL && page >= 0) { gchar *page_label = ev_page_cache_get_page_label (page_cache, page); gtk_entry_set_text (GTK_ENTRY (proxy->entry), page_label); gtk_editable_set_position (GTK_EDITABLE (proxy->entry), -1); |