File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -248,8 +248,9 @@ def __init__(self, parent):
248248 self .getAddonsButton = generalActions .addButton (self , label = _ ("&Get add-ons..." ))
249249 self .getAddonsButton .Bind (wx .EVT_BUTTON , self .onGetAddonsClick )
250250 # Translators: The label for a button in Add-ons Manager dialog to install an add-on.
251- self .addButton = generalActions .addButton (self , label = _ ("&Install..." ))
252- self .addButton .Bind (wx .EVT_BUTTON , self .onAddClick )
251+ if not globalVars .appArgs .secure :
252+ self .addButton = generalActions .addButton (self , label = _ ("&Install..." ))
253+ self .addButton .Bind (wx .EVT_BUTTON , self .onAddClick )
253254 # Translators: The label of a button in the Add-ons Manager to open the list of incompatible add-ons.
254255 self .incompatAddonsButton = generalActions .addButton (self , label = _ ("&View incompatible add-ons..." ))
255256 self .incompatAddonsButton .Bind (wx .EVT_BUTTON , self .onIncompatAddonsShowClick )
You can’t perform that action at this time.
0 commit comments