2007-01-14 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-window.c: (ev_window_setup_recent):
Do not include in recent menu inexistent documents. Fixes
bug #339171.
svn path=/trunk/; revision=2224
+2007-01-14 Carlos Garcia Campos <carlosgc@gnome.org>
+
+ * shell/ev-window.c: (ev_window_setup_recent):
+
+ Do not include in recent menu inexistent documents. Fixes
+ bug #339171.
+
2007-01-14 Carlos Garcia Campos <carlosgc@gnome.org>
* po/POTFILES.skip:
info = (GtkRecentInfo *) l->data;
- if (!gtk_recent_info_has_application (info, evince))
+ if (!gtk_recent_info_has_application (info, evince) ||
+ (gtk_recent_info_is_local (info) && !gtk_recent_info_exists (info)))
continue;
action_name = g_strdup_printf ("RecentFile%u", i++);
fd = g_mkstemp (tmp_filename);
if (fd == -1) {
- gchar *display_name;
- gint save_errno = errno;
+ gchar *display_name;
+ gint save_errno = errno;
display_name = g_filename_display_name (tmp_filename);
g_set_error (&error,