Commit d86b5720 authored by Emmanuele Bassi's avatar Emmanuele Bassi Committed by Emmanuele Bassi
Browse files

Build the items list after setting the storage file.

2006-04-02  Emmanuele Bassi  <ebassi@cvs.gnome.org>

	* gtk/gtkrecentmanager.c (gtk_recent_manager_set_filename): Build
	the items list after setting the storage file.

	* gtk/gtkrecentmanager.c (display_closed): Use the right string
	for unsetting the default manager object from the screen.
parent a89ee495
2006-04-02 Emmanuele Bassi <ebassi@cvs.gnome.org>
* gtk/gtkrecentmanager.c (gtk_recent_manager_set_filename): Build
the items list after setting the storage file.
* gtk/gtkrecentmanager.c (display_closed): Use the right string
for unsetting the default manager object from the screen.
2006-04-01 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkfilesel.c (gtk_file_selection_get_filename): Oops. (#336784)
......
2006-04-02 Emmanuele Bassi <ebassi@cvs.gnome.org>
* gtk/gtkrecentmanager.c (gtk_recent_manager_set_filename): Build
the items list after setting the storage file.
* gtk/gtkrecentmanager.c (display_closed): Use the right string
for unsetting the default manager object from the screen.
2006-04-01 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkfilesel.c (gtk_file_selection_get_filename): Oops. (#336784)
......
......@@ -480,13 +480,13 @@ gtk_recent_manager_set_filename (GtkRecentManager *manager,
manager->priv->poll_timeout = 0;
}
build_recent_items_list (manager);
priv->filename = g_strdup (filename);
priv->poll_timeout = g_timeout_add (POLL_DELTA,
gtk_recent_manager_poll_timeout,
manager);
build_recent_items_list (manager);
priv->is_dirty = FALSE;
}
......@@ -685,7 +685,7 @@ display_closed (GdkDisplay *display,
if (was_screen_singleton)
{
g_object_set_data (G_OBJECT (screen), I_("gtk-recent-manager-error-quark"), NULL);
g_object_set_data (G_OBJECT (screen), I_("gtk-recent-manager-default"), NULL);
priv->is_screen_singleton = FALSE;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment