def set_active_item(self,dirname): gtk_obj = self.get(dirname) if gtk_obj: value = gtk_obj.dirname gconf_set_string("/desktop/gnome/interface/gtk_theme",value)
def set_active_item(self,dir): value = os.path.basename(dir) gconf_set_string("/desktop/gnome/peripherals/mouse/cursor_theme",value)
def set_active_item(self, dirname): gtk_obj = self.get(dirname) if gtk_obj: value = gtk_obj.dirname gconf_set_string("/desktop/gnome/interface/gtk_theme", value)
def set_active_item(self, dir): value = os.path.basename(dir) gconf_set_string("/desktop/gnome/peripherals/mouse/cursor_theme", value)
def set_active_item(self, name): gconf_set_string("/apps/metacity/general/theme", name)
def set_active_item(self,name): gconf_set_string("/apps/metacity/general/theme", name)