El 01/10/2010 20:41, Cédric Krier escribió:
Hi,
I would like to know what you think about dropping the "File Actions" custom
file manager on Linux and use only xdg-utils.
For now, we already use "open" on Windows and MacOS so I find it will be
logical to use the equivalent one of Linux world.
Other argument is that the current editor view is a little bit simple so we
will gain in "user-friendlynes" by moving to desktop file manager.
One issue is that xdg-utils doesn't manage direct printing. (Is there some one
know how to deal with this issue?)
On the cheap side... what about just using /lpr/ to print the pdf on the
default printer?
It works for us pretty well on the OpenERP GTK client (it is not a
feature of the official GTK client, we had to patch it!):
http://www.openerp.com/forum/topic7077-15.html
And PrintOperation from pygtk?
http://www.pygtk.org/docs/pygtk/class-gtkprintoperation.html
The documentation states it is multi-platform:
/"|gtk.PrintOperation|
<http://www.pygtk.org/docs/pygtk/class-gtkprintoperation.html> is the
high-level, portable printing API. It looks a bit different than other
GTK+ dialogs such as the |gtk.FileChooser|
<http://www.pygtk.org/docs/pygtk/class-gtkfilechooser.html>, since some
platforms don't expose enough infrastructure to implement a good print
dialog. On such platforms, |gtk.PrintOperation|
<http://www.pygtk.org/docs/pygtk/class-gtkprintoperation.html> uses the
native print dialog. On platforms which do not provide a native print
dialog, GTK+ uses its own, see |gtkunixprint.PrintUnixDialog|
<http://www.pygtk.org/docs/pygtk/class-gtkprintunixdialog.html>."/
--
Borja López Soilán
http://www.kami.es
--
[email protected] mailing list