From 04ed96d12172eb7e2d12407eb944f672ab8e5c15 Mon Sep 17 00:00:00 2001 From: Asmageddon Date: Mon, 12 Mar 2012 20:22:29 +0100 Subject: [PATCH] Made additional formatting for input controls optional and on by default for popups so it doesn't show up in preferences but still works when setting torrent options --- deluge/ui/console/modes/input_popup.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/deluge/ui/console/modes/input_popup.py b/deluge/ui/console/modes/input_popup.py index ebffa29c8..f660753f2 100644 --- a/deluge/ui/console/modes/input_popup.py +++ b/deluge/ui/console/modes/input_popup.py @@ -807,17 +807,6 @@ class InputPopup(Popup): self.parent.add_string(row, string, scr, col, pad, trim) return True - def getmaxyx(self): - return self.screen.getmaxyx() - - def add_string(self, row, string, scr=None, col = 0, pad=True, trim=True): - if row <= 0: - return False - elif row >= self.height -1: - return False - self.parent.add_string(row, string, scr, col, pad, trim) - return True - def add_spaces(self, num): for i in range(num): self.lines.append((len(self.inputs), ""))