[Gtk-sharp-list] Gtk.FileChooserAction.SelectFolder on Mac

Charles Esterbrook Charles at charles-esterbrook.com
Fri Aug 26 04:36:42 EDT 2011


When I run a FileChooserDialog on Mac with
Gtk.FileChooserAction.SelectFolder, I get strange behavior where I
cannot browse into other directories. For example, let's say after the
dialog appears, I click my home directory in the path buttons up top.
Then I try to see what's in my "Projects" subdirectory by double
clicking on it in the list of files. Nothing happens as if the double
click does not register.

This makes the dialog unusable for selecting a folder somewhere deeper
in my home directory.

Anyone else have this problem on any platform? Anyone not have this
problem on Mac?

I'm on Mono 2.10.4 (gtk-sharp 2.12.0.0) on Mac OS X 10.6.7.

The code (in Cobra):

	fcd = Gtk.FileChooserDialog('Choose the directory or project to open',
		this,
		Gtk.FileChooserAction.SelectFolder,
		'Cancel', Gtk.ResponseType.Cancel,
		'Open', Gtk.ResponseType.Accept)
	try
		if fcd.run == Gtk.ResponseType.Accept to int
			trace fcd.filename
	finally
		fcd.destroy


-Charles


More information about the Gtk-sharp-list mailing list