From 7b6d0b785b652b202a629a691cf13475cf3e8501 Mon Sep 17 00:00:00 2001 From: Daniel Napora Date: Fri, 22 Jan 2016 11:11:42 +0100 Subject: use xdg-open for irc (mga#17277) --- usr/share/mageiawelcome/helpers.py | 8 -------- usr/share/mageiawelcome/index.html | 2 +- usr/share/mageiawelcome/mageiawelcome.py | 10 ++-------- 3 files changed, 3 insertions(+), 17 deletions(-) (limited to 'usr') diff --git a/usr/share/mageiawelcome/helpers.py b/usr/share/mageiawelcome/helpers.py index 080eb5e..ea581f3 100644 --- a/usr/share/mageiawelcome/helpers.py +++ b/usr/share/mageiawelcome/helpers.py @@ -34,14 +34,6 @@ def get_desktop_name2(x): 'X-Cinnamon':'Cinnamon', }.get(x,'unknown') -def get_irc_client(): - if os.path.exists("/usr/bin/hexchat"): irc_client = "/usr/bin/hexchat &" - elif os.path.exists("/usr/bin/xchat-gnome"): irc_client = "/usr/bin/xchat-gnome &" - elif os.path.exists("/usr/bin/xchat"): irc_client = "/usr/bin/xchat &" - elif os.path.exists("/usr/bin/konversation"): irc_client = "/usr/bin/konversation &" - elif os.path.exists("/usr/bin/quassel"): irc_client = "/usr/bin/quassel &" - else: irc_client = "none" - return irc_client def is_installed(name): return os.WEXITSTATUS(os.system('rpm -q --quiet ' + name)) diff --git a/usr/share/mageiawelcome/index.html b/usr/share/mageiawelcome/index.html index 188ff33..512c6e3 100644 --- a/usr/share/mageiawelcome/index.html +++ b/usr/share/mageiawelcome/index.html @@ -181,7 +181,7 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
$h_support
$forum
$wiki
- $chat
+ $chat
$bugs