[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 01/06: grc: stop using gtk forall() (#793)
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 01/06: grc: stop using gtk forall() (#793) |
Date: |
Sun, 14 Jun 2015 16:34:14 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch maint
in repository gnuradio.
commit 1424d6b70c77728aee44d175c44ee6379388bca9
Author: Sebastian Koslowski <address@hidden>
Date: Wed May 27 09:08:15 2015 +0200
grc: stop using gtk forall() (#793)
---
grc/gui/PropsDialog.py | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/grc/gui/PropsDialog.py b/grc/gui/PropsDialog.py
index d301a75..91f7f4f 100644
--- a/grc/gui/PropsDialog.py
+++ b/grc/gui/PropsDialog.py
@@ -161,7 +161,9 @@ class PropsDialog(gtk.Dialog):
for tab, label, vbox in self._params_boxes:
vbox.hide_all()
# empty the params box
- vbox.forall(lambda c: vbox.remove(c) or c.destroy())
+ for child in vbox.get_children():
+ vbox.remove(child)
+ child.destroy()
# repopulate the params box
box_all_valid = True
for param in filter(lambda p: p.get_tab_label() == tab,
self._block.get_params()):
@@ -202,7 +204,8 @@ class PropsDialog(gtk.Dialog):
def _handle_response(self, widget, response):
if response in (gtk.RESPONSE_APPLY, gtk.RESPONSE_ACCEPT):
for tab, label, vbox in self._params_boxes:
- vbox.forall(lambda c: c.apply_pending_changes())
+ for child in vbox.get_children():
+ child.apply_pending_changes()
self.set_response_sensitive(gtk.RESPONSE_APPLY, False)
return True
return False
- [Commit-gnuradio] [gnuradio] branch maint updated (e8165e7 -> 1ff0e74), git, 2015/06/14
- [Commit-gnuradio] [gnuradio] 03/06: grc: better Popen argument handling for CLI based apps, git, 2015/06/14
- [Commit-gnuradio] [gnuradio] 05/06: grc: save grc files utf-8 encoded (#792), git, 2015/06/14
- [Commit-gnuradio] [gnuradio] 01/06: grc: stop using gtk forall() (#793),
git <=
- [Commit-gnuradio] [gnuradio] 02/06: grc: fix file load error when connections are not unique (#794), git, 2015/06/14
- [Commit-gnuradio] [gnuradio] 06/06: Merge remote-tracking branch 'gnuradio-wg-grc/maint_grcwg' into maint, git, 2015/06/14
- [Commit-gnuradio] [gnuradio] 04/06: grc: clean-up ParseXML, git, 2015/06/14