[libpeas] Don't show hidden plugins in the PeasGtkDisablePluginsDialog



commit 98401dc85fa6d9e686e49f660a3e0703d15ea3a0
Author: Garrett Regier <garrettregier gmail com>
Date:   Mon Jul 18 03:03:39 2011 -0700

    Don't show hidden plugins in the PeasGtkDisablePluginsDialog

 libpeas-gtk/peas-gtk-plugin-manager-view.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libpeas-gtk/peas-gtk-plugin-manager-view.c b/libpeas-gtk/peas-gtk-plugin-manager-view.c
index ffa405d..f4e300f 100644
--- a/libpeas-gtk/peas-gtk-plugin-manager-view.c
+++ b/libpeas-gtk/peas-gtk-plugin-manager-view.c
@@ -135,7 +135,8 @@ get_dependant_plugins (PeasGtkPluginManagerView *view,
     {
       PeasPluginInfo *plugin = (PeasPluginInfo *) plugins->data;
 
-      if (!peas_plugin_info_is_loaded (plugin))
+      if (peas_plugin_info_is_hidden (plugin) ||
+          !peas_plugin_info_is_loaded (plugin))
         continue;
 
       /* Don't add builtin plugins if they are not shown */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]