[libpeas] Update libpeasui to use the new peas_plugin_info_is_builtin API.
- From: Steve Frécinaux <sfre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpeas] Update libpeasui to use the new peas_plugin_info_is_builtin API.
- Date: Wed, 14 Jul 2010 09:46:09 +0000 (UTC)
commit 22c426c164a0a9d10b824b823ff6a6a3732444a1
Author: Steve Frécinaux <code istique net>
Date: Wed Jul 14 11:45:28 2010 +0200
Update libpeasui to use the new peas_plugin_info_is_builtin API.
docs/reference/libpeas-sections.txt | 3 +--
libpeasui/peas-ui-plugin-manager.c | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/docs/reference/libpeas-sections.txt b/docs/reference/libpeas-sections.txt
index dc9db77..a295882 100644
--- a/docs/reference/libpeas-sections.txt
+++ b/docs/reference/libpeas-sections.txt
@@ -162,6 +162,7 @@ PeasPluginInfo
peas_plugin_info_get_type
peas_plugin_info_is_loaded
peas_plugin_info_is_available
+peas_plugin_info_is_builtin
peas_plugin_info_get_module_name
peas_plugin_info_get_module_dir
peas_plugin_info_get_data_dir
@@ -173,7 +174,5 @@ peas_plugin_info_get_copyright
peas_plugin_info_get_version
peas_plugin_info_get_iage
peas_plugin_info_get_keys
-peas_plugin_info_set_visible
-peas_plugin_info_get_visible
</SECTION>
diff --git a/libpeasui/peas-ui-plugin-manager.c b/libpeasui/peas-ui-plugin-manager.c
index 4166131..be787a9 100644
--- a/libpeasui/peas-ui-plugin-manager.c
+++ b/libpeasui/peas-ui-plugin-manager.c
@@ -366,7 +366,7 @@ plugin_manager_populate_lists (PeasUIPluginManager *pm)
PeasPluginInfo *info;
info = (PeasPluginInfo *) plugins->data;
- if (peas_plugin_info_get_visible (info))
+ if (!peas_plugin_info_is_builtin (info))
{
gtk_list_store_append (model, &iter);
gtk_list_store_set (model, &iter,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]