Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorSascha Silbe <sascha-pgp@silbe.org>2010-10-15 17:53:25 (GMT)
committer Sascha Silbe <sascha-pgp@silbe.org>2010-11-23 16:14:32 (GMT)
commite2231d56203dcc58cc8a8a873ab1eef1b56a629e (patch)
tree4ab1f9f1c4284515a1f83cb359b1d89c3c938a54 /examples
parent131c28bb724d89900a1707ad4cae726ba8e9ce5a (diff)
PEP8 cleanup: fix number of blank lines
Caught by pep8. Reviewed-by: James Cameron <quozl@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
Diffstat (limited to 'examples')
-rw-r--r--examples/radiopalette.py1
-rw-r--r--examples/toolbar.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/examples/radiopalette.py b/examples/radiopalette.py
index 85b43ce..f8336bd 100644
--- a/examples/radiopalette.py
+++ b/examples/radiopalette.py
@@ -17,6 +17,7 @@ box.pack_start(toolbar, False)
text_view = gtk.TextView()
box.pack_start(text_view)
+
def echo(button, label):
if not button.props.active:
return
diff --git a/examples/toolbar.py b/examples/toolbar.py
index 2faea1f..c0718d3 100644
--- a/examples/toolbar.py
+++ b/examples/toolbar.py
@@ -25,6 +25,7 @@ toolbar.toolbar.insert(tollbarbutton_2, -1)
toolbar.toolbar.insert(gtk.SeparatorToolItem(), -1)
+
def del_cb(widget):
toolbar.toolbar.remove(tollbarbutton_3)
del_b = gtk.Button('delete sub-widget #3')