Other in Networking Tools
Give a better structure to the network activation/passphrase dialog
code. Reduce coupling, separate the backend from the ui some more, and
stop passing pointers around wildly.
Now the NetworkManagerInfo signals that it needs a passphrase with
passphraseNeeded, which is connected by the applet to the tray. The
tray launches the AcquirePassphraseDialog, which signals back to the
NMInfo when it is accepted or dismissed. The connections are managed by
the tray and the applet. Instead of creating/passing new Networks, the
networks' hal paths are used as handles for signalling, and Networks are
updated directly on the store.
NewWirelessNetwork dialog still passes Network pointers as these are new objects. They will be handled properly in an upcoming commit.
Encryption objects are created on demand by the new widget structure and
should be deleted along with their Network. The new widgets no longer
update Network and Encryption on user input, but only on dialog slotOk,
for simpler code.