- Timestamp:
- Jul 26, 2017, 2:40:47 PM (4 years ago)
- Location:
- lliurex-store/trunk/fuentes/python3-lliurex-store.install/usr/share/lliurexstore/plugins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lliurex-store/trunk/fuentes/python3-lliurex-store.install/usr/share/lliurexstore/plugins/infoManager.py
r5215 r5591 5 5 self.dbg=0 6 6 self.pluginInfo={'get_info':'*'} 7 # self.pluginInfo={'info':'*','get_info':'*'} 7 8 self.result={} 8 9 self.result['status']={'status':-1,'msg':''} … … 27 28 #def register 28 29 29 def execute_action(self,appstream,action,applist ):30 def execute_action(self,appstream,action,applist,match=False): 30 31 self.progress=0 31 32 self.appstream=appstream 32 33 count=len(applist) 33 if action=='get_info'and count>0:34 if (action=='get_info' or action=='info') and count>0: 34 35 inc=100.0/count 35 36 self.result['data']=self._get_info(applist) … … 97 98 appInfo['icon']=app.get_icon_default().get_name() 98 99 if appInfo['icon']==None: 99 icons=app _get_icons()100 icons=app.get_icons() 100 101 if icons: 101 102 for icon in icons: -
lliurex-store/trunk/fuentes/python3-lliurex-store.install/usr/share/lliurexstore/plugins/searchManager.py
r5215 r5591 159 159 def _get_apps_by_match(self,tokens,applist=[]): 160 160 #Add items witch match >= self.precision 161 self._debug("Searching app by fuzzy match") 161 162 if not applist: 162 163 insertPosition=1
Note: See TracChangeset
for help on using the changeset viewer.