Re: Bonobo bug: can't set status to empty string



Hi John,

On Tue, 10 Oct 2000, John Sullivan wrote:
> Calling bonobo_ui_component_set_status (ui_component, "") has no
> effect. I think this is probably due to merging code that
> special-cases the empty string. In this case, it is clearly a bug for
> this not to set the text in the status bar to the empty string.

        Ok; I just fixed this in the following way: if you call
bonobo_ui_component_set_status with either NULL or "" then instead of
doing a set I do a bonobo_ui_component_rm ("/status/main/*") that kills   
the status text, But, better than this it effectively does a 'pop' and    
if another component had an item overridden there re-instates it which is
nice. 

        Regards,
 
                Michael.

-- 
 mmeeks gnu org  <><, Pseudo Engineer, itinerant idiot





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]