Metadata sanity [was Re:desktop font + PATCH for 82565]



Sorry Frank, I mislead you here.

> > You should use get_default_zoom_level instead of eel_preferences_get_enum

This is right.

> > (actually, if the auto value were setup like it is in the list view then
> > you could remove get_default_zoom_level altogether and just use
> > default_zoom_level_auto_value directly)

This is not.

I failed to notice that get_default_zoom_level also does a sanity check
on the auto value (this is needed because metadata is untrusted by
default).



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]