Module: deluge
Branch: master
Commit: b0c561dbbce4dc74b16f13ce24d36c6b01ade3c4

Author: Nick <[email protected]>
Date:   Tue Feb 22 00:09:27 2011 +0100

add add_checked_input

---

 deluge/ui/console/modes/input_popup.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/deluge/ui/console/modes/input_popup.py 
b/deluge/ui/console/modes/input_popup.py
index b59c914..183d33d 100644
--- a/deluge/ui/console/modes/input_popup.py
+++ b/deluge/ui/console/modes/input_popup.py
@@ -577,6 +577,9 @@ class InputPopup(Popup):
     def add_select_input(self, message, name, opts, vals, default_index=0):
         self.inputs.append(SelectInput(self.parent, message, name, opts, vals, 
default_index))
 
+    def add_checked_input(self, message, name, checked=False):
+        self.inputs.append(CheckedInput(self.parent,message,name,checked))
+
     def _refresh_lines(self):
         self._cursor_row = -1
         self._cursor_col = -1

-- 
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en.

Reply via email to