[gimp] menus: use one template for unstable menus instead of two
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] menus: use one template for unstable menus instead of two
- Date: Thu, 26 May 2011 19:49:16 +0000 (UTC)
commit c73ff51b82c601579100dca55efd288bf6f6c2f5
Author: Michael Natterer <mitch gimp org>
Date: Thu May 26 21:48:40 2011 +0200
menus: use one template for unstable menus instead of two
menus/menus.xsl | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/menus/menus.xsl b/menus/menus.xsl
index 9644e21..a6851b2 100644
--- a/menus/menus.xsl
+++ b/menus/menus.xsl
@@ -38,13 +38,8 @@
<xsl:apply-templates />
</xsl:template>
- <xsl:template match="menu[ action='debug-menu']">
- <xsl:if test="$unstable-menus='yes'">
- <xsl:call-template name="identity" />
- </xsl:if>
- </xsl:template>
-
- <xsl:template match="menu[ action='view-use-gegl']">
+ <xsl:template match="menu[ action='debug-menu' or
+ @action='view-use-gegl']">
<xsl:if test="$unstable-menus='yes'">
<xsl:call-template name="identity" />
</xsl:if>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]