ActiveState Powered by ActiveState

ActiveState Community


Place Code Browser in Right Panel

Posted by Naatan on 2008-02-27 06:17
OS: All / Any

Hi,

I have this extension called "Source Tree" which has a tab in the left side panel, I've tried dragging it but this doesn't seem to be supported.

Is there any way I can make it show in the right panel rather than the left?

Thanks

jeffg | Wed, 2008-02-27 15:38

The Source Tree extension was written by Iván Campaña, you could ask him to add the feature. Alternatively, you could edit the overlay.xul file in the extension:

1. change the tabs id in line 39:

<tabs id="right_toolbox_tabs">

2. change the tab panels id on line 43:

<tabpanels id="right_toolbox_tabpanels">

I made these changes and it seems to work fine for me.

--
JeffG

Naatan | Wed, 2008-02-27 15:58

Awesome, It's too late for me now but gonna try it out tomorrow, thanks jeff :)

Naatan | Wed, 2008-02-27 16:07

Decided to take a quick look anyway, can you tell me what the ID's are supposed to be?

Right now they're;

project_toolbox_tabs (39)
project_toolbox_tabpanels (43)

that sounds to me like it should be on the same side as the toolbox, but it's not..

jeffg | Wed, 2008-02-27 16:11

Sorry, drupal yanked out the tags in my last post instead of escaping them. Refer to my earlier post for the correct Ids.

In Komodo-land, 'project' means left, and 'right' means, er, right. =) These Ids have been around for a long time, back to when Komodo IDE only had the Project Pane on the left side.

--
JeffG

Naatan | Thu, 2008-02-28 02:37

Thanks for the explanation :) I managed to get it working :D

-->