Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-window.c
diff options
context:
space:
mode:
authorHib Eris <hib@hiberis.nl>2009-06-08 17:25:28 (GMT)
committer Carlos Garcia Campos <carlosgc@gnome.org>2009-06-09 09:30:24 (GMT)
commit51d4c0c6de63d78e9df04df525df35351b8bb454 (patch)
tree5b85b0768eecbe70b3fc42cdfb60c878733a26d0 /shell/ev-window.c
parentd337cbe9269e142f0b70e12a8c58296fe34b4892 (diff)
Do not disable printing when cairo printing is available.
Diffstat (limited to 'shell/ev-window.c')
-rw-r--r--shell/ev-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index d646b9a..a1dadb7 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -368,7 +368,7 @@ ev_window_setup_action_sensitivity (EvWindow *ev_window)
ok_to_copy = (info->permissions & EV_DOCUMENT_PERMISSIONS_OK_TO_COPY);
}
- if (has_document && !EV_IS_FILE_EXPORTER(document))
+ if (has_document && !ev_print_operation_exists_for_document(document))
ok_to_print = FALSE;
#ifdef WITH_GCONF