GNOME Bugzilla – Bug 434858
Icons in the prefs tabs
Last modified: 2007-07-06 19:57:49 UTC
Find attached an improvement of config/ConfigDialog.py which introduces an icon attribute to the page tag which will show icons in der prefs tabs in front of the labels. The icons are downscaled in height (if necessary) to the size of the label keeping the aspect ratio. Usage: <page label="My Label" icon="test.png"> Only problem so far: the icon has to be in the root directory (/) or its full path (like /home/user/.gdesklets/Displays/MyDesklet/test.png ) has to be given as the path to the display's directory is unknown to the ConfigDialog. Some (minor) fixes need to be done in the core to fix this. See the MailingList for more details.
Created attachment 87320 [details] Diff for config/ConfigDialog.py which introduces an icon attribute to the prefs tag The diff file.
Nice!
Bjoern, could you please commit your patch to the bzr repository? Thanks in advance!
Bjoern, we gonna work on this. As discussed, it should go into v0.36.
The patch is in the bzr repository. But it is still waiting for the ConfigDialog to be fixed so it knows the desklet's path. I will open a new bug on LP as soon as the login problem on the bugs page has been solved.
"Moved" to LP a bug #124464.