Tools__ProjectBuilderAssistantApplication.st
changeset 2720 99b643eb4ba9
parent 2719 f85a3fdfeaac
child 2721 5097b97d4c24
--- a/Tools__ProjectBuilderAssistantApplication.st	Fri Nov 06 00:19:21 2009 +0100
+++ b/Tools__ProjectBuilderAssistantApplication.st	Fri Nov 06 00:33:34 2009 +0100
@@ -1038,6 +1038,7 @@
                        (ActionButtonSpec
                           label: 'Open Windows Explorer'
                           name: 'Button1'
+                          visibilityChannel: isWindowsOS
                           translateLabel: true
                           resizeForLabel: true
                           model: doOpenExplorer
@@ -1046,6 +1047,7 @@
                        (ActionButtonSpec
                           label: 'Open Console'
                           name: 'Button2'
+                          visibilityChannel: false
                           translateLabel: true
                           resizeForLabel: true
                           model: doOpenConsoleTerminal
@@ -1965,6 +1967,10 @@
     ^ self hasProjectSelected "and:[ self hasApplicationSelected ]"
 !
 
+isWindowsOS
+    ^ OperatingSystem isMSWINDOWSlike
+!
+
 projectTypeIsGuiApplication
     ^ self projectTypeHolder value == #guiApplicationType
 !