[connections] connection: Return to collection view on all connection errors
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [connections] connection: Return to collection view on all connection errors
- Date: Wed, 28 Jul 2021 16:20:23 +0000 (UTC)
commit 4164ae2994a3493c14294b451f1d27d39ef8e299
Author: Felipe Borges <felipeborges gnome org>
Date: Wed Jul 28 18:19:55 2021 +0200
connection: Return to collection view on all connection errors
src/connection.vala | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/connection.vala b/src/connection.vala
index 0f67075..53c63b8 100644
--- a/src/connection.vala
+++ b/src/connection.vala
@@ -135,6 +135,7 @@ namespace Connections {
protected void on_connection_error_cb (string reason) {
Application.application.main_window.notifications_bar.display_for_error (reason);
+ Application.application.main_window.show_collection_view ();
}
protected void auth_failed (string reason) {
@@ -144,8 +145,8 @@ namespace Connections {
auth_notification = null;
var message = _("Authentication failed: %s").printf (reason);
- Application.application.main_window.notifications_bar.display_for_error (message);
Application.application.main_window.show_collection_view ();
+ Application.application.main_window.notifications_bar.display_for_error (message);
}
construct {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]