summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/20110511/004619.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/20110511/004619.html')
-rw-r--r--zarb-ml/mageia-dev/20110511/004619.html197
1 files changed, 197 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/20110511/004619.html b/zarb-ml/mageia-dev/20110511/004619.html
new file mode 100644
index 000000000..6bd6367c0
--- /dev/null
+++ b/zarb-ml/mageia-dev/20110511/004619.html
@@ -0,0 +1,197 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] Does Mageia fully follow XDG menu specifications?
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Does%20Mageia%20fully%20follow%20XDG%20menu%20specifications%3F&In-Reply-To=%3CBANLkTi%3D8K2188WuD0p3W4kZZa%2BSgR6wh5Q%40mail.gmail.com%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="004616.html">
+ <LINK REL="Next" HREF="004621.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] Does Mageia fully follow XDG menu specifications?</H1>
+ <B>Franklin Weng</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Does%20Mageia%20fully%20follow%20XDG%20menu%20specifications%3F&In-Reply-To=%3CBANLkTi%3D8K2188WuD0p3W4kZZa%2BSgR6wh5Q%40mail.gmail.com%3E"
+ TITLE="[Mageia-dev] Does Mageia fully follow XDG menu specifications?">franklin at goodhorse.idv.tw
+ </A><BR>
+ <I>Wed May 11 10:02:56 CEST 2011</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="004616.html">[Mageia-dev] Does Mageia fully follow XDG menu specifications?
+</A></li>
+ <LI>Next message: <A HREF="004621.html">[Mageia-dev] [1290] Allow listing posts and rejects
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#4619">[ date ]</a>
+ <a href="thread.html#4619">[ thread ]</a>
+ <a href="subject.html#4619">[ subject ]</a>
+ <a href="author.html#4619">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Thanks for your reply.
+
+Please see below.
+
+2011/5/11 Pascal Terjan &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">pterjan at gmail.com</A>&gt;:
+&gt;<i> On Wed, May 11, 2011 at 06:10, Franklin Weng &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">franklin at goodhorse.idv.tw</A>&gt; wrote:
+</I>&gt;&gt;<i> Hi list,
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Right now I'm customizing my own menu (without menu editor). &#160;I'm
+</I>&gt;&gt;<i> implementing our own menu structure, so I followed XDG menu specs to
+</I>&gt;&gt;<i> create our own menu.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> However, I found that the menu layout attributes, like &quot;show_empty&quot;,
+</I>&gt;&gt;<i> &quot;inline&quot;, ... etc., seemed to be ignored.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> AFAIK, the XDG menu spec implementation should be done by distribution
+</I>&gt;&gt;<i> vendors. &#160;If yes, would anyone please tell me if Mageia (or even
+</I>&gt;&gt;<i> Mandriva) fully follows the XDG menu spec? &#160;Or, what should I do to
+</I>&gt;&gt;<i> make the show_empty, inline work?
+</I>&gt;<i>
+</I>&gt;<i> On which environment did you test? GNOME? KDE?
+</I>
+KDE.
+
+&gt;<i> The specification is followed by the desktop environment as far as I
+</I>&gt;<i> know, but the distro defines some rules (using the menu spec)
+</I>&gt;<i>
+</I>&gt;<i> inline works and is used in /etc/xdg/menus/applications.menu:
+</I>&gt;<i>
+</I>&gt;<i> &#160;&lt;Name&gt;Applications&lt;/Name&gt;
+</I>&gt;<i> &#160;&lt;Layout&gt;
+</I>&gt;<i> &#160; &#160;&lt;Menuname inline=&quot;false&quot;&gt;Internet&lt;/Menuname&gt;
+</I>&gt;<i> &#160; &#160;&lt;Menuname inline=&quot;false&quot;&gt;Office&lt;/Menuname&gt;
+</I>&gt;<i> &#160; &#160;&lt;Menuname inline=&quot;false&quot;&gt;Graphics&lt;/Menuname&gt;
+</I>&gt;<i> &#160; &#160;&lt;Menuname inline=&quot;false&quot;&gt;SoundVideo&lt;/Menuname&gt;
+</I>&gt;<i> &#160; &#160;&lt;Menuname inline=&quot;false&quot;&gt;Tools&lt;/Menuname&gt;
+</I>&gt;<i> &#160; &#160;&lt;Menuname inline=&quot;false&quot;&gt;Development&lt;/Menuname&gt;
+</I>&gt;<i> &#160; &#160;&lt;Menuname inline=&quot;false&quot;&gt;Games&lt;/Menuname&gt;
+</I>&gt;<i> &#160; &#160;&lt;Menuname inline=&quot;false&quot;&gt;Education&lt;/Menuname&gt;
+</I>&gt;<i> &#160; &#160;&lt;Menuname inline=&quot;false&quot;&gt;Sciences&lt;/Menuname&gt;
+</I>&gt;<i> &#160; &#160;&lt;Menuname inline=&quot;false&quot;&gt;Documentation&lt;/Menuname&gt;
+</I>&gt;<i> &#160; &#160;&lt;Merge type=&quot;menus&quot;/&gt;
+</I>&gt;<i> &#160; &#160;&lt;Merge type=&quot;files&quot;/&gt;
+</I>&gt;<i> &#160; &#160;&lt;Separator/&gt;
+</I>&gt;<i> &#160; &#160;&lt;Filename&gt;rpmdrake.desktop&lt;/Filename&gt;
+</I>&gt;<i> &#160;&lt;/Layout&gt;
+</I>&gt;<i> &#160;&lt;DefaultLayout inline=&quot;true&quot; inline_limit=&quot;1&quot;&gt;
+</I>&gt;<i> &#160; &#160;&lt;Merge type=&quot;files&quot;/&gt;
+</I>&gt;<i> &#160; &#160;&lt;Menuname&gt;More&lt;/Menuname&gt;
+</I>&gt;<i> &#160; &#160;&lt;Merge type=&quot;menus&quot;/&gt;
+</I>&gt;<i> &#160;&lt;/DefaultLayout&gt;
+</I>
+My rules are like this:
+
+
+&lt;Menu&gt;
+ &lt;Name&gt;Applications&lt;/Name&gt;
+ &lt;Directory&gt;ezgo.directory&lt;/Directory&gt;
+ &lt;KDELegacyDirs/&gt;
+ &lt;DefaultAppDirs/&gt;
+ &lt;DefaultDirectoryDirs/&gt;
+ &lt;DefaultLayout inline=&quot;true&quot; inline_limit=&quot;1&quot;&gt;
+ &lt;Merge type=&quot;menus&quot;/&gt;
+ &lt;Merge type=&quot;files&quot;/&gt;
+ &lt;Separator/&gt;
+ &lt;Menuname&gt;More&lt;/Menuname&gt;
+ &lt;/DefaultLayout&gt;
+ &lt;Layout&gt;
+ &lt;Menuname inline=&quot;false&quot; show_empty=&quot;true&quot;&gt;Office&lt;/Menuname&gt;
+ &lt;Menuname inline=&quot;false&quot; show_empty=&quot;true&quot;&gt;Graphics&lt;/Menuname&gt;
+ &lt;Menuname inline=&quot;false&quot; show_empty=&quot;true&quot;&gt;SoundVideo&lt;/Menuname&gt;
+ &lt;Menuname inline=&quot;false&quot; show_empty=&quot;true&quot;&gt;Internet&lt;/Menuname&gt;
+ &lt;Menuname inline=&quot;false&quot; show_empty=&quot;true&quot;&gt;Games&lt;/Menuname&gt;
+ &lt;Menuname inline=&quot;false&quot; show_empty=&quot;true&quot;&gt;Education&lt;/Menuname&gt;
+ &lt;Menuname inline=&quot;false&quot; show_empty=&quot;true&quot;&gt;Accessibility&lt;/Menuname&gt;
+ &lt;Separator/&gt;
+ &lt;Menuname inline=&quot;false&quot; show_empty=&quot;true&quot;&gt;System&lt;/Menuname&gt;
+ &lt;Menuname inline=&quot;false&quot; show_empty=&quot;true&quot;&gt;Development&lt;/Menuname&gt;
+ &lt;Menuname inline=&quot;false&quot; show_empty=&quot;true&quot;&gt;Settingsmenu&lt;/Menuname&gt;
+ &lt;Separator/&gt;
+ &lt;/Layout&gt;
+ &lt;Menu&gt;
+ &lt;Name&gt;Internet&lt;/Name&gt;
+ &lt;Directory&gt;ezgo-internet.directory&lt;/Directory&gt;
+ &lt;Layout&gt;
+ &lt;Menuname inline=&quot;true&quot; inline_limit=&quot;0&quot;&gt;Internet-Browser&lt;/Menuname&gt;
+ &lt;Separator/&gt;
+ &lt;Menuname inline=&quot;true&quot; inline_limit=&quot;0&quot;&gt;Internet-IM&lt;/Menuname&gt;
+ &lt;Separator/&gt;
+ &lt;Merge type=&quot;menus&quot;/&gt;
+ &lt;Merge type=&quot;files&quot;/&gt;
+ &lt;/Layout&gt;
+ &lt;Menu&gt;
+ &lt;Name&gt;Internet-Browser&lt;/Menuname&gt;
+ &lt;Include&gt;
+ &lt;And&gt;
+ &lt;Category&gt;Network&lt;/Category&gt;
+ &lt;Category&gt;WebBrowser&lt;/Category&gt;
+ &lt;Not&gt;&lt;Category&gt;X-KDE-More&lt;/Category&gt;&lt;/Not&gt;
+ &lt;/And&gt;
+ &lt;/Include&gt;
+ &lt;/Menu&gt;
+ &lt;Menu&gt;
+ &lt;Name&gt;Internet-IM&lt;/Menuname&gt;
+ &lt;Include&gt;
+ &lt;And&gt;
+ &lt;Category&gt;Network&lt;/Category&gt;
+ &lt;Category&gt;InstantMessaging&lt;/Category&gt;
+ &lt;Not&gt;&lt;Category&gt;X-KDE-More&lt;/Category&gt;&lt;/Not&gt;
+ &lt;/And&gt;
+ &lt;/Include&gt;
+ &lt;/Menu&gt;
+ &lt;/Menu&gt;
+
+[deleted]
+&lt;/Menu&gt;
+
+The result is: the show_empty attribute didn't work. The inline
+attribute inside the layout of Internet menu didn't work.
+
+I thought that I've followed the XDG men specs. Did I write anything wrong?
+
+
+Thanks for your help!
+
+
+Franklin
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="004616.html">[Mageia-dev] Does Mageia fully follow XDG menu specifications?
+</A></li>
+ <LI>Next message: <A HREF="004621.html">[Mageia-dev] [1290] Allow listing posts and rejects
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#4619">[ date ]</a>
+ <a href="thread.html#4619">[ thread ]</a>
+ <a href="subject.html#4619">[ subject ]</a>
+ <a href="author.html#4619">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
+mailing list</a><br>
+</body></html>