Browse Source

ui_pygtk: cleaning up formatting errors reported by pyflakes

master
Gergely Imreh 16 years ago
parent
commit
5d9709ad66
  1. 5
      mitterlib/ui/ui_pygtk.py

5
mitterlib/ui/ui_pygtk.py

@ -72,7 +72,7 @@ class _IdleObject(gobject.GObject):
gobject.GObject.__init__(self)
def emit(self, *args):
gobject.idle_add(gobject.GObject.emit,self,*args)
gobject.idle_add(gobject.GObject.emit, self, *args)
class _WorkerThread(threading.Thread, _IdleObject):
@ -601,7 +601,6 @@ class Interface(object):
# ------------------------------------------------------------
# Widget callback functions
# ------------------------------------------------------------
def _count_chars(self, text_buffer):
"""Count the number of chars in the edit field and update the
label that shows the available space."""
@ -775,7 +774,6 @@ class Interface(object):
# ------------------------------------------------------------
# Required functions for all interfaces
# ------------------------------------------------------------
def __init__(self, connection, options):
"""Start the interface. `connection` is the :class:`Networks` object
with all the available networks. `options` is the :class:`ConfigOpt`
@ -887,4 +885,3 @@ class Interface(object):
default='blue',
conflict_group='interface',
is_cmd_option=False)

Loading…
Cancel
Save