diff options
author | Duncan Foster <dfoster@openoffice.org> | 2003-06-13 09:48:05 +0000 |
---|---|---|
committer | Duncan Foster <dfoster@openoffice.org> | 2003-06-13 09:48:05 +0000 |
commit | b4ba3f773bf464e1a43b7b83568a959649e6c0c2 (patch) | |
tree | 57b9ed6fbc5cfffb5ec8b574585ebab068a18b50 | |
parent | 0636000a126def0e9bfdf62a167f5b74974a3ad1 (diff) |
#i15583# label needs to be enabled/disabled with browse button
Provided common name for label. Added code to enable/disable
-rw-r--r-- | scripting/workben/bindings/EventsBinding.xdl | 2 | ||||
-rw-r--r-- | scripting/workben/bindings/KeyBinding.xdl | 2 | ||||
-rw-r--r-- | scripting/workben/bindings/MenuBinding.xdl | 2 | ||||
-rw-r--r-- | scripting/workben/bindings/ScriptBinding.xba | 6 |
4 files changed, 9 insertions, 3 deletions
diff --git a/scripting/workben/bindings/EventsBinding.xdl b/scripting/workben/bindings/EventsBinding.xdl index 9047e9dad5a2..71cd56a087d4 100644 --- a/scripting/workben/bindings/EventsBinding.xdl +++ b/scripting/workben/bindings/EventsBinding.xdl @@ -54,6 +54,6 @@ <dlg:text dlg:id="Label9" dlg:tab-index="20" dlg:left="12" dlg:top="49" dlg:width="23" dlg:height="8" dlg:value="Script"/> <dlg:text dlg:id="Label10" dlg:tab-index="21" dlg:left="103" dlg:top="-19" dlg:width="3" dlg:height="0" dlg:value="Label10"/> <dlg:text dlg:style-id="0" dlg:id="AddOn" dlg:tab-index="22" dlg:disabled="true" dlg:left="17" dlg:top="144" dlg:width="38" dlg:height="10" dlg:value="[Add-on's only]"/> - <dlg:text dlg:id="Label2" dlg:tab-index="23" dlg:disabled="true" dlg:left="13" dlg:top="86" dlg:width="45" dlg:height="8" dlg:value="[Filesystem only]"/> + <dlg:text dlg:id="fsonly" dlg:tab-index="23" dlg:disabled="true" dlg:left="13" dlg:top="86" dlg:width="45" dlg:height="8" dlg:value="[Filesystem only]"/> </dlg:bulletinboard> </dlg:window> diff --git a/scripting/workben/bindings/KeyBinding.xdl b/scripting/workben/bindings/KeyBinding.xdl index c0a11bc207a5..958f4a74a939 100644 --- a/scripting/workben/bindings/KeyBinding.xdl +++ b/scripting/workben/bindings/KeyBinding.xdl @@ -51,6 +51,6 @@ <dlg:text dlg:id="Label9" dlg:tab-index="21" dlg:left="12" dlg:top="49" dlg:width="23" dlg:height="8" dlg:value="Script"/> <dlg:text dlg:id="Label10" dlg:tab-index="22" dlg:left="103" dlg:top="-9" dlg:width="3" dlg:height="0" dlg:value="Label10"/> <dlg:text dlg:style-id="0" dlg:id="AddOn" dlg:tab-index="23" dlg:disabled="true" dlg:left="17" dlg:top="154" dlg:width="38" dlg:height="10" dlg:value="[Add-on's only]"/> - <dlg:text dlg:id="Label2" dlg:tab-index="24" dlg:disabled="true" dlg:left="13" dlg:top="86" dlg:width="45" dlg:height="8" dlg:value="[Filesystem only]"/> + <dlg:text dlg:id="fsonly" dlg:tab-index="24" dlg:disabled="true" dlg:left="13" dlg:top="86" dlg:width="45" dlg:height="8" dlg:value="[Filesystem only]"/> </dlg:bulletinboard> </dlg:window> diff --git a/scripting/workben/bindings/MenuBinding.xdl b/scripting/workben/bindings/MenuBinding.xdl index 35906546cedb..7903e0cffcd1 100644 --- a/scripting/workben/bindings/MenuBinding.xdl +++ b/scripting/workben/bindings/MenuBinding.xdl @@ -56,7 +56,7 @@ <dlg:text dlg:id="Label8" dlg:tab-index="23" dlg:left="12" dlg:top="32" dlg:width="35" dlg:height="9" dlg:value="Language"/> <dlg:text dlg:id="Label9" dlg:tab-index="24" dlg:left="12" dlg:top="49" dlg:width="23" dlg:height="8" dlg:value="Script"/> <dlg:text dlg:style-id="0" dlg:id="AddOn" dlg:tab-index="25" dlg:disabled="true" dlg:left="17" dlg:top="156" dlg:width="38" dlg:height="11" dlg:value="[Add-on's only]"/> - <dlg:text dlg:id="Label3" dlg:tab-index="26" dlg:disabled="true" dlg:left="13" dlg:top="86" dlg:width="45" dlg:height="8" dlg:value="[Filesystem only]"/> + <dlg:text dlg:id="fsonly" dlg:tab-index="26" dlg:disabled="true" dlg:left="13" dlg:top="86" dlg:width="45" dlg:height="8" dlg:value="[Filesystem only]"/> <dlg:text dlg:id="Label10" dlg:tab-index="27" dlg:left="9" dlg:top="89" dlg:width="0" dlg:height="0" dlg:value="Label10"/> </dlg:bulletinboard> </dlg:window> diff --git a/scripting/workben/bindings/ScriptBinding.xba b/scripting/workben/bindings/ScriptBinding.xba index 40b184917d5e..9e2a376c20f2 100644 --- a/scripting/workben/bindings/ScriptBinding.xba +++ b/scripting/workben/bindings/ScriptBinding.xba @@ -1619,8 +1619,14 @@ sub LangLocComboListener() if ( location = "Filesystem" ) and ( language <> "Java" ) then bindingDialog.Model.Browse.enabled = true + if not (dialogName = "EditDebug") then + bindingDialog.Model.fsonly.enabled = true + end if else bindingDialog.Model.Browse.enabled = false + if not (dialogName = "EditDebug") then + bindingDialog.Model.fsonly.enabled = false + end if endif ' extra dialog dependant processing |