[gnome-software] Make the button of live-updatable applications match that of offline updates



commit 1e9033b527007f97bb314d2ee882dc03c21d40c2
Author: Richard Hughes <richard hughsie com>
Date:   Wed Jan 27 14:49:51 2016 +0000

    Make the button of live-updatable applications match that of offline updates
    
    We can't handle the different action types anyway...

 src/gs-app-row.c |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/src/gs-app-row.c b/src/gs-app-row.c
index ed49f25..ec89fb1 100644
--- a/src/gs-app-row.c
+++ b/src/gs-app-row.c
@@ -263,9 +263,11 @@ gs_app_row_refresh (GsAppRow *app_row)
                         * that allows the app to be easily updated live */
                        gtk_button_set_label (GTK_BUTTON (priv->button), _("Install"));
                } else {
-                       /* TRANSLATORS: this is a button next to the search
-                        * results that allows the app to be easily updated live */
-                       gtk_button_set_label (GTK_BUTTON (priv->button), _("Update"));
+                       /* TRANSLATORS: this is a button next to the search results that
+                        * allows the application to be easily removed */
+                       gtk_button_set_label (GTK_BUTTON (priv->button), _("Remove"));
+                       if (priv->colorful)
+                               gtk_style_context_add_class (context, "destructive-action");
                }
                break;
        case AS_APP_STATE_UPDATABLE:


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