From kde-devel Mon Jul 26 14:39:20 1999 From: Simon Hausmann Date: Mon, 26 Jul 1999 14:39:20 +0000 To: kde-devel Subject: Re: RFC: new "Label" keyword for desktop files... X-MARC-Message: https://marc.info/?l=kde-devel&m=93300019512687 On Mon, 26 Jul 1999, Steffen Hansen wrote: > On Mon, 26 Jul 1999, Pietro Iglio wrote: > > > 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). > > Simon is right. Name is used as the server name in the Implementation > Repository, and as such it has to be unique. There is no need for an extra > identifier. ...this brings us to another, not yet addressed problem. Name entries may contain spaces (and some apps actually use this), but we can't use server names with spaces in the IMR. The reason is that the server name is passed as cmdline by the mediators (some "-OAfoo " option, but you know this :) Kurt once suggested to put "'s around the server name, but I couldn't get this working :-( Any ideas? Ciao, Simon