OS X Transparency - problem to turn off the Mac.
#1
Hi all,

I recently started using the skin transparency. I'm on a MacMini and Lion 10.7.4 + XBMC 11.0 + Transparency 4.5

I find it really beautiful and well done but I am having a small problem.
When I leave XBMC I choose in the menu "Turn Off". XBMC quits and you return to the Finder. But the mac will not turn off.

With the default skin it works perfectly on mac turns off normally.

This is a bug maybe?

Thank you.

Wink
Reply
#2
Looking at the skins DialogMenuButton.xml file and comparing the differences between the skins reveals the differences to be quite dramatic while Confluence has this.. and it seems to work for you.

<control type="button" id="3">
<description>Shutdown button</description>
<width>340</width>
<height>40</height>
<textcolor>grey2</textcolor>
<focusedcolor>white</focusedcolor>
<align>center</align>
<textwidth>290</textwidth>
<texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
<texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
<onclick>XBMC.Powerdown()</onclick>
<visible>System.CanPowerDown</visible>
<pulseonselect>no</pulseonselect>
<font>font13</font>
<label>13016</label>
</control>

Transparency! has code for multiple shutdown times, and animated rollovers etc.. If you're comfortable with editing xml code, you might want to replace the <onclick>Quit</onclick> in the Quit Button of T! with <onclick>XBMC.Powerdown()</onclick> whihc seems to be the obvious difference and see if that does it for you. I'm not sure what the <pulseselect> is for but it looks like Confluence it's 'no' while T! is 'yes' so you might have a bit more work..

<control type="button" id="11">
<description>Exit xbmc</description>
<width>60</width>
<height>60</height>
<texturefocus>shut-exit-focus.png</texturefocus>
<texturenofocus>shut-exit-nofocus.png</texturenofocus>
<onclick>Quit</onclick>
<pulseonselect>yes</pulseonselect>
<font>-</font>
<label>-</label>
<visible>!Skin.HasSetting(Hide_Shutdown_Exit)</visible>
</control>

or supplant it with one of the 'other buttons you don't use. Bug no clue, what's that ?
Reply
#3
Hi Patk,

Thank you for your answer.

I just did a search and I did not file DialogMenuButton.xml
By cons I have: DialogButtonMenu.xml ... ?
Neither the one nor the other exists for Confluence.

When I look at the file with an editor it does not look like your example. I have no line with:
<onclick> XBMC.Powerdown () </ onclick>

Should I create the file and copy / paste with your information?

thank you Wink
Reply
#4
you can define the shutdown action in xbmc settings.
there's no need to tweak the xml code.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#5
(2012-09-03, 08:41)ronie Wrote: you can define the shutdown action in xbmc settings.
there's no need to tweak the xml code.

How do I do with the transparency skin?
Because by default it does not work.

Wink
Reply
#6
(2012-09-03, 08:56)superyo Wrote:
(2012-09-03, 08:41)ronie Wrote: you can define the shutdown action in xbmc settings.
there's no need to tweak the xml code.

How do I do with the transparency skin?
Because by default it does not work.

Wink

same as any skin:
Settings > System > Power saving > Shutdown funtion
make sure it's set to 'shutdown' instead of 'quit'
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#7
hmm strange.
I did not touch anything after installing the skin. Transparency is there a change to the installation?
I'll do some tests and look at it.
I'll let you know.

Thank you.
Reply
#8
(2012-09-04, 07:29)superyo Wrote: hmm strange.
I did not touch anything after installing the skin. Transparency is there a change to the installation?

no, skin can't change any of the xbmc settings at all.
most likely the 'quit' option is selected by default.

the fact it does work is Confluence is they're using a different shutdown command compared to T!
in Confluence it's hardcoded to shutdown, in T! it uses whatever you've set the setting to.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#9
OK I understand. Thank you.
I just take the test. By changing the default "Quit" from "Shutdown" it works!
This is great.

thank you again Wink
Reply

Logout Mark Read Team Forum Stats Members Help
Transparency - problem to turn off the Mac.0