GNOME Bugzilla – Bug 140335
Save position, width/height of window
Last modified: 2005-10-09 18:16:20 UTC
This is an easy one. Save the width/height and position, and even other UI state like selected view, if critical tasks are shown, etc.
Created attachment 26841 [details] Could we also get a Edit Preferences or similar ? Can we also have a Edit -> Preferences so options can be viewed, stored and reset e.g. especially for the UI stuff like showing critical path. Attached is my ideas on this.
Hmm .. the preferences dialog discussions would make more sense to track in it's own bug. I'm not sure that starting the discussion with "we need a preference dialog" is the correct way to go. Rather we should start the discussion what we might need to be able to set. This bug should however be about automatically storing/retreiving window width/height...
GConf is the correct way to do this, right? I'll start working on this.
Yep, there should be examples of this in e.g. devhelp in GNOME CVS.
Our own Planner SQL stuff uses gconf too.
I was thinking about the specific code to save window pos/size/state though :)
Created attachment 26989 [details] [review] Fix for Bug #140335 Here is a patch to fix the bug. I "borrowed" 99% of the code from devhelp, so they should get 99% of the credit ;)
Thanks a lot, committed to CVS.
*** Bug 316376 has been marked as a duplicate of this bug. ***