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:
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>2006-02-10 04:36:12 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2006-02-10 04:36:12 (GMT)
commitf2511820a5499da40ae972bc833616a176d78f8f (patch)
tree3397621dd1267eb8d899cd52e08e0f3ba55d06cb /shell/ev-sidebar-links.c
parentfb037eb2a0842976deddd8df6793ed642eea5674 (diff)
Make printing support optional. Patch from Eduardo de Barros Lima
* configure.ac: * shell/Makefile.am: * shell/ev-sidebar-links.c: (print_section_cb): * shell/ev-utils.c: * shell/ev-utils.h: * shell/ev-window.c: (update_action_sensitivity), (ev_window_close_dialogs), (ev_window_print): * shell/ev-window.h: Make printing support optional. Patch from Eduardo de Barros Lima <eduardo.lima@indt.org.br> for the bug #330546.
Diffstat (limited to 'shell/ev-sidebar-links.c')
-rw-r--r--shell/ev-sidebar-links.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/ev-sidebar-links.c b/shell/ev-sidebar-links.c
index ac728ed..386cdd5 100644
--- a/shell/ev-sidebar-links.c
+++ b/shell/ev-sidebar-links.c
@@ -299,8 +299,10 @@ print_section_cb (GtkWidget *menuitem, EvSidebarLinks *sidebar)
window = gtk_widget_get_toplevel (GTK_WIDGET (sidebar));
if (EV_IS_WINDOW (window)) {
+#ifdef WITH_GNOME_PRINT
ev_window_print_range (EV_WINDOW (window),
first_page, last_page);
+#endif
}
}
}