2003-03-13 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-icon-factory.c (should_show_thumbnail):
Make the thumbnail size prefs only affect images.
2003-03-13 Alexander Larsson <alexl@redhat.com>
* src/nautilus-file-management-properties.c (nautilus_file_management_properties_dialog_show):
Call the response callback on delete_event, with GTK_RESPONSE_CLOSE.
* src/nautilus-file-management-properties-mail.c:
indentation fix.
2003-03-13 Alexander Larsson <alexl@redhat.com>
* configure.in:
* nautilus.spec.in:
Updated spec file from Neil Weisenfeld <weisen@ai.mit.edu>
2003-03-12 Bastien Nocera <hadess@hadess.net>
* src/file-manager/fm-icon-view.c: (icon_view_handle_uri_list): do not
allow gnome-desktop to parse the file if it's not a .desktop file
(Closes: #106970 in Totem)
2003-03-12 Alex Duggan <aldug@astrolinux.com>
* Makefile.am: install nautilus-file-management-properties
.desktop file to the correct location so it's seen in
the gnome-panel menus
* nautilus-file-management-properties.desktop.in:
Add startup notification
2003-03-12 Dave Camp <dave@ximian.com>
* src/file-manager/fm-properties-window.c
(name_field_update_to_match_file): Always set the original_name
object data if it hasn't been set yet.
2003-03-12 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-file-private.h:
* libnautilus-private/nautilus-file.c: (finalize),
(nautilus_file_invalidate_attributes_internal),
(nautilus_file_is_thumbnailing),
(nautilus_file_set_is_thumbnailing):
* libnautilus-private/nautilus-file.h:
Keep track of whether the file is being thumbnailed.
If it is at finalization, remove from the thumbnail queue.
* libnautilus-private/nautilus-icon-container.h:
* libnautilus-private/nautilus-icon-container.c:
(redo_layout_internal), (realize),
(nautilus_icon_container_instance_init),
(nautilus_icon_container_prioritize_thumbnailing),
(nautilus_icon_container_prioritize_thumbnailing_for_visible_icons)
, (handle_vadjustment_changed):
Prioritize thumbnailing for icons visibile on the screen.
* libnautilus-private/nautilus-icon-factory.c:
(show_thumbnails_changed_callback):
Remove all thumbnails from queue when thumbnails are disabled.
* libnautilus-private/nautilus-thumbnails.h:
* libnautilus-private/nautilus-thumbnails.c: (free_thumbnail_info),
(nautilus_thumbnail_remove_from_queue),
(nautilus_thumbnail_remove_all_from_queue),
(nautilus_thumbnail_prioritize),
(thumbnail_thread_notify_file_changed),
(nautilus_create_thumbnail), (thumbnail_thread_start):
New functions to remove thumbnails from the queue and to prioritize them.
* src/file-manager/fm-icon-container.c:
(fm_icon_container_prioritize_thumbnailing),
(fm_icon_container_class_init):
Implement prioritize_thumbnailing.
2003-03-11 Alexander Larsson <alexl@redhat.com>
* src/nautilus-window.c (nautilus_window_save_geometry):
Don't save geometry if the window is maximized.
2003-03-10 Alexander Larsson <alexl@redhat.com>
* configure.in:
* NEWS:
Bump to 2.2.2.
Require Eel 2.2.2
* libnautilus-private/nautilus-customization-data.c:
Don't embedd reset label into the reset image.
This drops the last user of PangoFT2.
2003-03-10 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-global-preferences.c:
* libnautilus-private/apps_nautilus_preferences.schemas:
Make 50% the default list view zoom.
* libnautilus-private/nautilus-bookmark.h:
* libnautilus-private/nautilus-bookmark.c:
(nautilus_bookmark_finalize),
(nautilus_bookmark_uri_known_not_to_exist),
(nautilus_bookmark_set_scroll_pos),
(nautilus_bookmark_get_scroll_pos):
Add scroll positions to bookmarks. Used for the window
back/forward history.
* libnautilus-private/nautilus-icon-container.h:
* libnautilus-private/nautilus-icon-container.c:
(nautilus_icon_container_get_first_visible_icon),
(nautilus_icon_container_scroll_to_icon):
Add new functions.
* libnautilus/nautilus-view-component.idl:
Add Nautilus::ScollPositionable interface.
* libnautilus/Makefile.am:
* libnautilus/nautilus-scroll-positionable.h:
* libnautilus/nautilus-scroll-positionable.c:
Standard implementation of Nautilus::ScollPositionable.
* src/file-manager/fm-icon-view.c:
(icon_view_get_first_visible_file_callback),
(icon_view_scroll_to_file_callback), (fm_icon_view_instance_init):
Implement Nautilus::ScollPositionable for icon view.
* src/file-manager/fm-list-view.c:
(list_view_get_first_visible_file_callback),
(list_view_scroll_to_file_callback), (fm_list_view_instance_init):
Implement Nautilus::ScollPositionable for list view.
* src/nautilus-view-frame.h:
* src/nautilus-view-frame.c: (destroy_view),
(create_corba_objects),
(nautilus_view_frame_get_first_visible_file),
(nautilus_view_frame_scroll_to_file):
Add support for Nautilus::ScollPositionable.
* src/nautilus-window-private.h:
* src/nautilus-window-manage-views.c: (open_location),
(free_location_change), (end_location_change),
(begin_location_change), (nautilus_window_set_content_view),
(load_complete_callback), (nautilus_window_back_or_forward),
(nautilus_window_reload):
Save scroll position when changing location and switching
components. Scroll to the right place on back/forward.
2003-03-07 Dave Camp <dave@ximian.com>
* components/text/Makefile.am:
* components/text/nautilus-text-view-ui.xml:
* components/text/nautilus-text-view.c: (copy_callback),
(bonobo_control_activate_callback),
(nautilus_text_view_instance_init): Implement Copy to clipboard.
Don't need cut or paste, since the view is read-only.
2003-03-06 Dave Camp <dave@ximian.com>
* src/nautilus-file-management-properties.glade: Fixed alignment
and padding. Patch from Luca Ferretti <elle.uca@libero.it>.
2003-03-06 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-bookmark.c:
(nautilus_bookmark_get_pixbuf), (nautilus_bookmark_update_icon):
* libnautilus-private/nautilus-emblem-utils.c:
(nautilus_emblem_rename_emblem):
* src/nautilus-sidebar-title.c: (update_emblems):
* src/file-manager/fm-directory-view.c: (ready_to_load):
Update according to NautilusIconFactory API changes.
* libnautilus-private/nautilus-file.h:
* libnautilus-private/nautilus-file.c:
(nautilus_file_peek_top_left_text),
(nautilus_file_get_top_left_text):
Add needs_loading out parameter to nautilus_file_peek_top_left_text.
* libnautilus-private/nautilus-icon-canvas-item.h:
* libnautilus-private/nautilus-icon-canvas-item.c:
(nautilus_icon_canvas_item_finalize),
(nautilus_icon_canvas_item_set_embedded_text_rect),
(nautilus_icon_canvas_item_set_embedded_text),
(draw_embedded_text), (nautilus_icon_canvas_item_draw):
Render embedded text on exposes.
(nautilus_icon_canvas_item_get_image):
Return a GdkPixmap + mask instead of pixbuf, so that
we can do the text rendering on it.
* libnautilus-private/nautilus-icon-private.h:
* libnautilus-private/nautilus-icon-container.h:
* libnautilus-private/nautilus-icon-container.c:
(nautilus_icon_container_clear), (icon_destroy),
(nautilus_icon_container_get_icon_images),
(nautilus_icon_container_start_monitor_top_left),
(nautilus_icon_container_stop_monitor_top_left),
(nautilus_icon_container_update_icon):
For icons that have an embedded text rect, request the
top-left text, and set the text on the canvas item.
* libnautilus-private/nautilus-icon-dnd.c:
(nautilus_icon_dnd_begin_drag):
nautilus_icon_canvas_item_get_image now returns a pixmap, handle this
change.
* libnautilus-private/nautilus-icon-factory.h:
* libnautilus-private/nautilus-icon-factory.c: (cache_key_destroy),
(nautilus_icon_factory_get_required_file_attributes),
(get_icon_from_cache), (nautilus_icon_factory_get_pixbuf_for_icon),
(cache_key_hash), (cache_key_equal),
(nautilus_icon_factory_get_pixbuf_for_file),
(nautilus_icon_factory_get_pixbuf_from_name),
(nautilus_icon_factory_remove_from_cache):
Remove all embedded text handling.
(nautilus_icon_factory_get_basic_file_attributes):
Remove, not needed anymore.
(nautilus_icon_factory_get_icon_for_file):
Pass in whether you want icons for text embedding or not.
* src/file-manager/fm-icon-container.c:
(fm_icon_container_get_icon_images),
(fm_icon_container_start_monitor_top_left),
(fm_icon_container_stop_monitor_top_left),
(fm_icon_container_class_init):
Update to new APIs. pass TRUE for embedd_text in get_icon_for_file.
Implement start/stop top left monitoring.
* src/file-manager/fm-icon-view.c:
(list_covers),(fm_icon_view_clear):
Clear the icon container before unreferencing the NautilusFiles.
Otherwise the stop_monitor call uses the unref:ed file.
2003-03-05 Alexander Larsson <alexl@redhat.com>
* src/nautilus-zoom-control.[ch]:
Derive from EelInputEventBox instead of GtkEventBox.
Works better with themes.
2003-03-04 Alexander Larsson <alexl@redhat.com>
* src/nautilus-location-bar.c (nautilus_location_bar_init):
Use EelInputEventBox for the location label.
This makes theming nicer.
2003-03-04 Alexander Larsson <alexl@redhat.com>
* src/file-manager/fm-desktop-icon-view.c (fm_desktop_icon_view_init):
Don't connect empty void-returning handler to "event". Fixes
delete-key on desktop, and probably other random keynav-on-desktop
failures.
2003-03-04 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-icon-container.c:
* nautilus-zoom-control.c:
Don't chain up to initialize if it is null.
2003-03-04 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_accessible_get_type):
EEL_CANVAS, not GNOME_CANVAS.
* libnautilus-private/nautilus-icon-canvas-item.c (nautilus_icon_canvas_item_accessible_get_type):
Implements AtkText for icons presenting the text on both lines.
Implements atk_text_get_offset_at_point and atk_text_get_character_extents
so that screen readers can obtain the text.
* src/nautilus-zoom-control.c (nautilus_zoom_control_accessible_initialize):
Set the role for the zoom widget.
All patches by padraig.obriain@sun.com
2003-03-03 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-icon-container.c:
(icon_toggle_selected), (button_press_event),
(nautilus_icon_container_did_not_drag), (handle_icon_button_press):
* libnautilus-private/nautilus-icon-private.h:
Ctrl/shift dragging doesn't deselect the icon you click on.
Double-clicking has to be twice on the same icon.
2003-03-01 Dave Camp <dave@ximian.com>
* src/nautilus-side-pane.h:
* src/nautilus-side-pane.c: (nautilus_side_pane_get_current_panel):
New function.
* src/nautilus-window-manage-views.c:
(nautilus_window_set_sidebar_panels):
* src/nautilus-window.c: (set_current_side_panel),
(side_pane_switch_page_callback), (nautilus_window_set_up_sidebar),
(nautilus_window_tear_down_sidebar),
(nautilus_window_add_sidebar_panel), (add_sidebar_panels): Save
the current side pane view when it is changed, and show that
when creating the side pane.
* libnautilus-private/apps_nautilus_preferences.schemas:
* libnautilus-private/nautilus-global-preferences.h: Add
a current side panel option.
2003-03-01 Dave Camp <dave@ximian.com>
* src/file-manager/fm-list-view.c: (icons_changed_callback),
(fm_list_view_instance_init): Refresh the rows when the icon
theme changes.
2003-03-01 Dave Camp <dave@ximian.com>
* src/nautilus-window-private.h:
* src/nautilus-window-toolbars.c: (get_back_button),
(get_forward_button), (menu_position_under_widget),
(create_back_or_forward_toolbar_item): Use
bonobo_ui_component_widget_set for the back and forward dropdowns.
This is the nautilus end of a fix for bug #106457.
2003-02-28 Dave Camp <dave@ximian.com>
* libnautilus-private/nautilus-icon-canvas-item.c: (hit_test):
Don't use alpha when checking for hits on the icon.
2003-02-28 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-icon-container.c
(nautilus_icon_container_start_renaming_selected_item)
(rename_filename_selection_end):
Only select the non-extension part of the name when starting a rename.
Set cursor at end of selection.
Set correct font on rename widget.
Make some internal function static.
2003-02-28 Alexander Larsson <alexl@redhat.com>
* components/text/nautilus-text-view.c (nautilus_text_view_instance_init):
Use monospaced font for text view.
Patch by Luca Ferretti <elle.uca@libero.it>
2003-02-28 Alexander Larsson <alexl@redhat.com>
* src/nautilus-file-management-properties.c:
* src/nautilus-file-management-properties.glade:
Add a 1 GB value for the thumbnailing limit.
Rename "Image Files" to "Other Previewable Files" in thumbnail page.
Patch from Keith Conger <kconger@navisite.com>
[string change]
2003-02-28 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-volume-monitor.c (finish_creating_volume):
Correctly handle floppies and cdroms mounted outside /mnt too.
Based on patch from Mattias Eriksson <snaggen@acc.umu.se>.
2003-02-18 Alexander Larsson <alexl@redhat.com>
* libnautilus/nautilus-view-standard-main.c (nautilus_view_standard_main_multi):
Move the GNOME_CLIENT_PARAM_SM_CONNECT property setting to the
gnome_program_init call. Setting it later doesn't work.
* src/file-manager/fm-directory-view.c (no_locale_at_end)
(get_bonobo_menu_verb_names): Filter out locale versions
of nautilusverbs.
2003-02-17 Arvind Samptur <arvind.samptur@wipro.com>
* src/nautilus-file-management-properties.[ch]:
(nautilus_file_management_properties_dialog_setup):
(nautilus_file_management_properties_dialog_show):
* src/nautilus-window-menus.c:
(preferences_callback):
* src/nautilus-file-management-properties-main.c:
(main):
Multi-head stuff done for the preferences dialog.
* libnautilus-private/nautilus-icon-dnd.c: (confirm_switch_to_manual_layout)
Get the transient parent for the "Switch to Manual Layout ?" right.
Patches approved by Dave Camp. #100343 and #106086.
2003-02-13 Alexander Larsson <alexl@redhat.com>
* src/nautilus-main.c (main):
Set DISPLAY activation env variable to canonical display name, since that is what
we register for. Without this, do *not* run e.g. "DISPLAY=:0 nautilus".
2003-02-10 Dave Camp <dave@ximian.com>
* libnautilus-private/nautilus-directory.c:
(nautilus_directory_notify_files_moved): Use
nautilus_file_update_name_and_directory().
* libnautilus-private/nautilus-file-private.h:
* libnautilus-private/nautilus-file.c: (update_name_internal): New
function.
(nautilus_file_update_name_and_directory): New function.
(nautilus_file_update_name): Use update_name_internal.
(nautilus_file_set_directory): Use
nautilus_file_update_name_and_directory().
Fixes#97490.
2003-02-08 John Fleck <jfleck@inkstain.net>
* cvs removing all the stuff in the old help directory, since
we're not using it any more, reducing the load for poor sods using
modems and fixing bug #86440
2003-02-08 Dave Camp <dave@ximian.com>
* components/notes/Nautilus_View_notes.server.in.in: Removed
view_as_name so this isn't chosen as a content view.
* components/image_properties/Nautilus_View_image_properties.server
.in.in: Removed the Nautilus::View interface (it isn't implemented
any more), removed the view_as_name. Fixes#102790.
2003-02-08 Dave Camp <dave@ximian.com>
* libnautilus-private/nautilus-icon-factory.c:
(nautilus_remove_icon_file_name_suffix),
(path_represents_svg_image): Allow .svgz rendering in nautilus.
Patch from Dom Lachowicz <cinamod@hotmail.com>
2003-02-03 David Bordoley <bordoley@msu.edu>
* lbnautilus-private/nautilus-file-operations.c
(handle_transfer_vfs_error):
Fixed dialogs to use GTK_STOCK_CANCEL/GTK_STOCK_OK
instead of stop where appropriate. Fix button order to be
HIG compliant.
2003-02-03 Alexander Larsson <alexl@redhat.com>
* src/nautilus-window.c (nautilus_window_finalize):
Free window->last_geometry.
Patch from Arjan van de Ven <arjanv@redhat.com>
* libnautilus-private/nautilus-icon-factory.c (create_normal_cache_icon):
Free filename. Patch from Arjan van de Ven <arjanv@redhat.com>