[connections] rdp-connection: Report RDP connection errors



commit ee68a7e735c393d95989710f94d6d1899ce9a394
Author: Martin Blanchard <tchaik gmx com>
Date:   Thu Oct 28 22:11:27 2021 +0200

    rdp-connection: Report RDP connection errors
    
    Fixes https://gitlab.gnome.org/GNOME/connections/-/issues/79

 build-aux/flatpak/org.gnome.Connections.json | 2 +-
 src/rdp-connection.vala                      | 1 +
 subprojects/gtk-frdp                         | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/build-aux/flatpak/org.gnome.Connections.json b/build-aux/flatpak/org.gnome.Connections.json
index 72d8eb3..688f7b8 100644
--- a/build-aux/flatpak/org.gnome.Connections.json
+++ b/build-aux/flatpak/org.gnome.Connections.json
@@ -80,7 +80,7 @@
                 {
                     "type" : "git",
                     "url" : "https://gitlab.gnome.org/gnome/gtk-frdp.git";,
-                    "branch" : "9c15c1202ed66fe20334e33d798cc5ebd39917f0"
+                    "branch" : "a44d84ec687f41ad37e43697b28a018f65780780"
                 }
             ]
         },
diff --git a/src/rdp-connection.vala b/src/rdp-connection.vala
index 7f1e3ec..e5370e8 100644
--- a/src/rdp-connection.vala
+++ b/src/rdp-connection.vala
@@ -66,6 +66,7 @@ namespace Connections {
             display.bind_property ("username", this, "username", BindingFlags.BIDIRECTIONAL);
             display.bind_property ("password", this, "password", BindingFlags.BIDIRECTIONAL);
 
+            display.rdp_error.connect (on_connection_error_cb);
             display.rdp_connected.connect (() => { show (); });
             display.rdp_needs_authentication.connect (on_rdp_auth_credential_cb);
             display.rdp_auth_failure.connect (auth_failed);
diff --git a/subprojects/gtk-frdp b/subprojects/gtk-frdp
index 9c15c12..a44d84e 160000
--- a/subprojects/gtk-frdp
+++ b/subprojects/gtk-frdp
@@ -1 +1 @@
-Subproject commit 9c15c1202ed66fe20334e33d798cc5ebd39917f0
+Subproject commit a44d84ec687f41ad37e43697b28a018f65780780


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