AmiDock: docky title/name doesn't change
Posted: Wed Oct 02, 2013 1:18 pm
Hi, AmiDock has a feature that you can "rename" a program/docky to whatever you want ('Name' string gadget in Contents tab) and that string is showed as label in AmiDock.
It only needs in docky.c code:
But alas in AmiDock XML config shows 'VOLUME' as Name:
It shows 'Mixer' as label (instead of VOLUMEN), I can open AmiDock prefs and then change 'Name' string gadget to VOLUMEN, Use/Save and name changes to VOLUMEN.
Do I need another tag (DOCKYGET_Name?) in my docky.c or is a bug in AmiDock not reading 'Name' key, thus not "renaming" program/docky?
TIA
It only needs in docky.c code:
Code: Select all
..
case DOCKYGET_RenderMode:
*msgData = DOCKYRENDERMODE_Icon;
break;
case DOCKYGET_AllowsRename:
*msgData = TRUE;
break;
..
Code: Select all
..
<dict>
<key>Name</key>
<string>Volumen</string>
<key>FileName</key>
<string>Utilidades:MUSICA/Mixer/Mixer.docky</string>
<key>DndAtOnce</key>
<bool>FALSE</bool>
</dict>
..
Do I need another tag (DOCKYGET_Name?) in my docky.c or is a bug in AmiDock not reading 'Name' key, thus not "renaming" program/docky?
TIA