예제 #1
0
 def __init__(self,ccw):
     PluginsClass.__init__(self, ccw, caption, category, priority)
     shell_ver=ccw.installed_info('gnome-shell')
     if not shell_ver or not ccw.GSettings:
         creatVBox(self, ccw, description, resetBtton=False) 
         return
     self.l_shell_ver=shell_ver['version']
     self.s_shell_ver='.'.join(self.l_shell_ver.split('.')[:2])
     self.key='enabled-extensions'
     self.dirs=['/usr/share/gnome-shell/extensions/','/home/ehab/.local/share/gnome-shell/extensions']
     self.extensions={}
     self.GS=None
     creatVBox(self, ccw, description, self.GioSettings, resetBtton=False) 
예제 #2
0
 def __init__(self, ccw):
     PluginsClass.__init__(self, ccw, caption, category, priority)
     shell_ver = ccw.installed_info('gnome-shell')
     if not shell_ver or not ccw.GSettings:
         creatVBox(self, ccw, description, resetBtton=False)
         return
     self.l_shell_ver = shell_ver['version']
     self.s_shell_ver = '.'.join(self.l_shell_ver.split('.')[:2])
     self.key = 'enabled-extensions'
     self.dirs = [
         '/usr/share/gnome-shell/extensions/',
         '/home/ehab/.local/share/gnome-shell/extensions'
     ]
     self.extensions = {}
     self.GS = None
     creatVBox(self, ccw, description, self.GioSettings, resetBtton=False)
예제 #3
0
 def __init__(self, ccw):
     PluginsClass.__init__(self, ccw, caption, category, priority)
     self.GConf = ccw.GConf
     self.dirs = self.get_dirs()
     creatVBox(self, ccw, description, self.GioSettings)
예제 #4
0
파일: gnome-icons.py 프로젝트: albakry/occ
 def __init__(self,ccw):
     PluginsClass.__init__(self, ccw, caption, category, priority)
     creatVBox(self, ccw, description, self.GioSettings) 
예제 #5
0
 def __init__(self,ccw):
     PluginsClass.__init__(self, ccw, caption, category, priority)
     self.GConf=ccw.GConf
     creatVBox(self, ccw, description, self.gconfsettings, self.gconfsettings, False) 
예제 #6
0
 def __init__(self,ccw):
     PluginsClass.__init__(self, ccw, caption, category, priority)
     self.GConf=ccw.GConf
     self.dirs=self.get_dirs()
     creatVBox(self, ccw, description, self.GioSettings) 
예제 #7
0
 def __init__(self, ccw):
     PluginsClass.__init__(self, ccw, caption, category, priority)
     self.GConf = ccw.GConf
     creatVBox(self, ccw, description, self.gconfsettings,
               self.gconfsettings, False)
예제 #8
0
 def __init__(self, ccw):
     PluginsClass.__init__(self, ccw, caption, category, priority)
     creatVBox(self, ccw, description, self.GioSettings)