From b15c7be4babb7ef7aeee55475690b8703873d57d Mon Sep 17 00:00:00 2001 From: wesdawg <5124946+wesdawg@users.noreply.github.com> Date: Mon, 11 Sep 2017 14:12:33 +0000 Subject: [PATCH] Update search URLs to use HTTPS --- usr/lib/linuxmint/mintMenu/plugins/applications.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/usr/lib/linuxmint/mintMenu/plugins/applications.py b/usr/lib/linuxmint/mintMenu/plugins/applications.py index 5fe4a8f..e8b5547 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/applications.py +++ b/usr/lib/linuxmint/mintMenu/plugins/applications.py @@ -1105,7 +1105,7 @@ class pluginclass( object ): def search_wikipedia(self, widget): text = self.searchEntry.get_text() text = text.replace(" ", "+") - os.system("xdg-open \"http://%s.wikipedia.org/wiki/Special:Search?search=%s\" &" % (self.lang, text)) + os.system("xdg-open \"https://%s.wikipedia.org/wiki/Special:Search?search=%s\" &" % (self.lang, text)) self.mintMenuWin.hide() def search_dictionary(self, widget): @@ -1116,31 +1116,31 @@ class pluginclass( object ): def search_mint_tutorials(self, widget): text = self.searchEntry.get_text() text = text.replace(" ", "%20") - os.system("xdg-open \"http://community.linuxmint.com/index.php/tutorial/search/0/" + text + "\" &") + os.system("xdg-open \"https://community.linuxmint.com/index.php/tutorial/search/0/" + text + "\" &") self.mintMenuWin.hide() def search_mint_ideas(self, widget): text = self.searchEntry.get_text() text = text.replace(" ", "%20") - os.system("xdg-open \"http://community.linuxmint.com/index.php/idea/search/0/" + text + "\" &") + os.system("xdg-open \"https://community.linuxmint.com/index.php/idea/search/0/" + text + "\" &") self.mintMenuWin.hide() def search_mint_users(self, widget): text = self.searchEntry.get_text() text = text.replace(" ", "%20") - os.system("xdg-open \"http://community.linuxmint.com/index.php/user/search/0/" + text + "\" &") + os.system("xdg-open \"https://community.linuxmint.com/index.php/user/search/0/" + text + "\" &") self.mintMenuWin.hide() def search_mint_hardware(self, widget): text = self.searchEntry.get_text() text = text.replace(" ", "%20") - os.system("xdg-open \"http://community.linuxmint.com/index.php/hardware/search/0/" + text + "\" &") + os.system("xdg-open \"https://community.linuxmint.com/index.php/hardware/search/0/" + text + "\" &") self.mintMenuWin.hide() def search_mint_software(self, widget): text = self.searchEntry.get_text() text = text.replace(" ", "%20") - os.system("xdg-open \"http://community.linuxmint.com/index.php/software/search/0/" + text + "\" &") + os.system("xdg-open \"https://community.linuxmint.com/index.php/software/search/0/" + text + "\" &") self.mintMenuWin.hide() def add_to_desktop(self, widget, desktopEntry):