Added a Dialog class, mostly borrowed from a urwid example
curses/prefs_curses.py:
Added the DNS domain to the dialog, as was done in the GTK UI
curses/wicd-curses.py:
Added a semi-pretty about dialog.
curses/README: Activating about dialog is done by "A"
Added a get_edit_text function to ToggleEdit.
Changed the get_selected function in ComboBox to return the index only.
curses/prefs_curses.py:
Completed the load+save functions of the UI
Buttons are now functional. Only selecting the OK button will save the data for now.
curses/wicd-curses.py:
Added support for the "Always Show Wired Interface" config option
Completed support for the preferences dialog
curses/TODO,README: Preferences dialog is done. :-)
curses/curses_misc.py:
Added a function in the ToggleEdit to set its text to something
Changed the name of ComboText to ComboBox
Provided the ability to generate the initial parts of a ComboBox w/o needing the screen.
Added ComboBoxException, a simple derived exception for the ComboBox. Used it to die of the user never called build_combobox()
curses/prefs_curses.py:
Changed the names of some of the widgets.
Adjusted the code to use the modified ComboBox widget
curses/wicd-curses.py:
Adjusted the code to use the modified ComboBox widget
curses/curses_misc.py: Changed the internal layout of the widgets to allow me to stick buttons on the bottom.
curses/prefs_curses.py: Added rudimentary Dbus support to the dialog.
Started getting the config settings to save to wicd.
Added buttons (which don't do anything yet).
The PrefOverlay has been renamed to PrefsDialog. The PrefsDialog widget is wrapped around a TabColumns widget.
Added a main entry point into the file to allow for somewhat easier testing. It can now be called indepentently of wicd-curses, if needed.
curses/wicd-curses.py: Undid a change that caused the ESC key to disconnect from the current network, in addition to its current function.
curses/prefs_curses.py: Converted the code to use the tabbed interface found in curses_misc.py. The dialog now fills up the terminal, but it still does nothing.
curses/wicd-curses.py: Turned the "list" wired section of the interface to a combo box.
curses/prefs_curses.py: Frontend is complete. However, it is still missing buttons and the ability to save information. Removed code that is now in curses_misc.py.
curses/wicd-curses.py: Removed code that is now in curses_misc.py. Tweaked the visuals a little bit.
curses/README: Preferences configuration is a WIP now.
curses/TODO: A combo box has been implemented in curses_misc.py, so that part has been removed. Also added a part about making a man page.
curses/wicd-curses.py: Some code cleanup, replaced the language mess with the GUI list in misc, and added support for running the Preferences dialog with 'P'.
curses/README: Added the keybindings to bring up the preferences dialog.
curses/wicd.curses.py:
Added the full language component from wicd.misc into the file.
Added support for connecting to networks :-).
Added statusbar-updating support during connections.
Fixed a problem where an exception found before the UI is on-screen will cause another exception in wrap_exceptions.
Turned the footer into a ListBox, so that I can add more than more stuff to it more easily.
Rearranged the order of strings in the wireless connection part of the UI.
Added a bunch of keymappings to support all of the new functionality.
Made the UI updating function into an idle function, to better support the new functionality (and it eats up less CPU, too).
Some minor code cleanup throughout.
curses/README: Updated to correspond with new features
curses/TODO: Removed connection support from the TODO, added a few other things.
That network is now updated every time that wicd tells us that the "status" has changed.
Network connection status is now updated every 2 seconds, instead of every 0.5.
curses/wicd-curses.py: ADDED (new (very incomplete) curses UI)
curses/README: ADDED (Simple README. Hope it says enough for the moment)
curses/TODO: ADDED (Simple, incomplete, TODO list)