#!/usr/bin/env python

import gtk

def main ():
	dialog = gtk.FileChooserDialog ()

	filter = gtk.FileFilter ()
	filter.set_name ("This is a really long name. Much, much longer than fits on my monitor. GTK+ really should ellipsise this text, but I suspect that it will not. There is really only one way to find out though.")
	filter.add_pattern ("*")

	dialog.add_filter (filter)

	dialog.show ()
	dialog.run ()
	dialog.destroy ()

if __name__ == '__main__': main ()
