[gnome-software] auth-dialog: Clear error on authentication success



commit 9787199a03d7c532c7d90f86ccc7c2d35234a34c
Author: Robert Ancell <robert ancell canonical com>
Date:   Mon Jul 4 11:26:15 2016 +1200

    auth-dialog: Clear error on authentication success

 src/gs-auth-dialog.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-auth-dialog.c b/src/gs-auth-dialog.c
index 47d293b..82a8974 100644
--- a/src/gs-auth-dialog.c
+++ b/src/gs-auth-dialog.c
@@ -111,6 +111,8 @@ gs_auth_dialog_authenticate_cb (GObject *source,
        GsAuthDialog *dialog = GS_AUTH_DIALOG (user_data);
        g_autoptr(GError) error = NULL;
 
+       gtk_widget_set_visible (dialog->box_error, FALSE);
+
        /* we failed */
        if (!gs_plugin_loader_app_action_finish (plugin_loader, res, &error)) {
                const gchar *url;


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