[Xfce4-commits] [panel-plugins/xfce4-whiskermenu-plugin] 01/01: Add default action for searching the web. (bug #12106)
noreply at xfce.org
noreply at xfce.org
Tue Sep 22 18:27:30 CEST 2015
This is an automated email from the git hooks/post-receive script.
gottcode pushed a commit to branch master
in repository panel-plugins/xfce4-whiskermenu-plugin.
commit a0536da3ad77a72a980f2d81df0c7b8caf0e106f
Author: Graeme Gott <graeme at gottcode.org>
Date: Tue Sep 22 09:20:26 2015 -0400
Add default action for searching the web. (bug #12106)
---
panel-plugin/settings.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/panel-plugin/settings.cpp b/panel-plugin/settings.cpp
index b00ed98..efa9682 100644
--- a/panel-plugin/settings.cpp
+++ b/panel-plugin/settings.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2013, 2104 Graeme Gott <graeme at gottcode.org>
+ * Copyright (C) 2013, 2014, 2015 Graeme Gott <graeme at gottcode.org>
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -122,6 +122,7 @@ Settings::Settings() :
command[CommandProfile] = new Command("avatar-default", _("Edit _Profile"), "mugshot", _("Failed to edit profile."));
search_actions.push_back(new SearchAction(_("Man Pages"), "#", "exo-open --launch TerminalEmulator man %s", false, true));
+ search_actions.push_back(new SearchAction(_("Web Search"), "?", "exo-open --launch WebBrowser https://duckduckgo.com/?q=%u", false, true));
search_actions.push_back(new SearchAction(_("Wikipedia"), "!w", "exo-open --launch WebBrowser https://en.wikipedia.org/wiki/%u", false, true));
search_actions.push_back(new SearchAction(_("Run in Terminal"), "!", "exo-open --launch TerminalEmulator %s", false, true));
search_actions.push_back(new SearchAction(_("Open URI"), "^(file|http|https):\\/\\/(.*)$", "exo-open \\0", true, true));
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list