[gnome-commander] Additional logging of monitored path
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] Additional logging of monitored path
- Date: Thu, 6 Jan 2022 22:27:53 +0000 (UTC)
commit ef12446ea12f04932757b0fcd065a793fe989feb
Author: Uwe Scholz <u scholz83 gmx de>
Date: Wed Dec 22 22:36:13 2021 +0100
Additional logging of monitored path
src/gnome-cmd-dir.cc | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/gnome-cmd-dir.cc b/src/gnome-cmd-dir.cc
index 4e411bff..efa303c4 100644
--- a/src/gnome-cmd-dir.cc
+++ b/src/gnome-cmd-dir.cc
@@ -955,6 +955,7 @@ void gnome_cmd_dir_start_monitoring (GnomeCmdDir *dir)
if (error)
{
+ gchar *uri_str = GNOME_CMD_FILE (dir)->get_uri_str();
DEBUG ('n', "Failed to add monitor to %p %s: %s\n", dir, uri_str, error->message);
g_error_free(error);
g_free(uri_str);
@@ -963,6 +964,7 @@ void gnome_cmd_dir_start_monitoring (GnomeCmdDir *dir)
g_signal_connect (gFileMonitor, "changed", G_CALLBACK (monitor_callback), dir);
+ gchar *uri_str = GNOME_CMD_FILE (dir)->get_uri_str();
DEBUG('n', "Added monitor to %p %s\n", dir, uri_str);
dir->priv->gFileMonitor = gFileMonitor;
g_free (uri_str);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]