summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@beryl-project.org>2007-04-17 17:59:42 +0200
committerDennis Kasprzyk <onestone@beryl-project.org>2007-04-17 17:59:42 +0200
commita6f37c5bbc0807bd8e1b123ea3a2005624154fda (patch)
tree45dc41f9c22eb2fe771be4f4b23ac4a2006f5b7c /src
parent371cc79c3328e91f6f72495b1deeccabecf50a56 (diff)
downloadbcop-a6f37c5bbc0807bd8e1b123ea3a2005624154fda.tar.gz
bcop-a6f37c5bbc0807bd8e1b123ea3a2005624154fda.tar.bz2
don't generate options display pinter if not needed in finiScreen
Diffstat (limited to 'src')
-rw-r--r--src/bcop.xslt6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bcop.xslt b/src/bcop.xslt
index 03ee87a..2a2ed53 100644
--- a/src/bcop.xslt
+++ b/src/bcop.xslt
@@ -1124,9 +1124,11 @@ static void </xsl:text>
<xsl:text>PluginVTable->finiScreen (p, s);
</xsl:text>
- <xsl:value-of select="$PLUGIN"/>
- <xsl:text>_OPTIONS_DISPLAY (s->display);
+ <xsl:if test="/compiz/plugin[@name=$pName]/display//option[@type = 'action']">
+ <xsl:value-of select="$PLUGIN"/>
+ <xsl:text>_OPTIONS_DISPLAY (s->display);
</xsl:text>
+ </xsl:if>
<xsl:value-of select="$PLUGIN"/>
<xsl:text>_OPTIONS_SCREEN (s);