[Geany-devel] Various pref changes not ignored on dialog cancel
Nick Treleaven
nick.treleaven at xxxxx
Fri Sep 16 16:07:52 UTC 2011
--- On Fri, 16/9/11, Dimitar Zhekov <dimitar.zhekov at gmail.com> wrote:
> > > What about traversing the model on reshow to
> reset it to
> > > the default values?
> >
> > Yes, that would be best.
>
> Of course, PREF_CANCEL was stupid. Actually, it should
> create the
> StartTreeValue entries on _setup, set them on PREF_DISPLAY,
> and get
> them on PREF_UPDATE (the latter is currently implemented).
>
> > (This would be similar to how all stash prefs work
> with
> > stash_group_display - the widgets are updated with the
> current
> > settings).
>
> Almost identical. I'll try to write it today.
Great, thanks :)
More information about the Devel
mailing list