Flag deactivated extensions as not active

This commit is contained in:
Christian Dywan 2009-02-05 00:11:36 +01:00
parent aff3affc23
commit b4ba0888bf

View file

@ -337,6 +337,7 @@ midori_extension_deactivate (MidoriExtension* extension)
{ {
g_return_if_fail (MIDORI_IS_EXTENSION (extension)); g_return_if_fail (MIDORI_IS_EXTENSION (extension));
extension->priv->active = FALSE;
g_signal_emit (extension, signals[DEACTIVATE], 0); g_signal_emit (extension, signals[DEACTIVATE], 0);
g_signal_handlers_destroy (extension); g_signal_handlers_destroy (extension);
g_object_run_dispose (G_OBJECT (extension)); g_object_run_dispose (G_OBJECT (extension));