SF.net SVN: geany:[4607] branches/geany-0.18.1
eht16 at users.sourceforge.net
eht16 at xxxxx
Sun Jan 31 16:24:36 UTC 2010
Revision: 4607
http://geany.svn.sourceforge.net/geany/?rev=4607&view=rev
Author: eht16
Date: 2010-01-31 16:24:35 +0000 (Sun, 31 Jan 2010)
Log Message:
-----------
Backport from trunk:
Enable embedded page setup properties in the (Unix) Print dialog on newer GTK versions (closes #2870596).
Modified Paths:
--------------
branches/geany-0.18.1/ChangeLog
branches/geany-0.18.1/src/printing.c
Modified: branches/geany-0.18.1/ChangeLog
===================================================================
--- branches/geany-0.18.1/ChangeLog 2010-01-31 16:24:15 UTC (rev 4606)
+++ branches/geany-0.18.1/ChangeLog 2010-01-31 16:24:35 UTC (rev 4607)
@@ -55,6 +55,13 @@
Added Galician translation. Thanks to José Manuel Castroagudín Silva.
+2009-10-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+
+ * src/printing.c:
+ Enable embedded page setup properties in the (Unix) Print dialog
+ on newer GTK versions (closes #2870596).
+
+
2009-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/symbols.c:
Modified: branches/geany-0.18.1/src/printing.c
===================================================================
--- branches/geany-0.18.1/src/printing.c 2010-01-31 16:24:15 UTC (rev 4606)
+++ branches/geany-0.18.1/src/printing.c 2010-01-31 16:24:35 UTC (rev 4607)
@@ -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