コード例 #1
0
 def loading(self, web_view, web_frame, web_resource, request, response):
     url = request.get_uri()
     if url.startswith(
             "http://lispeak.bmandesigns.com/functions.php?f=download&t=id&s="
     ):
         pid = url.replace(
             "http://lispeak.bmandesigns.com/functions.php?f=download&t=id&s=",
             "")
         lispeak.downloadPackage(pid, "id")
コード例 #2
0
ファイル: indicator_server.py プロジェクト: vivek1729/LiSpeak
 def install(self,widget):
     p = subprocess.Popen("zenity --entry --text='Enter the Plugin Name' --title='Plugin Installer'", shell=True, stdout=subprocess.PIPE).communicate()[0].replace('\n','')
     print "Installing: "+p
     lispeak.downloadPackage(p)
     lispeak.dialogInfo("Plugin Installed",'LiSpeak')
コード例 #3
0
ファイル: indicator_server.py プロジェクト: luchfilip/LiSpeak
 def install(self,widget):
     p = subprocess.Popen("zenity --entry --text='Enter the Plugin Name' --title='Plugin Installer'", shell=True, stdout=subprocess.PIPE).communicate()[0].replace('\n','')
     print "Installing: "+p
     lispeak.downloadPackage(p)
     lispeak.dialogInfo("Plugin Installed",'LiSpeak')
コード例 #4
0
ファイル: browser.py プロジェクト: Abdillah/LiSpeak
 def loading(self,web_view,web_frame,web_resource,request,response):
     url = request.get_uri()
     if url.startswith("http://lispeak.bmandesigns.com/functions.php?f=download&t=id&s="):
         pid = url.replace("http://lispeak.bmandesigns.com/functions.php?f=download&t=id&s=","")
         lispeak.downloadPackage(pid,"id")