[hamster-applet] for file monitor - resolving symlinks if any. fixes bug 614779



commit 46fc72c41a7100b44c09d8896d26a069461be1fc
Author: Toms Bauģis <toms baugis gmail com>
Date:   Thu Apr 8 09:03:25 2010 +0100

    for file monitor - resolving symlinks if any. fixes bug 614779

 src/hamster/configuration.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/hamster/configuration.py b/src/hamster/configuration.py
index 701d10c..864fc8f 100644
--- a/src/hamster/configuration.py
+++ b/src/hamster/configuration.py
@@ -100,7 +100,7 @@ class RuntimeStore(Singleton):
 
 
 
-        self.database_file = gio.File(self.database_path)
+        self.database_file = gio.File(os.path.realpath(self.database_path))
         self.db_monitor = self.database_file.monitor_file()
         self.db_monitor.connect("changed", on_db_file_change)
 



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