GNOME Bugzilla – Bug 329895
remember dimensions of the sessions properties dialog
Last modified: 2014-03-05 11:39:07 UTC
The sessions properties dialog should remember its size if a user specified one. I am filing this bug report because each time I want to use gnome-sessions-properties, I have to size it up again, over and over. This is similar to bug #324097. Some solutions were suggested there, please take a look. Other information:
Sounds reasonable to me. We'll probably be replacing this application with something more "nautilus-like" -- in which case having it mimic spatial-ness is a requirement.
Created attachment 87818 [details] [review] la la la
Some comments: you'll want to remove gtk_window_set_default_size (GTK_WINDOW (dlg), -1, font_size * 40); (or keep it when the gconf keys aren't set) + static int last_width, last_height; They should have an initial value, I guess. Also, there's no gconf handler goodness! :-)
(In reply to comment #3) > Some comments: > > you'll want to remove > gtk_window_set_default_size (GTK_WINDOW (dlg), -1, font_size * 40); > (or keep it when the gconf keys aren't set) ok. > + static int last_width, last_height; > They should have an initial value, I guess. C standard says that these are zero for sure. > Also, there's no gconf handler goodness! :-) this is more likely to cause weird race condition bugs than to be actually useful :) if it ok with you, i will update the patch to fix only the first issue
gnome-session-properties is no longer included in gnome-session.