As a follow up to this, are there any APIs to listen to the Net
panel's activation change so I can disable my panel when/if the Net
panel is disabled? Or do I just need to add a prefs observer and
listen for the appropriate topic and data? (I looked at
panelActivation.js and didn't see anything.)

Thanks,

--Nathan



On Thu, Jan 19, 2012 at 10:41 AM, Nathan Mische <[email protected]> wrote:
> That works. Thank you for the suggestion.
>
> --Nathan
>
> On Thu, Jan 19, 2012 at 10:20 AM, Jan Honza Odvarko <[email protected]> wrote:
>> Try:
>>
>> var netPanelType = Firebug.getPanelType("net");
>> Firebug.PanelActivation.enablePanel(netPanelType);
>>
>> This way Firebug.PanelActivation.updateTab is executed and so, the tab UI
>> updated.
>>
>> Even if, I believe that the tab should be auto updated even if you directly
>> change the options. This could be improved.
>>
>> Does it work for you?
>>
>> Honza
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Firebug" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> https://groups.google.com/forum/#!forum/firebug

-- 
You received this message because you are subscribed to the Google
Groups "Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
https://groups.google.com/forum/#!forum/firebug

Reply via email to