[jhbuild] dot: systemmodules nodes in palegreen (GNOME bug 685268)
- From: Craig Keogh <cskeogh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] dot: systemmodules nodes in palegreen (GNOME bug 685268)
- Date: Fri, 2 Nov 2012 11:35:53 +0000 (UTC)
commit 49f6fa13bfc00ecf7eee5ccb479898998447bec7
Author: Craig Keogh <cskeogh adam com au>
Date: Tue Oct 30 15:23:32 2012 +1030
dot: systemmodules nodes in palegreen (GNOME bug 685268)
jhbuild/moduleset.py | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/jhbuild/moduleset.py b/jhbuild/moduleset.py
index 043b3d5..c124fb9 100644
--- a/jhbuild/moduleset.py
+++ b/jhbuild/moduleset.py
@@ -279,6 +279,11 @@ class ModuleSet:
if isinstance(mod, MetaModule):
attrs = '[color="lightcoral",style="filled",' \
'label="%s"]' % mod.name
+ elif isinstance(mod, SystemModule):
+ label = mod.name
+ if mod.branch.version:
+ label += '\\n(%s)' % mod.branch.version
+ attrs = '[color="palegreen",style="filled",label="%s"]' % label
else:
label = mod.name
color = 'lightskyblue'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]