On Tuesday, October 7, 2014 9:48:29 PM UTC+2, Jeremy Ruston wrote: > > I found a version, that works and doesn't modify the listItem. Just > creating a new class. ... but imo its ugly using a second list widget. > > More to the point, it still requires toolbar buttons to have the title > prefix "$:/core/ui/Buttons/", which I think is a problem. >
yes. right. > Perhaps another way to solve this problem would be to have a startup > module that detects read-only mode and creates the appropriate > "$:/config/ViewToolbarButtons/Visibility/Xxxx" tiddlers as shadow tiddlers > (like the info mechanism)? > Where we are back, to the point, that we should be able to switch themes and languages, at startup, depending on some information about the TW context :) Does the module mechanism have something like an export.init() mechanism. Where init() is activated, when eg: theme is switched. ... So the startup module only needs to detect the mode and the plugins, themes, languages can implement the init() and may be a teardown() methods for cleaning up. -mario -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywikidev. For more options, visit https://groups.google.com/d/optout.
