[haiku-development] Re: Cortex fix ticket 1763

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 02 Mar 2008 17:21:09 +0100 CET

Hi Maurice,

Maurice Kalinowski <haiku@xxxxxxxxxxxxx> wrote:
> find attached a small patch to partly close ticket 1763. The problem 
> is, 
> that the GetDormantFlavorInfoFor() actually fails under Haiku though 
> we 
> got a dormant_node_info. So in case we cannot access needed 
> information, 
> we simply set the icon to be a generic one. This leads me to a 
> question.

Thanks! I've applied your patch in r24205.

> Actually GetDormantNodeFor in MediaIcon.cpp line 134 works, though 
> the 
> system timesource is not part of an addon. See 
> http://www.beunited.org/bebook/The%20Media%20Kit/MediaRoster.html#GetDormantNodes()
>  
> > for description of dormant nodes themself. It is not part of the 
> application either, so it seems like the system time source needs to 
> be 
> handled specifically. As I have no R5 laying around, maybe someone 
> else 
> can check how R5 behaves in this case? I guess GetDormantNodeFor will 
> fail there for the system time source.
> 
> I didn't want to add code to the MediaKit already, instead I was 
> looking 
> for some input from someone with deeper experience into these things.

That's not me unfortunately ;-)
I hope someone more experienced with the Media Kit will have a look.

Bye,
   Axel.


Other related posts: