2002-04-19 Anders Carlsson <andersca@gnu.org>
* components/throbber/nautilus-throbber.c: (get_bonobo_properties),
(set_bonobo_properties), (nautilus_throbber_instance_init),
(load_themed_image), (nautilus_throbber_load_images):
Make the throbber smaller if we're using a toolbar without
text labels. Fixes#47777.
2002-04-18 Michael Meeks <michael@ximian.com>
* *.server.in, *.c: replace all the OAFIIDs with more
sensibly named ones, that follow the namespacing
guidelines in the libbonobo/docs/FAQ. Needs a new
gnome-vfs to work well.
* src/nautilus-window-toolbars.c
(throbber_set_throbbing): impl.
(throbber_created_callback): upd.
(nautilus_window_allow_stop): upd.
* libnautilus-private/nautilus-mime-actions.c
(nautilus_do_component_query): remove hack around bonobo's
sample text component, we no longer have one.
2002-04-17 Anders Carlsson <andersca@gnu.org>
* src/file-manager/fm-properties-window.c:
(fm_properties_window_drag_data_received):
Get the "exactly one" check right. Fixes#75187.
2002-04-17 Anders Carlsson <andersca@gnu.org>
* src/file-manager/fm-directory-view.c:
(clipboard_targets_received), (real_update_menus):
Query the clipboard TARGET types so we can set the sensitivity
of the "Paste Files" items accordingly.
2002-04-17 Anders Carlsson <andersca@gnu.org>
* components/hardware/nautilus-hardware-view.c:
(nautilus_hardware_view_class_init),
(nautilus_hardware_view_finalize):
Use ::finalize instead of ::destroy so we don't free
data twice.
2002-04-17 Anders Carlsson <andersca@gnu.org>
* libnautilus-private/nautilus-volume-monitor.c:
(nautilus_file_system_type_free):
Remove debugging output.
* src/file-manager/fm-directory-view.c: (fm_directory_view_init),
(fm_directory_view_finalize), (convert_file_list_to_string),
(get_clipboard_callback), (clear_clipboard_callback),
(copy_or_cut_files), (clipboard_received_callback),
(paste_files_callback), (fm_directory_view_class_init):
Use GtkClipboard instead of using a selection on the window.
This simplifies a lot of the code and fixes#77684.
2002-04-17 Anders Carlsson <andersca@gnu.org>
* libnautilus-private/nautilus-file-operations-progress.c:
(nautilus_file_operations_progress_init):
Fixup padding so that the dialog looks more like the
Nautilus 1.0 one.
* libnautilus-private/nautilus-icon-canvas-item.c:
(nautilus_icon_canvas_item_finalize):
Unref the layouts.
* libnautilus-private/nautilus-volume-monitor.c:
(load_file_system_table), (nautilus_volume_monitor_class_init),
(nautilus_volume_monitor_finalize), (get_mount_list),
(nautilus_file_system_type_free),
(load_additional_mount_list_info):
Free the file system table on ::finalize.
* src/file-manager/fm-list-model.c: (fm_list_model_finalize):
Free details on ::finalize.
2002-04-14 Alexander Larsson <alla@lysator.liu.se>
* libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_add):
Avoid gnome-canvas move to top operation if there is no
rubber-band selection, because the new item will be on top already,
and the extra move_to_top was showing up badly on profiles.
2002-04-13 Alexander Larsson <alla@lysator.liu.se>
* components/text/Makefile.am:
* components/text/Nautilus_View_text.server.in:
* components/text/nautilus-text-view.c:
New text view, by Dave Camp <dave@ximian.com>
2002-04-11 Jody Goldberg <jody@gnome.org>
* libnautilus-private/nautilus-program-chooser.c :
Change file-types-capplet to gnome-file-types-properties.
2002-03-30 Jody Goldberg <jody@gnome.org>
* libnautilus-private/nautilus-mime-actions.c
(nautilus_mime_set_short_list_components_for_file) : Don't free the
objects while we're still looking at their iids. Don't double free
the iids.
2002-04-11 Michael Meeks <michael@ximian.com>
* libnautilus-private/nautilus-icon-canvas-item.c
(nautilus_icon_canvas_item_accessible_get_type): return
an invalid type in an inaccessible scenario.
(nautilus_icon_canvas_item_accessible_create): return
a no-op object if no a11y enabled.
2002-04-10 Michael Meeks <michael@ximian.com>
* libnautilus-private/nautilus-icon-canvas-item.h:
remove bounds_changed.
2002-04-07 David Emory Watson <dwatson@cs.ucr.edu>
* src/file-manager/fm-list-model.c:
(fm_list_model_add_file): Fix mixed up comparison.
(set_sort_order_from_metadata_and_preferences),
(fm_list_view_reset_to_defaults): Should be GTK_SORT_DESCENDING when
sort_reversed, bug 77174.
* src/file-manager/fm-list-view.c:
(fm_list_view_finalize): Oops, I screwed up the disconnect last time...
2002-04-07 Alexander Larsson <alla@lysator.liu.se>
* libnautilus-private/nautilus-icon-factory.c:
Keep track of file size in addition to mtime when
determining if the cache is uptodate.
I needed this for a script that changes the size
of the file, but keeps the mtime.
2002-04-07 Alexander Larsson <alla@lysator.liu.se>
* libnautilus-private/nautilus-global-preferences.c:
NAUTILUS_PREFERENCES_IMAGE_FILE_THUMBNAIL_LIMIT is an integer
(global_preferences_register_enumerations): Allow integer enum
prefs.
* src/nautilus-preferences-dialog.c:
Make NAUTILUS_PREFERENCES_IMAGE_FILE_THUMBNAIL_LIMIT a
EEL_PREFERENCE_ITEM_ENUMERATION_MENU_INTEGER.
2002-03-30 David Emory Watson <dwatson@cs.ucr.edu>
This fixes single click activation in the list view, bug 76197.
* src/file-manager/fm-list-view.c:
(list_activate_callback): only do this if the double click activation
preference is set.
(event_after_callback): handle single click activation preference.
(click_policy_changed): new function to handle whether file names
are underlined or not.
(create_and_set_up_tree_view): connect click policy preference callback
(fm_list_view_finalize): disconnect.
2002-04-05 David Emory Watson <dwatson@cs.ucr.edu>
* src/nautilus-sidebar.c:
(receive_dropped_uri_list): now g_strsplit returns an additional empty
string when a delimiter is present at the end of the parameter string.
2002-04-05 Michael Meeks <michael@ximian.com>
* components/throbber/nautilus-throbber.c
(nautilus_throbber_accessible_class_init),
(nautilus_throbber_accessible_initialize),
(nautilus_throbber_accessible_get_type),
(nautilus_throbber_get_accessible): impl.
(nautilus_throbber_class_init): upd.
(nautilus_throbber_accessible_image_get_size):
(nautilus_throbber_accessible_image_interface_init):
(nautilus_throbber_set_location): split out of
(nautilus_throbber_button_release_event): here.
(nautilus_icon_container_accessible_do_action): use it.
(nautilus_throbber_accessible_get_n_actions),
(nautilus_throbber_accessible_action_get_description),
(nautilus_throbber_accessible_action_get_name),
(nautilus_throbber_accessible_action_get_keybinding),
(nautilus_throbber_accessible_action_set_description),
(nautilus_throbber_accessible_action_interface_init): impl.
2002-04-04 Michael Meeks <michael@ximian.com>
* src/nautilus-window-toolbars.c
(create_back_or_forward_toolbar_item): add tooltip
parameter so we can get a11y descriptions.
(nautilus_window_initialize_toolbars): upd.
* src/nautilus-window.c
(nautilus_window_instance_init): create a tooltips object.
(nautilus_window_destroy): kill it.
* src/nautilus-shell-ui.xml: prune some cruft.
* components/music/nautilus-music-view.c
(nautilus_music_view_set_album_image): set image name.
2002-04-02 Michael Meeks <michael@ximian.com>
* This commit requires a newer eel, which requires gail.
* libnautilus-private/nautilus-icon-canvas-item.c
(nautilus_icon_canvas_item_finalize): free text util.
(nautilus_icon_canvas_item_set_property): sync the text.
(nautilus_icon_canvas_item_accessible_create): create the
text util idly as required.
(nautilus_icon_canvas_item_image_interface_init),
(nautilus_icon_canvas_item_get_text): impl.
(nautilus_icon_canvas_item_class_init): add interface,
should do it in a get_type, but artefact of boilerplate
macros hiding that.
(nautilus_icon_canvas_item_get_type): bin boilerplate
so we can add an interface.
(nautilus_icon_canvas_item_set_property): add atk
focus notification / tracking.
2002-03-28 Michael Meeks <michael@ximian.com>
* libnautilus-private/nautilus-icon-container.c
(start_rubberbanding): set name / description on the
selection rectangle.
* libnautilus-private/nautilus-metafile.c: (write_all): New.
(metafile_write_local): Use write_all to do the multiple writes that
might be necessary in some cases.
protecting against potential symbolic links.
* libnautilus-private/nautilus-metafile.c: (finalize): Update to
use more text URIs, and fewer GnomeVFSURI objects.
(construct_private_metafile_uri): Make a text URI, not a GnomeVFSURI.
(nautilus_metafile_set_directory_uri): Use text URIs, not GnomeVFSURIs,
for the locations of the public and private metafiles.
(metafile_get_file_uri): Much simplified to use text URIs.
(metafile_read_restart): Simplified to use text URIs.
(metafile_write_succeeded): Broke out this common code needed for
both local and async. success cases.
(metafile_write_success_close_callback): Call metafile_write_succeeded.
(metafile_write_local): New, does a metafile write safely using mkstemp
and rename. All synchronous, which should be OK most of the time.
(metafile_write_start): Use metafile_write_local for "file:" URLs and
the existing code for other URLs.
2002-03-29 Jody Goldberg <jody@gnome.org>
* libnautilus-private/nautilus-program-chooser.c
(launch_mime_capplet_and_close_dialog) : don't delete the dialog, we
need to have it send a response (anything but OK I think) so that
the nested main loop will exit.
2002-03-27 Mark McLoughlin <mark@skynet.ie>
* src/file-manager/fm-icon-view.c: (icon_view_handle_uri_list): don't
assume its a local uri, but instead use gnome_desktop_item_new_from_uri.
2002-03-28 Alexander Larsson <alla@lysator.liu.se>
* libnautilus-private/nautilus-thumbnails-jpeg.c:
Nasty libjpeg b0rkage workarounds. Now jpeg
thumbnailing should work again.
2002-03-28 Alex Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-thumbnails-jpeg.c:
Temporary revert libjpeg patch to keep it building.
Will fix for real later.
2002-03-28 Alex Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-thumbnails.c:
Thumbnail in a low priority idle handler instead of
in a 400ms timeout. Damn, it's fast!
2002-03-28 Alex Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-thumbnails-jpeg.c:
Don't define JCONFIG_INCLUDED. That breaks libjpeg for me.
* libnautilus-private/nautilus-thumbnails.c:
Use the global thumbnail if there is one, and the local
one had the wrong timestamp. Otherwise we will loop if
the local one is wrong and we can't write to the local
directory.
2002-03-28 Dave Emory Watson <dwatson@cs.ucr.edu>
* libnautilus-private/nautilus-link.h: Changed the comment for
nautilus_link_local_is_special_link to be more clear.
2002-03-27 Dave Camp <dave@ximian.com>
* libnautilus-private/nautilus-file.c
(nautilus_file_get_activation_uri): Use
nautilus_file_get_symbolic_link_target_uri.
(nautilus_file_get_symbolic_link_target_uri): New function.
2002-03-27 Michael Meeks <michael@ximian.com>
* libnautilus-private/nautilus-icon-canvas-item.c:
specify the type name explicitely.
* src/nautilus-window.c
(nautilus_window_constructed): move some of the fast setup
(nautilus_window_instance_init): to here, so it will be
done by the time the throbber async activate comes in.