Fix bug 6408 (nautilus_view_report_load_failed causes Nautilus to
segfault in an idle callback):
* libnautilus/nautilus-idle-queue.c: (execute_queued_functions),
(nautilus_idle_queue_destroy): Changed the idle queue so it can
handle being destroyed while inside one of the queued functions.
Fix bug 6402 (Click desktop icon -> Nautilus window not moved to
front):
* src/nautilus-window-manage-views.c: (open_location): Bring the
existing window up when it's reused in the "open icon on desktop"
in single-window mode.
Other changes:
* libnautilus-extensions/nautilus-icon-factory.c:
(is_theme_in_user_directory): Rename from "check_local_theme"
and changed it to use a normal function result instead of taking
a gboolean pointer.
(set_theme): Use new function and booleans by their new names.
"in_user_directory" instead of "local".
(make_full_icon_path): Just the name change.
(get_themed_icon_file_path): Take a boolean parameter instead of
trying to figure out if the theme is in the user directory, because
the old way would get it wrong for the default theme.
(get_icon_file_path): Pass in the boolean to say if the theme is
in the user directory or not.
* libnautilus-extensions/nautilus-string.h: Remove repeated
declaration for nautilus_str_get_prefix.
reviewed by: Ramiro Estrugo <ramiro@eazel.com>
* librsvg/rsvg-ft.c: (rsvg_ft_glyph_evict): Fix code that was
looking at the "prev" pointer of a victim after freeing it. Also
made some other code simplifications.
* src/nautilus-theme-selector.c:
(render_theme_name_and_description): Added an explicit call to
gtk_widget_realize before grabbing the style field and expecting
it to have gc's in it. Not sure why no one ran into this before.