From c9a8ec0018435a4ccb0a1d700a77303939e87d54 Mon Sep 17 00:00:00 2001 From: William Hua Date: Wed, 18 Feb 2015 12:49:19 -0500 Subject: 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. --- lib/indicator-menu.vala | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lib') 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; -- cgit v1.2.3