summaryrefslogtreecommitdiff
path: root/Mac/OSX/PythonLauncher/PreferencesWindowController.m
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-06-20 22:21:03 +0000
committerJack Jansen <jack.jansen@cwi.nl>2003-06-20 22:21:03 +0000
commitd7cccdd591346967d3c0c286b2e7e534435abc12 (patch)
treec6e4a3a623371534f640f1d2af6c227b3d0b5e91 /Mac/OSX/PythonLauncher/PreferencesWindowController.m
parent47db25278601d3f9bfedba533e1ba90080f2fbf2 (diff)
downloadcpython-git-d7cccdd591346967d3c0c286b2e7e534435abc12.tar.gz
Added a field that allows the user to set sys.argv-style arguments
to the script. Fixes #757544.
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 fd65194afc..5dd08f3692 100644
--- a/Mac/OSX/PythonLauncher/PreferencesWindowController.m
+++ b/Mac/OSX/PythonLauncher/PreferencesWindowController.m
@@ -39,6 +39,7 @@
[tabs setState: [settings tabs]];
[others setStringValue: [settings others]];
[with_terminal setState: [settings with_terminal]];
+ // Not scriptargs, it isn't for preferences
[commandline setStringValue: [settings commandLineForScript: @"<your script here>"]];
}
@@ -84,6 +85,7 @@
- (BOOL) tabs { return [tabs state];};
- (NSString *) others { return [others stringValue];};
- (BOOL) with_terminal { return [with_terminal state];};
+- (NSString *) scriptargs { return @"";};
// Delegates
- (void)controlTextDidChange:(NSNotification *)aNotification