2006-01-27 [cleroy] 1.9.100cvs192
[claws.git] / src / summaryview.c
index ea181a3682b46f467d16eda0c5d06ee4f287b858..9956843184dfae799d841e939178ad5b57740c7b 100644 (file)
@@ -3671,8 +3671,10 @@ static void print_mimeview(MimeView *mimeview)
        ||  !mimeview->textview->text)
                alertpanel_warning(_("Cannot print: the message doesn't "
                                     "contain text."));
-       else
+       else {
+               gtk_widget_realize(mimeview->textview->text);
                gedit_print(GTK_TEXT_VIEW(mimeview->textview->text));
+       }
 }
 #endif