1 /* Printing support for the Midnight Commander
3 * Copyright (C) 1998-1999 The Free Software Foundation
5 * Authors: Miguel de Icaza <miguel@nuclecu.unam.mx>
16 gprint_setup_devices (void)
18 static char *gprint_path
;
23 gprint_path
= gnome_is_program_in_path ("g-print");
28 desktop_quoted
= name_quote (desktop_directory
, 0);
29 command
= g_strconcat (gprint_path
, " --desktop-dir ", desktop_quoted
, NULL
);
30 g_free (desktop_quoted
);
32 my_system (EXECUTE_WAIT
| EXECUTE_AS_SHELL
, shell
, command
);