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