[gnome-shell] status/keyboard: obtain keyboard variant from IBus
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] status/keyboard: obtain keyboard variant from IBus
- Date: Fri, 26 Sep 2014 15:11:43 +0000 (UTC)
commit 7026209eae8cb8fd384612a641088c52ccbacdc7
Author: Jinkyu Yi <jincreator jincreator net>
Date: Wed Aug 20 02:16:08 2014 +0900
status/keyboard: obtain keyboard variant from IBus
This will fix unable to show keyboard variant from IBus through menu.
https://bugzilla.gnome.org/show_bug.cgi?id=735066
js/ui/status/keyboard.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/status/keyboard.js b/js/ui/status/keyboard.js
index 5f8f5e6..0c84541 100644
--- a/js/ui/status/keyboard.js
+++ b/js/ui/status/keyboard.js
@@ -747,7 +747,7 @@ const InputSourceIndicator = new Lang.Class({
let engineDesc = IBusManager.getIBusManager().getEngineDesc(source.id);
if (engineDesc) {
xkbLayout = engineDesc.get_layout();
- xkbVariant = '';
+ xkbVariant = engineDesc.get_layout_variant();
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]