diff options
author | necoro <> | 2007-08-04 19:57:47 +0000 |
---|---|---|
committer | necoro <> | 2007-08-04 19:57:47 +0000 |
commit | 5eb54636b84f6980ad695748385670f13c6950a9 (patch) | |
tree | a959bf43accd8536e411933d49518ac1e20aa6db /portato/gui/gtk/windows.py | |
parent | ff317f147f119b9dfdab01b6645bb51b791b9713 (diff) | |
download | portato-5eb54636b84f6980ad695748385670f13c6950a9.tar.gz portato-5eb54636b84f6980ad695748385670f13c6950a9.tar.bz2 portato-5eb54636b84f6980ad695748385670f13c6950a9.zip |
added an uncaught exception dialog
Diffstat (limited to 'portato/gui/gtk/windows.py')
-rw-r--r-- | portato/gui/gtk/windows.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/portato/gui/gtk/windows.py b/portato/gui/gtk/windows.py index 8cf9fb7..a2efc85 100644 --- a/portato/gui/gtk/windows.py +++ b/portato/gui/gtk/windows.py @@ -1307,6 +1307,7 @@ class MainWindow (Window): return True def cb_sync_clicked (self, action): + raise Exception, "Bla" if not am_i_root(): not_root_dialog() else: |