aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorWilliam Hua <william.hua@canonical.com>2015-02-17 15:40:38 -0500
committerWilliam Hua <william.hua@canonical.com>2015-02-17 15:40:38 -0500
commitb3c420d16aae3374cca092e22cee1316716a91bb (patch)
tree1d5922c28a8ff67cd8214e1e8b2c7ddded9466f9 /lib
parent18a15d147d07298038bda7697593fdaddc884d1a (diff)
downloadayatana-indicator-keyboard-b3c420d16aae3374cca092e22cee1316716a91bb.tar.gz
ayatana-indicator-keyboard-b3c420d16aae3374cca092e22cee1316716a91bb.tar.bz2
ayatana-indicator-keyboard-b3c420d16aae3374cca092e22cee1316716a91bb.zip
Use shift operator.
Diffstat (limited to 'lib')
-rw-r--r--lib/indicator-menu.vala12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/indicator-menu.vala b/lib/indicator-menu.vala
index 77d4512e..ebc92024 100644
--- a/lib/indicator-menu.vala
+++ b/lib/indicator-menu.vala
@@ -19,12 +19,12 @@
public class Indicator.Keyboard.IndicatorMenu : MenuModel {
public enum Options {
- NONE = 0x00,
- DCONF = 0x01,
- XKB = 0x02,
- IBUS = 0x04,
- FCITX = 0x08,
- SETTINGS = 0x10
+ NONE = 0,
+ DCONF = 1 << 0,
+ XKB = 1 << 1,
+ IBUS = 1 << 2,
+ FCITX = 1 << 3,
+ SETTINGS = 1 << 4
}
private Options options;