Re: Postbox w. Venkman -- Any help out there ??

gNeandr <neandr_NO@SPAM_gmx_._de> Wed, 04 Mar 2009 22:30:14 +0100
Newsgroups gmane.comp.mozilla.devel.jsdebugger
Message-ID <[email protected]>
Thanks Gijs,

Postbox has very much the same structure as TB but giving some 
additional feature which are only announced for TB3 (or with nightlies)
At the moment I have a working installation, some heavy hack and I'm 
looking for a better solution.

1. stored the {f13b157f-b174-47e7-a34d-4815ddfdfeb8} dir (from another 
installation) to
          
\Profiles\<postbox_profilename>\extensions\{f13b157f-b174-47e7-a34d-4815ddfdfeb8}

2. modifiered the 'chrome.manifest' to add an entry:
        overlay chrome://messenger/content/messenger.xul        
chrome://venkman/content/venkman-overlay.xul      
application={[email protected]}

3.  because there is no UI point/menu after this "Installation" I had to 
modify the  'mailWindowOverlay.xul' to add a menu item under 'Tools' with
            <menuitem id="venkman" label="JS Debugger" 
oncommand="start_venkman();"/>
        and so it finds the script:
           <script type="application/x-javascript" 
src="chrome://venkman/content/venkman-overlay.js"/>

        Not very "normal", but it works ... for the moment ...

        Maybe I have to check how to add that to the
                <menupopup id="taskPopup"
        with some code which would be activated with startup.

Any further help ??

g



 [04.03.2009 18:32]    »Gijs Kruitbosch« wrote:
> Add the relevant overlay to the main postbox window by modifying 
> chrome.manifest. You may need to modify the IDs of the menus/menuitems 
> for that to work, I have no idea how postbox works.
>
> ~ Gijs
>
> gNeandr wrote:
>> Any help out there ??
>>
>> Thanks
>> Günter
>>
>> [02.03.2009 17:07]    »gNeandr« wrote:
>>>           Follow-up: mozilla.dev.apps.js-debugger
>>>
>>> Try to setup Postbox [1] with Venkman extension.
>>>
>>> PB doesn't come with an add-on manager, but there is a hack [2] how 
>>> to install Mr.Tech extension. That installed, extension can be 
>>> loaded. It requires some changes with the XPI RDF file, but no 
>>> problem. It works with other XPI.
>>>
>>> Also going thru that procedure for Venkman JS Debugger it is showing 
>>> up in the Mr.T extension dialog but no where else. I would expect it 
>>> with the PB "Tool" menu as normally. But no entry. So no start.
>>> The extension.ini has an entry for 
>>> "{f13b157f-b174-47e7-a34d-4815ddfdfeb8}", ext. dir is added to the 
>>> profile dir.
>>>
>>> Any further idea what/where to tune??
>>>
>>>
>>> [1] Postbox:   http://postbox-inc.com/?/blog/entry/pos ... 
>>> available/ 
>>> <http://postbox-inc.com/?/blog/entry/postbox_beta_is_now_available/> 
>>> http://www.postbox-inc.com/features
>>>
>>> [2] Add-on Manager for PB   
>>> http://webshelter.blogspot.com/2009/02/postbox-how-to-add-add-on-manager-to.html 
>>>
>>>
>>> [3]  Mr.Tech http://www.mrtech.com/extensions/local_install/
_______________________________________________
dev-apps-js-debugger mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-apps-js-debugger