JobViewServer specification proposal

Rafael Fernández López ereslibre at kde.org
Tue Apr 8 16:53:16 PDT 2008


Hi,

> "Interface, signal, method, and property names are "WindowsStyleCaps",
> note that the first letter is capitalized, unlike Java."
>
> So, it shouldn't it be eg. org.freedesktop.JobView.Terminate instead?

Yes, in theory, they should. I completely agree.

> Also, regarding org.freedesktop.JobView.s(S)etTotalAmount; perhaps the
> units should be specified in some sort of file format, so that an
> application can add new units without requiring going through and
> patching the source? This might also make it more reliable across
> implementations, as otherwise the KDE implementation might have extra
> types that the GNOME implementation doesn't, and vice versa.

The main idea is that when an application needs a new amount type, we review 
the specification (if the change is for that purpose we can update it almost 
inmediatly if the new type has sense, and notify all interested parties).

The important bit of this, is that all implementations should have the same 
types, being extendable through expanding the specification, but the same 
types.

The only problem I find on having a file format or similar is how to handle 
properly that for being cross-desktop (apart from the plural problems on 
certain languages).

Cross-desktop: note that if gnome implementation uses a certain file format, 
and kde uses another one, we end up by not being able to do this correctly => 
if you develop a gnome application and you add a new type to your gnome file 
format (or however it is thought), if you run that program on a KDE desktop, 
the kuiserver will not know what to place in there.

Certain languages: the problem of some languages having more than one plural, 
and other deeper problems of translation.

Thanks for your comments.


Regards,
Rafael Fernández López

GPG Fingerprint: B9F4 4730 43F8 FFDD CC5E BA8E 724E 406E 3F01 D070
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/xdg/attachments/20080409/9ef6d6a5/attachment.pgp 


More information about the xdg mailing list