shutdown() sub menu under movies?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
MassIV Offline
Donor
Posts: 712
Joined: Mar 2012
Reputation: 21
Post: #1
So i was trying to learn some skinning and for the love of *** i can't figure this out.
The examples in wiki look too different and i can't find a thread that does this.

Using Alaska revisited http://forum.xbmc.org/showthread.php?tid=70302&page=228 in Eden.
Default menu style.

Tried to add:
Code:
<item id="17">
                    <description>Shutdown</description>
                    <label>$LOCALIZE[13005]</label>
                    <icon>homelist/shutdownicon.png</icon>
                    <property name="CustomIcon">special://skin/extras/customicons/shutdown.png</property>
                    <thumb fallback="backdrops/shutdown.jpg">$INFO[Skin.String(CustomShutdown)]</thumb>
                    <onclick>Shutdown()</onclick>
                    <visible>!Skin.HasSetting(NoShutdown)</visible>
                </item>

At line 265, under item id 3 (movies). In Includes_HomeList.xml and also tried Includes_HomeIcon.xml

Wrong file? Wrong item id?
(This post was last modified: 2012-06-10 08:42 by MassIV.)
find quote
Hitcher Offline
Skilled Skinner
Posts: 9,922
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #2
Includes_HomeDefault.xml. Wink

[Image: sig_zps3af3b48e.jpg]
find quote
MassIV Offline
Donor
Posts: 712
Joined: Mar 2012
Reputation: 21
Post: #3
(2012-06-10 10:41)Hitcher Wrote:  Includes_HomeDefault.xml. Wink

Thnx, i found it.

For anyone else reading this. I did the following in Includes_HomeDefault.xml (on line 1201) Replaced id 5 with shutdown:
Code:
<item id="4">
    <label>$LOCALIZE[344]</label>
    <onclick>ActivateWindow(Videos,tvshowactors,return)</onclick>
    <visible>!Skin.HasSetting(HideNewActors)</visible>
</item>
<item id="5">
    <label>$LOCALIZE[13005]</label>
    <onclick>Shutdown()</onclick>
    <visible>!Skin.HasSetting(HideShutdown)</visible>
</item>
(This post was last modified: 2012-06-10 23:45 by MassIV.)
find quote