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

List:       kde-devel
Subject:    Re: RFC: new "Label" keyword for desktop files...
From:       Simon Hausmann <shaus () uermel ! Med ! Uni-Magdeburg ! DE>
Date:       1999-07-26 13:33:24
[Download RAW message or body]



On Mon, 26 Jul 1999, Pietro Iglio wrote:

> At 14.48 26/07/99 +0200, Waldo Bastian wrote:
> >Bernd Gehrmann wrote:
> >> 
> >> On Mon, 26 Jul 1999, Pietro Iglio wrote:
> >> 
> >> > Application .desktop files (but what I'm going to say may apply to other
> >> > types of desktop files as well) have a "Name" key that is used both as
> >> > the system application identifier and as the application name in the
> K-menu.
> >> 
> >> Why not use the file name as identifier?
> >
> >Yes, why can't the file name be used as identifier? That would be much
> >simpler wouldn't it?
> 
> This was my original proposal talking with Simon Hausmann (kded), and
> he objected that Name is already a general identifier for all kinds of 
> services, not only application .desktop files.
> 
> We might have KTrader::findServiceById(QString), but I'm sure that 
> developers will confuse it with KTrader::findServiceByName(QString).
> 
> In other words I'm not happy if for some services we use Name as identifier
> and for others (=applications) we use the file name or the AppId entry.
> This is why I suggested the Label entry.

I like the Label proposal, too, since it fills the purpose of displaying
the right "text" to the user without mixing it up with the service's name.

However if we switch to using the .desktop file name as identifier, then I
think the Name entry is unused/obsolete, right?

Bye,
 Simon

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

Configure | About | News | Add a list | Sponsored by KoreLogic