diff options
author | Eitan Isaacson <eitan@monotonous.org> | 2011-01-17 11:42:52 +0200 |
---|---|---|
committer | Eitan Isaacson <eitan@monotonous.org> | 2011-01-17 11:44:51 +0200 |
commit | e03a94e9430943923fd7bc8812a70f2cab5267c6 (patch) | |
tree | 0115026e037f7343b395345c0a73ee710ff143a6 /caribou | |
parent | f3a9baddeb7300cd2fd9105cb66d7dd47eeda598 (diff) | |
download | caribou-e03a94e9430943923fd7bc8812a70f2cab5267c6.tar.gz |
Raise an error when no keyboard is loaded.
Diffstat (limited to 'caribou')
-rw-r--r-- | caribou/ui/window.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/caribou/ui/window.py b/caribou/ui/window.py index d6739f1..153a280 100644 --- a/caribou/ui/window.py +++ b/caribou/ui/window.py @@ -222,6 +222,8 @@ class CaribouWindow(Gtk.Window, Clutter.Animatable, ProximityWindowBase): if os.path.exists(xml_path): return xml_path + raise Exception("Could not load keyboard %s" % conf_file_path) + def show_all(self): Gtk.Window.show_all(self) |