summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2011-04-04 15:26:36 -0400
committerDavid Zeuthen <davidz@redhat.com>2011-04-04 15:26:36 -0400
commitf9cf269a4db7df31ee5122f36ac7d2fc8cc059e6 (patch)
treeaebc48de9b3b0669caa5ee1a31f9a62c641b4204
parenta38d1d85a279eb18b60cabec09bbdc8d6d1e0290 (diff)
Unbreak index
Signed-off-by: David Zeuthen <davidz@redhat.com>
-rw-r--r--src/codegen_docbook.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/codegen_docbook.py b/src/codegen_docbook.py
index 36d6f2b..99bf84e 100644
--- a/src/codegen_docbook.py
+++ b/src/codegen_docbook.py
@@ -146,7 +146,7 @@ class DocbookCodeGenerator:
def print_method(self, i, m):
self.out.write('<refsect2 role="method" id="gdbus-method-%s.%s">\n'%(utils.dots_to_hyphens(i.name), m.name))
self.out.write(' <title>The %s() method</title>\n'%(m.name))
- self.out.write(' <indexterm zone="gdbus-method-%s.%s"><primary sortas="%s.%s">%s.%s()</primary></indexterm>\n'%(i.name, m.name, i.name_without_prefix, m.name, i.name, m.name))
+ self.out.write(' <indexterm zone="gdbus-method-%s.%s"><primary sortas="%s.%s">%s.%s()</primary></indexterm>\n'%(utils.dots_to_hyphens(i.name), m.name, i.name_without_prefix, m.name, i.name, m.name))
self.out.write('<programlisting>\n')
self.print_method_prototype(i, m, in_synopsis=False)
self.out.write('</programlisting>\n')
@@ -168,7 +168,7 @@ class DocbookCodeGenerator:
def print_signal(self, i, s):
self.out.write('<refsect2 role="signal" id="gdbus-signal-%s.%s">\n'%(utils.dots_to_hyphens(i.name), s.name))
self.out.write(' <title>The "%s" signal</title>\n'%(s.name))
- self.out.write(' <indexterm zone="gdbus-signal-%s.%s"><primary sortas="%s::%s">%s::%s</primary></indexterm>\n'%(i.name, s.name, i.name_without_prefix, s.name, i.name, s.name))
+ self.out.write(' <indexterm zone="gdbus-signal-%s.%s"><primary sortas="%s::%s">%s::%s</primary></indexterm>\n'%(utils.dots_to_hyphens(i.name), s.name, i.name_without_prefix, s.name, i.name, s.name))
self.out.write('<programlisting>\n')
self.print_signal_prototype(i, s, in_synopsis=False)
self.out.write('</programlisting>\n')
@@ -185,7 +185,7 @@ class DocbookCodeGenerator:
def print_property(self, i, p):
self.out.write('<refsect2 role="property" id="gdbus-property-%s.%s">\n'%(utils.dots_to_hyphens(i.name), p.name))
self.out.write(' <title>The "%s" property</title>\n'%(p.name))
- self.out.write(' <indexterm zone="gdbus-property-%s.%s"><primary sortas="%s:%s">%s:%s</primary></indexterm>\n'%(i.name, p.name, i.name_without_prefix, p.name, i.name, p.name))
+ self.out.write(' <indexterm zone="gdbus-property-%s.%s"><primary sortas="%s:%s">%s:%s</primary></indexterm>\n'%(utils.dots_to_hyphens(i.name), p.name, i.name_without_prefix, p.name, i.name, p.name))
self.out.write('<programlisting>\n')
self.print_property_prototype(i, p, in_synopsis=False)
self.out.write('</programlisting>\n')