2005-07-04 Matthew S. Wilson <msw@rpath.com>
* shell/ev-window.c (update_action_sensitivity): disable
File->Print if the document does not implement the ps exporter
interface
+2005-07-04 Matthew S. Wilson <msw@rpath.com>
+
+ * shell/ev-window.c (update_action_sensitivity): disable
+ File->Print if the document does not implement the ps exporter
+ interface
+
2005-07-04 Marco Pesenti Gritti <mpg@redhat.com>
* Makefile.am:
#include "ev-password-view.h"
#include "ev-print-job.h"
#include "ev-properties-dialog.h"
+#include "ev-ps-exporter.h"
#include "ev-document-thumbnails.h"
#include "ev-document-links.h"
#include "ev-document-fonts.h"
ok_to_copy = (info->permissions & EV_DOCUMENT_PERMISSIONS_OK_TO_COPY);
}
+ if (has_document && !EV_IS_PS_EXPORTER(document))
+ ok_to_print = FALSE;
+
if (!info || info->fields_mask == 0) {
has_properties = FALSE;
}