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

List:       kde-devel
Subject:    Re: Device Link on Desktop and Service Menu
From:       Vincent Tassy <timetre () gmail ! com>
Date:       2005-12-21 15:17:42
Message-ID: 68a52d2b0512210717q1dd8fe2el263eefb3191fc39c () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Thanks David for your quick anwser.

However, I have already done what you mention if you re-read my original
mail.
This does work but I'm trying to achieve someting a little more clever. An
equivalent to Mount/Unmount

When the device if not mounted, you only see the Mount Action. If it IS
mounted then you only see the Unmount Action.

That's the kind of behaviour I was trying to get. Declaring my actions
directly in the .desktop files will make the actions ALWAYS present in the
context menu (like FORMAT for the Floppy disk).

I wanted an equivalent of what you can do with the servicemenu of Konqueror
(There's media_mount.desktop and media_unmount.desktop).

Get the idea ?

Thanks,

Vince.



On 12/21/05, David Faure <faure@kde.org> wrote:
>
> On Wednesday 21 December 2005 16:01, Vincent Tassy wrote:
> > Hello everyone,
> >
> > Could anyone give me a hint about how one might add service menu
> > entries to Device Icons that are on the desktop ?
>
> If they are .desktop files, use [Desktop Action Foo], as per the desktop
> entry standard.
> See kdelibs/kio/DESKTOP_ENTRY_STANDARD or freedesktop.org
>
> > I have looked into the actual servicemenu desktop files in
> > /usr/share/apps/konqueror/servicemenus but it seems what you put there
> > doesn't affect the device icons on the Desktop.
>
> Yes (obviously, since those are in a konqueror directory :)
>
> --
> David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
> Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org
> ).
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> unsubscribe <<
>

[Attachment #5 (text/html)]

Thanks David for your quick anwser.<br><br>However, I have already done what you \
mention if you re-read my original mail.<br>This does work but I'm trying to achieve \
someting a little more clever. An equivalent to Mount/Unmount <br><br>When the device \
if not mounted, you only see the Mount Action. If it IS mounted then you only see the \
Unmount Action.<br><br>That's the kind of behaviour I was trying to get. Declaring my \
actions directly in the .desktop files will make the actions ALWAYS present in the \
context menu (like FORMAT for the Floppy disk). <br><br>I wanted an equivalent of \
what you can do with the servicemenu of Konqueror (There's media_mount.desktop and \
media_unmount.desktop).<br><br>Get the idea \
?<br><br>Thanks,<br><br>Vince.<br><br><br><br><div><span class="gmail_quote"> On \
12/21/05, <b class="gmail_sendername">David Faure</b> &lt;<a \
href="mailto:faure@kde.org">faure@kde.org</a>&gt; wrote:</span><blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;"> On Wednesday 21 December 2005 16:01, Vincent Tassy \
wrote:<br>&gt; Hello everyone,<br>&gt;<br>&gt; Could anyone give me a hint about how \
one might add service menu<br>&gt; entries to Device Icons that are on the desktop \
?<br> <br>If they are .desktop files, use [Desktop Action Foo], as per the desktop \
entry standard.<br>See kdelibs/kio/DESKTOP_ENTRY_STANDARD or <a \
href="http://freedesktop.org">freedesktop.org</a><br><br>&gt; I have looked into the \
actual servicemenu desktop files in <br>&gt; /usr/share/apps/konqueror/servicemenus \
but it seems what you put there<br>&gt; doesn't affect the device icons on the \
Desktop.<br><br>Yes (obviously, since those are in a konqueror directory \
:)<br><br>--<br>David Faure,  <a href="mailto:faure@kde.org">faure@kde.org</a>, \
sponsored by Trolltech to work on KDE,<br>Konqueror (<a \
href="http://www.konqueror.org">http://www.konqueror.org</a>), and KOffice (<a \
href="http://www.koffice.org">http://www.koffice.org </a>).<br><br>&gt;&gt; Visit <a \
href="http://mail.kde.org/mailman/listinfo/kde-devel#unsub">http://mail.kde.org/mailman/listinfo/kde-devel#unsub</a> \
to unsubscribe &lt;&lt;<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