From 5eb54636b84f6980ad695748385670f13c6950a9 Mon Sep 17 00:00:00 2001 From: necoro <> Date: Sat, 4 Aug 2007 19:57:47 +0000 Subject: added an uncaught exception dialog --- portato/gui/gtk/windows.py | 1 + 1 file changed, 1 insertion(+) (limited to 'portato/gui/gtk/windows.py') 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: -- cgit v1.2.3-54-g00ecf