mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-08-25 02:36:07 +00:00
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:
parent
4d55cf02f4
commit
5edd0bf033
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue