summaryrefslogtreecommitdiffstats
path: root/src/Gui/ABRTExceptions.py
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-07-22 13:34:30 +0200
committerJiri Moskovcak <jmoskovc@redhat.com>2009-07-22 13:34:30 +0200
commitae56d56a984b4c669a6457b5256e6ad759bb1f3c (patch)
tree13f7a981cab7a011d1b7261878ff9e162babca5e /src/Gui/ABRTExceptions.py
parentb21a17491ab4eab43b871da791a8a8ef84489be1 (diff)
downloadabrt-ae56d56a984b4c669a6457b5256e6ad759bb1f3c.tar.gz
abrt-ae56d56a984b4c669a6457b5256e6ad759bb1f3c.tar.xz
abrt-ae56d56a984b4c669a6457b5256e6ad759bb1f3c.zip
GUI: single instance pattern rhbz#512390, trac#60
- improved status window
Diffstat (limited to 'src/Gui/ABRTExceptions.py')
-rw-r--r--src/Gui/ABRTExceptions.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Gui/ABRTExceptions.py b/src/Gui/ABRTExceptions.py
new file mode 100644
index 00000000..5f759dd2
--- /dev/null
+++ b/src/Gui/ABRTExceptions.py
@@ -0,0 +1,6 @@
+class IsRunning(Exception):
+ def __init__(self):
+ self.what = "Another client is already running, trying to wake it."
+ def __str__(self):
+ return self.what
+