Kaydet (Commit) a41e95b3 authored tarafından Enrico Tröger's avatar Enrico Tröger

Enable embedded page setup properties in the (Unix) Print dialog on newer GTK…

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
üst 3a04de11
...@@ -3,6 +3,9 @@ ...@@ -3,6 +3,9 @@
* doc/geany.txt, doc/geany.html: * doc/geany.txt, doc/geany.html:
Improve information about predefined keybindings which are Improve information about predefined keybindings which are
commonly used across applications (patch by Lex Trotman, thanks). 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> 2009-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
......
...@@ -804,6 +804,9 @@ static void printing_print_gtk(GeanyDocument *doc) ...@@ -804,6 +804,9 @@ static void printing_print_gtk(GeanyDocument *doc)
gtk_print_operation_set_unit(op, GTK_UNIT_POINTS); gtk_print_operation_set_unit(op, GTK_UNIT_POINTS);
gtk_print_operation_set_show_progress(op, TRUE); 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, "begin-print", G_CALLBACK(begin_print), dinfo);
g_signal_connect(op, "end-print", G_CALLBACK(end_print), dinfo); g_signal_connect(op, "end-print", G_CALLBACK(end_print), dinfo);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment