Пример #1
0
 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)
Пример #2
0
 def set_active_item(self,dir):
     value = os.path.basename(dir)
     gconf_set_string("/desktop/gnome/peripherals/mouse/cursor_theme",value)
Пример #3
0
 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)
Пример #4
0
 def set_active_item(self, dir):
     value = os.path.basename(dir)
     gconf_set_string("/desktop/gnome/peripherals/mouse/cursor_theme",
                      value)
Пример #5
0
 def set_active_item(self, name):
     gconf_set_string("/apps/metacity/general/theme", name)
Пример #6
0
 def set_active_item(self,name):
     gconf_set_string("/apps/metacity/general/theme", name)