Posts Tagged ‘gnome’

PyGTK: Copy a file to clipboard (paste it in Nautilus)

Thursday, December 4th, 2008

PyGTK provide clipboard functionality for standard targets: text, file(s) and image. Nautilus if does not use the standard URI target for copy/cat/paste file because this target does not provide the desired action (copy or cut).

PyGTK: Get GNOME icon associated with a file

Tuesday, November 18th, 2008

If in your application you need to display a list of files/folders it would be nice to display icons near filenames.