summaryrefslogtreecommitdiff
path: root/Mac/OSX/PythonLauncher/PreferencesWindowController.m
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-02-17 15:40:00 +0000
committerJack Jansen <jack.jansen@cwi.nl>2003-02-17 15:40:00 +0000
commit3d3b74677a440b00d94b6b4e71e7f2f97800c427 (patch)
tree2c4a5eb90f1774999dad3f4127fffa52704a4b0d /Mac/OSX/PythonLauncher/PreferencesWindowController.m
parent996acf122dbf8d9aa694a16a32ced065f5805cd2 (diff)
downloadcpython-git-3d3b74677a440b00d94b6b4e71e7f2f97800c427.tar.gz
Optionally honour #! paths in scripts. Fixes #676358.
Diffstat (limited to 'Mac/OSX/PythonLauncher/PreferencesWindowController.m')
-rw-r--r--Mac/OSX/PythonLauncher/PreferencesWindowController.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mac/OSX/PythonLauncher/PreferencesWindowController.m b/Mac/OSX/PythonLauncher/PreferencesWindowController.m
index e7ddfdd780..fd65194afc 100644
--- a/Mac/OSX/PythonLauncher/PreferencesWindowController.m
+++ b/Mac/OSX/PythonLauncher/PreferencesWindowController.m
@@ -30,6 +30,7 @@
// [[self window] setTitle: script];
[interpreter setStringValue: [settings interpreter]];
+ [honourhashbang setState: [settings honourhashbang]];
[debug setState: [settings debug]];
[verbose setState: [settings verbose]];
[inspect setState: [settings inspect]];
@@ -74,6 +75,7 @@
// FileSettingsSource protocol
- (NSString *) interpreter { return [interpreter stringValue];};
+- (BOOL) honourhashbang { return [honourhashbang state]; };
- (BOOL) debug { return [debug state];};
- (BOOL) verbose { return [verbose state];};
- (BOOL) inspect { return [inspect state];};