forked from cromer/pamac-classic
littlef fixes
This commit is contained in:
parent
8f48135ef0
commit
29355f4c4c
@ -86,7 +86,7 @@ class PamacDBusService(dbus.service.Object):
|
|||||||
def EmitLogWarning(self, message):
|
def EmitLogWarning(self, message):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
@dbus.service.signal('org.manjaro.pamac')
|
@dbus.service.signal('org.manjaro.pamac', signature = 'u')
|
||||||
def EmitAvailableUpdates(self, updates_nb):
|
def EmitAvailableUpdates(self, updates_nb):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
@ -280,7 +280,7 @@ def set_deps_list(pkg, style):
|
|||||||
if pkg.optdepends:
|
if pkg.optdepends:
|
||||||
optdeps = []
|
optdeps = []
|
||||||
for optdep in pkg.optdepends:
|
for optdep in pkg.optdepends:
|
||||||
if transaction.get_localpkg(optdep.split(':')[0]):
|
if pyalpm.find_satisfier(transaction.localdb.pkgcache, optdep.split(':')[0]):
|
||||||
optdeps.append(optdep+' ['+_('Installed')+']')
|
optdeps.append(optdep+' ['+_('Installed')+']')
|
||||||
else:
|
else:
|
||||||
optdeps.append(optdep)
|
optdeps.append(optdep)
|
||||||
|
@ -43,6 +43,8 @@ class Tray:
|
|||||||
self.statusIcon.connect('popup-menu', self.popup_menu_cb, self.menu)
|
self.statusIcon.connect('popup-menu', self.popup_menu_cb, self.menu)
|
||||||
self.statusIcon.connect('activate', self.activate_cb)
|
self.statusIcon.connect('activate', self.activate_cb)
|
||||||
|
|
||||||
|
self.update_icon(icon, info)
|
||||||
|
|
||||||
def execute_update(self, widget, event, data = None):
|
def execute_update(self, widget, event, data = None):
|
||||||
Popen(['/usr/bin/pamac-updater'])
|
Popen(['/usr/bin/pamac-updater'])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user