[gnome-software/wip/william/cherry-pick-4: 19/23] Disable history button



commit ab16bac7be5f8d59b6989e46f13731c2baf49077
Author: Robert Ancell <robert ancell canonical com>
Date:   Wed Mar 16 16:06:23 2016 +1300

    Disable history button

 src/gs-shell-details.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-shell-details.c b/src/gs-shell-details.c
index 6ae9454..d3dd55d 100644
--- a/src/gs-shell-details.c
+++ b/src/gs-shell-details.c
@@ -915,8 +915,9 @@ gs_shell_details_refresh_all (GsShellDetails *self)
                        g_string_free (url, TRUE);
                }
 
-               gtk_widget_set_visible (self->label_details_updated_title, TRUE);
-               gtk_widget_set_visible (self->label_details_updated_value, TRUE);
+               // Disabled on Ubuntu as we don't have history support
+               gtk_widget_set_visible (self->label_details_updated_title, FALSE);
+               gtk_widget_set_visible (self->label_details_updated_value, FALSE);
        }
 
        /* set the category */


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