[totem] Update for latest libpeas API changes
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] Update for latest libpeas API changes
- Date: Wed, 16 Jun 2010 18:23:42 +0000 (UTC)
commit de2413eb366f7739f0c14add88b6d035c5374e1f
Author: Bastien Nocera <hadess hadess net>
Date: Wed Jun 16 19:23:23 2010 +0100
Update for latest libpeas API changes
src/plugins/totem-plugins-engine.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/plugins/totem-plugins-engine.c b/src/plugins/totem-plugins-engine.c
index 8ad1fef..ad18c8c 100644
--- a/src/plugins/totem-plugins-engine.c
+++ b/src/plugins/totem-plugins-engine.c
@@ -143,7 +143,7 @@ totem_plugins_engine_load_all (TotemPluginsEngine *engine)
}
g_ptr_array_add (activate, NULL);
- peas_engine_set_active_plugins (PEAS_ENGINE (engine), (const char **) activate->pdata);
+ peas_engine_set_loaded_plugins (PEAS_ENGINE (engine), (const char **) activate->pdata);
g_ptr_array_free (activate, TRUE);
}
@@ -327,9 +327,9 @@ totem_plugins_engine_gconf_cb (GConfClient *gconf_client,
if (g_str_equal (action_name, "active") != FALSE) {
if (gconf_value_get_bool (entry->value)) {
- peas_engine_activate_plugin (PEAS_ENGINE (engine), info);
+ peas_engine_load_plugin (PEAS_ENGINE (engine), info);
} else {
- peas_engine_deactivate_plugin (PEAS_ENGINE (engine), info);
+ peas_engine_unload_plugin (PEAS_ENGINE (engine), info);
}
} else if (g_str_equal (action_name, "hidden") != FALSE) {
peas_plugin_info_set_visible (info, !gconf_value_get_bool (entry->value));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]