[gnome-software/gnome-3-22] trivial: Do not show the 'Update All' button at panel start



commit 95d725b9822e157900e6921a68b7dddb2bc00325
Author: Richard Hughes <richard hughsie com>
Date:   Mon May 15 11:25:33 2017 +0100

    trivial: Do not show the 'Update All' button at panel start
    
    If we don't get a call to gs_updates_page_update_ui_state() then the button is left visible.
    
    Resolves: https://bugzilla.gnome.org/show_bug.cgi?id=782605

 src/gs-shell-updates.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-shell-updates.c b/src/gs-shell-updates.c
index 0706d03..98e4903 100644
--- a/src/gs-shell-updates.c
+++ b/src/gs-shell-updates.c
@@ -1381,7 +1381,7 @@ gs_shell_updates_setup (GsShellUpdates *self,
 
        self->button_update_all = gtk_button_new_with_mnemonic (_("Restart & _Install"));
        gtk_widget_set_valign (self->button_update_all, GTK_ALIGN_CENTER);
-       gtk_widget_set_visible (self->button_update_all, TRUE);
+       gtk_widget_set_visible (self->button_update_all, FALSE);
        gtk_style_context_add_class (gtk_widget_get_style_context (self->button_update_all), 
"suggested-action");
        gtk_container_add (GTK_CONTAINER (self->header_end_box), self->button_update_all);
        g_signal_connect (self->button_update_all, "clicked", G_CALLBACK 
(gs_shell_updates_button_update_all_cb), self);


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