Replacement for id12 - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12) +--- Thread: Replacement for id12 (/showthread.php?tid=11615) |
- housemarke - 2005-04-22 don't clap me if the question/wish still exist and i'm sitting on my eyes cause the hardcoded id's no longer existing, i where happy about new label id's for restart/reboot. in my shutdownmenu i want to split into 2 options with xbmc.restartapp() xbmc.reset() could you make it possible? housemarke - jmarshall - 2005-04-22 dialogbuttonmenu.xml is the file you want i think. you just have to add suitable buttons, and then set their <execute> tags to what you have above. - housemarke - 2005-04-22 yes i know, jmarshall and i'm talking about the dialogbuttonmenu.xml. but i can't find a labelid/buttonid like: Quote:<id>3111</id> suitable for xbmc.restartapp() i think i'm blind or really stupid could you :help: me please - kraqh3d - 2005-04-22 it's in there: Quote: <control> - housemarke - 2005-04-22 öhm, right <id>13313</id> print reset/reboot and i will additionally a second button for only restart xbmc. and for this button i need another label than "reset/reboot". i hope you'll understand me now. - jmarshall - 2005-04-22 if all you need is the string, look in strings.xml in the language folder and see if there is one that suits. if not, you can use <label>restart xbmc</label> for instance. note that the <id> of the buttons only matter for navigation purposes. the <execute> tag is what counts as far as what happens when the button is pushed. - housemarke - 2005-04-22 damn.. now it works. i've just added a new <string> for this, called: Quote:english: and edit <id>13313</id> into: Quote:english: could you set it default? :d |