From e013f51d592a99ad0cfebbb510c182070270c32e Mon Sep 17 00:00:00 2001 From: wolfsuit Date: Mon, 22 Jul 2002 04:08:26 +0000 Subject: Set the kNavSupportPackages flag on the tk_getOpenFile dialog so you can choose App packages. --- macosx/tkMacOSXDialog.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/macosx/tkMacOSXDialog.c b/macosx/tkMacOSXDialog.c index 53e8745..fd1d56a 100644 --- a/macosx/tkMacOSXDialog.c +++ b/macosx/tkMacOSXDialog.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacOSXDialog.c,v 1.1.2.6 2002/07/21 11:11:55 vincentdarley Exp $ + * RCS: @(#) $Id: tkMacOSXDialog.c,v 1.1.2.7 2002/07/22 04:08:26 wolfsuit Exp $ */ #include @@ -777,7 +777,14 @@ NavServicesGetFile( diagOptions.optionFlags += kNavNoTypePopup; diagOptions.popupExtension = NULL; } - + + /* + * This is required to allow App packages to be selectable in the + * file dialogs... + */ + + diagOptions.optionFlags += kNavSupportPackages; + diagOptions.clientName = CFStringCreateWithCString(NULL, "Wish", encoding); if (message == NULL) { diagOptions.message = NULL; -- cgit v0.12