diff options
author | Alexander Larsson <alexl@redhat.com> | 2004-09-17 06:46:39 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2004-09-17 06:46:39 +0000 |
commit | 5edd0bf0333bfbb3ce2ceac529233eacdb18b7e6 (patch) | |
tree | a4a339e317be792f2e96cd0aba3684b7d457f324 /cut-n-paste-code | |
parent | 4d55cf02f4a74ffad1eea2d1814769b056f01675 (diff) | |
download | nautilus-5edd0bf0333bfbb3ce2ceac529233eacdb18b7e6.tar.gz |
Update to latest egg-recent.
2004-09-17 Alexander Larsson <alexl@redhat.com>
* cut-n-paste-code/libegg/egg-recent-model.c:
(egg_recent_model_monitor):
Update to latest egg-recent.
Diffstat (limited to 'cut-n-paste-code')
-rw-r--r-- | cut-n-paste-code/libegg/egg-recent-model.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/cut-n-paste-code/libegg/egg-recent-model.c b/cut-n-paste-code/libegg/egg-recent-model.c index f36053bc2..d4606ab6c 100644 --- a/cut-n-paste-code/libegg/egg-recent-model.c +++ b/cut-n-paste-code/libegg/egg-recent-model.c @@ -677,12 +677,17 @@ static void egg_recent_model_monitor (EggRecentModel *model, gboolean should_monitor) { if (should_monitor && model->priv->monitor == NULL) { + char *uri; + + uri = gnome_vfs_get_uri_from_local_path (model->priv->path); gnome_vfs_monitor_add (&model->priv->monitor, - model->priv->path, - GNOME_VFS_MONITOR_FILE, - egg_recent_model_monitor_cb, - model); + uri, + GNOME_VFS_MONITOR_FILE, + egg_recent_model_monitor_cb, + model); + + g_free (uri); /* if the above fails, don't worry about it. * local notifications will still happen |