[maemo-developers] HDShortcuts

From: Timo Pelkonen peltsip at gmail.com
Date: Fri Apr 16 13:05:24 EEST 2010

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
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20100416/b072e613/attachment.htm>
More information about the maemo-developers mailing list