2002-05-22 Michael Meeks <michael@ximian.com>
* src/nautilus-window.c (ui_idle_handler): hold a ref
on the window while we do a load of possibly
re-enterant stuff. #82050
2002-05-22 Michael Meeks <michael@ximian.com>
* libnautilus-private/nautilus-dnd.c (add_one_uri):
add the full, non-mangled, clean, escaped URI.
(is_path_that_gnome_uri_list_extract_filenames_can_parse),
(add_one_compatible_uri): #ifdef out these abominations :-)
Fixes bug #48423, breaks a certain level of
compatibility with gnome-libs 1.4, inasmuch that
complex URLs, containing strange characters will not
be backwards compatible.
* src/nautilus-window-manage-views.c (open_location):
add a eel_uri_is_valid check, so the next #48423 is easier
to track.
2002-05-21 Frank Worsley <fworsley@shaw.ca>
* libnautilus-private/nautilus-link-desktop-file.c:
(nautilus_link_desktop_file_local_create): allow creation
of desktop files without a nautilus icon
* src/file-manager/fm-icon-view.c:
(icon_view_handle_uri_list): make dnd of uri lists work right
2002-05-21 Michael Meeks <michael@ximian.com>
* src/nautilus-sidebar-tabs.c (get_property_bag):
cache the property bag item, so we're not forever
querying for it.
(tab_item_destroy): re-write, belt and braces.
(nautilus_sidebar_tabs_connect_view): update.
(get_tab_image_name): don't release the property bag.
(nautilus_sidebar_tabs_update_indicator): kill, unused.
(nautilus_sidebar_tabs_add_view): associate the tab
with it's parent.
(tab_indicator_changed_callback): update just 1 tab.
(nautilus_sidebar_tabs_update_all_indicators): remove,
not what we wanted anyway.
(nautilus_sidebar_tabs_update_tab_item): update sig.
2002-05-21 Michael Meeks <michael@ximian.com>
* src/file-manager/fm-list-view.c
(list_activate_callback): move this code
(event_after_callback): into here, it seems we get
the event after the callback whether handled or not.
(create_and_set_up_tree_view): unhook list_activate.
2002-05-20 Michael Meeks <michael@ximian.com>
* src/nautilus-window-menus.c
(refresh_bookmarks_menu): hold refs on the window,
in case we re-enter during bookmark build and destroy
it.
2002-05-20 Alex Graveley <alex@ximian.com>
* libnautilus-private/nautilus-link-desktop-file.c
(nautilus_link_desktop_file_local_create): Force saving of desktop
file to counteract bug in libgnome-desktop.
2002-05-21 Anders Carlsson <andersca@gnu.org>
* src/file-manager/fm-directory-view.c: (finish_loading):
Schedule an idle instead of a timeout when we know all the
files in the directory.
2002-05-17 Alex Graveley <alex@ximian.com>
* src/file-manager/fm-icon-view.c
(get_icon_drop_target_uri_callback): Pass file URI to
nautilus_link_*, instead of local path.
(icon_view_handle_uri_list): Ditto, for parent directory.
(icon_view_handle_uri_list): Ditto.
* src/file-manager/fm-icon-container.c
(fm_icon_container_get_icon_text): Pass file URI to
nautilus_link_*, instead of local path.
(get_sort_category): Ditto.
* src/file-manager/fm-directory-view.c
(fm_directory_link_type_in_selection): Pass file URI to
nautilus_link_*, instead of local path.
(special_link_in_selection): Ditto.
* src/file-manager/fm-desktop-icon-view.c (volume_ops_callback):
Pass file URI to nautilus_link_*, instead of local path.
(trash_link_is_selection): Ditto.
(volume_link_is_selection): Ditto
(volume_link_device_type): Ditto.
* libnautilus-private/nautilus-file.c (rename_guts): Pass file URI
to nautilus_link_desktop_file_local_set_text(), handle non-local
launchers gracefully.
* libnautilus-private/nautilus-link-desktop-file.c: Use URIs
throughout, and load desktop items using
gnome_desktop_item_new_from_uri.
(nautilus_link_desktop_file_local_create): Use
gnome_desktop_item_new_from_string, instead of using fputs
directly.
* libnautilus-private/nautilus-link-historical.c: Use URIs instead
of local paths throughout.
* libnautilus-private/nautilus-link.c: Use URIs instead of local
paths throughout.
2002-05-17 Damon Chaplin <damon@ximian.com>
* src/file-manager/fm-list-view.c (key_press_callback): new function
to activate the selected items when Return is pressed, to match the
icon view. Fixes bug #74976.
2002-05-17 Michael Meeks <michael@ximian.com>
* configure.in: require libbonoboui >= 1.116.1 [ CVS ]
* src/file-manager/fm-list-model.c
(fm_list_model_clear): add pre-condition.
* src/file-manager/fm-list-view.c
(create_and_set_up_tree_view): hold a ref on the model.
(fm_list_view_dispose): impl.
(fm_list_view_class_init): upd.
(fm_list_view_clear): only clear a non NULL model.
* src/file-manager/fm-icon-view.c
(get_icon_container): return NULL if we've no container.
(fm_icon_view_clear): tolerate a NIL icon_container
( on a 2nd dispose perhaps )
* libnautilus-private/nautilus-directory-background.c
(nautilus_file_background_read_desktop_settings): check
the wallpaper_filename is not empty.
* src/file-manager/fm-directory-view.c
(fm_directory_view_destroy): hoist pointer
NULLification up the method.
2002-05-16 Michael Meeks <michael@ximian.com>
* libnautilus-private/nautilus-bookmark.c
(nautilus_bookmark_get_pixmap_and_mask): kill, unused.
2002-05-16 Damon Chaplin <damon@ximian.com>
* configure.in (FAM_LIBS): applied patch from Ali Akcaagac to save the
language and switch to C++. Almost identical to the gnome-vfs patch
which has been approved. Fixes bug #80827.
2002-05-16 Michael Meeks <michael@ximian.com>
* libnautilus-private/nautilus-icon-container.c
(select_matching_name): free match_state's name
if we have no icon.
* libnautilus-private/nautilus-undo-signal-handlers.c
(editable_register_edit_undo): don't leak undo_text.
* src/nautilus-location-bar.c (try_to_expand_path):
unref the URI after use.
2002-05-16 Michael Meeks <michael@ximian.com>
* icons/tahoe/tahoe.xml:
* icons/gnome/gnome.xml:
* icons/sierra/sierra.xml:
* icons/crux_teal/crux_teal.xml:
* icons/crux_eggplant/crux_eggplant.xml:
* icons/default/default.xml: put back the old
nautilus values, keep the new values in
number_v_2_offset.
* src/nautilus-zoom-control.c (draw_number):
ask for number_v_2_offset so we can keep theme
compatibility and get offsets right. Mostly
we want 0 for the offset anyway, so this
automagically gets most things right.
2002-05-15 Sean Atkinson <sean@cantab.net>
* src/nautilus-window-manage-views.c
(get_history_list_callback):
* libnautilus/nautilus-view.c (history_dup):
* libnautilus/nautilus-view-component.idl:
Remove icon XML string from HistoryItem.
* components/history/nautilus-history-view.c
(update_history): Use bookmark icon, not XML one.
* components/history/nautilus-history-view.h: Moved some stuff
from nautilus-history-view.c here for libmain.c.
* components/history/Nautilus_View_history.server.in: Changed exe
to shlib to run history in-process.
* components/history/libmain.c: Added for shared library.
* components/history/Makefile.am: Build shared library.
2002-05-13 Frank Worsley <fworsley@shaw.ca>
* libnautilus-private/nautilus-file.c:
enable renaming of .desktop files by setting the Name
attribute within the .desktop file
* libnautilus-private/nautilus-link-desktop-file.c:
added nautilus_link_desktop_file_local_set_text
2002-05-10 David Emory Watson <dwatson@cs.ucr.edu>
* src/file-manager/fm-list-view.c:
(list_activate_callback),
(click_policy_changed),
(fm_list_view_class_init): Update to use click_policy_auto_value.
(rows_reordered_callback): Renamed to
(sort_column_changed_callback): this and only write preferences to disk
if they differ from the defaults.
(default_sort_order_changed_callback)
(fm_list_view_instance_init): React to changes in the defaults.
* src/file-manager/fm-list-model.c:
* src/file-manager/fm-list-model.h:
(fm_list_model_get_nautilus_file_sort_type): Renamed to
(fm_list_model_get_sort_type_from_sort_column_id): this.
(fm_list_model_compare_func): Update.
(fm_list_model_add_file): Update.
2002-05-13 Alex Larsson <alexl@redhat.com>
* configure.in:
* NEWS:
Bump version number
2002-05-13 Alex Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-file-operations.c:
Make empty trash confirmation dialog title say "Empty Trash?"
instead of "Delete Trash Contents?".
2002-05-13 Michael Meeks <michael@ximian.com>
* src/nautilus-window.c (nautilus_window_show_toolbar):
activate the throbber in case we didn't earlier.
* src/nautilus-window-toolbars.c
(nautilus_window_activate_throbber): split out of
(nautilus_window_initialize_toolbars): here,
only activate the throbber if we are starting
with a toolbar.
* src/nautilus-window.c:
(nautilus_window_show_toolbar, nautilus_window_hide_toolbar): move
into nautilus-window-toolbars.
* libnautilus/nautilus-view-standard-main.c
(object_destroyed): upd. comment.
(make_object): prune bogus comment.
(nautilus_view_instrument_for_failure): impl.
(object_destroyed): only do 1 destroy ever, rename
(view_object_destroy): to this.
(make_object): upd.
(nautilus_view_never_got_frame_timeout),
(nautilus_view_set_frame_callback),
(nautilus_view_cnx_broken_callback): impl.
2002-05-12 Alexander Larsson <alla@lysator.liu.se>
* src/file-manager/fm-directory-view.c
(clipboard_targets_received, real_update_menus):
Make sure to keep a ref to the view until we got the response.
Handle the case the detail->ui was destroyed (it's a weak ref).
2002-05-11 Alex Larsson <alexl@redhat.com>
* components/music/nautilus-music-view.c: (set_up_tree_view):
Don't use custom font.
* libnautilus-private/apps_nautilus_preferences.schemas:
Add preferences/desktop_font.
Remove old fonts keys
* libnautilus-private/nautilus-file.c:
(nautilus_file_get_display_name_nocopy):
Don't leak.
* libnautilus-private/nautilus-global-preferences.c:
* libnautilus-private/nautilus-global-preferences.h:
Remove old font prefs. Add desktop font prefs.
* libnautilus-private/nautilus-icon-canvas-item.c:
(create_label_layout):
Use default widget font unless one is set.
* libnautilus-private/nautilus-icon-container.c: (finalize),
(style_set), (nautilus_icon_container_class_init),
(nautilus_icon_container_instance_init),
(nautilus_icon_container_set_font):
* libnautilus-private/nautilus-icon-container.h:
* libnautilus-private/nautilus-icon-private.h:
Change nautilus_icon_container_set_font_name to
nautilus_icon_container_set_font.
Change font_size_table to have the difference from the base font size.
Invalidate labels on style_set.
* libnautilus-private/nautilus-icon-factory.c:
(embedded_text_font_changed_callback), (embed_text):
Use default widget font for embedded text.
* src/nautilus-preferences-dialog.c:
* src/nautilus-sidebar-title.c:
Remove font prefs. Update on style_set.
* src/nautilus-sidebar-tabs.c: (nautilus_sidebar_tabs_class_init),
(nautilus_sidebar_tabs_load_theme_data), (style_set),
(nautilus_sidebar_tabs_init), (nautilus_sidebar_tabs_destroy),
(make_tab_text_layout):
Use normal gtk+ fonts.
* src/file-manager/fm-desktop-icon-view.c: (font_changed_callback),
(fm_desktop_icon_view_update_icon_container_fonts),
(fm_desktop_icon_view_init):
Use desktop font.
* src/file-manager/fm-icon-view.c:
(default_zoom_level_changed_callback), (create_icon_container),
(fm_icon_view_instance_init):
(nautilus_sidebar_title_class_init), (style_set),
(nautilus_sidebar_title_init), (update_title_font):
Remove font handling.
2002-05-10 Anders Carlsson <andersca@gnu.org>
* src/nautilus-bookmark-list.c: (nautilus_bookmark_list_load_file):
Check that the file exists before trying to parse it. This stops
libxml from spewing crack "entity not found" messages.
2002-05-10 Damon Chaplin <damon@ximian.com>
* libnautilus-private/nautilus-directory-async.c (link_info_read_done):
moved the nautilus_file_unref() to the end of the function.
Hopefully fixes bug #80207.