Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-sidebar-links.c
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2006-07-26 15:27:37 (GMT)
committer Carlos Garcia Campos <carlosgc@src.gnome.org>2006-07-26 15:27:37 (GMT)
commit19eb9bd4a84d54e7af3eaf8c8f58037bf5437a97 (patch)
tree350331d234ae6ce9a05234ac2e6153455b207053 /shell/ev-sidebar-links.c
parentce1bd095414d0eece573c719202979f498f3ef33 (diff)
GtkPrintJob doesn't support print ranges or current page, so we export to
2006-07-26 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-jobs.[ch]: * shell/ev-sidebar-links.c: * shell/ev-window.[ch]: GtkPrintJob doesn't support print ranges or current page, so we export to a ps file now when printing ranges or current page.
Diffstat (limited to 'shell/ev-sidebar-links.c')
-rw-r--r--shell/ev-sidebar-links.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ev-sidebar-links.c b/shell/ev-sidebar-links.c
index 9df89cd..4639401 100644
--- a/shell/ev-sidebar-links.c
+++ b/shell/ev-sidebar-links.c
@@ -305,7 +305,7 @@ print_section_cb (GtkWidget *menuitem, EvSidebarLinks *sidebar)
if (!link)
return;
- first_page = get_page_from_link (link) + 1;
+ first_page = get_page_from_link (link);
if (first_page == -1) {
g_object_unref (link);
return;