diff options
author | carlosg <carlosg> | 2006-08-02 15:42:05 +0000 |
---|---|---|
committer | carlosg <carlosg> | 2006-08-02 15:42:05 +0000 |
commit | 303ed726f8e048d1203e2ed0e9d13128c760d6d5 (patch) | |
tree | 719418a81e1e0d404e0cb9725db30482d55d9ec0 | |
parent | d706ccfd234cb562b461c23c19d9ee0a7f52ef01 (diff) |
2006-08-02 Carlos Garnacho <carlosg@gnome.org>
* Utils/Monitor.pm: monitor also "created" events
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | Utils/Monitor.pm | 5 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,7 @@ +2006-08-02 Carlos Garnacho <carlosg@gnome.org> + + * Utils/Monitor.pm: monitor also "created" events + 2006-07-28 Carlos Garnacho <carlosg@gnome.org> * configure.in, Net-DBus/Makefile.am: do not use standard prefix when diff --git a/Utils/Monitor.pm b/Utils/Monitor.pm index f82c27f..73e8b30 100644 --- a/Utils/Monitor.pm +++ b/Utils/Monitor.pm @@ -43,8 +43,9 @@ sub do_monitor_files while ($fm->pending) { $event = $fm->next_event; - - if ($event->type eq "change") + + if ($event->type eq "change" || + $event->type eq "create") { $data = $objects {$event->filename}; $object = $$data{"object"}; |