[gnome-software: 1/3] gs-app-context-bar: Remove a redundant fallback case




commit 830574c78dae5ef830de9b9369d73c69abeacc51
Author: Philip Withnall <pwithnall endlessos org>
Date:   Tue Aug 17 16:50:59 2021 +0100

    gs-app-context-bar: Remove a redundant fallback case
    
    It’s redundant with the labelled ‘At the moment’ fallback case lower
    down.
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>
    
    Helps: #1329

 src/gs-app-context-bar.c | 5 -----
 1 file changed, 5 deletions(-)
---
diff --git a/src/gs-app-context-bar.c b/src/gs-app-context-bar.c
index 79eae84a1..112ed6536 100644
--- a/src/gs-app-context-bar.c
+++ b/src/gs-app-context-bar.c
@@ -502,11 +502,6 @@ update_hardware_support_tile (GsAppContextBar *self)
                title = _("Desktop Only");
                description = _("Requires a mouse");
                css_class = "red";
-       } else if (icon_name == NULL && !any_control_relations_set) {
-               icon_name = "desktop-symbolic";
-               title = _("Desktop Only");
-               description = _("Not optimized for touch devices or phones");
-               css_class = "grey";
        }
 
        /* Say if the app requires a gamepad. We can’t reliably detect whether


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]