[telepathy-spec/master] Don't show interfaces' parent's name in fullindex

Will Thompson will.thompson at collabora.co.uk
Fri Sep 18 09:38:17 PDT 2009


The previous logic meant that interfaces (whose parent is not the spec
any more, but a Section) got a mangled version of the section title
listed as their, uh, interface.
---
 doc/templates/fullindex.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/doc/templates/fullindex.html b/doc/templates/fullindex.html
index 0a49abc..2c465e1 100644
--- a/doc/templates/fullindex.html
+++ b/doc/templates/fullindex.html
@@ -48,7 +48,7 @@
       </td>
       <td>$n[1].get_type_name()</td>
       <td>
-       #if $n[1].parent != $spec: $n[1].parent.name
+       #if $n[1].parent.__class__.__name__ == 'Interface': $n[1].parent.name
       </td>
      </tr>
     #end for
-- 
1.5.6.5




More information about the telepathy-commits mailing list