[tor-commits] [arm/master] fix: dropping T-connector from config save dialog
atagar at torproject.org
atagar at torproject.org
Thu May 12 16:39:25 UTC 2011
commit f0a75a36b184f9590a7c04c299b6b137933152ea
Author: Damian Johnson <atagar at torproject.org>
Date: Tue May 10 09:22:54 2011 -0700
fix: dropping T-connector from config save dialog
Trying to get the config save dialog to display the right pipe connectors to
dynamically align with the below content is a pita so gonna stop trying.
There's three use cases...
- dialog is larger than the detail section, no scroll bars -> display box
- dialog is larger and there are scroll bars -> show T-connector on left
- dialog is smaller than the detail section -> show connectors on both sides
Trying to get enough context to the dialog really isn't worth the hassle, so
just opting to show a simple box in all situations.
---
src/cli/configPanel.py | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/src/cli/configPanel.py b/src/cli/configPanel.py
index f5ff442..6ec3fce 100644
--- a/src/cli/configPanel.py
+++ b/src/cli/configPanel.py
@@ -377,9 +377,6 @@ class ConfigPanel(panel.Panel):
else:
popup.addstr(i + 1, 1, line, curses.A_BOLD | uiTools.getColor("green"))
- # draws 'T' between the lower left and the covered panel's scroll bar
- if width > 1: popup.win.addch(height - 1, 1, curses.ACS_TTEE)
-
# draws selection options (drawn right to left)
drawX = width - 1
for i in range(len(selectionOptions) - 1, -1, -1):
More information about the tor-commits
mailing list