diff options
author | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-11-03 15:49:54 +0100 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-11-03 15:49:54 +0100 |
commit | 907d4c16bd6326f5682b8cbb583a3607afee798d (patch) | |
tree | 3f6883292fc436ebbd5effa762e6d97a56e1db3a /src/Gui/CCMainWindow.py | |
parent | e925d42c9c0b5367354dbd6125bb127756e3977a (diff) | |
download | abrt-907d4c16bd6326f5682b8cbb583a3607afee798d.tar.gz abrt-907d4c16bd6326f5682b8cbb583a3607afee798d.tar.xz abrt-907d4c16bd6326f5682b8cbb583a3607afee798d.zip |
GUI: small fix to make only valid urls clickable
Diffstat (limited to 'src/Gui/CCMainWindow.py')
-rw-r--r-- | src/Gui/CCMainWindow.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Gui/CCMainWindow.py b/src/Gui/CCMainWindow.py index 926ba9ef..d3a3abd0 100644 --- a/src/Gui/CCMainWindow.py +++ b/src/Gui/CCMainWindow.py @@ -236,7 +236,7 @@ class MainWindow(): report_label = _("<b>This crash has been reported, you can find the report(s) at:</b>\n") for message in dump.getMessage().split('\n'): if message: - if "http" in message or "file:///" in message: + if "http" in message[0:5] or "file:///"[0:8] in message: message = "<a href=\"%s\">%s</a>" % (message, message) report_label += "%s\n" % message self.wTree.get_widget("lReported").set_markup(report_label) |