[haiku-commits] Re: r40852 - in haiku/trunk/src: apps/deskcalc bin/rc bin/rc/tests

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 06 Mar 2011 23:44:48 +0100

"Jonas Sundström" <jonas@xxxxxxxxxxx> wrote:
> Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote:
> > It's been some time since I looked at rc's code, but it looks fine
> > from
> > what I can tell.
> > I would suggest to add defaults for the catalog entry, btw, so that
> > only the catalog entry itself needs to be specified in the usual
> > case.
> Are you saying it should exclude the "x-vnd..." app signature part,
> in the usual case, and optionally support providing one?

I actually meant that one could define defaults for the string
specifiers, ie. leave out the ":Window:ActivityMonitor" altogether, and
when it's missing, use something like ":Application:<Name>" to look it
up.
Omitting the line by default completely, and let 'rc' then create the
attribute from the app's signature automatically would work nicely as
well, I'd guess.

> BTW, does it need a unique resource definition ID?  (type.def_id?)

IIRC yes, but I'm not 100% sure.

Bye,
   Axel.


Other related posts: