Re: GTK file dialog question

2004-11-26 Thread Angus Leeming
John Spray wrote: >> Attached is a version that should compile against the cleaned-up >> FileFilterList API when you uncomment the block. > > Cool, that works great (after adding a couple of lyx::support::). I'll > commit this if the filefilter API is going to stay this way. No further changes p

Re: GTK file dialog question

2004-11-26 Thread John Spray
On Fri, 2004-11-26 at 12:35 +, Angus Leeming wrote: > John Spray wrote: > > > On Thu, 2004-11-25 at 14:44 +, Angus Leeming wrote: > >> I asked because I wanted to know what functionality gtk would really > >> need from FileFilterList. It seems that you're saying that we should > >> really

Re: GTK file dialog question

2004-11-26 Thread Angus Leeming
John Spray wrote: > On Thu, 2004-11-25 at 14:44 +, Angus Leeming wrote: >> I asked because I wanted to know what functionality gtk would really >> need from FileFilterList. It seems that you're saying that we should >> really have: >> >> struct FileFilterList { >> struct Filter { >>

Re: GTK file dialog question

2004-11-25 Thread John Spray
On Thu, 2004-11-25 at 14:44 +, Angus Leeming wrote: > I asked because I wanted to know what functionality gtk would really > need from FileFilterList. It seems that you're saying that we should > really have: > > struct FileFilterList { > struct Filter { > std::vector

Re: GTK file dialog question

2004-11-25 Thread Angus Leeming
John Spray wrote: > On Thu, 2004-11-25 at 12:06 +, Angus Leeming wrote: >> John, the GTK file dialog currently ignores the list of filters. Is >> there any plan to change that? > The plan is to rewrite the file dialog stuff to use GtkFileChooser > instead of GtkFileSelection. I'd been plannin

Re: GTK file dialog question

2004-11-25 Thread John Spray
On Thu, 2004-11-25 at 12:06 +, Angus Leeming wrote: > John, the GTK file dialog currently ignores the list of filters. Is there > any plan to change that? The plan is to rewrite the file dialog stuff to use GtkFileChooser instead of GtkFileSelection. I'd been planning to leave that until the d

GTK file dialog question

2004-11-25 Thread Angus Leeming
John, the GTK file dialog currently ignores the list of filters. Is there any plan to change that? FileDialog::Private::open(string const & path, lyx::support::FileFilterList const & /*filters*/, string const & /*suggested*/) The idea is to popu