diff --git a/data/org.gnome.totem.gschema.xml.in b/data/org.gnome.totem.gschema.xml.in
index d2d0f221bd43e928ab5c28ff323e2dbd102094af..e4b65ef47c80f86bfdeb31e40dbd9b4d27bb4149 100644
--- a/data/org.gnome.totem.gschema.xml.in
+++ b/data/org.gnome.totem.gschema.xml.in
@@ -73,7 +73,7 @@
Whether to autoload text subtitle files when a movie is loaded
- ['skipto','chapters','screenshot','media_player_keys','screensaver','movie-properties','save-file']
+ []
Active plugins list
A list of the names of the plugins which are currently active (loaded and running).
diff --git a/src/plugins/opensubtitles/opensubtitles.py b/src/plugins/opensubtitles/opensubtitles.py
index 7396d80a6142667a1f3699824a79e9949709beb1..8f4be065f4ba640c340ac5065c3de18b3e5e1271 100644
--- a/src/plugins/opensubtitles/opensubtitles.py
+++ b/src/plugins/opensubtitles/opensubtitles.py
@@ -429,6 +429,10 @@ class OpenSubtitles (GObject.Object, # pylint: disable=R0902
server = xmlrpc.client.Server ('http://api.opensubtitles.org/xml-rpc')
self._model = OpenSubtitlesModel (server)
+ mrl = self._totem.get_current_mrl ()
+ if mrl:
+ self.__on_totem__file_opened(self._totem, self._totem.get_current_mrl ())
+
def do_deactivate (self):
if self._dialog:
self._dialog.destroy ()
diff --git a/src/plugins/totem-plugins-engine.c b/src/plugins/totem-plugins-engine.c
index 62788e661135486f295d338b0e6e213085b3707d..77750d74cf0b125ed6a676eea6e5d559688b8809 100644
--- a/src/plugins/totem-plugins-engine.c
+++ b/src/plugins/totem-plugins-engine.c
@@ -133,11 +133,14 @@ totem_plugins_engine_get_default (TotemObject *totem)
g_signal_connect (engine->priv->activatable_extensions, "extension-removed",
G_CALLBACK (on_activatable_extension_removed), engine);
- g_settings_bind (engine->priv->settings, "active-plugins", engine, "loaded-plugins", G_SETTINGS_BIND_DEFAULT | G_SETTINGS_BIND_NO_SENSITIVITY);
+ g_settings_bind (engine->priv->settings, "active-plugins",
+ engine, "loaded-plugins",
+ G_SETTINGS_BIND_DEFAULT | G_SETTINGS_BIND_NO_SENSITIVITY);
/* Load builtin plugins */
plugin_infos = peas_engine_get_plugin_list (PEAS_ENGINE (engine));
+ g_object_freeze_notify (G_OBJECT (engine));
for (l = plugin_infos; l != NULL; l = l->next) {
PeasPluginInfo *plugin_info = PEAS_PLUGIN_INFO (l->data);
@@ -145,6 +148,7 @@ totem_plugins_engine_get_default (TotemObject *totem)
peas_engine_load_plugin (PEAS_ENGINE (engine), plugin_info);
}
}
+ g_object_thaw_notify (G_OBJECT (engine));
return engine;
}