* src/messageview.c
* src/mimeview.h
Allow mimeviewer plugins to print
their stuff
+2007-03-16 [colin] 2.8.1cvs17
+
+ * src/messageview.c
+ * src/mimeview.h
+ Allow mimeviewer plugins to print
+ their stuff
+
2007-03-16 [colin] 2.8.1cvs16
* .cvsignore
( cvs diff -u -r 1.5.2.32 -r 1.5.2.33 src/prefs_spelling.c; ) > 2.8.1cvs14.patchset
( cvs diff -u -r 1.94.2.124 -r 1.94.2.125 src/messageview.c; cvs diff -u -r 1.20.2.18 -r 1.20.2.19 src/mimeview.h; ) > 2.8.1cvs15.patchset
( cvs diff -u -r 1.8.2.5 -r 1.8.2.6 .cvsignore; ) > 2.8.1cvs16.patchset
+( cvs diff -u -r 1.94.2.125 -r 1.94.2.126 src/messageview.c; cvs diff -u -r 1.20.2.19 -r 1.20.2.20 src/mimeview.h; ) > 2.8.1cvs17.patchset
MICRO_VERSION=1
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=16
+EXTRA_VERSION=17
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
if (partnum > 0) {
mimeview_select_part_num(mimeview, partnum);
}
+ if (mimeview->type == MIMEVIEW_VIEWER) {
+ MimeViewer *viewer = mimeview->mimeviewer;
+ if (viewer && viewer->print) {
+ viewer->print(viewer);
+ return;
+ }
+ }
if (sel_start != -1 && sel_end != -1) {
GtkTextIter start, end;
GtkTextView *text = GTK_TEXT_VIEW(mimeview->textview->text);
gboolean (*text_search) (MimeViewer *, gboolean backward,
const gchar *str,
gboolean case_sensitive);
+ void (*print) (MimeViewer *);
MimeView *mimeview;
};