diff options
author | Manuel QuiƱones <manuq@laptop.org> | 2012-09-03 13:52:10 (GMT) |
---|---|---|
committer | Simon Schampijer <simon@laptop.org> | 2012-09-07 09:14:25 (GMT) |
commit | 4e58c1a1b069f088599934f0109589e17bf8d77f (patch) | |
tree | c1fd68a8aa4830050ede26904da28f60072d1f6e /bin | |
parent | bfbb3abc01b92cb6065cdb61b4690efc9b446d28 (diff) |
libxklavier: switch to dynamic bindings
Signed-off-by: Manuel QuiƱones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/sugar-session | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/sugar-session b/bin/sugar-session index 63eeff0..4b22a77 100755 --- a/bin/sugar-session +++ b/bin/sugar-session @@ -37,7 +37,7 @@ import dbus.glib from gi.repository import Wnck try: - import xklavier + from gi.repository import Xkl except ImportError: logging.debug('Could not load xklavier for keyboard configuration') @@ -133,12 +133,12 @@ def setup_keyboard_cb(): try: display = Gdk.Display.get_default() if display is not None: - engine = xklavier.Engine(display) + engine = Xkl.Engine(display) else: logging.debug('setup_keyboard_cb: Could not get default display.') return - configrec = xklavier.ConfigRec() + configrec = Xkl.ConfigRec() configrec.get_from_server(engine) layouts = gconf_client.get_list(\ |