summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/Nav.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-01-17 16:14:31 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-01-17 16:14:31 (GMT)
commitc99b675ff42602b659fc85a140e20d6b842d38e1 (patch)
tree73dac0d8872d56fa642efe4aab16b1e03b0e8d1a /Mac/Modules/Nav.c
parentf0d12da482f0fa10f5af02c48f6791f286f49388 (diff)
downloadcpython-c99b675ff42602b659fc85a140e20d6b842d38e1.zip
cpython-c99b675ff42602b659fc85a140e20d6b842d38e1.tar.gz
cpython-c99b675ff42602b659fc85a140e20d6b842d38e1.tar.bz2
For reasons unknown previewProc and filterProc were disabled. Enabled them.
Diffstat (limited to 'Mac/Modules/Nav.c')
-rw-r--r--Mac/Modules/Nav.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/Mac/Modules/Nav.c b/Mac/Modules/Nav.c
index b4984da..dd6a57c 100644
--- a/Mac/Modules/Nav.c
+++ b/Mac/Modules/Nav.c
@@ -202,11 +202,9 @@ filldialogoptions(PyObject *d,
} else if( eventProcP && strcmp(keystr, "eventProc") == 0 ) {
*eventProcP = my_eventProcUPP;
} else if( previewProcP && strcmp(keystr, "previewProc") == 0 ) {
- PyErr_SetString(ErrorObject, "No callbacks implemented yet");
- return 0;
+ *previewProcP = my_previewProcUPP;
} else if( filterProcP && strcmp(keystr, "filterProc") == 0 ) {
- PyErr_SetString(ErrorObject, "No callbacks implemented yet");
- return 0;
+ *filterProcP = my_filterProcUPP;
} else if( typeListP && strcmp(keystr, "typeList") == 0 ) {
if ( !PyArg_Parse(value, "O&", ResObj_Convert, typeListP) )
return 0;