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

List:       kde-devel
Subject:    Re: programmatically adding icon to kicker
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2003-08-29 21:05:36
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 29 August 2003 02:33, Eric Winger wrote:
> Aaron J. Seigo wrote:
> > dcop... though it seems this particular item was missed (though all
> > others
> > were covered)... i'm adding it to KDE3.2, however...
> >
> > dcop kicker Panel addServiceButton /path/to/desktop/file
>
> hmmm... when I run this I get the message:
>  >>dcop kicker Panel addServiceButton eeyore.desktop
>
> no such function

that's because when i said i'm adding it, i meant it.. i've got the code here 
on disk, and its less than an hour old... it'll be in CVS later tonight ;-) 
there are dcop functions for just about every other type of button EXCEPT 
application buttons =/

> at my debian package I'm running 3.1.3 KDE. Is there a way to query dcop
> application exports?

yep... just do: `dcop kicker` or `dcop kicker Panel` ... there's also the very 
handy kdcop program which offers a very nice GUI (with nice DnD support for 
crafting dcop call from the list)

> > > & the Kmenu.
> >
> > by installing your .desktop file into the applnk hierarchy... this is
> > now a
> > freedesktop.org standard
>
> Didn't have much luck with this either. Copied to several spots inside
> /usr/share/applnk.
>
> When you say install, did you mean something other than copying the
> .desktop file to somewhere within the applnk hierarchy? I shouldn't have
> to restart kde should I?

if you have a version of kde that follows the freedesktop.org standard, then 
you can just pop the .desktop file in $PREFIX/share/applications, where that 
is... often it's /usr, but not always ... 

otherwise it needs to be put into the appropriate subdir (For it's category) 
of $PREFIX/share/applnk/ ... this method is being deprecated in favour of the 
freedesktop.org standard ...

- -- 
Aaron J. Seigo
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE/T8Ah1rcusafx20MRAhYpAJoCWny5fInpWiYv8QfT5cJP1BytiwCeNdbX
oN8sddFmzQYM2Qq1ziyTNJw=
=oEOk
-----END PGP SIGNATURE-----
 
>> 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