summaryrefslogtreecommitdiffstats
path: root/src/Gui/PluginSettingsUI.py
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2010-06-16 11:05:37 +0200
committerJiri Moskovcak <jmoskovc@redhat.com>2010-06-16 11:05:37 +0200
commita972a2aba8dc240eec4eccbff1e660a6dabfa86f (patch)
treeecdabe612ce44fe4589d295290aaa14b1a0631a0 /src/Gui/PluginSettingsUI.py
parent91e85cf829250429a2437076e9e165b4a953e5ac (diff)
downloadabrt-a972a2aba8dc240eec4eccbff1e660a6dabfa86f.tar.gz
abrt-a972a2aba8dc240eec4eccbff1e660a6dabfa86f.tar.xz
abrt-a972a2aba8dc240eec4eccbff1e660a6dabfa86f.zip
GUI: fixed exception when there is no configure dialog for plugin rhbz#603745
- gui now complains about the missing dialog and won't throw and exception
Diffstat (limited to 'src/Gui/PluginSettingsUI.py')
-rw-r--r--src/Gui/PluginSettingsUI.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Gui/PluginSettingsUI.py b/src/Gui/PluginSettingsUI.py
index 8c24fde3..aa8f5310 100644
--- a/src/Gui/PluginSettingsUI.py
+++ b/src/Gui/PluginSettingsUI.py
@@ -21,6 +21,11 @@ class PluginSettingsUI():
else:
# we shouldn't get here, but just to be safe
log1("No UI for plugin %s" % pluginfo)
+ raise Exception(_("No UI for the plugin <b>%s</b>, this is probably a bug.\n"
+ "Please report it at "
+ "<a href=\"https://fedorahosted.org/abrt/newticket\">"
+ "https://fedorahosted.org/abrt/newticket</a>") % pluginfo)
+ return
if parent:
self.dialog.set_position(gtk.WIN_POS_CENTER_ON_PARENT)