misc: a few "cosmetic" changes (PEP 8...)
This commit is contained in:
parent
41375e7bde
commit
f9bd9dd9b2
3 changed files with 15 additions and 11 deletions
|
|
@ -71,6 +71,7 @@ class ChatText(urwid.FlowWidget):
|
|||
render_txt.append(self.message)
|
||||
return urwid.Text(render_txt, align=self.align)
|
||||
|
||||
|
||||
class Chat(urwid.WidgetWrap, QuickChat):
|
||||
|
||||
def __init__(self, target, host, type='one2one'):
|
||||
|
|
|
|||
|
|
@ -43,7 +43,6 @@ class Notify(object):
|
|||
except:
|
||||
self.freedesktop_int = None
|
||||
|
||||
|
||||
def getFocus(self):
|
||||
if not self.display:
|
||||
return 0
|
||||
|
|
@ -73,4 +72,6 @@ class Notify(object):
|
|||
hints = dbus.Dictionary(signature='sv')
|
||||
expire_timeout = -1
|
||||
|
||||
self.freedesktop_int.Notify(app_name, replaces_id, app_icon, summary, body, actions, hints, expire_timeout)
|
||||
self.freedesktop_int.Notify(app_name, replaces_id, app_icon,
|
||||
summary, body, actions,
|
||||
hints, expire_timeout)
|
||||
|
|
|
|||
|
|
@ -614,4 +614,3 @@ class PrimitivusApp(QuickApp):
|
|||
|
||||
sat = PrimitivusApp()
|
||||
sat.start()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue