1 diff -urN gedit-2.18.0.orig/gedit/gedit-plugins-engine.c gedit-2.18.0/gedit/gedit-plugins-engine.c
2 --- gedit-2.18.0.orig/gedit/gedit-plugins-engine.c 2007-03-20 20:55:17.000000000 +0100
3 +++ gedit-2.18.0/gedit/gedit-plugins-engine.c 2007-03-22 21:37:37.000000000 +0100
10 g_return_if_fail (gedit_plugins_engine_gconf_client != NULL);
14 /* Actually, the plugin will be activated when reactivate_all
15 * will be called for the first time. */
16 - info->active = (g_slist_find_custom (active_plugins,
18 - (GCompareFunc)strcmp) != NULL);
19 + ap = active_plugins;
22 + if (strcmp (info->location, (gchar *)ap->data) == 0)
24 + info->active = TRUE;
27 + ap = g_slist_next (ap);
30 gedit_plugins_list = g_list_prepend (gedit_plugins_list, info);