Index: uikit.py ================================================================== --- uikit.py +++ uikit.py @@ -376,11 +376,11 @@ # Params if fn: c.set_current_name(fn) fn = "" - for fname,ftype in (formats or self.save_formats): + for fname,ftype in (formats or uikit.save_formats): f = gtk.FileFilter() f.set_name(fname) f.add_pattern(ftype) c.add_filter(f) # Yes, that's how to retrieve signals for changed filter selections