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



commit e1671a44da6542e1ac198ddbd2b141b7f2819ad4
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]