...
 
Commits (2)
......@@ -84,8 +84,8 @@
<description lang="zh">使用此插件管理你的 @DISTRONAME@ 系统的底层操作系统。它使你可以在无需深入了解的情况下管理整个系统。[CR][CR]在这里,你可以修改网络设置、键盘布局、语言以及启用/禁用 Samba 和 SSH 等远程访问功能。</description>
<platform>all</platform>
<assets>
<icon>resources/icon.png</icon>
<fanart>resources/fanart.png</fanart>
<icon>resources/skins/Default/media/default/icon.png</icon>
<fanart>resources/skins/Default/media/default/fanart.png</fanart>
</assets>
</extension>
</addon>
......@@ -19,4 +19,4 @@ try:
sock.send('openConfigurationWindow')
sock.close()
except Exception, e:
xbmc.executebuiltin('Notification("@DISTRONAME@", "%s", 5000, "%sicons/icon.png")' % (_(32390).encode('utf-8'), __media__))
xbmc.executebuiltin('Notification("@DISTRONAME@", "%s", 5000, "%sdefault/icon.png")' % (_(32390).encode('utf-8'), __media__))
......@@ -89,7 +89,7 @@ xdbus = {'ENABLED': True}
_services = {
'sshd': ['dropbear.service'],
'avahi': ['avahi-daemon.service'],
'avahi': ['avahi-daemon.socket', 'avahi-daemon.service', 'avahi-dnsconfd.service'],
'samba': ['nmbd.service', 'smbd.service'],
'bluez': ['bluetooth.service'],
'obexd': ['obex.service'],
......
......@@ -116,7 +116,7 @@ def dbg_log(source, text, level=4):
def notify(title, message, icon='icon'):
try:
dbg_log('oe::notify', 'enter_function', 0)
msg = 'Notification("%s", "%s", 5000, "%s/icons/%s.png")' % (
msg = 'Notification("%s", "%s", 5000, "%s/default/%s.png")' % (
title,
message[0:64],
__media__,
......