Hi

I am at final stretch with my simple python app and only real problem now is
getting an icon for the shortcuts the program outputs. It uses
libhildondesktop via ctypes and the command is
hd_shortcuts_add_bookmark_shortcut (file_src, name, icon)

now everything else works perfectly except the icon... documentation says
the path for the icon is ~/.bookmarks/shortcut-thumbnails, browsed to the
folder that didn't exist. but there was similar looking:
~/.bookmarks/home-thumbnails . The latter contains thumbs for every web
shortcut I've added to desktop.

Now I've tried setting string (whatever it really is, luckily don't have to
stress so much with those when using python :) ) 'icon' to:

a) full path to png file (/home/user/.bookmarks.....)
b) path that exists (~/.bookmarks/home-thumbnails/...)
c) created the path documented and copied the same file there
(~/.bookmarks/shortcut-thumbnails/...)
d) plain file name (file lies in root of ~/.bookmarks/shortcut-thumbnails/)


So now I need to know what I am doing wrong.

Ossipena / Timo P
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to