Updated from libegg.

2004-09-18  Jens Finke  <jens@triq.net>

	* shell/recent-files: Updated from libegg.
This commit is contained in:
Jens Finke 2004-09-18 15:56:24 +00:00 committed by Jens Finke
parent b9c8c2ff86
commit e30ef2acba
2 changed files with 13 additions and 4 deletions

View file

@ -1,3 +1,7 @@
2004-09-18 Jens Finke <jens@triq.net>
* shell/recent-files: Updated from libegg.
2004-09-18 Jens Finke <jens@triq.net>
* shell/eog-window.c (verb_FileExit_cb),

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