1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-23 14:42:29 +01:00

Fixed translations.py support in wicd-curses.

This commit is contained in:
Andrew Psaltis
2009-03-07 11:34:22 -05:00
parent 852de07893
commit 46ddb41966
4 changed files with 0 additions and 9 deletions

2
curses/wicd-curses.py Normal file → Executable file
View File

@@ -866,7 +866,6 @@ def main():
# Import the screen based on whatever the user picked.
# The raw_display will have some features that may be useful to users
# later
parser.set_defaults(screen='raw')
if options.screen == 'raw':
import urwid.raw_display
ui = urwid.raw_display.Screen()
@@ -955,7 +954,6 @@ setup_dbus()
########################################
if __name__ == '__main__':
parser = OptionParser(version="wicd-curses-%s (using wicd %s)" % (CURSES_REVNO,daemon.Hello()))
# raw = True. curses = False
parser.set_defaults(screen='raw')
parser.add_option("-r", "--raw-screen",action="store_const",const='raw'
,dest='screen',help="use urwid's raw screen controller (default)")