Changeset 463

Show
Ignore:
Timestamp:
2007-07-01 07:44:22 (2 years ago)
Author:
MaierMan
Message:

initial Seamonkey support
* filename refactoring
* tools menu refactoring
* changing labels
* renaming dtaOneClick! to consistent OneClick?!, prefixed with dTa if not clear from context.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/chrome.manifest

    r395 r463  
    11### package ### 
     2## general ## 
    23content dta     chrome/content/ 
    34content dta-help        chrome/help/ 
     
    56locale  dta     en-US   chrome/locale/en-US/ 
    67 
    7 ### platform package ### 
     8## platform package ## 
    89content dta-platform    chrome/content/ platform 
    910skin    dta-platform    classic/1.0 chrome/skin/ 
    1011 
    11 ### browser ### 
    12 overlay chrome://browser/content/browser.xul    chrome://dta/content/integration/menu.xul 
    13 overlay chrome://browser/content/browser.xul    chrome://dta/content/integration/browser.xul 
     12### integration ### 
     13 
     14## general ## 
     15# work-around bugs in loadOverlay preventing seamonkey integration otherwise 
     16overlay chrome://dta/content/preferences/prefs.xul chrome://dta/content/preferences/interfacePane.xul 
     17 
     18## Firefox ## 
     19overlay chrome://browser/content/browser.xul    chrome://dta/content/integration/firefox.xul application={ec8030f7-c20a-464f-9b0e-13a3a9e97384} 
     20overlay chrome://dta/content/integration/firefox.xul chrome://dta/content/integration/elements.xul application={ec8030f7-c20a-464f-9b0e-13a3a9e97384} 
     21style   chrome://browser/content/browser.xul    chrome://dta/skin/integration/style.css application={ec8030f7-c20a-464f-9b0e-13a3a9e97384} 
     22style   chrome://global/content/customizeToolbar.xul    chrome://dta/skin/integration/style.css application={ec8030f7-c20a-464f-9b0e-13a3a9e97384} 
     23# privacy control 
     24overlay chrome://browser/content/browser.xul    chrome://dta/content/privacy/overlayBrowser.xul application={ec8030f7-c20a-464f-9b0e-13a3a9e97384} 
     25overlay chrome://browser/content/preferences/sanitize.xul       chrome://dta/content/privacy/overlaySanitizeUI.xul application={ec8030f7-c20a-464f-9b0e-13a3a9e97384} 
     26overlay chrome://browser/content/sanitize.xul   chrome://dta/content/privacy/overlaySanitizeUI.xul application={ec8030f7-c20a-464f-9b0e-13a3a9e97384} 
     27overlay chrome://browser/content/sanitize.xul   chrome://dta/content/privacy/overlaySanitizeCode.xul application={ec8030f7-c20a-464f-9b0e-13a3a9e97384} 
     28 
     29## Seamonkey ## 
     30overlay chrome://navigator/content/navigator.xul chrome://dta/content/integration/seamonkey.xul application={92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a} 
     31overlay chrome://dta/content/integration/seamonkey.xul chrome://dta/content/integration/elements.xul application={92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a} 
     32overlay chrome://dta/content/preferences/interfacePane.xul chrome://dta/content/preferences/seamonkey.xul application={92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a} 
     33style   chrome://navigator/content/navigator.xul chrome://dta/skin/integration/style.css application={92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a} 
     34 
     35## toolkit ## 
    1436overlay chrome://mozapps/content/downloads/unknownContentType.xul       chrome://dta/content/integration/saveas.xul 
    15  
    16 ### privacy control ### 
    17 overlay chrome://browser/content/browser.xul    chrome://dta/content/privacy/overlayBrowser.xul 
    18 overlay chrome://browser/content/preferences/sanitize.xul       chrome://dta/content/privacy/overlaySanitizeUI.xul 
    19 overlay chrome://browser/content/sanitize.xul   chrome://dta/content/privacy/overlaySanitizeUI.xul 
    20 overlay chrome://browser/content/sanitize.xul   chrome://dta/content/privacy/overlaySanitizeCode.xul 
    21  
    22 ### styles ### 
    23 style   chrome://browser/content/browser.xul    chrome://dta/skin/integration/style.css 
    24 style   chrome://global/content/customizeToolbar.xul    chrome://dta/skin/integration/style.css 
    25  
    26  
    27  
  • trunk/chrome/content/dta/select.xul

    r433 r463  
    2323        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
    2424        title="&title;" 
    25         width="625" height="500
     25        width="675" height="575
    2626        id="selectlinks" 
    2727        onload="Dialog.load();" 
  • trunk/chrome/content/integration/elements.js

    r442 r463  
    5353        }, 
    5454         
    55         trim : function(t) { 
     55        trim: function(t) { 
    5656                return t.replace(/^[ \t_]+|[ \t_]+$/gi, '').replace(/(_){2,}/g, "_"); 
    5757        }, 
    5858         
    59         addLinksToArray : function(lnks, urls, doc) { 
     59        addLinksToArray: function(lnks, urls, doc) { 
    6060                var ref = doc.URL; 
    6161                if (!('length' in lnks)) { 
     
    101101        }, 
    102102         
    103         addImagesToArray : function(lnks, images, doc)        { 
     103        addImagesToArray: function(lnks, images, doc) { 
    104104                var ref = doc.URL; 
    105105                 
     
    142142         
    143143        // recursively add stuff. 
    144         addLinks : function(aWin, aURLs, aImages, honorSelection) { 
     144        addLinks: function(aWin, aURLs, aImages, honorSelection) { 
    145145 
    146146                function filterElements(nodes, set) { 
     
    203203        }, 
    204204         
    205         findLinks : function(turbo, all) { 
     205        findLinks: function(turbo, all) { 
    206206                try { 
    207207                        if (turbo) { 
     
    259259        }, 
    260260         
    261         findSingleLink : function(turbo) { 
     261        findSingleLink: function(turbo) { 
    262262                try { 
    263263                        var win = document.commandDispatcher.focusedWindow.top; 
     
    300300        }, 
    301301         
    302         init : function() { 
    303                 try { 
    304                         var o = { 
    305                                 ctx: document.getElementById("contentAreaContextMenu"), 
    306                                 menu: document.getElementById("menu_ToolsPopup") 
    307                         }; 
    308                         if (!o.ctx || !o.menu) { 
    309                                 o = { 
    310                                         ctx: document.getElementById("messagePaneContext"), 
    311                                         menu: document.getElementById("menu_ToolsPopup") 
    312                                 }; 
    313                         } 
    314                         if (!o.ctx || !o.menu) { 
    315                                 return; 
    316                         } 
    317                         o.ctx.addEventListener("popupshowing", function (evt) { DTA_ContextOverlay.onContextShowing(evt); }, false); 
    318                         o.menu.addEventListener("popupshowing", this.onHideTool, false); 
     302        init: function() { 
     303                try { 
     304                        var ctx = document.getElementById("dtaCtxCompact").parentNode; 
     305                        var menu = document.getElementById("dtaToolsMenu").parentNode; 
     306                        ctx.addEventListener("popupshowing", function (evt) { DTA_ContextOverlay.onContextShowing(evt); }, false); 
     307                        menu.addEventListener("popupshowing", function (evt) { DTA_ContextOverlay.onToolsShowing(evt); }, false); 
    319308 
    320309                        // prepare ctx object 
     
    323312                        ['SepBack', 'Pref', 'SepPref', 'TDTA', 'DTA', 'SaveT', 'Save', 'SepFront'].forEach( 
    324313                                function (e) { 
    325                                         DTA_ContextOverlay.ctx[e] = document.getElementById('dtaCtx' + e); 
    326                                 } 
     314                                        this.ctx[e] = document.getElementById('dtaCtx' + e); 
     315                                }, 
     316                                this 
    327317                        ); 
    328318                        this.ctxBase = document.getElementById('dtaCtxCompact'); 
    329319                        this.ctxMenu = document.getElementById('dtaCtxSubmenu'); 
    330320                         
     321                        // prepare tools 
     322                        this.tools = {}; 
     323                        ['DTA', 'TDTA', 'Manager'].forEach( 
     324                                function (e) { 
     325                                        this.tools[e] = document.getElementById('dtaTools' + e); 
     326                                }, 
     327                                this 
     328                        ); 
     329                        this.toolsBase = document.getElementById('dtaToolsMenu'); 
     330                        this.toolsMenu = document.getElementById('dtaToolsPopup'); 
     331                        this.toolsSep = document.getElementById('dtaToolsSep'); 
     332                         
    331333                } catch (ex) { 
     334                        Components.utils.reportError(ex); 
    332335                        DTA_debug.dump("DCO::init()", ex); 
    333336                } 
    334337        }, 
    335338         
    336         onContextShowing : function(evt) { 
    337                 try { 
    338                          
    339                         if (evt && evt.target && evt.target.id != 'contentAreaContextMenu') { 
    340                                 return; 
    341                         } 
     339        onContextShowing: function(evt) { 
     340                try { 
    342341                         
    343342                        // get settings 
    344                         var menu = DTA_preferences.getDTA("ctxmenu", "1,1,0") 
    345                                 .split(",").map(function(e){return parseInt(e);}); 
     343                        var menu = DTA_preferences.getDTA("ctxmenu", "1,1,0").split(",").map(function(e){return parseInt(e);}); 
    346344                        var compact = DTA_preferences.getDTA("ctxcompact", false); 
    347345                         
     
    437435                        } 
    438436                } catch(ex) { 
    439                         DTA_debug.dump("DTAHide(): ", ex); 
    440                 } 
    441         }, 
    442          
    443         onHideTool : function() {try { 
    444                 var menuTool = DTA_preferences.getDTA("toolsmenu", "1,1,1").split(","); 
    445                 var contextTool = DTA_preferences.getDTA("toolscompact", true); // checks if    the user wants a submenu 
    446                 document.getElementById("dta-tool").hidden = !(parseInt(menuTool[0]) && (!contextTool)); 
    447                 document.getElementById("turbo-tool").hidden = !(parseInt(menuTool[1]) && (!contextTool)); 
    448                 document.getElementById("dta-manager-tool").hidden = !(parseInt(menuTool[2]) && (!contextTool)); 
    449                 document.getElementById("dta-menu").hidden = !contextTool;  
    450                 document.getElementById("dta-Popup").hidden = !contextTool; 
    451                 document.getElementById("dta-tool-popup").hidden = !parseInt(menuTool[0]); 
    452                 document.getElementById("turbo-tool-popup").hidden = !parseInt(menuTool[1]); 
    453                 document.getElementById("dta-manager-tool-popup").hidden = !parseInt(menuTool[2]); 
    454         } catch(ex) { 
    455                 DTA_debug.dump("DTAHideTool(): " + ex); 
    456         } 
     437                        DTA_debug.dump("DTAContext(): ", ex); 
     438                } 
     439        }, 
     440         
     441        onToolsShowing : function(evt) { 
     442                try { 
     443                         
     444                        // get settings 
     445                        var menu = DTA_preferences.getDTA("toolsmenu", "1,1,1").split(",").map(function(e){return parseInt(e);}); 
     446                         
     447                        // all hidden... 
     448                        var hidden = DTA_preferences.getDTA("toolshidden", false); 
     449                        for (var i in this.tools) { 
     450                                this.tools[i].hidden = hidden; 
     451                        } 
     452                        this.toolsBase.hidden = hidden; 
     453                        if (hidden) { 
     454                                return; 
     455                        } 
     456 
     457                        var compact = menu.indexOf(0) != -1; 
     458                         
     459                        // setup menu items 
     460                        // show will hold those that will be shown 
     461                        var show = []; 
     462                         
     463                        if (menu[0]) { 
     464                                show.push('DTA'); 
     465                        } 
     466                        if (menu[1]) { 
     467                                show.push('TDTA'); 
     468                        } 
     469                        // prefs 
     470                        if (menu[2]) { 
     471                                show.push('Manager'); 
     472                        } 
     473                        this.toolsSep.hidden = menu.indexOf(0) == -1; 
     474                        this.toolsBase.setAttribute('label', this.getString(menu.indexOf(1) != -1 ? 'moredtatools' : 'simpledtatools')); 
     475                 
     476                        // show the items. 
     477                        for (var i in this.tools) { 
     478                                var cur = this.tools[i]; 
     479                                if (show.indexOf(i) == -1) { 
     480                                        this.toolsMenu.insertBefore(cur, this.toolsSep); 
     481                                } 
     482                                else { 
     483                                        this.toolsBase.parentNode.insertBefore(cur, this.toolsBase); 
     484                                } 
     485                        } 
     486                } catch(ex) { 
     487                        DTA_debug.dump("DTATools(): ", ex); 
     488                } 
    457489        }, 
    458490         
  • trunk/chrome/content/integration/firefox.xul

    r395 r463  
    1010 * ***** END LICENSE BLOCK ***** --> 
    1111<!DOCTYPE overlay SYSTEM "chrome://dta/locale/menu.dtd"> 
    12 <overlay id="DtaBrowserToolbar" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 
     12<overlay id="DTAFirefoxIntegration" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 
    1313 
    14         <script type="application/x-javascript" src="chrome://dta/content/common/overlayFunctions.js"/> 
    15         <script type="application/x-javascript" src="chrome://dta/content/integration/menu.js"/> 
    16         <script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js"/> 
    17         <script type="application/x-javascript" src="chrome://global/content/nsTransferable.js"/>  
    18         <script type="application/x-javascript" src="chrome://help/content/contextHelp.js"/> 
     14        <popup id="contentAreaContextMenu"> 
     15                <menu id="dtaCtxCompact"  insertafter="context-sep-selectall"/> 
     16        </popup> 
    1917 
    2018        <toolbarpalette id="BrowserToolbarPalette">  
    21                 <toolbarbutton  
    22                         id="dta-turbo-button" class="chromeclass-toolbar-additional toolbarbutton-1" 
    23                         ondragover="nsDragAndDrop.dragOver(event, DTA_DropTDTA);" 
    24                         ondragdrop="nsDragAndDrop.drop(event, DTA_DropTDTA);" 
    25                         oncommand="DTA_ContextOverlay.findLinks(true);" 
    26                         label="dTaOneClick!" 
    27                         tooltiptext="dTaOneClick!" 
    28                 /> 
    29                 <toolbarbutton 
    30                         id="dta-button" 
    31                         class="chromeclass-toolbar-additional toolbarbutton-1"  
    32                         ondragover="nsDragAndDrop.dragOver(event, DTA_DropDTA);" 
    33                         ondragdrop="nsDragAndDrop.drop(event, DTA_DropDTA);" 
    34                         oncommand="if (event.target == this) DTA_ContextOverlay.findLinks(false);" 
    35                         label="DownThemAll!" 
    36                         tooltiptext="DownThemAll!" 
    37                         type="menu-button" 
    38                 > 
    39                         <menupopup> 
    40                                 <menuitem id="dta-tb-dta" label="DownThemAll!" onclick="DTA_ContextOverlay.findLinks();" image="chrome://dta/skin/common/dta.png" class="menuitem-iconic"/> 
    41                                 <menuitem id="dta-tb-turbo" label="dtaOneClick!" onclick="DTA_ContextOverlay.findLinks(true);" image="chrome://dta/skin/common/turbo.png" class="menuitem-iconic"/> 
    42                                 <menuseparator/> 
    43                                 <menuitem id="dta-tb-all" label="DownThemAll! (&dta-tb-all.label;)" onclick="DTA_ContextOverlay.findLinks(false, true);" image="chrome://dta/skin/common/dta.png" class="menuitem-iconic"/> 
    44                                 <menuitem id="dta-tb-allturbo" label="dtaOneClick! (&dta-tb-all.label;)" onclick="DTA_ContextOverlay.findLinks(true, true);" image="chrome://dta/skin/common/turbo.png" class="menuitem-iconic"/> 
    45                                 <menuseparator/> 
    46                                 <menuitem id="dta-tb-manager" label="&dta-manager-button;" onclick="DTA_AddingFunctions.openManager();" image="chrome://dta/skin/common/box.png" class="menuitem-iconic"/> 
    47                         </menupopup> 
    48                 </toolbarbutton> 
    49                 <toolbarbutton 
    50                         id="dta-manager-button" 
    51                         class="chromeclass-toolbar-additional toolbarbutton-1" 
    52                         oncommand="DTA_AddingFunctions.openManager();" 
    53                         label="&dta-manager-button;" 
    54                         tooltiptext="DownThemAll! Manager" 
    55                 /> 
     19                <toolbarbutton id="dta-turbo-button" /> 
     20                <toolbarbutton id="dta-button"/> 
     21                <toolbarbutton id="dta-manager-button"/> 
    5622        </toolbarpalette> 
    5723        <menupopup id="menu_ToolsPopup">         
    58                         <menuitem id="dta-tool" oncommand="DTA_ContextOverlay.findLinks();"  
    59                                 label="DownThemAll!..." image="chrome://dta/skin/common/dta.png" class="menuitem-iconic" /> 
    60                         <menuitem id="turbo-tool" oncommand="DTA_ContextOverlay.findLinks(true);"  
    61                                 label="dTaOneClick!" image="chrome://dta/skin/common/turbo.png" class="menuitem-iconic" /> 
    62                          
    63                         <menuitem id="dta-manager-tool" oncommand="DTA_AddingFunctions.openManager();"  
    64                                 label="&dta-manager-button;..." image="chrome://dta/skin/common/box.png" class="menuitem-iconic" />      
    65                         <menu id="dta-menu" label="DownThemAll" class="menu-iconic" image="chrome://dta/skin/common/dta.png" insertbefore="flashgot-menu" insertafter="sanitizeItem"> 
    66                                 <menupopup id="dta-Popup"> 
    67                                 <menuitem id="dta-tool-popup" oncommand="DTA_ContextOverlay.findLinks(false)"  
    68                                         label="DownThemAll!..." image="chrome://dta/skin/common/dta.png" class="menuitem-iconic" /> 
    69                                 <menuitem id="turbo-tool-popup" oncommand="DTA_ContextOverlay.findLinks(true)"  
    70                                         label="dTaOneClick!" image="chrome://dta/skin/common/turbo.png" class="menuitem-iconic" /> 
    71                                 <menuitem id="dta-manager-tool-popup" oncommand="DTA_AddingFunctions.openManager()"  
    72                                         label="&dta-manager-button;..." image="chrome://dta/skin/common/box.png" class="menuitem-iconic" />      
    73                                 <menuseparator /> 
    74  
    75                                 <menuitem id="dta-pref-tool" oncommand="DTA_showPreferences();" 
    76                                         label="&dta-pref.label;" image="chrome://dta/skin/common/prefs.png" class="menuitem-iconic" /> 
    77                                 <menuitem id="dta-help-tool" oncommand="openHelp('introduction','chrome://dta-help/content/help.rdf');" 
    78                                         label="&dta-help.label;" image="chrome://dta/skin/common/help.png" class="menuitem-iconic" />    
    79                                 <menuitem id="dta-about" oncommand="window.openDialog('chrome://dta/content/about/about.xul','_blank','chrome,centerscreen,modal');" 
    80                                         label="&dta-about.label;" image="chrome://dta/skin/common/about.png" class="menuitem-iconic" /> 
    81                         </menupopup> 
    82                 </menu> 
     24                <menu id="dtaToolsMenu" insertbefore="flashgot-menu" insertafter="sanitizeItem"/> 
    8325        </menupopup> 
    8426</overlay> 
  • trunk/chrome/content/integration/saveas.xul

    r281 r463  
    5656                        </hbox> 
    5757                        <hbox id="tdta" flex="1"> 
    58                                 <radio id="turbodta" label="dTaOneClick" disabled="true"/> 
     58                                <radio id="turbodta" label="dTa OneClick!" disabled="true"/> 
    5959                                <spacer flex="1"/> 
    6060                                <saveddropdown id="tdtalist" preference="directory" readonly="true"/> 
  • trunk/chrome/content/preferences/interfacePane.xul

    r395 r463  
    1919        > 
    2020         
    21                 <preferences
     21                <preferences id="prefsInterface"
    2222                        <preference id="dtaShowInDown" name="extensions.dta.downloadWin" type="bool" /> 
    2323                        <preference id="dtaHideUrl" name="extensions.dta.showonlyfilenames" type="bool" /> 
    2424                        <preference id="dtaContextSub" name="extensions.dta.ctxcompact" type="bool" /> 
    25                         <preference id="dtaToolSub" name="extensions.dta.toolscompact" type="bool" /> 
     25                        <preference id="dtaToolHide" name="extensions.dta.toolshidden" type="bool" /> 
    2626                        <preference id="dtaContext" name="extensions.dta.ctxmenu" type="string" /> 
    2727                        <preference id="dtaTool" name="extensions.dta.toolsmenu" type="string" /> 
     
    3939                        <checkbox id="downloadWin" label="&uipane.downloadwin.label;" preference="dtaShowInDown" /> 
    4040                </groupbox>      
    41                        <grid> 
    42                                <columns
    43                                        <column flex="1"/> 
    44                                        <column flex="1"/> 
    45                                </columns> 
    46                                <rows> 
    47                                        <row
    48                                                <groupbox> 
    49                                                        <caption label="&uipane.context.caption;"/> 
    50                                                        <checkbox id="dtaContext0"  
    51                                                                preference="dtaContext" 
    52                                                                label="DownThemAll!"  
    53                                                                class="moreLeft" 
    54                                                                onsyncfrompreference="return Interface.getMenu('dtaContext', 0);" 
    55                                                                onsynctopreference="return Interface.setMenu('dtaContext', 0);" 
    56                                                                /> 
    57                                                        <checkbox id="dtaContext1"  
    58                                                                preference="dtaContext" 
    59                                                                label="dTaOneClick!" 
    60                                                                onsyncfrompreference="return Interface.getMenu('dtaContext', 1);" 
    61                                                                onsynctopreference="return Interface.setMenu('dtaContext', 1);" 
    62                                                                class="moreLeft" /> 
    63                                                        <checkbox id="dtaContext2" 
    64                                                                preference="dtaContext" 
    65                                                                label="&dtacontext2.label;"  
    66                                                                onsyncfrompreference="return Interface.getMenu('dtaContext', 2);" 
    67                                                                onsynctopreference="return Interface.setMenu('dtaContext', 2);" 
    68                                                                class="moreLeft" /> 
    69                                                        <separator class="groove-thin"/> 
    70                                                        <checkbox label="&uipane.compact.label;" preference="dtaContextSub" /> 
    71                                                </groupbox> 
    72                                                <groupbox> 
    73                                                        <caption label="&uipane.tools.caption;"/> 
    74                                                        <checkbox id="dtaTool0"  
    75                                                                preference="dtaTool" 
    76                                                                label="DownThemAll!"  
    77                                                                onsyncfrompreference="return Interface.getMenu('dtaTool', 0);" 
    78                                                                onsynctopreference="return Interface.setMenu('dtaTool', 0);" 
    79                                                                class="moreLeft" /> 
    80                                                        <checkbox id="dtaTool1"  
    81                                                                preference="dtaTool" 
    82                                                                label="dTaOneClick!"  
    83                                                                onsyncfrompreference="return Interface.getMenu('dtaTool', 1);" 
    84                                                                onsynctopreference="return Interface.setMenu('dtaTool', 1);" 
    85                                                                class="moreLeft" /> 
    86                                                        <checkbox id="dtaTool2"  
    87                                                                preference="dtaTool" 
    88                                                                label="&manager;"  
    89                                                                onsyncfrompreference="return Interface.getMenu('dtaTool', 2);" 
    90                                                                onsynctopreference="return Interface.setMenu('dtaTool', 2);" 
    91                                                                class="moreLeft" /> 
    92                                                        <separator class="groove-thin"/> 
    93                                                        <checkbox label="&uipane.compact.label;" preference="dtaToolSub" /> 
    94                                                </groupbox> 
    95                                        </row> 
    96                                </rows> 
    97                        </grid> 
     41                <grid> 
     42                        <columns id="colItems"
     43                                <column flex="1"/> 
     44                                <column flex="1"/> 
     45                        </columns> 
     46                        <rows> 
     47                                <row id="rowItems"
     48                                        <groupbox> 
     49                                                <caption label="&uipane.context.caption;"/> 
     50                                                <checkbox id="dtaContext0"  
     51                                                        preference="dtaContext" 
     52                                                        label="DownThemAll!"  
     53                                                        class="moreLeft" 
     54                                                        onsyncfrompreference="return Interface.getMenu('dtaContext', 0);" 
     55                                                        onsynctopreference="return Interface.setMenu('dtaContext', 0);" 
     56                                                        /> 
     57                                                <checkbox id="dtaContext1"  
     58                                                        preference="dtaContext" 
     59                                                        label="OneClick!" 
     60                                                        onsyncfrompreference="return Interface.getMenu('dtaContext', 1);" 
     61                                                        onsynctopreference="return Interface.setMenu('dtaContext', 1);" 
     62                                                        class="moreLeft" /> 
     63                                                <checkbox id="dtaContext2" 
     64                                                        preference="dtaContext" 
     65                                                        label="&dtacontext2.label;"  
     66                                                        onsyncfrompreference="return Interface.getMenu('dtaContext', 2);" 
     67                                                        onsynctopreference="return Interface.setMenu('dtaContext', 2);" 
     68                                                        class="moreLeft" /> 
     69                                                <separator class="groove-thin"/> 
     70                                                <checkbox label="&uipane.compact.label;" preference="dtaContextSub" /> 
     71                                        </groupbox> 
     72                                        <groupbox> 
     73                                                <caption label="&uipane.tools.caption;"/> 
     74                                                <checkbox id="dtaTool0"  
     75                                                        preference="dtaTool" 
     76                                                        label="DownThemAll!"  
     77                                                        onsyncfrompreference="return Interface.getMenu('dtaTool', 0);" 
     78                                                        onsynctopreference="return Interface.setMenu('dtaTool', 0);" 
     79                                                        class="moreLeft" /> 
     80                                                <checkbox id="dtaTool1"  
     81                                                        preference="dtaTool" 
     82                                                        label="OneClick!"  
     83                                                        onsyncfrompreference="return Interface.getMenu('dtaTool', 1);" 
     84                                                        onsynctopreference="return Interface.setMenu('dtaTool', 1);" 
     85                                                        class="moreLeft" /> 
     86                                                <checkbox id="dtaTool2"  
     87                                                        preference="dtaTool" 
     88                                                        label="&manager;"  
     89                                                        onsyncfrompreference="return Interface.getMenu('dtaTool', 2);" 
     90                                                        onsynctopreference="return Interface.setMenu('dtaTool', 2);" 
     91                                                        class="moreLeft" /> 
     92                                                <separator class="groove-thin"/> 
     93                                                <checkbox label="&uipane.hide.label;" preference="dtaToolHide" /> 
     94                                        </groupbox> 
     95                                </row> 
     96                        </rows> 
     97                </grid> 
    9898        </prefpane> 
    9999</overlay> 
  • trunk/chrome/content/preferences/prefs.xul

    r459 r463  
    3131        <prefpane id="paneFilters" label="&filterspane.label;" src="chrome://dta/content/preferences/filtersPane.xul" /> 
    3232        <prefpane id="panePrivacy" label="&privacypane.label;" src="chrome://dta/content/preferences/privacyPane.xul" /> 
    33         <prefpane id="paneInterface" label="&uipane.label;" src="chrome://dta/content/preferences/interfacePane.xul" /> 
     33        <prefpane id="paneInterface" label="&uipane.label;" /> 
    3434        <prefpane id="paneAdvanced" label="&advancedpane.label;" src="chrome://dta/content/preferences/advPane.xul" /> 
    3535         
  • trunk/chrome/help/faq.html

    r395 r463  
    1313        <h1>Frequently asked questions</h1> 
    1414 
    15         <h2 id="oneclick">What is &quot;dTaOneClick&quot;?</h2> 
    16         <p>dTaOneClick! will start downloading all the links/pictures of the current webpage that will match the filters used  in the last dTa! session. Downloads will be saved in the last setted destination path and will be renamed using the last setted renaming mask.</p> 
    17         <p>For example, open dTa! right clicking in a free spot of a gallery page, select inclusive filter "Images" from "Make your selection" window and click on Start!. dTa will download all the pictures linked in the webpage, but it will also remember all the settings for the next time. Now browse another gallery. Right click on a free spot and just select "dTaOneClick!". Boom. You'll have all the pictures downloaded in your download folder. In one click.</p> 
     15        <h2 id="oneclick">What is &quot;OneClick!&quot;?</h2> 
     16        <p>OneClick! will start downloading all the links/pictures of the current webpage that will match the filters used  in the last dTa! session. Downloads will be saved in the last setted destination path and will be renamed using the last setted renaming mask.</p> 
     17        <p>For example, open dTa! right clicking in a free spot of a gallery page, select inclusive filter "Images" from "Make your selection" window and click on Start!. dTa will download all the pictures linked in the webpage, but it will also remember all the settings for the next time. Now browse another gallery. Right click on a free spot and just select "OneClick!". Boom. You'll have all the pictures downloaded in your download folder. In one click.</p> 
    1818 
    1919        <h2 id="oneclickqueue">oneClick doesn't start downloads anymore</h2> 
  • trunk/chrome/help/help.dtd

    r395 r463  
    1717 
    1818<!ENTITY faq "Frequently asked questions"> 
    19 <!ENTITY faq.oneclick "What is &quot;dTaOneClick&quot;?"> 
     19<!ENTITY faq.oneclick "What is &quot;OneClick!&quot;?"> 
    2020<!ENTITY faq.oneclickqueue "oneClick doesn't start downloads anymore"> 
    2121<!ENTITY faq.support "How can I contribute to the developement?"> 
  • trunk/chrome/help/preferences.html

    r395 r463  
    106106        <ul> 
    107107                <li>Either regular DownThemAll! where you could still tweak the settings of the download</li> 
    108                 <li>Or the dTaOneClick!, which will proceed with the download using the settings of the last download you started.</li> 
     108                <li>Or the OneClick!, which will proceed with the download using the settings of the last download you started.</li> 
    109109        </ul> 
    110110         
  • trunk/chrome/locale/en-US/menu.dtd

    r395 r463  
    22<!ENTITY dta-about.label "About dTa!"> 
    33<!ENTITY dta-help.label "Help Contents"> 
    4 <!ENTITY dta-manager-button "dTa! Manager"> 
     4<!ENTITY dta-manager-button "Manager"> 
    55<!ENTITY dta-tb-all.label "All tabs"> 
  • trunk/chrome/locale/en-US/menu.properties

    r262 r463  
    11dtasaveimage=Save image with DownThemAll! 
    2 turbosaveimage=Start image with dTaOneClick! 
     2turbosaveimage=Start image with OneClick! 
    33dtasavelink=Save link with DownThemAll! 
    4 turbosavelink=Start link with dTaOneClick! 
     4turbosavelink=Start link with OneClick! 
    55dtaselection=DownThemAll! selection... 
    6 turboselection=dTaOneClick selection... 
     6turboselection=OneClick selection... 
    77dtaregular=DownThemAll!... 
    8 turboregular=dTaOneClick!... 
     8turboregular=dta OneClick!... 
    99error=DownThemAll! - Error 
    1010errornolinks=No links or pictures found! 
    1111errorinformation=DownThemAll! was unable to proceed!\nEither there were no links selected to download, or information like destination folder is missing. 
    1212errornodownload=The selected link is not a downloadable file! 
     13moredtatools=More dTa Tools 
     14simpledtatools=DownThemAll! Tools 
  • trunk/chrome/locale/en-US/prefpanes.dtd

    r330 r463  
    7777<!ENTITY uipane.context.caption "Context menu"> 
    7878<!ENTITY uipane.tools.caption "Tools Menu"> 
     79<!ENTITY uipane.smbuttons.caption "Seamonkey Buttons"> 
    7980<!ENTITY uipane.compact.label "Use a compact menu"> 
     81<!ENTITY uipane.hide.label "Hide this menu"> 
    8082<!ENTITY uipane.showtooltip.label "Show download tooltips"> 
  • trunk/defaults/preferences/dta.js

    r395 r463  
    3636pref("extensions.dta.ctxmenu", "1,1,0"); 
    3737pref("extensions.dta.ctxcompact", false); 
    38 pref("extensions.dta.toolsmenu", "1,1,1"); 
    39 pref("extensions.dta.toolscompact", true); 
     38pref("extensions.dta.toolsmenu", "0,0,0"); 
     39pref("extensions.dta.toolshidden", false); 
    4040pref("extensions.dta.closetab", false); 
    4141pref("extensions.dta.closedta", false); 
     
    6262pref("extensions.dta.filter", "['', '/(\\.mp3)$/', '/(\\.(html|htm|rtf|doc|pdf))$/', 'http://www.website.com/subdir/*.*', 'http://www.website.com/subdir/pre*.???', '*.z??, *.css, *.html']"); 
    6363pref("extensions.dta.lastqueued", false); 
     64 
     65// Seamonkey specific 
     66pref("extensions.dta.sm.buttons", "1,1,1"); 
  • trunk/install.rdf

    r395 r463  
    2929                        </rdf:Description> 
    3030                </targetApplication> 
    31                  
     31 
     32                <!-- Seamonkey --> 
     33                <targetApplication> 
     34                        <rdf:Description> 
     35                                <id>{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}</id> 
     36                                <minVersion>2.0a</minVersion> 
     37                                <maxVersion>3.0</maxVersion> 
     38                        </rdf:Description> 
     39                </targetApplication>                     
     40 
    3241        </rdf:Description> 
    3342</rdf:RDF>