1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-19 12:28:08 +01:00
Commit Graph

11 Commits

Author SHA1 Message Date
Andrew Psaltis
fb96a229bb Merged with the 1.6 sources (r227), and
curses/wicd-curses.py: modified the program so that it can run off of the experimental API.
Cleaned up some of the code.
2008-12-23 21:24:49 -05:00
Andrew Psaltis
b1475ce12c Big one this time. Hopefully I got everything.
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.
2008-12-20 16:32:19 -05:00
Andrew Psaltis
f80c04c98d curses/wicd-curses.py: Redesigned the internal list so that the wired network information is always at the top, no matter the number of wireless networks present. 2008-12-19 12:34:03 -05:00
Andrew Psaltis
c7e63acbfd curses/wicd-curses.py: Moved the primary entry point to outside of the appGUI class, added some comments to improve code readability 2008-12-18 22:55:20 -05:00
Andrew Psaltis
76fcc3e7c6 curses/wicd-curses.py: Removed a lot of redundant code related to focus on the main ListBox widget. Set focus=True in the frame's rendering function
made everything so much easier.
2008-12-18 16:39:24 -05:00
Andrew Psaltis
a72b99ad59 curses/wicd-curses.py: fixed a bug (missing 'self.') in dbus_scan_finished 2008-12-18 00:07:00 -05:00
Andrew Psaltis
868469ef90 curses/wicd-curses.py: Added code to restore the console on all errors, and then print them, including KeyboardInterrupts.
curses/TODO: Removed the above from TODO
2008-12-17 11:27:09 -05:00
Andrew Psaltis
d23af83371 curses/wicd-curses.py: Colorized the network we're currently connected to.
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.
2008-12-15 17:50:00 -05:00
Andrew Psaltis
d8ae040ae6 curses/wicd-curses.py: Cleaned up code for the Net/ListElements. Added '>' to mark to currently selected network. Set gen_network_list() to output signal quality in units specified in the config. 2008-12-14 01:04:23 -05:00
Andrew Psaltis
64fd3940d6 curses/wicd-curses.py: Add gobject.MainLoop support, and enable the D-Bus function connections (It works!). Various comments/code cleanup done.
curses/README: f5 refreshes the netlist now
curses/TODO: Added a bunch of features to implement, and removed one of them.
2008-12-13 16:06:11 -05:00
Andrew Psaltis
23297b3f7e Let there be light!
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)
2008-12-13 13:29:07 -05:00