Exemple #1
0
class _GConfTweak(Tweak):
    def __init__(self, key_name, key_type, **options):
        self.gconf = GConfSetting(key_name, key_type)
        Tweak.__init__(self,
            self.gconf.schema_get_summary(),
            self.gconf.schema_get_description(),
            **options)
Exemple #2
0
 def __init__(self, key_name, key_type, **options):
     self.gconf = GConfSetting(key_name, key_type)
     Tweak.__init__(self,
         options.get("summary",self.gconf.schema_get_summary()),
         options.get("description",self.gconf.schema_get_description()),
         **options)