[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: XML GUI Separator after ActionList
From:       "Joris Guisson" <joris.guisson () gmail ! com>
Date:       2008-04-12 9:28:17
Message-ID: 6bc528f40804120228t63da7246ka105d1c7ff13e791 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I have even tried putting in 3 separators, none of them are shown.

Joris,

On Sat, Apr 12, 2008 at 11:22 AM, Joris Guisson <joris.guisson@gmail.com>
wrote:

> Hi,
>
> I'm putting some menus into XML for greater extendability, and have run
> into a problem. If you put a Separator after an ActionList, it will not be
> shown.
> For example the following code snippet :
>
>     <Menu name="GroupsSubMenu" icon="application-x-bittorrent"><text>Add
> to Group</text>
>         <ActionList name="view_groups_list" />
>         <Separator />
>         <Action name="view_add_to_new_group" />
>     </Menu>
>
> Results in the view_add_to_new_group action always following the
> view_groups_list ActionList, the separator is never shown. If you first put
> the action, then the separator and finally the action list, it is shown.
>
> So is this a bug or a feature ? I can understand hiding the separator when
> the list is empty, but it should be shown when it is not empty.
>
> Joris,
>
> Btw, I'm using KDE 4.0.2
>

[Attachment #5 (text/html)]

I have even tried putting in 3 separators, none of them are \
shown.<br><br>Joris,<br><br><div class="gmail_quote">On Sat, Apr 12, 2008 at 11:22 \
AM, Joris Guisson &lt;<a \
href="mailto:joris.guisson@gmail.com">joris.guisson@gmail.com</a>&gt; wrote:<br> \
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); \
margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br><br>I&#39;m putting some menus \
into XML for greater extendability, and have run into a problem. If you put a \
Separator after an ActionList, it will not be shown.<br> For example the following \
code snippet :<br><br>&nbsp;&nbsp;&nbsp; &lt;Menu name=&quot;GroupsSubMenu&quot; \
icon=&quot;application-x-bittorrent&quot;&gt;&lt;text&gt;Add to \
Group&lt;/text&gt;<br> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;ActionList \
name=&quot;view_groups_list&quot; /&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; \
&lt;Separator /&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;Action \
name=&quot;view_add_to_new_group&quot; /&gt;<br>&nbsp;&nbsp;&nbsp; \
&lt;/Menu&gt;<br><br>Results in the view_add_to_new_group action always following the \
view_groups_list ActionList, the separator is never shown. If you first put the \
action, then the separator and finally the action list, it is shown.<br>

<br>So is this a bug or a feature ? I can understand hiding the separator when the \
list is empty, but it should be shown when it is not empty.<br><br>Joris,<br><br>Btw, \
I&#39;m using KDE 4.0.2<br> </blockquote></div><br>



>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic