Re: [sabayon] identity crisis



Hmm... my verbal description might be a little hard to follow, in pseudo
code this is the problem:

in editorwindow.py ProfileModel:reload() does this:

        for (source_name, path) in self.profile.storage.list ():
            source = self.profile.get_source (source_name)

one of the source_names is "Firefox"

UserProfile:get_source() does this:

        for source in self.sources:
            if source.get_name () == source_name:
                return source
        return None

The only names in self.sources are Files, GConf so None is returned.
-- 
John Dennis <jdennis redhat com>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]