From: poy <po...@12...> - 2009-02-13 18:00:38
|
attached patch adds a "Windows" tag in DCPlusPlus.xml where opened child views are saved before the program exits; when it starts again, all of the windows are restored back. since our windows have no id, i used typeid instead. hubs are handled slightly differently than other windows, since their address has to be saved, too. i also save the name of the hub although it is not used now, so that building a "recent hubs" menu should be easy from there. PMs and search windows are currently ignored; eventually, they should be handled the same as hubs. after this is in, the "auto-open on startup" options and "auto-connect" check-boxes in favorite hubs will have to be removed; i haven't cleaned them up in the patch. poy |