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.
This commit is contained in:
Alexander Larsson 2004-09-17 06:46:39 +00:00 committed by Alexander Larsson
parent 4d55cf02f4
commit 5edd0bf033
2 changed files with 15 additions and 4 deletions

View file

@ -1,3 +1,9 @@
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.
2004-09-13 Alexander Larsson <alexl@redhat.com>
* configure.in:

View file

@ -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