Re: [PEPr] Comment on Gtk Components::Gtk_FileDrop
| From: | Scott Mattocks | Date: | Thu, 21 Oct 2004 12:16:58 +0000 |
| Subject: | Re: [PEPr] Comment on Gtk Components::Gtk_FileDrop | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-34020@lists.php.net to get a copy of this message | ||
Christian Weiske wrote:
@scott - File extensions were possible since the beginning, just use ".ext" instead of a mime typeFrom what I can tell only a certain set of extensions are allowed. Lets say I have an application that needs to read in specially formatted text files which are identified by the .scott extension. With the way things are set up now, how can I make sure that only .scott files are accepted? I don't want to do it by mime type because then any text file will be accepted. If I use Gtk_FileDrop::attach($entry, array('.scott')); the file will be rejected because your switch statement in getMimeType() will return false. Am I missing something? Thanks, Scott Mattocks