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

List:       kde-devel
Subject:    Re: How to modify a existing project
From:       Waldo Bastian <bastian () kde ! org>
Date:       2003-08-07 19:57:45
[Download RAW message or body]

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

On Thursday 07 August 2003 20:11, kaiduan xie wrote:
> Hi, Waldo,
>
> Thanks for help. Another problem, how to put the
> application to the KDE popup menu? For example, I want
> to put the application to Internet category, so that
> the end user doesnot need to enter the name of the
> executable file on terminal, just click the KDE popup
> menu, like the use of KMail.

Install a .desktop file under $KDEDIR/share/applnk/Internet

If you use the build-framework that's standard for KDE applications then you 
can do so by adding the following lines to your Makefile.am:

apps_DATA = yourApp.desktop
appsdir = $(kde_appsdir)/Internet

The format of .desktop files is described on
http://www.freedesktop.org/standards/desktop-entry-spec/0.9.4-onehtml/

If you need any examples you can find plenty of .desktop files under $KDEDIR/
share/applnk

Cheers,
Waldo
- -- 
bastian@kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian@suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/Mq85N4pvrENfboIRAjZ0AJ9e5zRMXCO1Qj8qypr9CHl0TNvscgCfbGE5
oIFuyAwgnMtTJ8gHo67e4ZY=
=BMsP
-----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