GNOME Bugzilla – Bug 354771
Completion strings for status presets dialog not remembered after restart
Last modified: 2006-09-17 12:59:02 UTC
The dropdown select box in the "custom message" status dialog is not populated with the existing values after a Gossip restart. Newly added items are added correctly, though,
I give you permission to write a patch for once ;)
I can reproduce this bug.
Created attachment 72718 [details] [review] proposed patch add presets status in the drop down menu and when adding a status checks if it doesn't exists yet.
Nice, thanks. A few comments: * The call to gtk_tree_model_get leaks str. * There should also be some aligning of variables and an empty line between variable declarations and code.
Created attachment 72720 [details] [review] fixed
Thanks, looks good to me :)
Thannk! I'm not sure if this is exactly what Wouter meant (the patch uses the saved presets, not any old strings you might have entered before but not saved). I've committed this, and we can file new bugs to tweak the behavior if necessary.
This is what I meant (saved strings not saved after restart). Unsaved strings (most likely temporary status msgs) should not be remembered... what else is the "save" option for? ;)