[gnome-software/wip/attente/ubuntu-xenial: 6/7] Don't show error message on success



commit c7520c818a8be36053cd94f46fa361b7126257af
Author: William Hua <william hua canonical com>
Date:   Sun Apr 17 16:31:34 2016 -0400

    Don't show error message on success

 src/plugins/gs-ubuntuone-dialog.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-ubuntuone-dialog.c b/src/plugins/gs-ubuntuone-dialog.c
index c941545..b806a6b 100644
--- a/src/plugins/gs-ubuntuone-dialog.c
+++ b/src/plugins/gs-ubuntuone-dialog.c
@@ -351,6 +351,8 @@ check_snapd_response (GsUbuntuoneDialog *self,
        } else
                goto err;
 
+       return;
+
 err:
        show_status (self, _("An error occurred"), TRUE);
        gtk_widget_grab_focus (self->password_entry);


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