diff options
author | William Hua <william.hua@canonical.com> | 2015-02-18 12:49:19 -0500 |
---|---|---|
committer | William Hua <william.hua@canonical.com> | 2015-02-18 12:49:19 -0500 |
commit | c9a8ec0018435a4ccb0a1d700a77303939e87d54 (patch) | |
tree | c526b7bac1fd623b830725685c51ba467f3167f1 /lib/indicator-menu.vala | |
parent | 775f8b26f2fd2d3cb7d604754e853aaed83070ad (diff) | |
download | ayatana-indicator-keyboard-c9a8ec0018435a4ccb0a1d700a77303939e87d54.tar.gz ayatana-indicator-keyboard-c9a8ec0018435a4ccb0a1d700a77303939e87d54.tar.bz2 ayatana-indicator-keyboard-c9a8ec0018435a4ccb0a1d700a77303939e87d54.zip |
Remove unnecessary flag.
We don't really need this flag any more since we decided to hide indicator-keyboard in the session when Fcitx is running since it has its own indicator.
Diffstat (limited to 'lib/indicator-menu.vala')
-rw-r--r-- | lib/indicator-menu.vala | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/indicator-menu.vala b/lib/indicator-menu.vala index 72441546..96bf64d6 100644 --- a/lib/indicator-menu.vala +++ b/lib/indicator-menu.vala @@ -23,8 +23,7 @@ public class Indicator.Keyboard.IndicatorMenu : MenuModel { DCONF = 1 << 0, XKB = 1 << 1, IBUS = 1 << 2, - FCITX = 1 << 3, - SETTINGS = 1 << 4 + SETTINGS = 1 << 3 } private Options options; @@ -82,8 +81,7 @@ public class Indicator.Keyboard.IndicatorMenu : MenuModel { for (var i = 0; i < sources.length; i++) { var visible = (sources[i].is_xkb && Options.XKB in options) || - (sources[i].is_ibus && Options.IBUS in options) || - (sources[i].is_fcitx && Options.FCITX in options); + (sources[i].is_ibus && Options.IBUS in options); if (visible) { string action; |