SF.net SVN: geany:[4286] trunk
eht16 at users.sourceforge.net
eht16 at xxxxx
Sat Oct 3 16:17:31 UTC 2009
Revision: 4286
http://geany.svn.sourceforge.net/geany/?rev=4286&view=rev
Author: eht16
Date: 2009-10-03 16:17:22 +0000 (Sat, 03 Oct 2009)
Log Message:
-----------
Enable embedded page setup properties in the (Unix) Print dialog on newer GTK versions (closes #2870596).
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/printing.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2009-10-03 16:04:05 UTC (rev 4285)
+++ trunk/ChangeLog 2009-10-03 16:17:22 UTC (rev 4286)
@@ -3,6 +3,9 @@
* doc/geany.txt, doc/geany.html:
Improve information about predefined keybindings which are
commonly used across applications (patch by Lex Trotman, thanks).
+ * src/printing.c:
+ Enable embedded page setup properties in the (Unix) Print dialog
+ on newer GTK versions (closes #2870596).
2009-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Modified: trunk/src/printing.c
===================================================================
--- trunk/src/printing.c 2009-10-03 16:04:05 UTC (rev 4285)
+++ trunk/src/printing.c 2009-10-03 16:17:22 UTC (rev 4286)
@@ -804,6 +804,9 @@
gtk_print_operation_set_unit(op, GTK_UNIT_POINTS);
gtk_print_operation_set_show_progress(op, TRUE);
+#if GTK_CHECK_VERSION(2, 18, 0)
+ gtk_print_operation_set_embed_page_setup(op, TRUE);
+#endif
g_signal_connect(op, "begin-print", G_CALLBACK(begin_print), dinfo);
g_signal_connect(op, "end-print", G_CALLBACK(end_print), dinfo);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list