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

List:       kde-devel
Subject:    Regarding Service Menus
From:       Chakkaradeep C C <chaks.yoper () gmail ! com>
Date:       2005-12-24 9:54:18
Message-ID: a54a308e0512240154o4a7fd12cna69e2dc9c675f9ac () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi all,

thought of writing some servicemenus for kde and started off with this
tutorial,
http://developer.kde.org/documentation/tutorials/dot/servicemenus.html

Its indeed a nice tutorial..and the service menu worked perfect...
here is the service menu file...

[Desktop Entry]
ServiceTypes=image/*
Actions=setAsWallpaper
[Desktop Action setAsWallpaper]
Name=Use as Wallpaper
Icon=background
Exec=dcop kdesktop KBackgroundIface setWallpaper %u 6

This brings the "Use As Wallpaper" under "Actions".

Can i get this not under the "Actions" but as how are "Cut","COpy" and
"Paste" are placed.They dont have any submenus...so my servicemenu entry
should go there. And how to make my servicemenu available when clicked on
Desktop.Now my servicemenu appears when i click any image.

thanks in advance,

--
Regards,
Chaks,

[Attachment #5 (text/html)]

Hi all,<br>
<br>
thought of writing some servicemenus for kde and started off with this tutorial,<br>
<a href="http://developer.kde.org/documentation/tutorials/dot/servicemenus.html">http://developer.kde.org/documentation/tutorials/dot/servicemenus.html</a><br>
 <br>
Its indeed a nice tutorial..and the service menu worked perfect...<br>
here is the service menu file...<br>
<br>
<span style="font-weight: bold;">[Desktop Entry]</span><br style="font-weight: bold;">
<span style="font-weight: bold;">ServiceTypes=image/*</span><br style="font-weight: bold;">
<span style="font-weight: bold;">Actions=setAsWallpaper</span><br style="font-weight: bold;">
<span style="font-weight: bold;">[Desktop Action setAsWallpaper]</span><br style="font-weight: \
bold;"> <span style="font-weight: bold;">Name=Use as Wallpaper</span><br style="font-weight: \
bold;"> <span style="font-weight: bold;">Icon=background</span><br style="font-weight: bold;">
<span style="font-weight: bold;">Exec=dcop kdesktop KBackgroundIface setWallpaper %u \
6</span><br style="font-weight: bold;"> <br style="font-weight: bold;" clear="all">This brings \
the &quot;Use As Wallpaper&quot; under &quot;Actions&quot;.<br> <br>
Can i get this not under the &quot;Actions&quot; but as how are \
&quot;Cut&quot;,&quot;COpy&quot; and &quot;Paste&quot; are placed.They dont have any \
submenus...so my servicemenu entry should go there. And how to make my servicemenu available \
when clicked on Desktop.Now my servicemenu appears when i click any image.<br>
<br>
thanks in advance,<br>
<br>-- <br>Regards,<br>Chaks,



>> 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