mirror of
https://gitlab.gnome.org/GNOME/eog
synced 2024-10-18 14:04:27 +00:00
Updated from libegg.
2004-09-18 Jens Finke <jens@triq.net> * shell/recent-files: Updated from libegg.
This commit is contained in:
parent
b9c8c2ff86
commit
e30ef2acba
|
@ -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),
|
||||
|
|
|
@ -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