diff options
author | Roland Mainz <roland.mainz@nrubsig.org> | 2004-05-30 22:44:01 +0000 |
---|---|---|
committer | Roland Mainz <roland.mainz@nrubsig.org> | 2004-05-30 22:44:01 +0000 |
commit | b041343bcf05fdf5ce4234655c869251b3f8fafa (patch) | |
tree | 734c352707cd6ee8250be39237022226c9b7a229 /xmore.c | |
parent | 7b5bbd9057eba74e53ec0ed9a306e78a15bd96a8 (diff) |
Fix for http://freedesktop.org/bugzilla/show_bug.cgi?id=695 - Add print
support to Xedit
Diffstat (limited to 'xmore.c')
-rw-r--r-- | xmore.c | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -164,11 +164,11 @@ printOKXtProc(Widget w, XtPointer client_data, XtPointer callData) * because it is used for the job title AND the page headers... */ sprintf(printJobNameBuffer, "XMore print job %s", viewFileName); - DoPrint(ProgramName, - textsource, toplevel, - pdcs->pdpy, pdcs->pcontext, printshellDestroyXtProc, - printJobNameBuffer, - pdcs->printToFile?pdcs->printToFileName:NULL); + DoPrintTextSource(ProgramName, + textsource, toplevel, + pdcs->pdpy, pdcs->pcontext, printshellDestroyXtProc, + printJobNameBuffer, + pdcs->printToFile?pdcs->printToFileName:NULL); XtPopdown(printdialog_shell); } @@ -247,6 +247,7 @@ int main( int argc, char *argv[] ) ProgramName = argv[0]; + XtSetLanguageProc(NULL, NULL, NULL); toplevel = XtOpenApplication(&app, "XMore", options, XtNumber(options), &argc, argv, fallback_resources, |