void BuildTabs()
        {
            OnPropertyChanged("HasStatusChannels");
            OnPropertyChanged("HasDockedChannels");

            StreamsTab.Items.Clear();

            var allItemsTabItem = new OverviewColumnTabItem(null, String.Empty)
            {
                Style = (Style)FindResource("StatusUpdatesColumnAllItemsTabItem"),
                Icon  = new BitmapImage(new Uri("pack://application:,,,/Inbox2.UI.Resources;component/icons/icon-inbox2.png"))
            };

            StreamsTab.Items.Add(allItemsTabItem);

            foreach (var channel in ChannelsManager.GetStatusChannels())
            {
                if (channel.IsVisible)
                {
                    var tabItem = new OverviewColumnTabItem(channel, String.Empty)
                    {
                        Style = (Style)FindResource("StatusUpdatesColumnTabItem"),
                        Icon  = (BitmapSource) new ChannelIconConverter()
                                .Convert(channel.Configuration, typeof(BitmapSource), 13, Thread.CurrentThread.CurrentCulture)
                    };

                    StreamsTab.Items.Add(tabItem);
                }
            }

            if (SearchKeywordsHelper.HasSearchChannel())
            {
                var channel = SearchKeywordsHelper.GetSearchChannel();

                foreach (var keyword in VirtualMailBox.Current.StreamSearchKeywords.GetKeyWords())
                {
                    var tabItem = new OverviewColumnTabItem(channel, keyword.Split('|')[1])
                    {
                        Style = (Style)FindResource("StatusUpdatesColumnTabItem"),
                        Icon  = (BitmapSource) new ChannelIconConverter()
                                .Convert(channel.Configuration, typeof(BitmapSource), 13, Thread.CurrentThread.CurrentCulture)
                    };

                    StreamsTab.Items.Add(tabItem);
                }
            }
        }
        void BuildTabs()
        {
            OnPropertyChanged("HasStatusChannels");
            OnPropertyChanged("HasDockedChannels");

            StreamsTab.Items.Clear();

            var allItemsTabItem = new OverviewColumnTabItem(null, String.Empty)
                {
                    Style = (Style)FindResource("StatusUpdatesColumnAllItemsTabItem"),
                    Icon = new BitmapImage(new Uri("pack://application:,,,/Inbox2.UI.Resources;component/icons/icon-inbox2.png"))
                };

            StreamsTab.Items.Add(allItemsTabItem);

            foreach (var channel in ChannelsManager.GetStatusChannels())
            {
                if (channel.IsVisible)
                {
                    var tabItem = new OverviewColumnTabItem(channel, String.Empty)
                        {
                            Style = (Style)FindResource("StatusUpdatesColumnTabItem"),
                            Icon = (BitmapSource)new ChannelIconConverter()
                                .Convert(channel.Configuration, typeof(BitmapSource), 13, Thread.CurrentThread.CurrentCulture)
                        };

                    StreamsTab.Items.Add(tabItem);
                }
            }

            if (SearchKeywordsHelper.HasSearchChannel())
            {
                var channel = SearchKeywordsHelper.GetSearchChannel();

                foreach (var keyword in VirtualMailBox.Current.StreamSearchKeywords.GetKeyWords())
                {
                    var tabItem = new OverviewColumnTabItem(channel, keyword.Split('|')[1])
                    {
                        Style = (Style)FindResource("StatusUpdatesColumnTabItem"),
                        Icon = (BitmapSource)new ChannelIconConverter()
                            .Convert(channel.Configuration, typeof(BitmapSource), 13, Thread.CurrentThread.CurrentCulture)
                    };

                    StreamsTab.Items.Add(tabItem);
                }
            }
        }