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

List:       kde-devel
Subject:    Hiding some menu items
From:       Andre Moreira Magalhaes <andrunko () yahoo ! com ! br>
Date:       2005-03-06 22:24:28
Message-ID: 20050306222428.93518.qmail () web51907 ! mail ! yahoo ! com
[Download RAW message or body]

Hi all,

I would like to ask you some questions regarding the kmenu items. I want to
change the kmenu to show only the kde apps and some few other apps,
(OpenOffice.org, Mozilla*, Gimp, ...). This menu will contain a extra menu,
called "Other apps" or whatever that will contain all other apps there are not
in the main menu. In Gnome you can see that there are no kde apps in their
applications menu, and i believe that is a good point, cause with all menu
items it's sometimes difficult to find the app you want. For example in my
System Menu, there are 3 different terminal apps.
The problem is that all kde apps (.desktop files) have a KDE word in the
Categories group, one thing that not all gnome apps have. I have some
possibilties to do this:
 - Show only the apps that contain the word KDE in the Categories entry. The
bad effect of this is that apps like OpenOffice will not appear in the main
menu.
 - Show the apps that contain the word KDE in the Categories entry and some
other predefined apps (OpenOffice.org, Firefox, ...). I believe this is what
Gnome does, cause they show, for example, k3b in their menu, but they do not
show kate.

And another question is, where should i filter this apps that will be showed.
In the service_mnu.cpp or in another place (kservicegroup.cpp, kservice.cpp,
..)? 

Any help is appreciate,
Cheers,
Andrunko

__________________________________________________
Converse com seus amigos em tempo real com o Yahoo! Messenger 
http://br.download.yahoo.com/messenger/ 
 
>> 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