dia r4045 - in trunk: . plug-ins/cairo plug-ins/postscript
- From: hans svn gnome org
- To: svn-commits-list gnome org
- Subject: dia r4045 - in trunk: . plug-ins/cairo plug-ins/postscript
- Date: Sun, 25 May 2008 12:56:30 +0000 (UTC)
Author: hans
Date: Sun May 25 12:56:30 2008
New Revision: 4045
URL: http://svn.gnome.org/viewvc/dia?rev=4045&view=rev
Log:
2008-05-18 Hans Breuer <hans breuer org>
* plug-ins/cairo/diacairo.c : register printing with cairo near
to the original print menu item
* plug-ins/postscript/postscript.c : don't register the postscript renderer
for printing on win32
Modified:
trunk/ChangeLog
trunk/plug-ins/cairo/diacairo.c
trunk/plug-ins/postscript/postscript.c
Modified: trunk/plug-ins/cairo/diacairo.c
==============================================================================
--- trunk/plug-ins/cairo/diacairo.c (original)
+++ trunk/plug-ins/cairo/diacairo.c Sun May 25 12:56:30 2008
@@ -391,9 +391,9 @@
#if GTK_CHECK_VERSION (2,10,0)
static DiaCallbackFilter cb_gtk_print = {
- "GtkCairoPrintAction",
- N_("Print via Gtk+/cairo ..."),
- "/DisplayMenu/File/FileExtensionStart",
+ "FilePrintGTK",
+ N_("Print (GTK) ..."),
+ "/DisplayMenu/File/FilePrint",
cairo_print_callback,
(void*)OUTPUT_PDF
};
Modified: trunk/plug-ins/postscript/postscript.c
==============================================================================
--- trunk/plug-ins/postscript/postscript.c (original)
+++ trunk/plug-ins/postscript/postscript.c Sun May 25 12:56:30 2008
@@ -76,7 +76,10 @@
filter_register_export(&eps_ft2_export_filter);
#endif
+#ifndef G_OS_WIN32
+ /* on win32 this is too uncommon, can only print to postscript printers */
filter_register_callback (&cb_ps_print);
+#endif
return DIA_PLUGIN_INIT_OK;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]