[gnome-software/gnome-3-20] trivial: Never mark the details stars as sensitive



commit 7cc38beb334fbb4a8cef844212c01f88a5e547fa
Author: Richard Hughes <richard hughsie com>
Date:   Mon Feb 29 18:18:55 2016 +0000

    trivial: Never mark the details stars as sensitive

 src/gs-shell-details.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/gs-shell-details.c b/src/gs-shell-details.c
index 20551d7..80a8779 100644
--- a/src/gs-shell-details.c
+++ b/src/gs-shell-details.c
@@ -839,10 +839,6 @@ gs_shell_details_refresh_all (GsShellDetails *self)
            gs_app_get_rating (self->app) < 0)
                gtk_widget_set_visible (self->star, FALSE);
 
-       /* only mark the stars as sensitive if the application is installed */
-       gtk_widget_set_sensitive (self->star,
-                                 gs_app_get_state (self->app) == AS_APP_STATE_INSTALLED);
-
        /* make history button insensitive if there is none */
        history = gs_app_get_history (self->app);
        switch (gs_app_get_kind (self->app)) {


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