mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
parent
8d2d6b044c
commit
34a3015f24
|
@ -58,7 +58,7 @@ class ActionManager(QtCore.QObject):
|
|||
|
||||
if action.testAction(cond, url):
|
||||
act = Falkon.Action(action.icon, action.title, self)
|
||||
act.triggered.connect(lambda a=action, w=webView, u=url, t=text: self.execAction(a, w, u, t))
|
||||
act.triggered.connect(lambda checked, a=action, w=webView, u=url, t=text: self.execAction(a, w, u, t))
|
||||
if action.submenu:
|
||||
if action.submenu not in menus:
|
||||
menu = Falkon.Menu(action.menuTitle, webView)
|
||||
|
|
|
@ -91,4 +91,4 @@ Type=Service
|
|||
X-RunAction-Type="Url"
|
||||
X-RunAction-TypeCondition="Image"
|
||||
X-RunAction-Submenu="search_with"
|
||||
X-RunAction-Exec="https://www.google.com/searchbyimage?site=search&image_url={url}"
|
||||
X-RunAction-Exec="https://lens.google.com/uploadbyurl?url={url}"
|
||||
|
|
|
@ -89,4 +89,4 @@ Type=Service
|
|||
X-RunAction-Type="Url"
|
||||
X-RunAction-TypeCondition="Image"
|
||||
X-RunAction-Submenu="search_with"
|
||||
X-RunAction-Exec="https://yandex.com/images/search?&img_url={url}&rpt=imageview"
|
||||
X-RunAction-Exec="https://yandex.com/images/search?rpt=imageview&url={url}"
|
||||
|
|
Loading…
Reference in New Issue
Block a user