diff options
| author | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-08-19 13:06:37 +0200 |
|---|---|---|
| committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-08-19 13:06:37 +0200 |
| commit | 5dc7738f9fde19f37e8e44e175841bbec154a009 (patch) | |
| tree | 5f672e8660ae5f10e227a8289b66a82b84919a3a /src | |
| parent | 8ea9df91cdd1ece81191d1347c5c952bf519b0e3 (diff) | |
| download | abrt-5dc7738f9fde19f37e8e44e175841bbec154a009.tar.gz abrt-5dc7738f9fde19f37e8e44e175841bbec154a009.tar.xz abrt-5dc7738f9fde19f37e8e44e175841bbec154a009.zip | |
GUI: nicer after report message
Diffstat (limited to 'src')
| -rw-r--r-- | src/Gui/CCMainWindow.py | 8 | ||||
| -rw-r--r-- | src/Gui/ccgui.glade | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/Gui/CCMainWindow.py b/src/Gui/CCMainWindow.py index 6844201..a98149f 100644 --- a/src/Gui/CCMainWindow.py +++ b/src/Gui/CCMainWindow.py @@ -243,7 +243,13 @@ class MainWindow(): MESSAGE = 1 message = "" for plugin, res in result.iteritems(): - message += "<b>%s</b>: %s\n" % (plugin, result[plugin][1]) + if "http" in result[plugin][1]: + if gtk.gtk_version[1] >= 17: + message += "<b>%s</b>: <a href=\"%s\">%s</a>\n" % (plugin, result[plugin][1], result[plugin][1]) + else: + message += "<b>%s</b>: <span foreground='blue' underline='low'>%s</span>\n" % (plugin, result[plugin][1]) + else: + message += "<b>%s</b>: %s\n" % (plugin, result[plugin][1]) gui_info_dialog("<b>Report done!</b>\n%s" % message, self.window) self.hydrate() diff --git a/src/Gui/ccgui.glade b/src/Gui/ccgui.glade index 958af5d..e063ec4 100644 --- a/src/Gui/ccgui.glade +++ b/src/Gui/ccgui.glade @@ -43,6 +43,7 @@ <widget class="GtkImageMenuItem" id="miPreferences"> <property name="label">gtk-preferences</property> <property name="visible">True</property> + <property name="use_underline">True</property> <property name="use_stock">True</property> </widget> </child> @@ -236,6 +237,7 @@ <property name="visible">True</property> <property name="xalign">0</property> <property name="label" translatable="yes"> </property> + <property name="max_width_chars">8</property> </widget> <packing> <property name="position">1</property> |
