]> spindle.queued.net Git - midori/commit
Read addons into a list for more flexibility
authorArnaud Renevier <arenevier@fdn.fr>
Sat, 23 Aug 2008 17:57:22 +0000 (19:57 +0200)
committerChristian Dywan <christian@twotoasts.de>
Sat, 23 Aug 2008 17:57:22 +0000 (19:57 +0200)
commite4457be3edd441b5acd69d0c7bd56ae047bf9b97
tree204dfd040bdf96fe14ccde895acaf4c441cc267e
parentaf2e90a4b18b27f8370e9d813e58d5fa4d1ceaf6
Read addons into a list for more flexibility

Until now we used to scan directories every time
we wanted to either display the list of addons
or load addons in order to execute them. That
is wasteful and inflexible.

Use a list of elements and only update it when
needed, for example when the directory folder
notifies us of a change.

This is a stop towards disabling particular elements.
midori/midori-addons.c
midori/midori-addons.h