[jhbuild: 4/60] [gui] do not list deprecation meta modules



commit 4ad02a77e3d47512471d6214cf22c488bc71b7dd
Author: Frédéric Péters <fpeters 0d be>
Date:   Sat May 16 19:32:58 2009 +0200

    [gui] do not list deprecation meta modules
---
 jhbuild/frontends/gtkui.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/jhbuild/frontends/gtkui.py b/jhbuild/frontends/gtkui.py
index 7817575..88553b7 100644
--- a/jhbuild/frontends/gtkui.py
+++ b/jhbuild/frontends/gtkui.py
@@ -70,6 +70,9 @@ class AppWindow(gtk.Window):
         full_module_list = self.module_set.get_full_module_list()
         for module in full_module_list:
             if isinstance(module, MetaModule):
+                if module.name.endswith('-deprecations'):
+                    # skip the deprecation meta modules, nobody want them
+                    continue
                 iter = self.modules_list.append((module.name, False))
                 if module.name == self.config.modules[0]:
                     self.default_module_iter = iter



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