[caribou] Raise an error when no keyboard is loaded.
- From: Eitan Isaacson <eitani src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [caribou] Raise an error when no keyboard is loaded.
- Date: Mon, 17 Jan 2011 09:45:09 +0000 (UTC)
commit e03a94e9430943923fd7bc8812a70f2cab5267c6
Author: Eitan Isaacson <eitan monotonous org>
Date: Mon Jan 17 11:42:52 2011 +0200
Raise an error when no keyboard is loaded.
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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]