@@ -634,23 +634,24 @@ impl cosmic::Application for CosmicLauncher {
634
634
} ) ) ;
635
635
636
636
let mut button_content = Vec :: new ( ) ;
637
- if let Some ( source) = item. category_icon . as_ref ( ) {
638
- let name = match source {
639
- IconSource :: Name ( name) | IconSource :: Mime ( name) => name,
640
- } ;
641
- button_content. push (
642
- icon ( from_name ( name. clone ( ) ) . into ( ) )
643
- . width ( Length :: Fixed ( 16.0 ) )
644
- . height ( Length :: Fixed ( 16.0 ) )
645
- . style ( cosmic:: theme:: Svg :: Custom ( Rc :: new ( |theme| {
646
- cosmic:: iced_style:: svg:: Appearance {
647
- color : Some ( theme. cosmic ( ) . on_bg_color ( ) . into ( ) ) ,
648
- }
649
- } ) ) )
650
- . into ( ) ,
651
- ) ;
637
+ if !self . alt_tab {
638
+ if let Some ( source) = item. category_icon . as_ref ( ) {
639
+ let name = match source {
640
+ IconSource :: Name ( name) | IconSource :: Mime ( name) => name,
641
+ } ;
642
+ button_content. push (
643
+ icon ( from_name ( name. clone ( ) ) . into ( ) )
644
+ . width ( Length :: Fixed ( 16.0 ) )
645
+ . height ( Length :: Fixed ( 16.0 ) )
646
+ . style ( cosmic:: theme:: Svg :: Custom ( Rc :: new ( |theme| {
647
+ cosmic:: iced_style:: svg:: Appearance {
648
+ color : Some ( theme. cosmic ( ) . on_bg_color ( ) . into ( ) ) ,
649
+ }
650
+ } ) ) )
651
+ . into ( ) ,
652
+ ) ;
653
+ }
652
654
}
653
-
654
655
if let Some ( source) = item. icon . as_ref ( ) {
655
656
let name = match source {
656
657
IconSource :: Name ( name) | IconSource :: Mime ( name) => name,
0 commit comments