|
@@ -13,7 +13,7 @@ class UI(GObject.GObject):
|
13
|
13
|
'command' : (GObject.SIGNAL_RUN_LAST, GObject.TYPE_NONE, (GObject.TYPE_STRING,))
|
14
|
14
|
}
|
15
|
15
|
|
16
|
|
- def __init__(self,args, continuous):
|
|
16
|
+ def __init__(self, args, continuous):
|
17
|
17
|
GObject.GObject.__init__(self)
|
18
|
18
|
self.continuous = continuous
|
19
|
19
|
# Make a window
|
|
@@ -33,8 +33,8 @@ class UI(GObject.GObject):
|
33
|
33
|
layout.add(self.ccheckbox)
|
34
|
34
|
|
35
|
35
|
# Connect the buttons
|
36
|
|
- self.lsbutton.connect("clicked",self.lsbutton_clicked)
|
37
|
|
- self.ccheckbox.connect("clicked",self.ccheckbox_clicked)
|
|
36
|
+ self.lsbutton.connect("clicked", self.lsbutton_clicked)
|
|
37
|
+ self.ccheckbox.connect("clicked", self.ccheckbox_clicked)
|
38
|
38
|
|
39
|
39
|
# Add a label to the UI to display the last command
|
40
|
40
|
self.label = Gtk.Label()
|