Enable embedded page setup properties in the (Unix) Print dialog on newer GTK versions (closes #2870596).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4286 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
3a04de1144
commit
a41e95b392
@ -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>
|
||||
|
||||
@ -804,6 +804,9 @@ static void printing_print_gtk(GeanyDocument *doc)
|
||||
|
||||
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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user