summary refs log tree commit diff
path: root/kayleevc/gui.py
diff options
context:
space:
mode:
authorClayton G. Hobbs <clay@lakeserv.net>2016-05-15 12:18:44 -0400
committerClayton G. Hobbs <clay@lakeserv.net>2016-05-15 12:18:44 -0400
commitbce8ef1763c0a068e30d6302eb7c0568e22ea525 (patch)
tree8704d2783d03bc131563efc767a52f0d611329d9 /kayleevc/gui.py
parent2611c6dcb64efabbd36c4925175c1533aeddb51e (diff)
Formatting and documentation
Added some blank lines and wrapped some long lines to be closer to PEP 8
compliance.

Improved docstrings in NumberParser class.  Added docstrings for
undocumented code and removed a TODO message that no longer applies.
Diffstat (limited to 'kayleevc/gui.py')
-rw-r--r--kayleevc/gui.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/kayleevc/gui.py b/kayleevc/gui.py
index 3369e33..27085a8 100644
--- a/kayleevc/gui.py
+++ b/kayleevc/gui.py
@@ -10,9 +10,11 @@ from gi.repository import GObject
 gi.require_version('Gtk', '3.0')
 from gi.repository import Gtk, Gdk
 
+
 class GTKTrayInterface(GObject.GObject):
     __gsignals__ = {
-        'command' : (GObject.SIGNAL_RUN_LAST, GObject.TYPE_NONE, (GObject.TYPE_STRING,))
+        'command' : (GObject.SIGNAL_RUN_LAST, GObject.TYPE_NONE,
+                     (GObject.TYPE_STRING,))
     }
     idle_text = "Kaylee - Idle"
     listening_text = "Kaylee - Listening"
@@ -106,9 +108,11 @@ class GTKTrayInterface(GObject.GObject):
     def set_icon_inactive(self):
         self.statusicon.set_from_file(self.icon_inactive)
 
+
 class GTKInterface(GObject.GObject):
     __gsignals__ = {
-        'command' : (GObject.SIGNAL_RUN_LAST, GObject.TYPE_NONE, (GObject.TYPE_STRING,))
+        'command': (GObject.SIGNAL_RUN_LAST, GObject.TYPE_NONE,
+                    (GObject.TYPE_STRING,))
     }
 
     def __init__(self, args, continuous):