Make inkscape remember dialogs window status (bug #171579)

I have put an improved patch that addresses most of the issues in launchpad https://bugs.launchpad.net/inkscape/+bug/171579
- It only works with dockable dialogs (not with Text and fonts, XML editor, etc.).
Now works with both dockable and non-dockable dialogs
- It doesn't work correctly with dialogs docked in a floating window
Docked dialogs in floating window are now remembered as open. Currently the basic status of visible/hidden, floating/docked, size and position are saved to preferences. However we dont save the complete docking status (such as docked above/below/left of/right of, iconified, dock in floating window etc), this patch mainly addresses the visible/hidden status of dialogs.
- The minimize status of the docked dialogs is not remembered (they are considered closed).
Iconified docked dialogs are now remembered as open, but are docked (not reiconified) on open (same as 2. above, currently no code to open a dialog as iconified)
- It doesn't restore all the locked/visible icons of the Layers dialog.
Layers icons fixed
- The status is updated when the dialog is opened or closed, and doesn't necessarily reflects the status of the last closed Inkscape window.
Saves the last windows status correctly in all the use cases i tried. Regards, John.
----------------------------------------------------------------------------------------------------------------------- Send big files for free. Simple steps. No registration. Visit now http://www.nawelny.com
participants (1)
-
John Smith