Ejemplo n.º 1
0
 def add_item_archive(self,gtk_archive):
     """Ajouter un element dans le dictionnaire"""
     scaner = ThemeScaner(gtk_archive)
     theme_list = scaner.theme_loader(gtk_archive)
     if theme_list:
         return theme_list
     else:
         return
Ejemplo n.º 2
0
 def add_item_archive(self, gtk_archive):
     """Ajouter un element dans le dictionnaire"""
     scaner = ThemeScaner(gtk_archive)
     theme_list = scaner.theme_loader(gtk_archive)
     if theme_list:
         return theme_list
     else:
         return
Ejemplo n.º 3
0
 def add_item_archive(self,archive):
     """Ajouter un element dans le dictionnaire"""
     scaner = ThemeScaner(archive)
     theme_list = scaner.theme_loader(archive)
     if theme_list:
         return theme_list
     else:
         print "no mouse theme in this file"
Ejemplo n.º 4
0
 def add_item_archive(self, archive):
     """Ajouter un element dans le dictionnaire"""
     scaner = ThemeScaner(archive)
     theme_list = scaner.theme_loader(archive)
     if theme_list:
         return theme_list
     else:
         print "no mouse theme in this file"
Ejemplo n.º 5
0
 def add_item_archive(self, cubemodel_archive):
     """Ajouter un element dans le dictionnaire"""
     scaner = ThemeScaner(cubemodel_archive)
     theme_list = scaner.theme_loader(cubemodel_archive)
     if theme_list:
         return theme_list
     else:
         print "no cubemodels theme to install"
Ejemplo n.º 6
0
 def add_item_archive(self, path_archive):
     """Ajouter un element dans le dictionnaire"""
     scaner = ThemeScaner(path_archive)
     theme_list = scaner.theme_loader(path_archive)
     if theme_list.has_key('metacity'):
         return theme_list['metacity']
     else:
         print "no metacity theme in this file"
Ejemplo n.º 7
0
 def add_item_archive(self,path_archive):
     """Ajouter un element dans le dictionnaire"""
     scaner = ThemeScaner(path_archive)
     theme_list = scaner.theme_loader(path_archive)
     if theme_list.has_key('metacity'):
         return theme_list['metacity']
     else:
         print "no metacity theme in this file"
Ejemplo n.º 8
0
 def add_item_archive(self,icon_archive=None, theme_list=None):
     """Ajouter un element dans le dictionnaire"""
     if icon_archive:
         scaner = ThemeScaner(icon_archive)
         theme_list = scaner.theme_loader(icon_archive)
     if theme_list.has_key('icons'):
         return theme_list
     else:
         print "no icons theme in this file"