Commit b7d151861cfc4c3dc1a18b547aac3aff009b6c61

Authored by Perry Werneck
1 parent 4460bdcc
Exists in v5.2

Tracing the allow_async state.

Showing 1 changed file with 6 additions and 2 deletions   Show diff stats
src/pw3270/print.c
... ... @@ -68,9 +68,13 @@
68 68 //
69 69 GtkPrintOperation * operation = v3270_print_operation_new(widget,src);
70 70  
71   - gtk_print_operation_set_allow_async(operation,get_boolean_from_config("print","allow_async",TRUE));
  71 + {
  72 + // Setup async mode
  73 + gboolean async = get_boolean_from_config("print","allow_async",FALSE);
72 74  
73   - trace("Allow async is %s",get_boolean_from_config("print","allow_async",TRUE) ? "TRUE" : "FALSE");
  75 + gtk_print_operation_set_allow_async(operation,async);
  76 + g_message("Allow async is %s",async ? "TRUE" : "FALSE");
  77 + }
74 78  
75 79 load_print_operation_settings(operation);
76 80  
... ...