Skip to content

Commit

Permalink
[script.module.pyxbmct] 1.3.1 (#1266)
Browse files Browse the repository at this point in the history
  • Loading branch information
romanvm authored and enen92 committed Jan 8, 2020
1 parent 8971d8c commit e1672ba
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 11 deletions.
15 changes: 10 additions & 5 deletions script.module.pyxbmct/addon.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="script.module.pyxbmct"
name="PyXBMCt"
version="1.3.0"
version="1.3.1"
provider-name="Roman V.M.">
<requires>
<import addon="xbmc.python" version="2.25.0"/>
<import addon="script.module.future" />
<import addon="xbmc.python" version="2.26.0"/>
<import addon="script.module.six" />
<import addon="script.module.kodi-six" />
</requires>
<extension point="xbmc.python.module" library="lib" />
Expand All @@ -14,10 +14,15 @@
<summary lang="en_GB">PyXBMCt UI framework</summary>
<description lang="en_GB">PyXBMCt is a mini-framework for simple XBMC addon UI buliding. It is similar to PyQt and provides parent windows, a number of UI controls (widgets) and a grid layout manager to place controls.</description>
<license>GNU GPL v.3</license>
<forum>http://forum.xbmc.org/showthread.php?tid=174859</forum>
<forum>https://forum.kodi.tv/showthread.php?tid=174859</forum>
<website>http://romanvm.github.io/script.module.pyxbmct/</website>
<email>[email protected]</email>
<source>https://github.com/romanvm/script.module.pyxbmct</source>
<news>Added compatibility with Python 3</news>
<news>1.3.1:
- Fix incompatibility with newer Python 3 Kodi builds
- Replace future library with six for Python 3 compatibility</news>
<assets>
<icon>icon.png</icon>
</assets>
</extension>
</addon>
2 changes: 1 addition & 1 deletion script.module.pyxbmct/lib/pyxbmct/addonskin.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"""Classes for defining the appearance of PyXBMCt Windows and Controls"""

from __future__ import unicode_literals
from future.utils import with_metaclass
import os
from abc import ABCMeta, abstractmethod
from six import with_metaclass
import xbmc
from xbmcaddon import Addon

Expand Down
10 changes: 5 additions & 5 deletions script.module.pyxbmct/lib/pyxbmct/addonwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"""

from __future__ import absolute_import, division, unicode_literals
from future.builtins import range
import os
from six.moves import range
from kodi_six import xbmc, xbmcgui
from .addonskin import Skin

Expand Down Expand Up @@ -842,7 +842,7 @@ def onControl(self, control):
self._executeConnected(control, self.controls_connected)


class BlankFullWindow(FullWindowMixin, AbstractWindow):
class BlankFullWindow(AbstractWindow, FullWindowMixin):
"""
BlankFullWindow()
Expand All @@ -855,7 +855,7 @@ class BlankFullWindow(FullWindowMixin, AbstractWindow):
pass


class BlankDialogWindow(DialogWindowMixin, AbstractWindow):
class BlankDialogWindow(AbstractWindow, DialogWindowMixin):
"""
BlankDialogWindow()
Expand All @@ -868,7 +868,7 @@ class BlankDialogWindow(DialogWindowMixin, AbstractWindow):
pass


class AddonFullWindow(FullWindowMixin, AddonWindow):
class AddonFullWindow(AddonWindow, FullWindowMixin):

"""
AddonFullWindow(title='')
Expand Down Expand Up @@ -912,7 +912,7 @@ def setBackground(self, image=''):
self.main_bg.setImage(image)


class AddonDialogWindow(DialogWindowMixin, AddonWindow):
class AddonDialogWindow(AddonWindow, DialogWindowMixin):
"""
AddonDialogWindow(title='')
Expand Down

0 comments on commit e1672ba

Please sign in to comment.