summaryrefslogtreecommitdiff
path: root/src/data_forms.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2011-11-10 15:17:30 +0100
committermathieui <mathieui@mathieui.net>2011-11-10 15:17:30 +0100
commit5c122163921fd6baef67e7a40afefdd83f9ef9ca (patch)
treea8d1574555ad5cfc8b182a6a4f6a53baa85fa0b7 /src/data_forms.py
parentd3d4bd156cb8a76d5406f7b6c690bbb09e55afde (diff)
downloadpoezio-5c122163921fd6baef67e7a40afefdd83f9ef9ca.tar.gz
poezio-5c122163921fd6baef67e7a40afefdd83f9ef9ca.tar.bz2
poezio-5c122163921fd6baef67e7a40afefdd83f9ef9ca.tar.xz
poezio-5c122163921fd6baef67e7a40afefdd83f9ef9ca.zip
Also in the DataFormTab
Diffstat (limited to 'src/data_forms.py')
-rw-r--r--src/data_forms.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/data_forms.py b/src/data_forms.py
index 8445d3d2..8f19e41b 100644
--- a/src/data_forms.py
+++ b/src/data_forms.py
@@ -23,6 +23,7 @@ class DataFormsTab(Tab):
A tab contaning various window type, displaying
a form that the user needs to fill.
"""
+ plugin_commands = {}
def __init__(self, form, on_cancel, on_send, kwargs):
Tab.__init__(self)
self._form = form
@@ -41,6 +42,7 @@ class DataFormsTab(Tab):
self.key_func['^G'] = self.on_cancel
self.key_func['^Y'] = self.on_send
self.resize()
+ self.update_commands()
def on_cancel(self):
self._on_cancel(self._form)