From e2231d56203dcc58cc8a8a873ab1eef1b56a629e Mon Sep 17 00:00:00 2001 From: Sascha Silbe Date: Fri, 15 Oct 2010 17:53:25 +0000 Subject: PEP8 cleanup: fix number of blank lines Caught by pep8. Reviewed-by: James Cameron Acked-by: Simon Schampijer CC: Aleksey Lim --- (limited to 'examples') 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') -- cgit v0.9.1