summaryrefslogtreecommitdiffstats
path: root/src/Gui
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-11-03 14:12:44 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2009-11-03 14:12:44 +0100
commit7d477ee7e28290812867c40ac7f2ec5a7afdab0c (patch)
tree9e73d4ede339277db44dbb78cd6f2d09eb349353 /src/Gui
parentde826dface052d434c0200cdf1ca96b36b1f72ef (diff)
downloadabrt-7d477ee7e28290812867c40ac7f2ec5a7afdab0c.tar.gz
abrt-7d477ee7e28290812867c40ac7f2ec5a7afdab0c.tar.xz
abrt-7d477ee7e28290812867c40ac7f2ec5a7afdab0c.zip
GUI: convert to url only string starting as url
Diffstat (limited to 'src/Gui')
-rw-r--r--src/Gui/CC_gui_functions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Gui/CC_gui_functions.py b/src/Gui/CC_gui_functions.py
index 2f860087..c1cc7239 100644
--- a/src/Gui/CC_gui_functions.py
+++ b/src/Gui/CC_gui_functions.py
@@ -54,7 +54,7 @@ def gui_report_dialog ( report_status_dict, parent_dialog,
if report_status_dict[plugin][0] == '0':
status_label.set_markup("<span foreground='red'>%s</span>" % report_status_dict[plugin][1])
elif report_status_dict[plugin][0] == '1':
- if "http" in report_status_dict[plugin][1] or "file://" in report_status_dict[plugin][1]:
+ if "http" in report_status_dict[plugin][1][0:4] or "file://" in report_status_dict[plugin][1][0:4]:
status_label.set_markup("<a href=\"%s\">%s</a>" % (report_status_dict[plugin][1], report_status_dict[plugin][1]))
# FIXME: make a new branch for rawhide with gtk 2.17 and remove this
if gtk.gtk_version[1] < 17: