summaryrefslogtreecommitdiff
path: root/portato/gui/windows/basic.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-02-18 22:42:10 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-02-18 22:42:10 +0100
commit1644d262d2c577b1592a60914ec034a1e91171b7 (patch)
treee9eeca29c812425c728095bc8e0d5c46deb14714 /portato/gui/windows/basic.py
parentaf31f8ecc8465984d7dfc7b824ff5f8ca037a37a (diff)
downloadportato-1644d262d2c577b1592a60914ec034a1e91171b7.tar.gz
portato-1644d262d2c577b1592a60914ec034a1e91171b7.tar.bz2
portato-1644d262d2c577b1592a60914ec034a1e91171b7.zip
Add dummy signal handlers for PackageTable -- and so also the error output for not connected signals
Diffstat (limited to '')
-rw-r--r--portato/gui/windows/basic.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/portato/gui/windows/basic.py b/portato/gui/windows/basic.py
index 330f823..9d1b9ed 100644
--- a/portato/gui/windows/basic.py
+++ b/portato/gui/windows/basic.py
@@ -52,7 +52,11 @@ class UIBuilder (object):
if connector is None: connector = self
- self._builder.connect_signals(connector)
+ unconnected = self._builder.connect_signals(connector)
+
+ if unconnected is not None:
+ for uc in set(unconnected):
+ error("Signal '%s' not connected in class '%s'.", uc, self.__class__.__name__)
self.tree = WrappedTree(self.__class__.__name__, self._builder)