]> spindle.queued.net Git - midori/commit
Change extension API to split initialization and activation
authorChristian Dywan <christian@twotoasts.de>
Thu, 20 Nov 2008 00:22:25 +0000 (01:22 +0100)
committerChristian Dywan <christian@twotoasts.de>
Thu, 20 Nov 2008 00:22:25 +0000 (01:22 +0100)
commit72f39b0f82c150954faf05733094467d637951f1
treeb128f1f423532c5de4ab9da0bac3271989d78004
parentdc59d66eb9ea8a1a3a8eefdaf9bb15bef8e031cf
Change extension API to split initialization and activation

We want to be able to keep extensions in a state where
they don't actually do anything but merely provide
context information. Therefore don't pass the MidoriApp.

As soon as we want to use extensions, we activate them.

Extensions are now saved in an array in MidoriApp.
extensions/statusbar-features.c
extensions/tab-panel/main.c
midori/main.c
midori/midori-app.c
midori/midori-app.h
midori/midori-extension.c