mirror of
https://github.com/correl/Transmission-XBMC.git
synced 2024-11-28 19:19:56 +00:00
Added close button to the torrent info dialog
This commit is contained in:
parent
50e9e2f286
commit
e5472ebd27
2 changed files with 15 additions and 1 deletions
|
@ -245,6 +245,7 @@ class TorrentInfoGUI(xbmcgui.WindowXMLDialog):
|
||||||
self.close()
|
self.close()
|
||||||
pass
|
pass
|
||||||
def onClick(self, controlID):
|
def onClick(self, controlID):
|
||||||
pass
|
if controlID == 111:
|
||||||
|
self.close()
|
||||||
def onFocus(self, controlID):
|
def onFocus(self, controlID):
|
||||||
pass
|
pass
|
||||||
|
|
|
@ -133,5 +133,18 @@
|
||||||
</control>
|
</control>
|
||||||
</focusedlayout>
|
</focusedlayout>
|
||||||
</control>
|
</control>
|
||||||
|
<control type="button" id="111">
|
||||||
|
<description>Close Window button</description>
|
||||||
|
<posx>850</posx>
|
||||||
|
<posy>0</posy>
|
||||||
|
<width>64</width>
|
||||||
|
<height>32</height>
|
||||||
|
<label>-</label>
|
||||||
|
<font>-</font>
|
||||||
|
<onclick>PreviousMenu</onclick>
|
||||||
|
<texturefocus>DialogCloseButton-focus.png</texturefocus>
|
||||||
|
<texturenofocus>DialogCloseButton.png</texturenofocus>
|
||||||
|
<visible>system.getbool(input.enablemouse)</visible>
|
||||||
|
</control>
|
||||||
</controls>
|
</controls>
|
||||||
</window>
|
</window>
|
||||||
|
|
Loading…
Reference in a new issue