[gnome-remote-desktop] clipboard-rdp: Fix error message, when runtime directory creation fails



commit 70ed8418db5a29f6d620a4fa7330820cba3b7e03
Author: Pascal Nowack <Pascal Nowack gmx de>
Date:   Mon Nov 22 19:05:47 2021 +0100

    clipboard-rdp: Fix error message, when runtime directory creation fails
    
    Since the introduction of the support of copy pasting files with FUSE,
    this error message is not correct any more, as the parent directory for
    gnome-remote-desktops base directory changed from the user cache
    directory to the XDG runtime directory.

 src/grd-clipboard-rdp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/grd-clipboard-rdp.c b/src/grd-clipboard-rdp.c
index f54fa3a..5526e65 100644
--- a/src/grd-clipboard-rdp.c
+++ b/src/grd-clipboard-rdp.c
@@ -2153,8 +2153,8 @@ grd_clipboard_rdp_init (GrdClipboardRdp *clipboard_rdp)
     {
       if (mkdir (base_path, 0700))
         {
-          g_error ("Failed to create clipboard cache directory %s: %s",
-                   base_path, g_strerror (errno));
+          g_error ("Failed to create base runtime directory for "
+                   "gnome-remote-desktop: %s", g_strerror (errno));
         }
     }
   if (!mkdtemp (template_path))


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