2004-01-30 Alexander Larsson * NEWS: * configure.in: Bump to 2.5.6 2004-01-28 David Bordoley * src/nautilus-shell-ui.xml: * src/file-manager/nautilus-directory-view-ui.xml: s/close window/close, fix the tooltip, and use the hig keybinding for properties. 2004-01-28 Siviah Nallagatla * src/file-manager/fm-directory-view.c : (fm_direcotry_view_init) : add callbacks for listening to show hidden and backup files setting change. Fixes #131984 2004-01-27 Christophe Fergeau * libnautilus-private/nautilus-icon-container.c: compare a11y_item_action_idle_handler with 0, not NULL, fixes compilation 2004-01-27 Padraig O'Briain * libnautilus-private/nautilus-icon-container.c: Implement AtkAction called "menu" for NautilusIconContainerAccessible. Fixes bug #132156. 2004-01-27 Padraig O'Briain * libnautilus-private/nautilus-icon-canvas-item.c: Implement AtkAction in an idle handler to avoid causing the AT to hang if the action does not return until completed, e.g. displays a dialog. Use queue and idle handler defined in NautilusIconContainer. * libnautilus-private/nautilus-icon-container.c (finalize): Free accessibility action queue and remove idle handler. * libnautilus-private/nautilus-icon-private.h: Add a11y_item_action_idle_handler and a11y_item_action_queue to NautilusIconContainerDetails. Fixes bug #132153. 2004-01-27 Jason Leach * cut-n-paste-code/libegg/egg-recent-item.c: * cut-n-paste-code/libegg/egg-recent-item.h: * cut-n-paste-code/libegg/egg-recent-model.c: * cut-n-paste-code/libegg/eggtreemultidnd.c: Sync these files with their latest copies from libegg so as to include any bugfixes since 2003-04-16, the previous sync. (#121455, Laurent Vivier) 2004-01-24 Srinivasa Ragavan * libnautilus-private/nautilus-program-choser.c: (nautilus_program_chooser_show_no_choices_message): Do not use object ('dialog') after destruction (nautilus_program_chooser_show_invalid_message): Do not use object ('dialog') after destruction 2004-01-22 Christian Neumair * libnautilus-private/nautilus-file-operations.c: (nautilus_file_operations_copy_move): Distinguish between copying and moving files to trash dialog-wise (#46784). * src/file-manager/fm-directory-view.c: (report_broken_symbolic_link): Fix typo (#129815). 2004-01-21 Rached Ben Mustapha * src/nautilus-application.c: (nautilus_application_present_spatial_window): Do not ref an already existing spatial window when presenting it, as it prevents it from being finalized when closed. 2004-01-22 Alexander Larsson * libnautilus-private/nautilus-file-operations.c: Return NULL for new uri on failure. * src/file-manager/fm-directory-view.c: (new_folder_done): Handle failure (real_update_menus): Desensitive template menu if we can't create files. 2004-01-21 Alexander Larsson * libnautilus-private/nautilus-icon-factory.c (nautilus_icon_factory_get_icon_for_file): Don't allow small svgs as themselves. 2004-01-20 Alexander Larsson * src/nautilus-connect-server-dialog.c: (nautilus_connect_server_dialog_init): Nicer labels * src/nautilus-shell-ui.xml: ellipsis on backgrounds and emblems 2004-01-20 Alexander Larsson * libnautilus-private/nautilus-program-chooser.c: (nautilus_program_chooser_instance_init): Choose -> OK * libnautilus-private/nautilus-program-choosing.c: (dialog_response), (choose_application_callback): Make open with other app dialog non-modal. * src/file-manager/fm-directory-view.c: (reset_bonobo_open_with_menu), (real_merge_menus), (can_use_component_for_file): * src/file-manager/nautilus-directory-view-ui.xml: Remove open with views from menu 2004-01-19 Alexander Larsson * docs/Makefile.am (EXTRA_DIST): Add nautilus-context-menus.txt. 2004-01-18 Jason Leach * libnautilus-private/Makefile.am (install-data-local): builddir != srcdir fix. 2004-01-18 Fernando Herrera * nautilus-file-management-properties.desktop.in: add X-GNOME-Bugzilla-* stuff. 2004-01-16 Alexander Larsson * src/file-manager/fm-directory-view.c (queue_pending_files): Prepend instead of append. This is faster. Patch from Soeren Sandmann 2004-01-15 Alexander Larsson * src/nautilus-window-menus.c (help_menu_nautilus_manual_callback): Open toplevel help with F1 on desktop. Patch from balamurali.viswanathan@wipro.com (bug #126882) 2004-01-15 Alexander Larsson * libnautilus-private/nautilus-file-utilities.c (nautilus_unique_temporary_file_name): Use mkstemp, as its safer. From bug #130091. 2004-01-14 Dave Camp * libnautilus-private/nautilus-global-preferences.c: Don't set up enums for icon captions or list view sort order, there is no fixed set of possible values now. 2004-01-14 Alexander Larsson * libnautilus-private/nautilus-directory-async.c: * libnautilus-private/nautilus-directory-private.h: * libnautilus-private/nautilus-file-attributes.h: * libnautilus-private/nautilus-file-private.h: * libnautilus-private/nautilus-file.c: * libnautilus-private/nautilus-file.h: Add slow_mime_type file attribute. Allow call_when_ready to take a NULL callback, and allow these monitors to be duplicated. (Used for fire-and-forget attribute reading) * libnautilus-private/nautilus-mime-actions.c: (nautilus_mime_actions_get_minimum_file_attributes): Add slow mime type here * src/file-manager/fm-directory-view.c: Get slow mime type on selection * src/file-manager/fm-properties-window.c: Get slow mime type for properties dialog. Don't use the same pointer twice for the same monitor. 2004-01-13 Alexander Larsson * src/file-manager/Makefile.am (ui_DATA): Add nautilus-list-view-ui.xml 2004-01-13 Danilo Šegan * src/nautilus-location-bar.c (drag_data_received_callback): * src/file-manager/fm-search-list-view.c (compute_reveal_item_name_and_sensitivity): * src/file-manager/fm-properties-window.c (directory_contents_value_field_update): * src/file-manager/fm-directory-view.c (fm_directory_view_confirm_multiple_windows): (confirm_delete_directly) (fm_directory_view_display_selection_info) (confirm_delete_from_trash, copy_or_cut_files) (real_update_menus): * libnautilus-private/nautilus-file.c (format_item_count_for_display): * components/image_properties/nautilus-image-properties-view.c (load_finished): Use ngettext (fixes bug #106702), based on the patch by Christian Neumair . === nautilus 2.5.5 === 2004-01-12 Dave Camp * Makefile.am: Removed OrigTree.pm * libnautilus-extension/Makefile.am: Include nautilus-extensions-i18n.h * src/nautilus-spatial-window.c: * src/nautilus-window.c: Removed broken #includes. * NEWS: * configure.in: 2.5.5 2004-01-13 Danilo Šegan * src/file-manager/nautilus-list-view-ui.xml: Fix "volder" typo. 2004-01-12 Alexander Larsson * libnautilus-extension/nautilus-file-info.h: Inherit from GTypeInterface. 2004-01-11 James Willcox * libnautilus-private/nautilus-column-utilities.c: (column_compare): Fix a silly typo. 2004-01-11 Dave Camp * Merged from nautilus-extensions-branch. 2004-01-11 Dave Camp * libnautilus-extension/nautilus-column.c: * libnautilus-extension/nautilus-column.h: * libnautilus-extension/nautilus-menu-item.c: * libnautilus-extension/nautilus-menu-item.h: * libnautilus-extension/nautilus-property-page.c: * libnautilus-extension/nautilus-property-page.h: * libnautilus-private/nautilus-bonobo-extensions.c: (get_extension_menu_item_xml), (nautilus_bonobo_add_extension_item_command), (get_extension_toolbar_item_xml): * libnautilus-private/nautilus-column-chooser.c: (populate_tree), (get_column_iter): * libnautilus-private/nautilus-column-utilities.c: (column_compare): * src/file-manager/fm-list-model.c: (fm_list_model_get_value), (fm_list_model_get_sort_column_id_from_attribute), (fm_list_model_get_attribute_from_sort_column_id), (fm_list_model_get_column_number): * src/file-manager/fm-list-view.c: (apply_column_order): * src/file-manager/fm-properties-window.c: (append_extension_pages): * src/nautilus-file-management-properties.c: (create_icon_caption_menu): Removed the piles of accessors, use gobject properties instead. 2004-01-10 Dave Camp * libnautilus-extension/Makefile.am: * libnautilus-extension/nautilus-column-provider.c: (nautilus_column_provider_base_init), (nautilus_column_provider_get_type), (nautilus_column_provider_get_columns): * libnautilus-extension/nautilus-column-provider.h: * libnautilus-extension/nautilus-column.c: (nautilus_column_new), (nautilus_column_get_name), (nautilus_column_get_attribute), (nautilus_column_set_attribute), (nautilus_column_get_label), (nautilus_column_set_label), (nautilus_column_get_description), (nautilus_column_set_description), (nautilus_column_get_property), (nautilus_column_set_property), (nautilus_column_finalize), (nautilus_column_instance_init), (nautilus_column_class_init), (nautilus_column_get_type): * libnautilus-extension/nautilus-column.h: * libnautilus-extension/nautilus-file-info.c: (nautilus_file_info_get_string_attribute), (nautilus_file_info_add_string_attribute): * libnautilus-extension/nautilus-file-info.h: * libnautilus-private/Makefile.am: * libnautilus-private/apps_nautilus_preferences.schemas.in: * libnautilus-private/nautilus-column-chooser.c: (nautilus_column_chooser_class_init), (update_buttons), (list_changed), (visible_toggled_callback), (selection_changed_callback), (row_deleted_callback), (add_tree_view), (set_selection_visible), (move_up_clicked_callback), (move_down_clicked_callback), (show_clicked_callback), (hide_clicked_callback), (use_default_clicked_callback), (add_buttons), (populate_tree), (nautilus_column_chooser_init), (nautilus_column_chooser_destroy), (nautilus_column_chooser_finalize), (set_visible_columns), (get_column_names), (get_column_iter), (set_column_order), (nautilus_column_chooser_set_settings), (nautilus_column_chooser_get_settings), (nautilus_column_chooser_new): * libnautilus-private/nautilus-column-chooser.h: * libnautilus-private/nautilus-column-utilities.c: (get_builtin_columns), (get_extension_columns), (nautilus_get_all_columns), (nautilus_column_list_copy), (nautilus_column_list_free), (column_compare), (nautilus_sort_columns): * libnautilus-private/nautilus-column-utilities.h: * libnautilus-private/nautilus-file-private.h: * libnautilus-private/nautilus-file.c: (nautilus_file_instance_init), (finalize), (nautilus_file_compare_for_sort_internal), (nautilus_file_compare_for_sort), (nautilus_file_compare_for_sort_by_attribute), (nautilus_file_get_string_attribute), (nautilus_file_invalidate_extension_info_internal), (nautilus_file_add_string_attribute), (nautilus_file_info_providers_done), (nautilus_file_info_iface_init): * libnautilus-private/nautilus-file.h: * libnautilus-private/nautilus-global-preferences.c: * libnautilus-private/nautilus-global-preferences.h: * libnautilus-private/nautilus-metadata.h: * src/file-manager/Makefile.am: * src/file-manager/fm-list-model.c: (fm_list_model_get_n_columns), (fm_list_model_get_column_type), (fm_list_model_get_value), (fm_list_model_compare_func), (fm_list_model_get_sort_column_id), (fm_list_model_set_sort_column_id), (fm_list_model_get_sort_column_id_from_attribute), (fm_list_model_get_attribute_from_sort_column_id), (fm_list_model_add_column), (fm_list_model_get_column_number), (fm_list_model_finalize), (fm_list_model_init): * src/file-manager/fm-list-model.h: * src/file-manager/fm-list-view.c: (sort_column_changed_callback), (apply_visible_columns_foreach), (apply_visible_columns), (apply_column_order), (create_and_set_up_tree_view), (get_visible_columns), (set_visible_columns_from_metadata_and_preferences), (get_column_order), (set_column_order_from_metadata_and_preferences), (set_sort_order_from_metadata_and_preferences), (fm_list_view_begin_loading), (column_editor_response_callback), (column_chooser_changed_callback), (column_chooser_set_from_settings), (column_chooser_use_default_callback), (create_column_editor), (visible_columns_callback), (fm_list_view_merge_menus), (fm_list_view_update_menus), (fm_list_view_reset_to_defaults), (fm_list_view_scale_font_size), (default_visible_columns_changed_callback), (default_column_order_changed_callback), (fm_list_view_dispose), (fm_list_view_finalize), (fm_list_view_class_init), (fm_list_view_instance_init): * src/nautilus-file-management-properties-main.c: (main): * src/nautilus-file-management-properties.c: (columns_changed_callback), (create_icon_caption_menu), (icon_captions_changed_callback), (update_caption_option_menu), (update_icon_captions_from_gconf), (nautilus_file_management_properties_dialog_setup_icon_caption_page ), (set_columns_from_gconf), (use_default_callback), (nautilus_file_management_properties_dialog_setup_list_column_page) , (nautilus_file_management_properties_dialog_setup): * src/nautilus-file-management-properties.glade: Added the ability to export column descriptions from extensions, added column editing to the list view. 2003-12-10 Dave Camp * libnautilus-extension/nautilus-file-info.c: (nautilus_file_info_get_uri_scheme): * libnautilus-extension/nautilus-file-info.h: * libnautilus-private/nautilus-file.c: (nautilus_file_info_iface_init): Added a nautilus_file_info_get_uri_scheme convenience function. * libnautilus-extension/nautilus-menu-item.h: * libnautilus-extension/nautilus-menu-item.c: (nautilus_menu_item_get_property), (nautilus_menu_item_set_property), (nautilus_menu_item_class_init): Added a priority text property. * libnautilus-extension/nautilus-menu-provider.h: * libnautilus-extension/nautilus-menu-provider.c: (nautilus_menu_provider_get_file_items): Pass in the GtkWindow, so that callbacks can parent dialogs appropriately. (nautilus_menu_provider_get_background_items), (nautilus_menu_provider_get_toolbar_items): New functions. * libnautilus-private/nautilus-bonobo-extensions.h: * libnautilus-private/nautilus-bonobo-extensions.c: (get_extension_menu_item_xml), (extension_action_callback), (nautilus_bonobo_add_extension_item_command), (nautilus_bonobo_add_extension_item), (get_extension_toolbar_item_xml), (nautilus_bonobo_add_extension_toolbar_item): Move the extension menu/toolbar stuff here. * src/file-manager/fm-bonobo-provider.c: (fm_bonobo_provider_get_file_items): Updated for new API. * src/file-manager/fm-directory-view.c: (add_extension_menu_items), (get_all_extension_menu_items), (reset_extension_actions_menu): Use new nautilus-bonobo-extensions helpers. * src/nautilus-shell-ui.xml: * src/file-manager/nautilus-directory-view-ui.xml: * src/nautilus-navigation-window-ui.xml: Move stuff around. * src/nautilus-window.c: (ui_idle_handler), (real_merge_menus_2), (nautilus_window_constructed), (nautilus_window_class_init): * src/nautilus-window.h: * src/nautilus-navigation-window.c: (real_merge_menus_2), (nautilus_navigation_window_class_init): Move part two of the menu merging to a virtual function. * src/nautilus-window-manage-views.c: (update_for_new_location): * src/nautilus-window-menus.c: (nautilus_window_initialize_menus_part_1), (get_extension_menus), (nautilus_window_load_extension_menus): Load background menu items from the extensions. * src/nautilus-window-private.h: * src/nautilus-window-toolbars.c: (get_extension_toolbar_items), (nautilus_navigation_window_load_extension_toolbar_items): Load toolbar items from the extensions 2003-11-28 Dave Camp * libnautilus-extension/Makefile.am: * libnautilus-extension/nautilus-extension-i18n.h: New file. * libnautilus-extension/nautilus-info-provider.h: * libnautilus-extension/nautilus-file-info.h: * libnautilus-extension/nautilus-file-info.c: (nautilus_file_info_list_copy), (nautilus_file_info_list_free): New functions. * libnautilus-extension/nautilus-menu-item.c: * libnautilus-extension/nautilus-menu-item.h: * libnautilus-extension/nautilus-menu-provider.c: * libnautilus-extension/nautilus-menu-provider.h: New files, allow extensions to provide context menu items. * libnautilus-extension/nautilus-property-page-provider.c: * libnautilus-extension/nautilus-property-page-provider.h: * libnautilus-extension/nautilus-property-page.c: * libnautilus-extension/nautilus-property-page.h: New files, allow extensions to provider property pages. * libnautilus-private/nautilus-module.h: * libnautilus-private/nautilus-module.c: (add_module_objects), (nautilus_module_load_file), (nautilus_module_get_extensions_for_type), (nautilus_module_extension_list_free), (nautilus_module_add_type): New functions. * src/file-manager/Makefile.am: * src/file-manager/fm-bonobo-provider.c: (bonobo_mime_action_data_new), (bonobo_mime_action_data_free), (bonobo_mime_action_activate_callback), (bonobo_mime_action_callback), (bonobo_mime_action_menu_data_destroy_callback), (no_locale_at_end), (get_bonobo_menu_verb_names), (can_handle_multiple_files), (get_menu_items_for_server), (fm_bonobo_provider_get_file_items), (fm_bonobo_provider_menu_provider_iface_init), (bonobo_page_error_message), (get_uri_list), (bonobo_page_activate_callback), (fm_bonobo_provider_get_pages), (fm_bonobo_provider_property_page_provider_iface_init), (fm_bonobo_provider_instance_init), (fm_bonobo_provider_class_init), (fm_bonobo_provider_get_type): * src/file-manager/fm-bonobo-provider.h: Moved the bonobo context menu and property pages here. Export them through the extension interface. * src/file-manager/fm-directory-view.c: (extension_action_callback), (add_extension_menu_items), (get_all_extension_menu_items), (reset_extension_actions_menu), (real_update_menus): Get context menu items from extensions. * src/file-manager/fm-properties-window.c: (clear_extension_pages), (refresh_extension_pages), (properties_window_update), (append_extension_pages), (create_properties_window): Get property pages from extensions. * src/nautilus-application.c: (finish_startup): Add the bonobo provider to the extension manager. 2003-11-20 Dave Camp * Makefile.am: * configure.in: * libnautilus-extension/Makefile.am: * libnautilus-extension/libnautilus-extension.pc.in: * libnautilus-extension/nautilus-extension-types.c: * libnautilus-extension/nautilus-extension-types.h: * libnautilus-extension/nautilus-file-info.c: * libnautilus-extension/nautilus-file-info.h: * libnautilus-extension/nautilus-info-provider.c: * libnautilus-extension/nautilus-info-provider.h: New library for nautilus extensions. * libnautilus-private/nautilus-marshal.list: * libnautilus-private/Makefile.am: * libnautilus-private/nautilus-directory-async.c: (nautilus_directory_set_up_request), (lacks_extension_info), (wants_extension_info), (extension_info_cancel), (extension_info_stop), (finish_info_provider), (info_provider_idle_callback), (info_provider_callback), (extension_info_start), (start_or_stop_io), (nautilus_directory_cancel), (cancel_loading_attributes), (file_needs_extension_work_done), (file_needs_work_done), (nautilus_directory_remove_file_from_work_queue), (move_file_to_low_priority_queue), (move_file_to_extension_queue): * libnautilus-private/nautilus-directory-private.h: * libnautilus-private/nautilus-directory.c: (nautilus_directory_init), (nautilus_directory_finalize), (nautilus_directory_notify_files_changed): Add a third queue for extension info, that runs after the high and low priority queues. * libnautilus-private/nautilus-file-attributes.h: * libnautilus-private/nautilus-file-operations.c: * libnautilus-private/nautilus-file-private.h: * libnautilus-private/nautilus-file.c: (nautilus_file_invalidate_extension_info_internal), (nautilus_file_invalidate_attributes_internal): * libnautilus-private/nautilus-file.c: (nautilus_file_get_type), (nautilus_file_instance_init), (nautilus_file_get_keywords), (nautilus_file_get_type), (nautilus_file_class_init), (nautilus_file_get_vfs_file_info), (nautilus_file_add_emblem), (nautilus_file_info_providers_done), (nautilus_file_info_iface_init): Implement the NautilusFileInfo interface for extensions to use. * libnautilus-private/nautilus-module.c: (nautilus_module_load), * libnautilus-private/nautilus-module.h: Module loading code. * src/file-manager/fm-directory-view.c: (finish_loading): Request extension info. * src/nautilus-application.c: (finish_startup): Initialize the module interface. 2004-01-11 Alexander Larsson * libnautilus-private/nautilus-file.c (nautilus_file_get_activation_uri): Don't expand symlinks when following them. 2004-01-10 James Willcox * src/nautilus-spatial-window.c: (nautilus_spatial_window_realize), (real_set_throbber_active), (nautilus_spatial_window_class_init): * src/nautilus-spatial-window.h: Add some snot to new windows when they are opened in spatial mode. Basically tries to compensate for the lack of throbber. 2004-01-10 Dave Camp * libnautilus-private/nautilus-icon-container.h: * libnautilus-private/nautilus-icon-container.c: (handle_typeahead): Moved the typeahead duration to a public header. * src/file-manager/fm-list-view.c: (select_matching_name), (fm_list_view_flush_typeselect_state), (handle_typeahead), (key_press_callback), (fm_list_view_finalize), (fm_list_view_instance_init): Implement icon-view-style typeahead for the list view. Patch from Jürg Billeter 2004-01-10 Sebastien Bacher * src/nautilus-spatial-window-ui.xml: typo fix (Closes: #128318). 2004-01-09 Alexander Larsson Patch from Jürg Billeter * libnautilus-private/Makefile.am: * libnautilus-private/nautilus-cell-renderer-pixbuf-emblem.[ch]: pixbuf CellRenderer that handles emblems too * src/file-manager/fm-list-model.[ch]: * src/file-manager/fm-list-view.c: Add support for emblems to list * src/file-manager/fm-tree-model.[ch] * src/file-manager/fm-tree-view.c: Add support for emblems to tree 2004-01-09 Alexander Larsson * libnautilus-private/nautilus-file.c: (nautilus_file_can_rename), (nautilus_file_is_nautilus_link): * libnautilus-private/nautilus-link.c: (get_link_style_for_mime_type): * src/file-manager/fm-icon-view.c: (icon_view_handle_uri_list): application/x-desktop is the new desktop file mime type 2004-01-07 Alexander Larsson * libnautilus-private/nautilus-file-utilities.[ch]: (nautilus_get_vfs_method_display_name): New funciton * src/nautilus-window.c: Use nautilus_get_vfs_method_display_name to set the title * libnautilus-private/nautilus-icon-container.c: Remove tab icon navigation. Makes normal keynav work. * src/nautilus-shell-ui.xml: * src/nautilus-spatial-window.[ch]: * src/nautilus-window-manage-views.c: Add location button menu to spatial windows. 2004-01-06 Dave Camp * configure.in: Remove components/tree/Makefile from AC_OUTPUT. 2004-01-06 Alexander Larsson Patch from: Juerg Billeter * components/Makefile.am: * components/tree/ Remove tree component (moved to file-manager) * src/Nautilus_shell.server.in: * src/file-manager/Makefile.am: Move tree view here * src/nautilus-application.c: Tree view activation * src/file-manager/fm-properties-window.[ch]: * src/file-manager/fm-directory-view.c: Make properties window take GtkWidget instead of DirectoryView. * src/file-manager/fm-tree-model.[ch]: * src/file-manager/fm-tree-view.[ch]: Move tree view here, first cut at popup menus 2004-01-06 Alexander Larsson * src/file-manager/fm-list-view.c (button_press_callback): Pop up folder menu on right click in background Patch from chris@gnome-de.org 2004-01-06 Alexander Larsson * libnautilus-private/apps_nautilus_preferences.schemas.in: Turn on home icon on desktop by default * libnautilus-private/nautilus-icon-dnd.c: * src/nautilus-property-browser.c: Handle new svg mime type * src/nautilus-navigation-window-ui.xml: * src/nautilus-spatial-window-ui.xml: Don't use computer icon for templates 2004-01-06 Alexander Larsson * src/file-manager/fm-directory-view.[ch]: Add get_item_count virtual method. Add item count and free space to status bar * src/file-manager/fm-icon-view.c (fm_icon_view_get_item_count): * src/file-manager/fm-list-view.c (fm_list_view_get_item_count): Implement get_iem_count * src/file-manager/fm-list-model.[ch] (fm_list_model_get_length): Add new function. 2004-01-06 Alexander Larsson * libnautilus-private/apps_nautilus_preferences.schemas.in: Make desktop font Sans 10 by default. This is the same as the normal UI font default, and fits more stuff on the desktop. 2004-01-06 Alexander Larsson * libnautilus-private/nautilus-file-operations.c: Don't translate duplication tests to avoid wasting translator time. My guess is that nobody was running make check in different locales anyway. 2004-01-06 Alexander Larsson * test/test.h: Remove eel-string-picker.h 2004-01-05 Martin Wehner * libnautilus-private/nautilus-icon-container.c: (icon_destroy): Nullify stretch_icon when the icon being pointed to is removed. Fixes bug #128713. Sun Jan 4 14:39:49 2004 Soeren Sandmann * cut-n-paste-code/gsequence/gsequence.c (g_sequence_ptr_is_begin): Compare to ptr instead of NULL, since g_sequence_node_prev() never returns NULL. (pointed out by Jeffrey Yasskin). 2004-01-04 Martin Wehner * libnautilus-private/nautilus-file-operations-progress.[ch]: Use GnomeVFSFileSize instead of gulong to store file sizes. Prevents an overflow with transfers > 4GB. Fixes bug #96734. 2004-01-03 Anders Carlsson * src/nautilus-location-bar.c: (nautilus_location_bar_init): * src/nautilus-location-entry.c: Don't use EelInputEventBox, we can use GtkEventBox now instead. 2004-01-03 Anders Carlsson * components/adapter/nautilus-adapter.c: (nautilus_adapter_new): * src/nautilus-navigation-bar.c: * src/nautilus-navigation-bar.h: * src/nautilus-navigation-window.c: * src/nautilus-spatial-window.c: (nautilus_spatial_window_instance_init): * src/nautilus-view-frame.c: * src/nautilus-view-frame.h: * src/nautilus-window.c: Remove use of EelGenerousBin, we can use a GtkBox with only one child for that instead. * test/Makefile.am: Don't use Eel stuff that no-one else uses. 2004-01-02 Dennis Cranston * src/nautilus-connect-server-dialog.c: (nautilus_connect_server_dialog_init) * src/nautilus-location-dialog.c: (nautilus_location_dialog_init) HIG fixes (add a missing mnemonic and correct the widget padding) for the "Open Location" and "Connect to Server" dialogs. 2003-01-02 Diego Gonzalez Gonzalez * configure.in: * component/text/Makefile.am: files in services directory are not used so they should not be installed. 2004-01-02 Dave Camp * components/image_properties/nautilus-image-properties-view.c (append_exifdata_string): Fixed a typo in the Focal Length field. Patch from Stephane Wirtel 2004-01-02 Martin Wehner * libnautilus-private/nautilus-file-operations.c: Ensure the source isn't deleted as partial copy in a duplicate operation. Fixes bug #128095. === nautilus 2.5.4 === 2003-12-29 Alexander Larsson * Makefile.am (EXTRA_DIST): Add OrigTree.pm * NEWS: * configure.in: Update to 2.5.4 2003-12-18 Alexander Larsson * libnautilus-private/nautilus-emblem-utils.c: * libnautilus-private/nautilus-icon-factory.[ch]: * src/nautilus-main.c: * src/nautilus-server-connect.c: * src/nautilus-window-manage-views.c: Use GtkIconTheme instead of GnomeIconTheme 2003-12-18 Alexander Larsson * configure.in: Require gtk/glib 2.3.0 * libnautilus-private/nautilus-directory.c: Use gobject private data for details * libnautilus-private/nautilus-file-private.h: * libnautilus-private/nautilus-file.[ch]: Use gobject private data for details Add has_open_window flag and setter/getter * libnautilus-private/nautilus-icon-container.[ch]: * src/file-manager/fm-icon-container.c: Support visiting modifier for icons with open windows * src/file-manager/fm-directory-view.c: Don't use filename extension in templates name * src/file-manager/fm-list-model.c: Support accept and visiting icon modifiers * src/file-manager/fm-list-view.c: Always set the drag_view on the model so that the accept modifier works * src/nautilus-window.c: (nautilus_window_set_viewed_file): Set has_open_window on file 2003-12-17 Alexander Larsson * src/nautilus-window.h: * src/nautilus-window.c (nautilus_window_close): Virtualize close_window * src/nautilus-spatial-window.c (real_window_close): Save geometry and scroll position on window close, not on delete event. Also, since the timeout geometry save isn't really needed anymore, up that to one second. 2003-12-16 Alexander Larsson * src/file-manager/fm-icon-view.c (play_file): Check for new ogg mime-type. Patch from Mattias Eriksson 2003-12-15 Dennis Cranston * src/file-manager/fm-directory-view.c: Do not add trash and directory uris to the recent documents list. Fixes bug #125571. 2003-12-13 Alex Duggan * src/nautilus-window.c (compute_default_title): canonicalize URI and add titles for burn:/// and themes:/// 2003-12-12 Vincent Untz * libnautilus-private/nautilus-desktop-link-monitor.c: Add missing #include 2003-12-12 Alexander Larsson * libnautilus-private/nautilus-trash-directory.c: Don't show the stupid looking for trash dialog. We shouldn't be looking for trash for long these days. Patch from William Lachance 2003-12-12 Alexander Larsson * libnautilus-private/nautilus-file-operations.[ch]: New function nautilus_file_operations_new_file. * libnautilus-private/nautilus-file-utilities.[ch]: New template directory functions * src/nautilus-navigation-window-ui.xml: * src/nautilus-spatial-window-ui.xml: * src/nautilus-window-menus.c: Add Templates in location menu * src/file-manager/fm-directory-view.[ch]: * src/file-manager/nautilus-directory-view-ui.xml: Implement the templates menu. Fix issue that affected create new folder too, sometimes the file has already been added before we get the done callback. 2003-12-12 Christian Neumair * components/Makefile.am * components/hardware/*: * configure.in: Removed obsolete hardware view. 2003-12-12 Alexander Larsson * libnautilus-private/nautilus-icon-container.c: Range selection Clear last double click icon if you click on background Don't swallow alt-up Ignore tripple clicks Shift-double-click is open-close-parent (of the clicked icon only) * libnautilus-private/nautilus-icon-private.h: Add range_selection_base_icon to icon container * src/file-manager/fm-directory-view.c: handle shift-alt-down * src/file-manager/fm-list-model.c: Implement fm_list_model_file_for_path * src/file-manager/fm-list-view.c: Sync behaviour with icon view. Allow shift-doubleclick * src/file-manager/nautilus-directory-view-ui.xml: * src/nautilus-spatial-window-ui.xml: * src/nautilus-spatial-window.c: Add alt-shift-up keybinding * src/nautilus-window-manage-views.c: * src/nautilus-window-manage-views.h: * src/nautilus-window-menus.c: (go_menu_up_callback): * src/nautilus-window.c: (nautilus_window_go_up): * src/nautilus-window.h: Support for alt-shift-up 2003-12-11 Alexander Larsson * libnautilus-private/nautilus-dnd.c (nautilus_drag_default_drop_action_for_icons): Handle defaults for desktop drops like normal directories. * libnautilus-private/nautilus-desktop-link-monitor.c (nautilus_desktop_link_monitor_delete_link): Don't allow deletion of standard desktop links. * src/file-manager/fm-directory-view.c (fm_directory_view_confirm_deletion): Don't need to confirm for desktop icons. 2003-12-11 Alexander Larsson * components/emblem/nautilus-emblem-view.c: * components/music/nautilus-music-view.c: * components/news/nautilus-news.c: * libnautilus-private/nautilus-desktop-link-monitor.c: * libnautilus-private/nautilus-emblem-utils.c: * libnautilus-private/nautilus-file-operations.c: * libnautilus-private/nautilus-icon-dnd.c: * libnautilus-private/nautilus-program-chooser.c: * libnautilus-private/nautilus-program-choosing.c: * src/file-manager/fm-directory-view.c: * src/file-manager/fm-error-reporting.c: * src/file-manager/fm-icon-view.c: * src/file-manager/fm-properties-window.c: * src/file-manager/fm-search-list-view.c: * src/file-manager/nautilus-indexing-info.c: * src/nautilus-application.c: * src/nautilus-connect-server-dialog.c: * src/nautilus-information-panel.c: * src/nautilus-location-bar.c: * src/nautilus-navigation-window-menus.c: * src/nautilus-navigation-window.c: * src/nautilus-property-browser.c: * src/nautilus-window-manage-views.c: * src/nautilus-window.c: Update error dialogs to be HIGy, and use the new eel message dialog api. Based on patch from dennis_cranston@yahoo.com 2003-12-10 Federico Mena Quintero * src/nautilus-connect-server-dialog.c (response_callback): Use GTK_RESPONSE_CANCEL, not a homegrown RESPONSE_CANCEL. This way we can close the dialog by pressing Escape. (nautilus_connect_server_dialog_init): Likewise. * src/nautilus-location-dialog.c (response_callback): Likewise. (nautilus_location_dialog_init): Likewise. 2003-12-10 Alexander Larsson * libnautilus-private/apps_nautilus_preferences.schemas.in: s/directory/folder/ Patch by mpusalkar@novell.com 2003-12-08 Padraig O'Briain * src/file-manager/fm-list-view.c (create_and-set_up_tree_view); Set accessible name. Fixes bug #128525. === nautilus 2.5.3 === 2003-12-08 Alexander Larsson * NEWS: * configure.in: 2.5.3 2003-12-04 Sivaiah Nallagatla * src/file-manager/fm-list-view.c(fm_list_view_remove_file): Place the focus on next item when an item is deleted from list view. 2003-12-03 Alexander Larsson * src/file-manager/fm-icon-container.c (fm_icon_container_get_icon_description): Fix const missing build failure. 2003-12-03 Padraig O'Briain * libnautilus-private/nautilus-icon-canvas-item.c: (nautilus_icon_canvas_item_accessible_action_set_description): Return TRUE when function succeeds. (nautilus_icon_canvas_item_accessible_get_name): If name has been set using atk_object_set_name return that. (nautilus_icon_canvas_item_accessible_finalize): Free image description or description if exists. (nautilus_icon_canvas_item_accessible_get_image_description): Return icon description, if it exists. (nautilus_icon_canvas_item_accessible_set_image-description): Implement this function. * libnautilus-private/nautrilus-icon-container.[ch]: (nautilus_icon_container_get_icon_description): New function. * src/file-manager/fm-icon-container.c: (fm_icon_container_get_icon_description): New function to implement NautilusIconContainerClass's get_icon_description. This fixes part of bug #126183. 2003-12-01 David Bordoley * src/nautilus-application.c: (nautilus_application_close_parent_windows): * src/nautilus-application.h: * src/nautilus-spatial-window-ui.xml: * src/nautilus-spatial-window.c: (file_menu_close_parent_windows_callback), (real_merge_menus): Change "close all parents" to be "close parent folders" and change the behavior to match the label. 2003-12-01 Sivaiah Nallagatla * src/nautilus-navigation-window.c (real_get_default_size) (nautilus_navigation_window_class_init) * src/nautilus-spatial-window.c (real_get_default_size) (nautilus_spatial_window_class_init) * src/nautilus-window-private.h * src/nautilus-window.c (set_initial_window_geometry) * src/nautilus-window.h : make default size of navigation window bigger and different from that of spatial window. #127604 in b.g.o 2003-11-26 Sebastien Bacher * libnautilus-private/apps_nautilus_preferences.schemas.in: Fix other typos. (Closes: #115744). 2003-11-26 Kjartan Maraas * libnautilus-private/apps_nautilus_preferences.schemas.in: Fix typos. Closes bug #121589. 2003-11-26 Frederic Crozat * src/file-manager/fm-properties-window.c: (create_permissions_page): Remove unused variable (broke build). 2003-11-26 Padraig O'Briain * src/file-manager/fm-properties-window.c: (Add_permissions_checkbox): Add ATK relations between checkbox and label. Fixes bug #127810. === nautilus 2.5.2 === 2003-11-24 Alexander Larsson * NEWS: * configure.in: 2.5.2 2003-11-24 Alexander Larsson * libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_accessible_initialize): Don't crash on startup if a11y is disabled. 2003-11-21 Padraig O'Briain * src/file-manager/fm-icon-container.c (fm_icon_container_instance_init): Add accessible name. Fixes bug #127485. 2003-11-20 Dave Camp * src/nautilus-navigation-window.c (real_set_content_view_widget): Forgot this bit of Srini's patch. 2003-11-20 Dave Camp * src/nautilus-window-manage-views.c: (handle_view_failure): Disconnect the view. Patch from Srinivasa Ragavan . 2003-11-20 Dave Camp * src/file-manager/fm-list-view.c: (button_press_callback): Grab focus if clicking on a selected row. Patch from Sivaiah Nallagatla 2003-11-19 James Willcox * libnautilus-private/nautilus-icon-canvas-item.c: (nautilus_icon_canvas_item_accessible_initialize): Remove a unused variable, fixes the build 2003-11-19 Padraig O'Briain * libnautilus-private/nautilus-icon-canvas-item.c: Add implementation of AtkAction for NautilusIconCanvasItemAccessible.. Fixes bug #126272. 2003-11-19 Padraig O'Briain * src/nautilus-connect-server-dialog.c: Add mnemonics to labels and add calls to gtk_label_set_mnemonic_widget. Fixes bug #126803. 2003-11-19 Padraig O'Briain * src/file-manger/fm-properties-window.c: (attach_owner_menu): Return option_menu created in this function. (create_permissions_page): Set mnemonic widget for owner_label. Fixes bug #126637. 2003-11-19 Padraig O'Briain * libnautilus-private/nautilus-link.c (nautilus_link_get_link_info_given_file_contents): Do not return value in function returing void. Fixes build problem. 2003-11-17 David Malcolm * src/file-manager/fm-properties-window.c (update_properties_window_icon): Set the icon of the GtkWindow for the Properties window whenever the icon in the Basic page is updated. 2003-11-17 Dave Camp * components/emblem/nautilus-emblem-view.c: (nautilus_emblem_view_drag_received_cb): NULL out the keyword fields. Patch from Kiran Kumar Immidi . 2003-11-16 Dave Camp * libnautilus-private/nautilus-file.c: (compare_by_modification_time): Don't compare unknown modification times. Patch from Sivaiah Nallagatla . 2003-11-16 Dave Camp * src/file-manager/fm-directory-view.c: (activate_activation_uri_ready_callback), (fm_directory_view_activate_file): Reread the activation URI of symlinks in case the link target is stale. Patch from Maneesh Pusalkar . 2003-11-13 Alexander Larsson * src/file-manager/fm-directory-view.c (open_location): Only monitor then for_open_with file when the popup menu is visible. Also, don't monitor it when opening the location, as this can cause us to unnecessary re-read the mime list on force-reload opens (e.g. non-local opens). === nautilus 2.5.1.1 === 2003-11-12 Dave Camp * NEWS: * configure.in: 2.5.1.1 * configure.in: * components/emblem/Makefile.am: * components/image_properties/Makefile.am: * components/sample/Makefile.am: * src/Makefile.am: * src/file-manager/Makefile.am: Cleaned up DISABLE_DEPREACTED bits. 2003-11-11 Dave Camp * src/file-manager/fm-list-view.c (list_view_get_first_visible_file_callback): Unref the file before returning its uri. === nautilus 2.5.1 === 2003-11-10 Alexander Larsson * NEWS: * configure.in: Bump to 2.5.1, require later eel & gnome-vfs 2003-11-06 Alexander Larsson * Makefile.am: * nautilus-computer.desktop.in: * nautilus-home.desktop.in: New desktop files * nautilus.desktop.in: Make this one "browse filesystem" * libnautilus-private/apps_nautilus_preferences.schemas.in: * libnautilus-private/nautilus-global-preferences.c: * libnautilus-private/nautilus-global-preferences.h: computer desktop icon prefs * libnautilus-private/nautilus-desktop-icon-file.c: (update_info_from_link): Set permissions too * libnautilus-private/nautilus-desktop-link-monitor.c: * libnautilus-private/nautilus-desktop-link.[ch]: Add computer icon * src/Makefile.am: * src/nautilus-connect-server-dialog.[ch]: Connect server dialog * src/file-manager/fm-directory-view.c: Mount drives on activation. * src/file-manager/fm-icon-container.c: Sort computer first * src/file-manager/fm-properties-window.c: Put back NautilusDesktopLink handling for e.g. computer and home. * src/nautilus-application.[ch]: Reload dirs on mounts. add browser_window argument on open window * src/nautilus-main.c: add browser_window argument on open window (--browser) hack to register computer icon * src/nautilus-shell-interface.idl: * src/nautilus-shell.c: add browser_window argument on open window * src/nautilus-navigation-window-ui.xml: * src/nautilus-spatial-window-ui.xml: * src/nautilus-window-menus.c: Add connect to server Add computer * src/nautilus-window.c: Nice title for burn:/// 2003-11-05 Alexander Larsson * configure.in: Require new gnome-vfs * components/tree/nautilus-tree-view.c: * libnautilus-private/nautilus-desktop-link-monitor.c: * libnautilus-private/nautilus-desktop-link.[ch]: * libnautilus-private/nautilus-monitor.c: * libnautilus-private/nautilus-trash-directory.c: * libnautilus-private/nautilus-trash-monitor.[ch]: * src/nautilus-application.c: Use gnome-vfs-volume-manager instead of nautilus-volume-manager.c * libnautilus-private/nautilus-desktop-icon-file.c: Set the volume on the nautilusfile * libnautilus-private/nautilus-directory-async.c: Load volume info from link * libnautilus-private/nautilus-file-attributes.h: * libnautilus-private/nautilus-mime-actions.c: Add new VOLUMES attribute * libnautilus-private/nautilus-file-private.h: Add has_volume and has_drive to NautilusFile * libnautilus-private/nautilus-file.[ch]: Add has_volume and has_drive to NautilusFile Volumes/drives are sorted separately * libnautilus-private/nautilus-link-desktop-file.[ch]: * libnautilus-private/nautilus-link.[ch]: Read drive and volume id from links * src/file-manager/fm-desktop-icon-view.c: * src/file-manager/nautilus-desktop-icon-view-ui.xml: Remove volume ops. Remove disks menu * src/file-manager/fm-directory-view.c: * src/file-manager/nautilus-directory-view-ui.xml: Implement volume ops using gnome-vfs * src/file-manager/fm-properties-window.c: Handle drives/volumes * src/nautilus-window.c: Make a nicer title for some specific locations * libnautilus-private/nautilus-volume-monitor.[ch]: * libnautilus-private/Makefile.am remove this old crap 2003-11-03 Alexander Larsson * libnautilus-private/nautilus-bonobo-extensions.h: * libnautilus-private/nautilus-bonobo-extensions.c: (nautilus_bonobo_register_activation_shortcut), (nautilus_bonobo_unregister_activation_shortcut), (nautilus_bonobo_activate_from_id): Allow to register shortcuts for in-process IIDs so that activation doesn't go through bonobo-activation. * src/nautilus-application.c: (create_object_shortcut), (nautilus_application_instance_init), (nautilus_application_destroy): * components/emblem/libmain.c: * components/history/libmain.c: * components/notes/nautilus-notes.c: * components/tree/libmain.c: Register activation shortcuts. * src/nautilus-navigation-window.c: (nautilus_navigation_window_hide_sidebar), (nautilus_navigation_window_show_sidebar): Avoid gratuitus gconf write. 2003-11-01 Alexander Larsson * src/nautilus-window.c (nautilus_window_hide_status_bar) (nautilus_window_show_status_bar): Don't write NAUTILUS_PREFERENCES_START_WITH_STATUS_BAR on each open new window. 2003-10-29 Martin Wehner * components/tree/nautilus-tree-model.c: * libnautilus-private/nautilus-icon-dnd.c: * src/file-manager/fm-properties-window.c: Fix leaks. 2003-10-22 Padraig O'Briain * libnautilus-private/nautilus-icon-container.c (select_previous_or_next_icon): Cycle around to start or end if at last or first icon. (bug #82609) 2003-10-21 Alexander Larsson * libnautilus-private/nautilus-desktop-link.c: * libnautilus-private/nautilus-file-operations.c: * libnautilus-private/nautilus-file.c: * libnautilus-private/nautilus-icon-factory.c: * src/nautilus-application.c: * src/nautilus-bookmark-list.c: Fix leaks. Patch from Martin Wehner Mon Oct 20 13:38:16 2003 Jonathan Blandford * src/Makefile.am (INCLUDES): remove GTK and GNOME_DISABLE_DEPRECATED * src/file-manager/Makefile.am (INCLUDES): ditto * components/emblem/Makefile.am (INCLUDES): ditto 2003-10-20 Alexander Larsson * configure.in: Change back orbit req. === nautilus 2.5.0 === 2003-10-20 Alexander Larsson * NEWS: Update * configure.in: Require new eel & orbit Bump to 2.5.0 2003-10-17 Alexander Larsson * src/nautilus-window-manage-views.c: Use themed icon for desktop. Patch from Luca Ferretti 2003-10-17 Alexander Larsson * components/image_properties/nautilus-image-properties-view.c: Split up camera & maker. Don't center text Allow selection of text. Parts of patch from hugo. 2003-10-14 Alexander Larsson * acconfig.h: * components/image_properties/Makefile.am: * components/image_properties/nautilus-image-properties-view.c: * configure.in: Support for exif info. Patch from Hugo 2003-10-11 Dennis cranston * src/file-manager/fm-icon-view.c: Fixes to the 'Link here' and 'Cancel' drag and drop actions. 2003-10-13 Alexander Larsson * src/file-manager/fm-list-view.c (cell_renderer_edited): Don't rename files to "". Fixes #124420 Based on patch from mwehner@tfh-berlin.de. 2003-10-11 Dave Camp * src/Makefile.am: Add nautilus-location-dialog.[ch] and nautilus-location-entry.[ch] * src/nautilus-location-bar.c: (editable_event_after_callback), (nautilus_location_bar_init): * src/nautilus-location-entry.c: Moved the tab-completing entry into its own widget. * src/nautilus-location-dialog.c * src/nautilus-spatial-window.c: (real_prompt_for_location), (nautilus_spatial_window_class_init): Add an Open Location dialog for the spatial windows. 2003-10-10 Christophe Fergeau * components/tree/nautilus-tree-view.c : expand rows in the directory tree view on double-click 2003-10-08 Padraig O'Briain * libnautilus-private/nautilus-icon-canvas-item.c (nautilus_icon_canvas_item_accessible_ref_state_set) Avoid dereferencing a NULL pointer. (bug #124122) 2003-10-07 Dave Camp * libnautilus-private/nautilus-icon-container.c: (nautilus_icon_container_scroll_to_icon): Scroll to ICON_PAD_TOP above the icon. * src/nautilus-navigation-window.c: (nautilus_navigation_window_set_sidebar_panels), (nautilus_navigation_window_class_init): * src/nautilus-spatial-window.c: (nautilus_spatial_window_class_init): * src/nautilus-view-frame.c: (nautilus_view_frame_new), (nautilus_view_frame_get_prop), (create_ambient_properties): * src/nautilus-view-frame.h: * src/nautilus-window-manage-views.c: (load_content_view): * src/nautilus-window.h: * libnautilus/nautilus-view-component.idl: * libnautilus/nautilus-view.c: (nautilus_view_set_listener_mask), (nautilus_view_get_window_type): * libnautilus/nautilus-view.h: Added a window type property to the view frame. * src/file-manager/fm-directory-view.c: (can_use_component_for_file), (reset_bonobo_open_with_menu), (showing_trash_directory), (should_show_empty_trash), (file_list_all_can_use_components), (real_update_menus), (activate_callback), (fm_directory_view_accepts_dragged_files): * src/file-manager/nautilus-directory-view-ui.xml: Don't use file views in spatial windows. Use Browse Folder in spatial windows and Open in New Window in navigation windows. Don't show "Empty Trash" in non-trash spatial windows. 2003-10-02 Alexander Larsson * libnautilus-private/nautilus-icon-container.c: Separate SNAP_SIZE into SNAP_SIZE_X and SNAP_SIZE_Y. Make SNAP_SIZE_Y 1/4 of old SNAP_SIZE. 2003-10-01 Alexander Larsson * src/file-manager/nautilus-directory-view-ui.xml: Ctrl-S to select by pattern. 2003-10-01 Murray Cumming * src/Makefile.am, src/file-manager/Makefile.am: Removed -DG_DISABLE_DEPRECATED so that it builds against glib 2.3.0, which has deprecated g_value_string_set_take_ownership() in favour of g_value_take_string(). G_DISABLE_DEPRECATED has already been removed from configure.in, but it is hard-coded into lots of the Makefile.am files. 2003-09-30 Dave Camp * Merge the nautilus-spatial-playground branch to HEAD. 2003-09-30 Dave Camp * src/Makefile.am: * src/nautilus-application.c: (nautilus_application_get_spatial_window_list), (nautilus_application_get_existing_spatial_window), (find_parent_spatial_window), (nautilus_application_close_with_parent_windows), (spatial_window_destroyed_callback), (nautilus_application_present_spatial_window): * src/nautilus-application.h: * src/nautilus-desktop-window.c: (nautilus_desktop_window_update_directory): * src/nautilus-desktop-window.h: * src/nautilus-object-window.c: * src/nautilus-object-window.h: * src/nautilus-shell.c: (open_window), (restore_one_window_callback): * src/nautilus-spatial-window.c: (save_window_geometry_timeout), (nautilus_spatial_window_configure_event), (nautilus_spatial_window_unrealize), (nautilus_spatial_window_destroy), (nautilus_spatial_window_finalize), (nautilus_spatial_window_save_geometry), (nautilus_spatial_window_save_scroll_position), (nautilus_spatial_window_show), (file_menu_close_with_parent_windows_callback), (real_merge_menus), (real_set_content_view_widget), (real_delete_event), (nautilus_spatial_window_instance_init), (nautilus_spatial_window_class_init): * src/nautilus-spatial-window.h: * src/nautilus-window-manage-views.c: (open_location), (position_and_show_window_callback): * src/nautilus-window-private.h: Renamed NautilusObjectWindow to NautilusSpatialWindow. 2003-09-30 Alexander Larsson * src/nautilus-window-manage-views.c (load_new_location_in_all_views): Don't load from window->new_content_view in the view list. 2003-09-29 Dave Camp * src/nautilus-navigation-window.c: (nautilus_navigation_window_tear_down_sidebar), (nautilus_navigation_window_clear_back_list), (compare_view_identifier_with_iid), (disconnect_and_destroy_sidebar_panel), (set_side_panel_image), (side_panel_image_changed_callback), (report_side_panel_failure_to_user), (side_panel_view_failed_callback), (connect_side_panel), (side_panel_view_loaded_callback), (nautilus_navigation_window_set_sidebar_panels): * src/nautilus-window-manage-views.c: (change_selection), (update_title), (view_frame_info_new), (set_view_frame_info), (nautilus_window_get_view_frame_label), (report_content_view_failure_to_user_internal), (load_new_location_in_all_views), (load_content_view), (handle_view_failure), (position_and_show_window_callback), (nautilus_window_stop_loading), (nautilus_window_connect_extra_view), (nautilus_window_disconnect_extra_view), (content_view_failed_callback), (view_loaded_callback), (connect_view), (disconnect_view), (disconnect_view_callback), (nautilus_window_manage_views_destroy): * src/nautilus-window-manage-views.h: * src/nautilus-window.h: Move side-panel specific code into the navigation window. 2003-09-28 James Willcox * libnautilus-private/nautilus-metadata.h: * src/nautilus-object-window.c: (nautilus_object_window_destroy), (nautilus_object_window_save_scroll_position), (delete_event_cb), (nautilus_object_window_instance_init): * src/nautilus-object-window.h: * src/nautilus-view-frame.c: (nautilus_view_frame_get_first_visible_file): * src/nautilus-window-manage-views.c: (position_and_show_window_callback): Save the scroll position in object windows. 2003-09-24 Dave Camp * src/nautilus-desktop-window.c: (real_get_title), (nautilus_desktop_window_class_init): Return "Desktop" for everything. * src/nautilus-navigation-window.c: (real_set_title), (nautilus_navigation_window_class_init): Set the title to "File Browser: foo" * src/nautilus-object-window.c: (real_set_title), (nautilus_object_window_class_init): Set the title to the object name. * src/nautilus-window-manage-views.c: (update_title): Moved title handling to NautilusWindow. (nautilus_window_manage_views_destroy): Destroy side panes. * src/nautilus-window.h: * src/nautilus-window.c: (compute_default_title), (real_get_title), (nautilus_window_get_title), (real_set_title), (nautilus_window_set_title), (nautilus_window_update_title), (nautilus_window_class_init): Moved title handling here. 2003-09-24 Dave Camp * src/nautilus-navigation-window.c: (activate_nth_short_list_item), (activate_extra_viewer), (view_as_menu_switch_views_callback), (create_view_as_menu_item), (new_gtk_separator), (view_as_menu_choose_view_callback), (load_view_as_menu), (real_load_view_as_menu), (real_set_content_view_widget), (nautilus_navigation_window_class_init): * src/nautilus-window-manage-views.c: (location_has_really_changed): * src/nautilus-window-private.h: * src/nautilus-window.c: (update_extra_viewer_in_view_as_menus), (nautilus_window_synch_view_as_menus), (real_load_view_as_menu), (load_view_as_menus_callback), (real_set_content_view_widget), (nautilus_window_class_init): * src/nautilus-window.h: Fixed up the View As optionmenu for the navigation window. 2003-09-23 Dave Camp * src/nautilus-navigation-window-menus.c: (forget_history_if_yes), (forget_history_if_confirmed), (go_menu_forget_history_callback), (nautilus_window_remove_go_menu_callback), (nautilus_window_remove_go_menu_items), (refresh_go_menu), (refresh_go_menu_idle_callback), (schedule_refresh_go_menu), (nautilus_navigation_window_initialize_go_menu), (nautilus_navigation_window_initialize_menus_part_1), (nautilus_navigation_window_initialize_menus_part_2): * src/nautilus-navigation-window-ui.xml: * src/nautilus-shell-ui.xml: * src/nautilus-spatial-window-ui.xml: * src/nautilus-window-menus.c: (nautilus_window_initialize_menus_part_1): * src/nautilus-window.c: (ui_idle_handler): Moved the Go menu and history to the navigation window. In the spatial window, moved Open Parent and Open Location to the File menu, and added a Places menu with a few static bookmarks. 2003-09-23 Dave Camp * libnautilus/nautilus-view-component.idl: * libnautilus/nautilus-view.c: (call_open_location), (nautilus_view_open_location): * libnautilus/nautilus-view.h: * src/nautilus-view-frame-corba.c: (open_location), (close_window), (impl_Nautilus_ViewFrame_open_location), (nautilus_view_frame_corba_part_class_init): * src/nautilus-view-frame-private.h: * src/nautilus-view-frame.c: (nautilus_view_frame_open_location), (nautilus_view_frame_class_init): * src/nautilus-view-frame.h: * src/nautilus-window-manage-views.c: (new_window_show_callback), (open_location), (nautilus_window_open_location), (nautilus_window_open_location_with_selection), (open_location_callback): Implemented a new open_location API. * libnautilus-private/nautilus-icon-container.c: (nautilus_icon_container_did_not_drag), (nautilus_icon_container_class_init), (handle_icon_button_press), (activate_selected_items), (activate_selected_items_alternate): * libnautilus-private/nautilus-icon-container.h: * src/file-manager/fm-directory-view.c: (open_callback), (open_location), (switch_location_and_view), (open_one_in_new_window), (open_scripts_folder_callback), (activate_callback), (fm_directory_view_activate_file), (fm_directory_view_activate_files): * src/file-manager/fm-directory-view.h: * src/file-manager/fm-icon-view.c: (icon_container_activate_callback), (icon_container_activate_alternate_callback), (create_icon_container): * src/file-manager/fm-list-view.c: (activate_selected_items), (activate_selected_items_alternate), (fm_list_view_did_not_drag), (button_press_callback): Use new open_location API, if an item is middle-clicked to activate, close the window behind it. * src/file-manager/fm-search-list-view.c: (reveal_selected_items_callback): * components/adapter/nautilus-adapter.c: (nautilus_adapter_open_location_callback): * components/history/nautilus-history-view.c: (row_activated_callback): * components/tree/nautilus-tree-view.c: (got_activation_uri_callback): Updated for new open_location API. 2003-09-21 Dave Camp * src/nautilus-shell-ui.xml: Get rid of the find menu item for now. 2003-09-21 Dave Camp * src/Makefile.am: Added nautilus-spatial-window-ui.xml. * src/nautilus-application.h: * src/nautilus-application.c: (nautilus_application_close_all_navigation_windows): Moved here from nautilus_application_close_all_windows, only close navigation windows. (nautilus_application_get_existing_object_window), (find_parent_object_window), (nautilus_application_close_with_parent_windows): New functions. * src/nautilus-navigation-window-menus.c: (file_menu_close_all_windows_callback), (nautilus_navigation_window_initialize_menus_part_1): * src/nautilus-navigation-window-ui.xml: Move "Close All Windows" to the navigation window. * src/nautilus-object-window.h: * src/nautilus-object-window.c: (file_menu_close_with_parent_windows_callback), (real_merge_menus), (nautilus_object_window_class_init): Added a "Close With Parents" command to the spatial windows. * src/nautilus-shell-ui.xml: * src/nautilus-window-menus.c: (nautilus_window_initialize_menus_part_1): Took out "close all windows" 2003-09-18 Dave Camp * libnautilus-private/nautilus-global-preferences.c: * libnautilus-private/nautilus-global-preferences.h: Removed the "start with toolbar" preference. * src/nautilus-navigation-window-menus.c: (nautilus_navigation_window_update_show_hide_menu_items), (nautilus_navigation_window_initialize_menus_part_1): * src/nautilus-navigation-window-ui.xml: Removed the toolbar toggle. * src/nautilus-window-private.h: Removed the unused throbber bits. * src/nautilus-window-toolbars.c: (nautilus_navigation_window_initialize_toolbars): Ignore the "start with toolbar" preference. * src/nautilus-navigation-window.c: (nautilus_navigation_window_show): Show or hide the dock items before showing the window. 2003-09-14 Dave Camp * src/nautilus-file-management-properties.c: (nautilus_file_management_properties_dialog_setup): * src/nautilus-file-management-properties.glade: * libnautilus-private/nautilus-global-preferences.c: * libnautilus-private/nautilus-global-preferences.h: Removed the "always use new window" preference. * libnautilus/nautilus-view-component.idl: Updated the documentation for the open_location functions. * src/Makefile.am: Added new files. * src/file-manager/fm-directory-view.c: (open_alternate_callback), (open_location), (switch_location_and_view), (fm_directory_view_init), (fm_directory_view_finalize), (open_one_in_new_window), (open_scripts_folder_callback), (real_update_menus), (fm_directory_view_activate_files): Use new window-opening logic. * src/file-manager/nautilus-desktop-icon-view-ui.xml: * src/file-manager/nautilus-directory-view-ui.xml: Moved "open in new window" to Open With. * src/nautilus-application.h: * src/nautilus-application.c: (nautilus_application_get_object_window_list), (create_window), (object_window_destroyed_callback), (nautilus_application_present_object_window): New functions. (nautilus_application_create_navigation_window): Moved here from nautilus_application_create_window(). (volume_unmounted_callback): Close the window if it's the last one. * src/nautilus-desktop-window.h: * src/nautilus-desktop-window.c: (nautilus_desktop_window_update_directory), (real_merge_menus), (nautilus_desktop_window_class_init): Derive from NautilusObjectWindow. * src/nautilus-location-bar.h: * src/nautilus-location-bar.c: (nautilus_location_bar_get_window), (drag_data_received_callback), (nautilus_location_bar_new): Take a NautilusNavigationWindow. * src/nautilus-navigation-window-menus.c: (go_menu_back_callback), (go_menu_forward_callback), (view_menu_show_hide_sidebar_state_changed_callback), (view_menu_show_hide_toolbar_state_changed_callback), (view_menu_show_hide_location_bar_state_changed_callback), (nautilus_navigation_window_update_show_hide_menu_items), (bookmarks_menu_add_bookmark_callback), (bookmarks_menu_edit_bookmarks_callback), (append_separator), (free_bookmark_list), (get_bookmark_list), (remove_bookmarks_for_uri_if_yes), (show_bogus_bookmark_window), (create_menu_item_from_node), (add_bookmark_for_current_location), (edit_bookmarks), (nautilus_window_bookmarks_preference_changed_callback), (refresh_bookmarks_menu), (nautilus_navigation_window_initialize_bookmarks_menu), (nautilus_navigation_window_initialize_menus_part_1), (nautilus_navigation_window_initialize_menus_part_2), (nautilus_navigation_window_remove_bookmarks_menu_callback), (nautilus_navigation_window_remove_bookmarks_menu_items), (append_dynamic_bookmarks), (refresh_bookmarks_menu_idle_callback), (schedule_refresh_bookmarks_menu): Moved all of the navigation-window-specific menu code here. * src/nautilus-shell-ui.xml: * src/nautilus-shell.c: (open_window), (restore_one_window_callback): Open navigation windows (this needs work). * src/nautilus-switchable-navigation-bar.c: (create_search_bar_if_non_existant), (nautilus_switchable_navigation_bar_new): * src/nautilus-switchable-navigation-bar.h: Take a NautilusNavigationWindow. * src/nautilus-view-frame.c: (emit_zoom_parameters_changed), (emit_zoom_parameters_changed_callback), (emit_zoom_level_changed_callback), (nautilus_view_frame_get_zoom_level), (nautilus_view_frame_get_min_zoom_level), (nautilus_view_frame_get_max_zoom_level), (nautilus_view_frame_get_has_min_zoom_level), (nautilus_view_frame_get_has_max_zoom_level), (nautilus_view_frame_get_can_zoom_in), (nautilus_view_frame_get_can_zoom_out): * src/nautilus-view-frame.h: Store zoom parameters in the view frame so that it can be a model for the UI rather than the zoom control. * src/nautilus-navigation-window.c: (nautilus_navigation_window_instance_init), (go_to_callback), (navigation_bar_location_changed_callback), (navigation_bar_mode_changed_callback), (side_pane_close_requested_callback), (side_pane_size_allocate_callback), (setup_side_pane_width), (set_current_side_panel), (side_pane_switch_page_callback), (nautilus_navigation_window_set_up_sidebar), (nautilus_navigation_window_tear_down_sidebar), (nautilus_navigation_window_unrealize), (nautilus_navigation_window_destroy), (nautilus_navigation_window_finalize), (nautilus_navigation_window_add_sidebar_panel), (nautilus_navigation_window_remove_sidebar_panel), (nautilus_navigation_window_go_back), (nautilus_navigation_window_go_forward), (nautilus_navigation_window_set_search_mode), (nautilus_navigation_window_get_search_mode), (nautilus_navigation_window_go_home), (nautilus_navigation_window_allow_back), (nautilus_navigation_window_allow_forward), (real_merge_menus), (zoom_level_changed_callback), (zoom_parameters_changed_callback), (connect_view), (disconnect_view), (real_set_content_view_widget), (real_set_throbber_active), (nautilus_navigation_window_show_location_bar_temporarily), (real_prompt_for_location), (nautilus_navigation_window_clear_forward_list), (nautilus_navigation_window_clear_back_list), (add_sidebar_panels), (show_dock_item), (hide_dock_item), (dock_item_showing), (nautilus_navigation_window_hide_location_bar), (nautilus_navigation_window_show_location_bar), (nautilus_navigation_window_location_bar_showing), (nautilus_navigation_window_hide_toolbar), (nautilus_navigation_window_show_toolbar), (nautilus_navigation_window_toolbar_showing), (nautilus_navigation_window_hide_sidebar), (nautilus_navigation_window_show_sidebar), (nautilus_navigation_window_sidebar_showing), (nautilus_navigation_window_get_base_page_index), (nautilus_navigation_window_show), (nautilus_navigation_window_class_init): * src/nautilus-navigation-window.h: * src/nautilus-object-window.c: (save_window_geometry_timeout), (nautilus_object_window_configure_event), (nautilus_object_window_unrealize), (nautilus_object_window_destroy), (nautilus_object_window_finalize), (nautilus_object_window_save_geometry), (nautilus_object_window_show), (real_set_content_view_widget), (nautilus_object_window_instance_init), (nautilus_object_window_class_init): * src/nautilus-object-window.h: * src/nautilus-window-manage-views.c: (change_selection), (update_title), (set_displayed_location), (handle_go_back), (handle_go_forward), (handle_go_elsewhere), (update_up_button), (viewed_file_changed_callback), (update_history), (update_for_new_location), (open_location), (nautilus_window_open_location), (nautilus_window_open_location_with_selection), (load_new_location_in_sidebar_panels), (load_new_location_in_all_views), (disconnect_and_destroy_sidebar_panel), (handle_view_failure), (position_and_show_window_callback), (nautilus_window_stop_loading), (nautilus_navigation_window_set_sidebar_panels), (zoom_level_changed_callback), (zoom_parameters_changed_callback), (go_back_callback), (open_location_prefer_existing_window_callback), (open_location_force_new_window_callback), (report_redirect_callback), (set_side_panel_image), (view_loaded_callback), (nautilus_window_manage_views_destroy), (nautilus_navigation_window_back_or_forward): * src/nautilus-window-manage-views.h: * src/nautilus-window-menus.c: (bookmark_holder_new), (show_bogus_bookmark_window), (activate_bookmark_in_menu_item), (nautilus_menus_append_bookmark_to_menu), (file_menu_new_window_callback), (file_menu_burn_cd_callback), (go_menu_location_callback), (nautilus_window_update_show_hide_menu_items), (nautilus_window_initialize_menus_part_1), (nautilus_window_initialize_menus_part_2), (refresh_go_menu): * src/nautilus-window-private.h: * src/nautilus-window-toolbars.c: (activate_back_or_forward_menu_item), (activate_back_menu_item_callback), (activate_forward_menu_item_callback), (create_back_or_forward_menu), (get_back_button), (get_forward_button), (back_or_forward_button_pressed_callback), (create_back_or_forward_toolbar_item), (throbber_set_throbbing), (throbber_created_callback), (nautilus_navigation_window_set_throbber_active), (nautilus_navigation_window_activate_throbber), (nautilus_navigation_window_initialize_toolbars): * src/nautilus-window.c: (nautilus_window_instance_init), (ui_idle_handler), (nautilus_window_go_up), (nautilus_window_allow_up), (nautilus_window_allow_stop), (nautilus_window_allow_reload), (nautilus_window_allow_burn_cd), (nautilus_window_go_home), (nautilus_window_launch_cd_burner), (nautilus_window_prompt_for_location), (nautilus_window_get_location), (real_merge_menus), (nautilus_window_constructed), (nautilus_window_destroy), (nautilus_window_finalize), (nautilus_window_close), (update_extra_viewer_in_view_as_menus), (nautilus_window_synch_view_as_menus), (load_view_as_menus_callback), (nautilus_window_display_error), (real_set_content_view_widget), (nautilus_window_set_content_view_widget), (show_dock_item), (hide_dock_item), (dock_item_showing), (nautilus_window_hide_status_bar), (nautilus_window_show_status_bar), (nautilus_window_status_bar_showing), (nautilus_window_show), (nautilus_window_get_ui_container), (nautilus_window_set_viewed_file), (add_to_history_list), (real_add_current_location_to_history_list), (nautilus_window_add_current_location_to_history_list), (nautilus_forget_history), (nautilus_window_class_init): * src/nautilus-window.h: Split NautilusWindow into three classes. A NautilusWindow base class, a NautilusObjectWindow class, and a NautilusNavigationWindow class. 2003-09-30 Alexander Larsson * libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_scroll_to_icon): Force any scheduled relayout to run before scrolling. 2003-09-27 James Willcox * src/file-manager/fm-directory-view.c: (pattern_select_response_cb) Reveal the current selection. Useful if the selected pattern is not currently visible. 2003-09-26 Dennis Cranston * src/file-manager/fm-directory-view.c: (select_pattern): HIG fixes (add a missing mnemonic and correct the widget padding) for the "Select Pattern" dialog. 2003-09-25 James Willcox * libnautilus-private/nautilus-directory.c: (nautilus_directory_match_glob): * libnautilus-private/nautilus-directory.h: * src/file-manager/fm-directory-view.c: (get_pattern_selection), (bonobo_menu_select_pattern_callback), (real_merge_menus): * src/file-manager/nautilus-directory-view-ui.xml: * src/nautilus-shell-ui.xml: Add a "Edit->Select Pattern" menu entry 2003-09-25 Ettore Perazzoli * src/file-manager/fm-directory-view.c (struct FMDirectoryViewDetails): Removed member display_pending_timeout_id. (schedule_timeout_display_of_pending_files): Removed. (unschedule_timeout_display_of_pending_files): Removed. (display_pending_timeout_callback): Removed. (unschedule_display_of_pending_files): Don't call unschedule_timeout_display_of_pending_files() since it's gone. (queue_pending_files): Schedule an idle display only if we are not loading, or if all the files have been seen. (finish_loading): Don't schedule a timeout display. 2003-09-22 Dave Camp * configure.in (DISABLE_DEPRECATED_CFLAGS): Removed G_DISABLE_DEPRECATED for now. 2003-09-19 Alexander Larsson * src/file-manager/fm-properties-window.c (permission_change_callback): Updated fix for bug #122537. 2003-09-19 Alexander Larsson * add-include-prefix: Fix to work correctly on MacOS X and NetBSD. Fixes bug #87835. 2003-09-19 Alexander Larsson * libnautilus-private/nautilus-file.c (nautilus_file_get_internal): Don't assert_not_reached for unsupported URIs when create == FALSE. Fixes bug #122265. 2003-09-19 Dennis Cranston * libnautilus-private/nautilus-file-operations.c: HIGify the empty trash dialog. Changes strings. 2003-09-18 Alexander Larsson * libnautilus/nautilus-view-standard-main.c (nautilus_view_instrument_for_failure): Correctly remove nautilus_view_never_got_frame_timeout timeout on destroy. Fixes #120904, thanks to Narayana Pattipati for diagnosing this. 2003-09-18 Alexander Larsson * src/file-manager/fm-properties-window.c (permission_change_callback): Fix compilation error (bug #122537). Patch by david.hawthorne@sun.com 2003-09-18 Alexander Larsson * src/nautilus-property-browser.c (make_properties_from_directories): Only add eraser for emblems browser. 2003-09-18 Alexander Larsson * src/nautilus-window-manage-views.c (begin_location_change): Check for content_view != NULL before saving current location the old view might have failed. Fixes bug #119407. Thanks to Narayana Pattipati for discovering this. 2003-09-18 Alexander Larsson * src/nautilus-main.c (main): Call gnome_vfs_shutdown before unreffing application to avoid crashes on shutdown. Patch by Martin Wehner 2003-09-16 Alexander Larsson * cut-n-paste-code/gsequence/gsequence.c: Patch from Soeren Sandmann to fix removes. Thanks to Martin Wehner for tracking this down. 2003-09-11 Mathieu Lacage * src/file-manager/fm-properties-window.c: add a wait cursor during permission change. This is most useful when changing the permission a big group of files. 2003-09-11 Bastien Nocera * libnautilus-private/nautilus-volume-monitor.c: (get_iso9660_volume_name_data_track_offset), (get_iso9660_volume_name): get the volume name correctly on CDs where the data track is not the first track (Linux only) === nautilus 2.4.0 === 2003-09-08 Alexander Larsson * AUTHORS: * THANKS: * README: Updated for 2.4.0 2003-09-08 Alexander Larsson * NEWS: * configure.in: 2.4.0 2003-09-05 Miguel Ibarra * configure.in (HAVE_STARTUP_NOTIFICATION): If found, libstartup-notification is added to the extra core modules list. 2003-09-05 Alexander Larsson * src/nautilus-application.c (migrate_old_nautilus_files): Don't migrate .gnome-desktop if its a symlink. 2003-09-05 Alexander Larsson * src/file-manager/fm-desktop-icon-view.c (realized_callback): Hack to workaround messed up desktop icons. 2003-09-02 Frederic Crozat * libnautilus-private/nautilus-icon-factory.c: (nautilus_remove_icon_file_name_suffix): Handle xpm icons in .desktop correctly (mdk bug 4453) 2003-09-02 Frederic Crozat * libnautilus-private/.cvsignore: quiet CVS.. * libnautilus-private/nautilus-file.c: (get_real_name): convert user real name to UTF-8 if needed (fix Mdk bug 4939) === nautilus 2.3.90 === 2003-09-02 Alexander Larsson * NEWS: * configure.in: 2.3.90 2003-09-01 Alexander Larsson * libnautilus-private/nautilus-file.c (nautilus_file_invalidate_attributes_internal): Don't invalidate attributes for NautilusDesktopIconFiles, since they are always up to date (being in-memory objects). This fixes the problem where the trash and/or home icons became unusable with the default icon. 2003-08-29 Alexander Larsson * components/tree/nautilus-tree-view.c (theme_changed_callback): Don't set theme if model is NULL. 2003-08-27 Alexander Larsson * libnautilus-private/nautilus-directory-async.c: * libnautilus-private/nautilus-directory-private.h: New function nautilus_set_kde_trash_name. Auto hide KDE trash dir in desktop dir * libnautilus-private/nautilus-directory.[ch]: New function nautilus_directory_is_desktop_directory() * libnautilus-private/nautilus-file-utilities.[ch]: * libnautilus-private/nautilus-file.c: Tweak the is_desktop_directory a bit so it works for both Files and Directories. * src/nautilus-application.c: On initialization, read the kde config to figure out the kde trash directory name. === nautilus 2.3.9 === 2003-08-25 Alexander Larsson * NEWS: * configure.in: 2.3.9 2003-08-22 Dave Camp * components/tree/nautilus-tree-view.c: (show_selection_idle_callback), (schedule_show_selection), (row_loaded_callback), (create_tree), (load_location_callback), (nautilus_tree_view_dispose): Remove the show_selection idle handler if the view goes away, and chain up in the dispose handler. Fixes #119150. 2003-08-20 Dave Camp * libnautilus-private/nautilus-icon-container.c: (set_keyboard_rubberband_start), (clear_keyboard_rubberband_start), (get_rubberband), (keyboard_move_to), (keyboard_home), (keyboard_end), (keyboard_arrow_key), (select_matching_name), (select_previous_or_next_icon), (button_press_event), (nautilus_icon_container_clear), (icon_destroy): * libnautilus-private/nautilus-icon-private.h: Make shift+keynav select icons in a rectangle. Fixes #48403. 2003-08-14 Christian Rose * configure.in: Added "ne" to ALL_LINGUAS. 2003-08-08 Dave Camp * src/nautilus-window-manage-views.c: (determined_initial_view_callback): Improved error string for missing proxy hostnames. Patch from Christophe Fergeau 2003-08-08 Alexander Larsson * libnautilus-private/nautilus-icon-container.c (key_press_event): * src/nautilus-location-bar.c (entry_would_have_inserted_characters): Handle keypad navigation keys too. === nautilus 2.3.8 === 2003-08-08 Alexander Larsson * NEWS: Update * configure.in: Require new eel, bump to 2.3.8 2003-08-04 Dave Camp * libnautilus-private/nautilus-desktop-directory.c (desktop_finalize): Free the details after its members. Patch from Joe Marcus Clarke 2003-08-04 Dave Camp * libnautilus-private/nautilus-file-operations.c: (handle_new_folder_vfs_error): Use the parent_view's toplevel for the dialog rather than the view itself. 2003-07-25 Chris Altmann * src/file-manager/fm-properties-window.c (struct FMPropertiesWindowDetails), (create_basic_page), (select_image_button_callback): Track opening and closing of icon_selector window, resuse existing window if user clicks "Select Custom Icon" multiple times and close it if the proerties window is closed. Fixes bug #118135 2003-07-20 Fredrik Jösson * src/file-manager/fm-directory-view.c: move g_slist_free further down to prevent crash. 2003-08-01 James Willcox * libnautilus-private/apps_nautilus_preferences.schemas.in: Fix a typo. Bug #116843. * components/emblem/nautilus-emblem-view.c: When adding emblems, give people a chance to rename invalid keywords instead of just bombing out. Fixes #104169. 2003-07-30 Padraig O'Briain * libnautilus-private/nautilus-icon-canvas-item.c (nautilus_icon_canvas_item_accessible_create): See role to ICON instead of LABEL. Correct setting of role. (Fixes #118251) 2003-07-27 Bastien Nocera * src/nautilus-shell-ui.xml: show the "Write to CD" label as priority in the nautilus toolbar when we're in burn:/// easier to find out for the users (Closes: #110427) Tue Jul 22 16:34:10 2003 George Lebl * libnautilus-private/nautilus-global-preferences.c (import_old_preferences_if_needed): Don't import a preference if we can't write the new value * libnautilus-private/nautilus-sound.c (nautilus_sound_init) (nautilus_sound_kill_sound) (nautilus_sound_register_sound) (nautilus_sound_can_play_sound): If we can't write the current sound state key, don't allow the sound preview since we won't be able to kill the preview process later, and don't set the sound state key if not writable. * src/nautilus-shell.c (save_window_states): If we can't save the start state, don't save it then. * src/nautilus-window.c (side_pane_size_allocate_callback) (side_pane_switch_page_callback) (nautilus_window_hide_location_bar) (nautilus_window_show_location_bar) (nautilus_window_hide_toolbar) (nautilus_window_show_toolbar) (nautilus_window_hide_sidebar) (nautilus_window_show_sidebar) (nautilus_window_hide_status_bar) (nautilus_window_show_status_bar): When we can't write the preference of the start state, don't set it. 2003-07-21 Dave Camp * configure.in: * NEWS: Bumped to 2.3.7. 2003-07-20 Dave Camp * libnautilus-private/nautilus-link-desktop-file.c: (nautilus_link_desktop_file_local_create), (nautilus_link_desktop_file_local_create_from_gnome_entry): * libnautilus-private/nautilus-link-desktop-file.h: * libnautilus-private/nautilus-link.c: (nautilus_link_local_create), (nautilus_link_local_create_from_gnome_entry): * libnautilus-private/nautilus-link.h: * src/file-manager/fm-icon-view.c: (icon_view_handle_uri_list): Pass the screen number when creating nautilus links, fixes #117946 2003-07-19 Dennis Cranston * icons/Makefile.am: Added window icon for the File Management capplet. * icons/nautilus-file-management-properties.png: New file. Thu Jul 17 15:32:55 2003 George Lebl * src/file-manager/fm-icon-view.c (play_file): when the playing command can't be run, or the file can't be opened don't return into the parent process from the child and do weird things, but exit. Also if the fork fails don't set the sound pid to -1 (and later try to kill it). 2003-07-09 Johan Dahlin * src/file-manager/fm-properties-window.c: Add support for total size and total count for multi-file property dialogs. 2003-07-08 Alexander Larsson * libnautilus-private/nautilus-directory-async.c: (is_needy): Skip assert for commonly run code. * libnautilus-private/nautilus-file-utilities.[ch]: (desktop_dir_changed_callback), (nautilus_is_desktop_directory_escaped): New function nautilus_is_desktop_directory_escaped to handle faster check if file is desktop dir. * libnautilus-private/nautilus-file.c: (nautilus_file_info_missing), (compare_by_display_name), (file_is_desktop), (nautilus_file_get_display_name_collation_key), (nautilus_file_get_display_name_nocopy), (nautilus_file_get_file_type): Some micro-optimizations. Faster file_is_desktop * libnautilus-private/nautilus-icon-canvas-item.c: (nautilus_icon_canvas_item_invalidate_bounds_cache), (nautilus_icon_canvas_item_invalidate_label_size), (nautilus_icon_canvas_item_set_image), (nautilus_icon_canvas_item_set_emblems), (nautilus_icon_canvas_item_set_attach_points), (nautilus_icon_canvas_item_set_embedded_text_rect), (nautilus_icon_canvas_item_bounds): Cache bounds calculation. Invalidate when needed. 2003-07-08 Alexander Larsson * libnautilus-private/nautilus-icon-factory.c (create_normal_cache_icon): Don't leak pixbuf. 2003-07-07 Anders Carlsson * src/file-manager/fm-directory-view.c: (set_script_environment_variables): Make scripts work better for files on NFS. 2003-07-07 Alexander Larsson Patch from XD2. * libnautilus-private/nautilus-volume-monitor.c: (update_removable_volumes), (fstab_monitor_callback), (nautilus_volume_monitor_init), (nautilus_volume_monitor_class_init), (nautilus_volume_monitor_dispose), (floppy_sort): * libnautilus-private/nautilus-volume-monitor.h: Monitor fstab * src/file-manager/fm-desktop-icon-view.c: (fm_desktop_icon_view_init), (removable_volumes_changed_callback), (mount_or_unmount_removable_volume): Update disks menu when removable disks change. 2003-07-07 Alexander Larsson * libnautilus-private/nautilus-link-desktop-file.c (nautilus_link_desktop_file_get_link_icon_from_desktop): Return icon name instead of resolved absolute filename. 2003-07-07 Alexander Larsson * docs/Makefile.am (EXTRA_DIST): * docs/nautilus-internals.sxw: * docs/nautilus-internals.pdf: Added source and prerendered version 2003-07-05 Dave Camp * libnautilus-private/nautilus-icon-container.c: (nautilus_icon_container_update_scroll_region): Assume a (0, 0) scroll origin in automatic layout. This fixes the worst of the gutter-on-the-right-side problems. 2003-07-05 Dave Camp * libnautilus-private/apps_nautilus_preferences.schemas.in: Turn on sort_directories_first by default, and show no additional data in the icon view by default. 2003-07-05 Dave Camp * libnautilus-private/apps_nautilus_preferences.schemas.in: * src/nautilus-application.c: (migrate_old_nautilus_files): A bunch of string fixes from Christian Rose and Reinout van Schouwen . 2003-07-05 Dave Camp * libnautilus-private/apps_nautilus_preferences.schemas.in: Fixed some long descriptions. Patch from Luca Ferretti 2003-07-05 Dave Camp * libnautilus-private/nautilus-icon-canvas-item.c (draw_or_measure_label_text): Don't add LABEL_LINE_SPACING to the total height if there is no additional text. 2003-07-02 Jordi Mallach * nautilus.desktop.in: Add Encoding and fixed Terminal entries. * data/*.desktop.in: Likewise. 2003-07-02 Bastien Nocera * src/nautilus-application.c: (nautilus_application_instance_init), (check_mount_window_disabled): removed creation of new window when mounting CD-Roms, it was useless and very annoying 2003-06-29 Dave Camp * src/nautilus-view-frame.c: (nautilus_view_frame_get_first_visible_file), (nautilus_view_frame_scroll_to_file): Pass envs to the CORBA calls. 2003-06-29 Dave Camp * libnautilus-private/nautilus-icon-canvas-item.c: (real_map_pixbuf), (map_pixbuf): Try colorizing selected pixbufs with the selection color. 2003-06-29 Dafydd Harries * configure.in: Added cy (Welsh) to ALL_LINGUAS. 2003-06-28 Dave Camp * src/nautilus-zoom-control.c (nautilus_zoom_control_button_press_event): Zoom to fit when the label is clicked. 2003-06-28 Dave Camp * components/tree/nautilus-tree-view.c (add_one_volume_root): Return a value. === nautilus 2.3.6 === 2003-06-27 Dave Camp * NEWS: * configure.in: Bumped to 2.3.6 2003-06-27 Alexander Larsson * components/tree/nautilus-tree-view.c: (create_tree): * libnautilus-private/nautilus-directory-async.c: (should_skip_file), (dequeue_pending_idle_callback), (remove_callback), (file_list_cancel), (count_non_skipped_files), (read_dot_hidden_file), (start_monitoring_file_list), (deep_count_one), (mime_list_one): * libnautilus-private/nautilus-directory-private.h: * libnautilus-private/nautilus-directory.c: (nautilus_directory_init), (nautilus_directory_finalize): * libnautilus-private/nautilus-file.c: (is_file_hidden), (nautilus_file_should_show): Implement .hidden files, synchronosly, for file:// only. * components/tree/nautilus-tree-view.c (create_tree): Change root name to "Filesystem" 2003-06-27 Dave Camp * src/file-manager/fm-desktop-icon-view.c: (update_disks_menu): * src/file-manager/fm-directory-view.c: (update_scripts_menu), (paste_clipboard_data), (paste_clipboard_received_callback), (paste_into_clipboard_received_callback), (paste_files_callback), (paste_files_into_callback), (real_merge_menus), (clipboard_targets_received), (real_update_menus): * src/file-manager/fm-icon-view.c: (fm_icon_view_merge_menus): * src/file-manager/nautilus-shell-ui.xml: * src/file-manager/nautilus-directory-view-ui.xml: Trimmed up the context menu, and changed the New items to be Open (for things that create windows) and Create (for things that create files). 2003-06-27 Alexander Larsson * components/tree/nautilus-tree-model.c (nautilus_tree_model_get_flags): Mark model as ITERS_PERSIST. 2003-06-27 Alexander Larsson Patch by Soren Sandmann * configure.in: CFLAGS for gsequence * cut-n-paste-code/Makefile.am: * cut-n-paste-code/gsequence/.cvsignore: * cut-n-paste-code/gsequence/Makefile.am: * cut-n-paste-code/gsequence/gsequence.[ch]: New cut-n-paste lib for gsequence (by Soren Sandmann) * src/Makefile.am: Link to gsequence * src/file-manager/fm-list-model.c: Use gsequence plus a reverse mapping hashtable. 2003-06-27 Alexander Larsson This is based on a patch by Jürg Billeter which was partly based on a patch by Wolfgang Pichler . * components/tree/nautilus-tree-model.[ch]: Support multiple roots. New row_loaded signal that gets fired when a directory has been fully loaded. New font-weight column. * components/tree/nautilus-tree-view.c: Remove tree expansion. Populate multiple roots: ~/, / and mounted removable media. Tree follows view uri. * libnautilus-private/nautilus-desktop-link-monitor.c: (create_volume_link), (nautilus_desktop_link_monitor_init), (desktop_link_monitor_finalize): Kill black_list, its moved to nautilus-volume-manager. * libnautilus-private/nautilus-desktop-link.c: (nautilus_desktop_link_new_from_volume): Move get_icon_for_volume to nautilus-volume-manager * libnautilus-private/nautilus-tree-view-drag-dest.c: (file_for_path), (get_drop_target): Handle NULL for root_uri, meaning drops on the background are not allowed. * libnautilus-private/nautilus-volume-monitor.[ch]: (nautilus_volume_get_icon), (nautilus_volume_is_in_removable_blacklist): Add get_icon and the removable media blacklist. 2003-06-26 James Willcox * src/nautilus-property-browser.c: (emblem_dialog_clicked): Correct "~/.gnome-desktop" to "~/Desktop" in the docs for the /apps/nautilus/preferences/show_desktop key. Fixes #114624. * libnautilus-private/apps_nautilus_preferences.schemas.in: Refresh the emblem list after adding the new custom emblem. Fixes #104238. 2003-06-26 Mohammad DAMT * po/id.po: Added Indonesian translation by Yohanes Nugroho * configure.in: Added "id" to ALL_LINGUAS 2003-06-25 David Bordoley * src/nautilus-shell.c: (open_window): Prefer an existing window for a location when opening a location from the command line and the user's preference is open in new window mode. === nautilus 2.3.5 === 2003-06-23 Dave Camp * NEWS * configure.in: Bumped version to 2.3.5. 2003-06-22 Dave Camp * libnautilus-private/nautilus-file.c: (nautilus_file_get_volume_free_space): Handle NULL vfs uris (such as desktop links). 2003-06-22 Dave Camp * libnautilus-private/nautilus-desktop-link.c: (nautilus_desktop_link_rename): Set the trash gconf key instead of the home key when renaming the trash. 2003-06-21 Dave Camp * src/nautilus-file-management-properties.c: (nautilus_file_management_properties_dialog_setup): * src/nautilus-file-management-properties.glade: Removed "Manual Layout" and "Sort in Reverse" from the properties dialog, and moved "Text beside icons" to the Icon View section. 2003-06-20 Bastien Nocera * configure.in: fix build 2003-06-17 Kenneth Rohde Christiansen * configure.in: Added 'li' to ALL_LINGUAS. 2003-06-15 Mark McLoughlin * libnautilus-private/nautilus-directory-background.c: (image_loading_done_callback): create a 1x1 pixmap with the background colour and set _XROOTPMAP_ID when we have a solid colour background. Fixes panel translucency with solid colour backgrounds. 2003-06-16 Taneem Ahmed * configure.in: Added "bn" to ALL_LINGUAS. 2003-06-15 Frederic Crozat * configure.in: Remove -Wsign-promo and add -Wno-strict-aliasing to the list of options to test for. Fixes the gcc 3.3 aliasing warnings. * libnautilus-private/nautilus-file.c: (nautilus_file_compare_for_sort_internal): * libnautilus-private/nautilus-icon-factory.c: (nautilus_get_icon_size_for_zoom_level): gcc 3.3 doesn't like g_return_val_if_fail (FALSE, ...). Use g_return_val_if_reached instead. 2003-06-12 Anders Carlsson * configure.in: Remove nonexistant throbber directories. 2003-06-12 Alexander Larsson * components/tree/nautilus-tree-model.c: (set_theme), (nautilus_tree_model_set_theme): * components/tree/nautilus-tree-model.h: * components/tree/nautilus-tree-view.c: (theme_changed_callback), (nautilus_tree_view_instance_init): Correctly handle icon theme changes. Based on patch by muktha.narayan@wipro.com Fixes #99000 2003-06-12 Alexander Larsson * libnautilus-private/nautilus-icon-canvas-item.c (nautilus_icon_canvas_item_draw): Only draw exposed area. Patch from sandmann@daimi.au.dk 2003-06-12 Alexander Larsson * libnautilus-private/nautilus-file.c (nautilus_file_fit_date_as_string): Don't call gettext on NULL string. Patch from hidetoshi.tajima@sun.com Fixes #113930 2003-06-11 Alexander Larsson * src/file-manager/fm-properties-window.c (fm_properties_window_present): Handle the case when the data is alreay ready. This fixes properties on the home icon on the desktop. 2003-06-11 Alexander Larsson * src/file-manager/fm-list-view.c (fm_list_view_did_not_drag) (button_press_callback): Don't deselect multiple selected files when dragging with middle button. 2003-06-11 Alexander Larsson * icons/Makefile.am: * icons/crux_eggplant/Makefile.am: * icons/crux_eggplant/decrement-i.png: * icons/crux_eggplant/decrement.png: * icons/crux_eggplant/increment-i.png: * icons/crux_eggplant/increment.png: * icons/crux_eggplant/number_strip.png: * icons/crux_eggplant/theme_preview.png: * icons/crux_eggplant/throbber/001.png: * icons/crux_eggplant/throbber/002.png: * icons/crux_eggplant/throbber/003.png: * icons/crux_eggplant/throbber/004.png: * icons/crux_eggplant/throbber/005.png: * icons/crux_eggplant/throbber/006.png: * icons/crux_eggplant/throbber/007.png: * icons/crux_eggplant/throbber/008.png: * icons/crux_eggplant/throbber/009.png: * icons/crux_eggplant/throbber/010.png: * icons/crux_eggplant/throbber/011.png: * icons/crux_eggplant/throbber/012.png: * icons/crux_eggplant/throbber/013.png: * icons/crux_eggplant/throbber/014.png: * icons/crux_eggplant/throbber/015.png: * icons/crux_eggplant/throbber/016.png: * icons/crux_eggplant/throbber/017.png: * icons/crux_eggplant/throbber/018.png: * icons/crux_eggplant/throbber/019.png: * icons/crux_eggplant/throbber/020.png: * icons/crux_eggplant/throbber/021.png: * icons/crux_eggplant/throbber/022.png: * icons/crux_eggplant/throbber/023.png: * icons/crux_eggplant/throbber/024.png: * icons/crux_eggplant/throbber/025.png: * icons/crux_eggplant/throbber/026.png: * icons/crux_eggplant/throbber/027.png: * icons/crux_eggplant/throbber/028.png: * icons/crux_eggplant/throbber/029.png: * icons/crux_eggplant/throbber/030.png: * icons/crux_eggplant/throbber/Makefile.am: * icons/crux_eggplant/throbber/rest.png: * icons/crux_eggplant/zoom_body.png: * icons/crux_teal/Makefile.am: * icons/crux_teal/decrement-i.png: * icons/crux_teal/decrement.png: * icons/crux_teal/increment-i.png: * icons/crux_teal/increment.png: * icons/crux_teal/number_strip.png: * icons/crux_teal/theme_preview.png: * icons/crux_teal/throbber/001.png: * icons/crux_teal/throbber/002.png: * icons/crux_teal/throbber/003.png: * icons/crux_teal/throbber/004.png: * icons/crux_teal/throbber/005.png: * icons/crux_teal/throbber/006.png: * icons/crux_teal/throbber/007.png: * icons/crux_teal/throbber/008.png: * icons/crux_teal/throbber/009.png: * icons/crux_teal/throbber/010.png: * icons/crux_teal/throbber/011.png: * icons/crux_teal/throbber/012.png: * icons/crux_teal/throbber/013.png: * icons/crux_teal/throbber/014.png: * icons/crux_teal/throbber/015.png: * icons/crux_teal/throbber/016.png: * icons/crux_teal/throbber/017.png: * icons/crux_teal/throbber/018.png: * icons/crux_teal/throbber/019.png: * icons/crux_teal/throbber/020.png: * icons/crux_teal/throbber/021.png: * icons/crux_teal/throbber/022.png: * icons/crux_teal/throbber/023.png: * icons/crux_teal/throbber/024.png: * icons/crux_teal/throbber/025.png: * icons/crux_teal/throbber/026.png: * icons/crux_teal/throbber/027.png: * icons/crux_teal/throbber/028.png: * icons/crux_teal/throbber/029.png: * icons/crux_teal/throbber/030.png: * icons/crux_teal/throbber/Makefile.am: * icons/crux_teal/throbber/rest.png: * icons/crux_teal/zoom_body.png: * icons/decrement.png: * icons/default/Makefile.am: * icons/default/decrement.png: * icons/default/increment.png: * icons/default/number_strip.png: * icons/default/theme_preview.png: * icons/default/zoom_body.png: * icons/gnome/Makefile.am: * icons/gnome/theme_preview.png: * icons/gnome/throbber/001.png: * icons/gnome/throbber/002.png: * icons/gnome/throbber/003.png: * icons/gnome/throbber/004.png: * icons/gnome/throbber/005.png: * icons/gnome/throbber/006.png: * icons/gnome/throbber/Makefile.am: * icons/gnome/throbber/rest.png: * icons/increment.png: * icons/number_strip.png: * icons/sierra/Makefile.am: * icons/sierra/number_strip.png: * icons/sierra/theme_preview.png: * icons/tahoe/Makefile.am: * icons/tahoe/number_strip.png: * icons/tahoe/theme_preview.png: * icons/throbber/001.png: * icons/throbber/002.png: * icons/throbber/003.png: * icons/throbber/004.png: * icons/throbber/005.png: * icons/throbber/006.png: * icons/throbber/007.png: * icons/throbber/008.png: * icons/throbber/009.png: * icons/throbber/010.png: * icons/throbber/011.png: * icons/throbber/012.png: * icons/throbber/013.png: * icons/throbber/014.png: * icons/throbber/015.png: * icons/throbber/016.png: * icons/throbber/017.png: * icons/throbber/018.png: * icons/throbber/019.png: * icons/throbber/020.png: * icons/throbber/021.png: * icons/throbber/022.png: * icons/throbber/023.png: * icons/throbber/024.png: * icons/throbber/025.png: * icons/throbber/026.png: * icons/throbber/027.png: * icons/throbber/028.png: * icons/throbber/029.png: * icons/throbber/030.png: * icons/throbber/Makefile.am: * icons/throbber/rest.png: * icons/zoom_body.png: Remove lots of old theme stuff 2003-06-11 Alexander Larsson * acconfig.h: * configure.in: Look for libstartup-notification. * libnautilus-private/nautilus-program-choosing.c: Use libstartup-notification. Requires latest gnome-vfs. === nautilus 2.3.4 === 2003-06-10 Dave Camp * configure.in: * NEWS: Updated to 2.3.4. 2003-06-10 Alexander Larsson * libnautilus-private/nautilus-directory-background.c: Don't update the desktop background image four times for each change in the desktop directory. 2003-06-09 Dave Camp * libnautilus-private/nautilus-icon-canvas-item.c: (compute_text_rectangle), (nautilus_icon_canvas_item_update_bounds), (draw_or_measure_label_text), (measure_label_text), (draw_label_text), (nautilus_icon_canvas_item_draw), (create_label_layout), (nautilus_icon_canvas_item_bounds), (nautilus_icon_canvas_item_get_text_rectangle), (nautilus_icon_canvas_item_get_max_text_width): * libnautilus-private/nautilus-icon-canvas-item.h: * libnautilus-private/nautilus-icon-container.c: (get_grid_width), (lay_down_icons_horizontal), (nautilus_icon_container_set_label_position): * libnautilus-private/nautilus-icon-container.h: * libnautilus-private/nautilus-icon-private.h: Add a mode for text-beside-icons. * libnautilus-private/apps_nautilus_preferences.schemas.in: * libnautilus-private/nautilus-global-preferences.h: * src/file-manager/fm-desktop-icon-view.c: (fm_desktop_icon_view_class_init), (real_supports_keep_aligned), (real_supports_labels_beside_icons): * src/file-manager/fm-icon-view.c: (fm_icon_view_supports_labels_beside_icons), (real_supports_labels_beside_icons), (set_labels_beside_icons), (fm_icon_view_begin_loading), (labels_beside_icons_changed_callback), (fm_icon_view_class_init), (fm_icon_view_instance_init): * src/file-manager/fm-icon-view.h: Add a "text beside icons" preference. * src/nautilus-file-management-properties.c: (nautilus_file_management_properties_dialog_setup): * src/nautilus-file-management-properties.glade: Add the pref to the dialog. 2003-06-08 Dave Camp * components/adapter/main.c: (main): Call gnome_authentication_manager_init (). 2003-06-08 Dave Camp * src/file-manager/fm-directory-view.c: (add_bonobo_menu_ui_and_verbs): Allow the context menu to supply an icon. 2003-06-08 Dave Camp * src/file-manager/fm-properties-window.c: (create_basic_page): (get_pixbuf_for_properties_window), (update_properties_window_icon), (create_image_widget): If all files have the same icon, show that icon. (properties_window_update): Update the icon. (remove_from_dialog): Fixed a problem removing from the target file list. 2003-06-08 Dave Camp * src/nautilus-zoom-control.c: (nautilus_zoom_control_finalize), (nautilus_zoom_control_button_press_event), (zoom_out_clicked), (zoom_in_clicked), (set_label_size), (label_style_set_callback), (nautilus_zoom_control_instance_init), (nautilus_zoom_control_new), (nautilus_zoom_control_redraw), (create_zoom_menu), (nautilus_zoom_control_set_zoom_level), (nautilus_zoom_control_set_parameters), (nautilus_zoom_control_class_init), (nautilus_zoom_control_accessible_get_type): * src/nautilus-zoom-control.h: New zoom control using stock widgets. Patch from Iain Holmes . 2003-06-08 Dave Camp * src/file-manager/fm-properties-window.h: * libnautilus-private/nautilus-mime-actions.c: (has_server_info_in_list), (server_info_list_intersection), (nautilus_mime_get_property_components_for_files): * libnautilus-private/nautilus-mime-actions.h: * src/file-manager/fm-directory-view.c: (open_properties_window_callback), (open_one_in_new_window): * src/file-manager/fm-properties-window.c: (is_multi_file_window), (get_original_file), (get_target_file_for_original_file), (get_target_file), (add_prompt_and_separator), (get_pixbuf_for_properties_window), (reset_icon), (create_image_widget_for_file), (update_name_field), (name_field_restore_original_name), (name_field_done_editing), (file_has_keyword), (get_initial_emblem_state), (emblem_button_toggled), (emblem_button_update), (update_properties_window_title), (remove_from_dialog), (mime_list_equal), (get_mime_list), (properties_window_update), (file_list_attributes_identical), (file_list_get_string_attribute), (file_list_all_local), (file_list_all_directories), (value_field_update_internal), (value_field_update), (attach_value_field_internal), (attach_value_field), (attach_ellipsizing_value_field), (append_separator), (directory_contents_value_field_update), (attach_directory_contents_value_field), (append_title_value_pair), (append_title_and_ellipsizing_value), (update_visibility_of_item_count_fields), (should_show_custom_icon_buttons), (should_show_file_type), (should_show_accessed_date), (should_show_mime_type), (should_show_link_target), (should_show_free_space), (create_basic_page), (get_initial_emblems), (create_emblems_page), (permission_change_callback), (get_initial_permission_state), (permission_button_toggled), (permission_button_update), (set_up_permissions_checkbox), (add_permissions_checkbox), (append_special_execution_checkbox), (append_special_execution_flags), (all_can_get_permissions), (all_can_set_permissions), (get_initial_permissions), (create_permissions_page), (get_uri_list), (bonobo_page_activate_callback), (can_handle_multiple_files), (append_bonobo_pages), (should_show_emblems), (should_show_permissions), (get_pending_key), (startup_data_new), (startup_data_free), (create_properties_window), (get_target_file_list), (add_window), (remove_window), (get_existing_window), (cancel_create_properties_window_callback), (directory_view_destroyed_callback), (cancel_call_when_ready_callback), (remove_pending), (is_directory_ready_callback), (fm_properties_window_present), (real_destroy), (real_finalize), (set_icon_callback), (select_image_button_callback), (remove_image_button_callback): Implement multi-file property dialogs. * components/image_properties/Nautilus_View_image_properties.server .in.in: * components/image_properties/nautilus-image-properties-view.c: (nautilus_image_properties_view_finalize), (get_property), (set_property), (nautilus_image_properties_view_init): * components/notes/Nautilus_View_notes.server.in.in: * components/notes/nautilus-notes.c: (set_bonobo_properties), (make_notes_view): Use new multipage property. 2003-06-08 Greg Merchan * libnautilus-private/nautilus-program-chooser.c, src/file-manager/fm-desktop-icon-view.c, src/nautilus-bookmarks-window.c, src/nautilus-property-browser.c, src/nautilus-window-menus.c, src/nautilus-window.c, src/nautilus-file-management-properties.c, src/nautilus-server-connect.c Change GTK_BUTTONS_CLOSE to GTK_BUTTONS_OK for HIG compliance Fixes bug 112207 2003-06-06 Samúel Jón Gunnarsson * configure.in: Added "is" into ALL_LINGUAS 2003-06-04 Abel Cheung * configure.in: Removed ta (tamil) from ALL_LINGUAS. 2003-06-04 Alexander Larsson * NEWS: * configure.in: Update to 2.3.3, update requirements. 2003-05-30 Marco Pesenti Gritti * components/throbber/nautilus-throbber.c: (get_throbber_dimensions), (nautilus_throbber_instance_init), (nautilus_throbber_theme_changed), (select_throbber_image), (scale_to_real_size), (extract_frame), (nautilus_throbber_load_images), (nautilus_throbber_finalize): Use gnome-spinner icons from gnome-icon-theme. Extract the images from a grid instead of using an icon for each frame. It's necessary to install a recent gnome icon theme cvs to have throbber working. 2003-05-30 Stephen Browne * src/Nautilus_shell.server.in: added x-directory/smb-share to both icon and list view supported mime-types 2003-05-27 Pasupathi Duraisamy * src/file-manager/fm-list-view.c: Fixes spacebar keynav issue. Bugzilla bug #102259 2003-05-26 Anders Carlsson * libnautilus-private/Makefile.am: * libnautilus-private/nautilus-authn-manager.c: * libnautilus-private/nautilus-authn-manager.h: * src/nautilus-application.c: (finish_startup): Use the authentication manager from libgnomeui instead. 2003-05-26 Pasupathi Duraisamy * libnautilus/Makefile.am: link only dependent libraries. Patch reviewed by: Alexander Larsson 2003-05-26 Alexander Larsson Patch by Christian Neumair * src/nautilus-bookmarks-window.glade: * src/nautilus-file-management-properties.glade: * src/nautilus-server-connect.glade: Some HIG changes wrt spacing * src/file-manager/fm-properties-window.c: * src/nautilus-property-browser.c: Small string changes. 2003-05-26 Alexander Larsson * src/nautilus-bookmarks-window.c (repopulate): row_activated_signal_id is on the bookmar_list_widget object and nothing else. 2003-05-23 Alexander Larsson * libnautilus-private/nautilus-desktop-icon-file.c: Don't ref directory twice. Rename finalizer. * libnautilus-private/nautilus-desktop-link-monitor.c: unref monitor on shutdown Unref correct object in finalize * libnautilus-private/nautilus-desktop-link.c: unref icon file in finalizer. 2003-05-23 Alexander Larsson * libnautilus-private/nautilus-desktop-link-monitor.c (create_volume_link): Fix the volume uniquification code. 2003-05-23 Alexander Larsson * src/file-manager/fm-icon-view.c (fm_icon_view_screen_changed): Update the per-screen filtering when the view changes screens. This was needed to fix multihead desktops, since the BonoboPlug initially realizes on the wrong screen, and gets moved to the right screen when the window is mapped. 2003-05-20 Dave Camp * src/file-manager/fm-list-model.c: (each_path_get_data_binder): * src/file-manager/fm-list-view.c: (get_drag_pixbuf), (motion_notify_callback): Don't use the pointer offset when setting the drag icon. 2003-05-20 Alexander Larsson * src/nautilus-application.c (get_desktop_manager_selection, nautilus_application_create_desktop_windows): Get the _NET_DESKTOP_MANAGER selection before creating desktop window. 2003-05-19 Christophe Merlet * THANKS: Updated my email. === nautilus 2.3.2 === 2003-05-19 Alexander Larsson * NEWS: * configure.in: Bump to 2.3.2. 2003-05-19 Alexander Larsson * src/file-manager/fm-icon-view.c (play_file): mp3 mimetype is now audio/mpeg. 2003-05-18 Dave Camp * libnautilus-private/nautilus-file.c (nautilus_file_get_internal): Use eel_uris_match() instead of strcmp(). 2003-05-16 Dave Camp * src/file-manager/fm-list-view.c (popup_menu_callback): Return TRUE. 2003-05-16 Dave Camp * libnautilus-private/nautilus-emblem-utils.c: (is_reserved_keyword), (nautilus_emblem_should_show_in_list): Add the desktop emblem. * libnautilus-private/nautilus-file-utilities.c: (nautilus_get_desktop_directory_uri_no_create): (get_desktop_path): New functions. (nautilus_get_desktop_directory), (nautilus_get_desktop_directory_uri): Use get_desktop_path() * libnautilus-private/nautilus-file-utilities.h: * libnautilus-private/nautilus-file.h: * libnautilus-private/nautilus-file.c: (file_is_desktop), (get_automatic_emblems_as_integer), (prepend_automatic_emblem_names): Add a desktop emblem to the desktop directory. 2003-05-16 Alexander Larsson * src/nautilus-application.c (migrate_old_nautilus_files): Migration of old .gnome-desktop. 2003-05-16 Padraig O'Briain * src/file-manager/fm-list-view.c: Use the signal "popup_menu" to handle Shift+F10 instead of doing it in "key_press_event" signal handler. This fixes bug #103348. 2003-05-16 Padraig O'Briain * libnautilus-private/nautilus-program-chooser.c: (nautilus_program_chooser_instance_init): Add calls to gtk_label_set_mnemonic_widget so that ATK relation label-for and labelled-by will exist when accessibiity is enabled. This fixes bug #79059. 2003-05-16 Anders Carlsson * src/nautilus-zoom-control.c: (draw_number), (draw_pixbuf): Replace deprecated calls to gdk_pixbuf_render_to_drawable_alpha with calls to gdk_draw_pixbuf. 2003-05-15 Alexander Larsson * libnautilus-private/Makefile.am: Added new files. * libnautilus-private/apps_nautilus_preferences.schemas.in: * libnautilus-private/nautilus-global-preferences.[ch]: New prefs for home and trash links. * libnautilus-private/nautilus-desktop-directory.[ch]: New files. Implements the NautilusDesktop object for the virtual x-nautilus-desktop: uri. The directory merges the contents of the directory with the real desktop directory. * libnautilus-private/nautilus-desktop-directory-file.[ch]: New files. Implements the Nautilusfile corresponding to NautilusDestkopDirectory. * libnautilus-private/nautilus-desktop-icon-file.[ch]: New files. Implement NautilusFile for a virtual file in a NautilusDesktopDirectory. Gets all the actual file data from a NautilusDesktopLink. * libnautilus-private/nautilus-desktop-link-monitor.[ch]: New files. Keep track of home and trash visibility prefs and mounted volumes and create/destroy corresponding NautilusDesktopLink object. * libnautilus-private/nautilus-desktop-link.[ch]: New files. Keeps track of all the real information in a desktop icon link. These are home, trash and volume links at the moment. * libnautilus-private/nautilus-directory-async.c: Indentation correction. * libnautilus-private/nautilus-directory.c: (nautilus_directory_new): Create NautilusDesktopDirectory objects for x-nautilus-desktop: uris * libnautilus-private/nautilus-dnd.c: (nautilus_drag_items_local): Handle NULL GnomeVFSURIs. (nautilus_drag_items_on_desktop): New function to check if items are on the desktop. (nautilus_drag_default_drop_action_for_icons): Special case desktop uris. (nautilus_drag_selection_includes_special_link): Convert from old-style special links to current. * libnautilus-private/nautilus-dnd.h: New function nautilus_drag_items_on_desktop. * libnautilus-private/nautilus-file-operations.c: (is_special_link), (nautilus_file_operations_copy_move): Convert from old-style special links to current. (nautilus_file_operations_delete): Special case desktop links * libnautilus-private/nautilus-file-utilities.[ch]: (nautilus_get_desktop_directory): (nautilus_get_gmc_desktop_directory): Change desktop dir to ~/Desktop (nautilus_get_desktop_directory_uri): New function to return desktop dir as a uri. * libnautilus-private/nautilus-file.c: (nautilus_file_new_from_relative_uri), (nautilus_file_get_internal): Handle creation of desktop icon files. (nautilus_file_can_rename), (rename_guts), (nautilus_file_get_drop_target_uri): Update for new special links. (nautilus_file_is_in_desktop): Update for new desktop dir. (nautilus_file_get_uri): Fix uris for self owned files. This changed due to the new canonicalization rules for foo: * libnautilus-private/nautilus-icon-dnd.c: (nautilus_icon_container_selection_items_local), (handle_nonlocal_move): Handle desktop uri. * src/Nautilus_shell.server.in: icon view handles x-nautilus-desktop: uris * src/nautilus-application.c: (finish_startup): Initialize the desktop link monitor * src/nautilus-desktop-window.c: (nautilus_desktop_window_update_directory): Show x-nautilus-desktop: * src/file-manager/fm-desktop-icon-view.c: (fm_desktop_icon_view_finalize), (fm_desktop_icon_view_init), (volume_ops_callback), (trash_link_is_selection), (volume_link_is_selection), (volume_link_device_type), (real_supports_zooming): * src/file-manager/fm-directory-view.c: Remove lots of old support for desktop icon. Reimplement some of it with the new desktop icon support. * src/file-manager/fm-directory-view.h: New function fm_directory_view_get_backing_uri * src/file-manager/fm-icon-container.c: (fm_icon_container_get_icon_text): Don't show extra text for desktop icons (get_sort_category): Update for new desktop icons * src/file-manager/fm-icon-view.c: (icon_view_handle_uri_list): Use get_backing_uri() * src/file-manager/fm-properties-window.c: (get_target_file): Use the new desktop icon support. * libnautilus-private/nautilus-icon-container.c: (lay_down_icons_tblr): Don't loop forever if icon doesn't in the height of the container. 2003-05-14 Gaute Lindkvist * libnautilus-private/nautilus-icon-canvas-item.c Fixes bug #112830 by adding pixels for the area to be redrawed 2003-05-06 Alexander Larsson Patch from danny_milo@yahoo.com. * src/nautilus-zoom-control.c (nautilus_zoom_control_scroll_event, nautilus_zoom_control_class_init): Handle scroll wheel events. 2003-05-06 Danilo Å egan * configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS. 2003-05-05 Alexander Larsson * libnautilus-private/apps_nautilus_preferences.schemas.in: Disable directory_limit. === nautilus 2.3.1 === 2003-05-05 Alexander Larsson * NEWS: Update * configure.in: Bump version Bump requirements for eel, gnome-vfs, bonoboui 2003-05-05 Alexander Larsson * src/nautilus-shell-ui.xml: Make Go to CD burner a command * src/nautilus-window-menus.c (nautilus_window_initialize_menus_part_1): Hide Go to CD burner if burn: not availible. * docs/style-guide.html: Clarify the change. We still have to declare variables at the beginning of a block. 2003-05-05 Alexander Larsson * HACKING: Add some text about patch submission. 2003-05-03 Dave Camp * components/hardware/nautilus-hardware-view.c: (nautilus_hardware_view_drag_data_received): Updated to (sort of) new EelBackground api. 2003-05-03 Dave Camp * libnautilus-private/nautilus-icon-container.c: (icon_set_size), (icon_toggle_selected), (snap_position), (compare_icons_by_position), (placement_grid_new), (placement_grid_free), (placement_grid_position_is_free), (placement_grid_mark), (canvas_position_to_grid_position), (placement_grid_mark_icon), (find_empty_location), (align_icons), (lay_down_icons_tblr), (nautilus_icon_container_move_icon), (destroy), (update_stretch_at_idle), (undo_stretching), (nautilus_icon_container_unstretch), (nautilus_icon_container_is_keep_aligned), (align_icons_callback), (unschedule_align_icons), (schedule_align_icons), (nautilus_icon_container_set_keep_aligned): * libnautilus-private/nautilus-icon-container.h: * libnautilus-private/nautilus-icon-dnd.c: (handle_local_move): * libnautilus-private/nautilus-icon-private.h: * libnautilus-private/nautilus-metadata.h: * src/file-manager/fm-desktop-icon-view.c: (fm_desktop_icon_view_class_init), (real_supports_auto_layout), (real_supports_keep_aligned): * src/file-manager/fm-icon-view.c: (fm_icon_view_supports_keep_aligned), (update_layout_menus), (get_default_directory_keep_aligned), (fm_icon_view_get_directory_keep_aligned), (fm_icon_view_set_directory_keep_aligned), (real_supports_keep_aligned), (fm_icon_view_begin_loading), (keep_aligned_state_changed_callback), (fm_icon_view_merge_menus), (fm_icon_view_reset_to_defaults), (fm_icon_view_class_init): * src/file-manager/fm-icon-view.h: * src/file-manager/nautilus-icon-view-ui.xml: Implemented a "Keep Aligned" mode on the desktop, that snaps icons to a grid. 2003-05-03 Masahiro Sakai * configure.in: Call AC_LIBTOOL_WIN32_DLL which is necessary for building shared library on win32 platform. Check fstab.h. * components/emblem/Makefile.am (libnautilus_emblem_view_la_LDFLAGS): * components/history/Makefile.am (libnautilus_history_view_la_LDFLAGS): * components/image_properties/Makefile.am (libnautilus_image_properties_view_la_LDFLAGS): * components/notes/Makefile.am (libnautilus_notes_view_la_LDFLAGS): * components/tree/Makefile.am (libnautilus_tree_view_la_LDFLAGS): * libnautilus/Makefile.am (libnautilus_la_LDFLAGS): * libnautilus-adapter/Makefile.am (libnautilus_adapter_la_LDFLAGS): * libnautilus-private/Makefile.am (libnautilus_private_la_LDFLAGS): Add -no-undefined which is necessary for building shared library on some platforms (e.g. Win32, BeOS, etc). * libnautilus-adapter/Makefile.am (libnautilus_adapter_la_LIBADD): Fix library order. libnautilus.la should be ahead of other libraries that libnautilus.la depends on. * libnautilus-private/nautilus-volume-monitor.c: Include fstab.h conditionaly. Define MOUNT_TABLE_PATH as MOUNTED on cygwin. (get_removable_volumes, volume_is_removable, get_mount_list) Use endmntent() to close a file opened by setmntent(). Because using fclose() causes a crash on cygwin. 2003-04-30 Alexander Larsson * docs/style-guide.html: Remove the all-declarations-on-top rule. 2003-04-28 Alexander Larsson Based on a patch by Frank Worsley * libnautilus-private/nautilus-program-chooser.[ch]: (nautilus_program_chooser_show_no_choices_message), (nautilus_program_chooser_show_invalid_message): Added the term 'action' to the dialogs when there is no default application or component. * libnautilus-private/nautilus-program-choosing.[ch]: (application_cannot_open_location), (nautilus_launch_show_file), (nautilus_launch_action), (nautilus_launch_application): Updated to use the new gnome-vfs functions and error codes. * src/file-manager/fm-directory-view.c: (fm_directory_view_launch_application), (activate_callback), (activate_activation_uri_ready_callback), (cancel_activate_callback), (fm_directory_view_activate_file): Cleaned up to properly support the new gnome-vfs functionality and an external component viewer. Also fixed to get activation uri for a file and then retrieve properties for the activation uri not the file that was clicked (fixes #42391). 2003-04-25 Michael Meeks * src/nautilus-view-frame.c (nautilus_view_frame_get_first_visible_file), (nautilus_view_frame_scroll_to_file): add some pre-conditions. 2003-04-23 Dave Camp * src/file-manager/fm-properties-window.c: (create_emblems_page): Modify emblems on the original_file, not the target_file. 2003-04-23 Alexander Larsson * src/file-manager/fm-list-view.c (key_press_callback): * libnautilus-private/nautilus-icon-container.c (key_press_event): * docs/key_mouse_navigation.txt (Keyboard): Bring up context menu is Ctrl-F10, not Shift-F9 2003-04-23 Glynn Foster * src/nautilus-bookmarks-window.c: (nautilus_bookmarks_window_response_callback), (create_bookmarks_window), (go_to_selected_bookmark), (on_jump_button_clicked), (on_row_activated), (on_selection_changed), (repopulate): * src/nautilus-bookmarks-window.glade: Add navigation to the bookmarks editor and changed UI to be more inline with the Epiphany bookmarks dialog. Fixes bug #47180. 2003-04-23 Alexander Larsson * src/file-manager/fm-desktop-icon-view.c (volume_ops_callback): Check for file: instead of is_local when verifying a volume desktop file is ok. Fixes bug #98306. 2003-04-23 Alexander Larsson Patch from Michael Meeks in bug #87414. * src/nautilus-window.c (nautilus_window_finalize): NULL various pointers to help debugging. (nautilus_window_ui_thaw, nautilus_window_ui_freeze): hold a reference on the window over the various re-enterancy points guarded by the freeze / thaw. 2003-04-23 Alexander Larsson * libnautilus-private/Makefile.am: * libnautilus-private/apps_nautilus_preferences.schemas: * libnautilus-private/apps_nautilus_preferences.schemas.in: Mark schema for translation. 2003-04-23 Alexander Larsson * src/nautilus-window-menus.c (view_menu_zoom_normal_callback): Do a zoom to 100%, not a best-fit. Fixes bug #109413, patch by Jens Finke. 2003-04-23 Alexander Larsson AIX port from Laurent.Vivier@bull.net (Laurent Vivier) * configure.in: Look for popt and some aix headers * components/hardware/Nautilus_View_hardware.server.in.in: Fix up LIBEXECDIR reference * components/history/nautilus-history-view.c: * components/notes/nautilus-notes.c: * components/throbber/nautilus-throbber.c: * libnautilus-private/nautilus-icon-canvas-item.c: * libnautilus-private/nautilus-icon-container.c: * libnautilus-private/nautilus-icon-dnd.c: * libnautilus-private/nautilus-program-chooser.c: * libnautilus-private/nautilus-volume-monitor.h: * src/nautilus-applicable-views.h: * src/nautilus-property-browser.c: * src/nautilus-sidebar-title.c: * src/file-manager/fm-directory-view.c: * test/test-nautilus-preferences-change.c: (main): * test/test.c: (test_quit): Fix c++ comments and commas at end of enums. Move math.h includes to top. * data/Makefile.am: Remove duplicate definitions * libnautilus-adapter/Makefile.am: * libnautilus-private/Makefile.am: * libnautilus/Makefile.am: Add correct libs * libnautilus-private/nautilus-file-private.h: Bitfields can't be enums. * libnautilus-private/nautilus-volume-monitor.c: Implement AIX support. * src/Makefile.am: Add POPT_FLAGS 2003-04-16 Alexander Larsson * src/nautilus-information-panel.c: (burn_cd_callback), (nautilus_information_panel_update_buttons): * src/nautilus-shell-ui.xml: * src/nautilus-window-manage-views.c: (update_burn_cd_items), (update_for_new_location): * src/nautilus-window-menus.c: (file_menu_burn_cd_callback), (go_menu_go_to_burn_cd_callback), (nautilus_window_initialize_menus_part_1): * src/nautilus-window-private.h: * src/nautilus-window.c: (nautilus_window_constructed), (nautilus_window_allow_reload), (nautilus_window_allow_burn_cd): * src/nautilus-window.h: Add the nautilus-cd-burner integration patch from RH. 2003-04-16 Alexander Larsson * cut-n-paste-code/libegg/Makefile.am: * cut-n-paste-code/libegg/egg-recent-vfs-util.c: * cut-n-paste-code/libegg/egg-recent-vfs-util.h: Remove old files * cut-n-paste-code/libegg/egg-recent-item.c: (egg_recent_item_set_uri), (egg_recent_item_get_uri_for_display): * cut-n-paste-code/libegg/egg-recent-model.c: (egg_recent_model_update_item), (egg_recent_model_filter), (egg_recent_model_read), (egg_recent_model_add_full), (egg_recent_model_get_list), (egg_recent_model_changed): * cut-n-paste-code/libegg/egg-screen-exec.c: (egg_screen_exec_environment), (egg_screen_execute_command_line_async): Update libegg stuff. Among other stuff this makes nautilus scripts execute in the right directory. 2003-04-16 Alexander Larsson * components/emblem/Nautilus_View_emblem.server.in.in: * components/history/Nautilus_View_history.server.in.in: * components/image_properties/Nautilus_View_image_properties.server.in.in: * components/notes/Nautilus_View_notes.server.in.in: * components/tree/Nautilus_View_tree.server.in.in: Don't add .so to the server files. This makes it work on systems that don't use .so as the library name. * src/nautilus-main.c: (main): * src/nautilus-server-connect.c: (browse): Don't initialize array to a non-constant value. 2003-04-07 Alexander Larsson * src/file-manager/fm-directory-view.c (unschedule_timeout_display_of_pending_files) (unschedule_idle_display_of_pending_files): Remove no longer correct asserts. 2003-04-07 Alexander Larsson * libnautilus-private/nautilus-icon-container.[ch]: Create canvas items hidden. New function nautilus_icon_container_layout_now(). * src/file-manager/fm-directory-view.[ch]: Added virtual function flush_added_files. Tuned directory loading to avoid lots of relayouts on load. * src/file-manager/fm-icon-view.c: Implement flush_added_files using nautilus_icon_container_layout_now() 2003-04-02 Dave Camp * src/file-manager/fm-list-view.c (motion_notify_callback): Only handle motion_notify_event for the bin window. 2003-04-02 Alexander Larsson * components/notes/nautilus-notes.c: * components/tree/nautilus-tree-model.c: * components/tree/nautilus-tree-view.c: * libnautilus-private/nautilus-directory-async.c: * libnautilus-private/nautilus-directory-background.c: * libnautilus-private/nautilus-directory-private.h: * libnautilus-private/nautilus-directory.c: * libnautilus-private/nautilus-directory.h: * libnautilus-private/nautilus-file-attributes.h: * libnautilus-private/nautilus-file-private.h: * libnautilus-private/nautilus-file.c: (rename_callback), * libnautilus-private/nautilus-file.h: * libnautilus-private/nautilus-icon-factory.c: * libnautilus-private/nautilus-icon-factory.h: * libnautilus-private/nautilus-link.c: * libnautilus-private/nautilus-merged-directory.c: * libnautilus-private/nautilus-mime-actions.c: * libnautilus-private/nautilus-mime-actions.h: * libnautilus-private/nautilus-program-choosing.c: * libnautilus-private/nautilus-trash-file.c: * libnautilus-private/nautilus-trash-monitor.c: * libnautilus-private/nautilus-vfs-directory.c: * libnautilus-private/nautilus-vfs-file.c: * src/file-manager/fm-directory-view.c: * src/file-manager/fm-icon-container.c: * src/file-manager/fm-properties-window.c: * src/nautilus-applicable-views.c: * src/nautilus-information-panel.c: * src/nautilus-sidebar-title.c: * src/nautilus-window-manage-views.c: * src/nautilus-window.c: * test/test-nautilus-mime-actions-set.c: * test/test-nautilus-mime-actions.c: Convert file attributes from list of strings to a bitmask. Patch from andersca@codefactory.se. === nautilus 2.2.3 === 2003-03-31 Alexander Larsson * configure.in: Bump to 2.2.3 * NEWS: Update. 2003-03-28 Alexander Larsson * docs/key_mouse_navigation.txt: More updates * NEWS: Add 2.2.3 entries 2003-03-28 Alexander Larsson * libnautilus-private/nautilus-icon-container.c: Fix up the single click mode double-click protection Don't use eel_prefs to get the single-click-mode, we already have it in details. 2003-03-28 Alexander Larsson * src/file-manager/fm-list-view.c (fm_list_view_click_policy_changed): Use the FMDirectoryView click_policy_changed instead of our own. 2003-03-28 Alexander Larsson * src/file-manager/fm-icon-view.c (fm_icon_view_class_init): Sort directory_view_class initializers * src/file-manager/fm-list-view.c: Implement reveal_selection() for FMDirectoryView 2003-03-27 Alexander Larsson * libnautilus-private/nautilus-dnd.c: Tune AUTOSCROLL_TIMEOUT_INTERVAL and AUTO_SCROLL_MARGIN so that auto-scrolling is easier to trigger. 2003-03-27 Alexander Larsson * src/file-manager/fm-list-model.c (fm_list_model_get_value): Scale icons to fit in row-height. 2003-03-27 Alexander Larsson * src/file-manager/fm-list-view.c (fm_list_view_start_renaming_file): * libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_start_renaming_selected_item): Use eel_filename_get_rename_region for both list and icon view to get the initial region to select on rename. 2003-03-27 Alexander Larsson * src/nautilus-window.h: * src/nautilus-window.c: * src/nautilus-window-menus.c: Don't save the location bar enabled prefs when showing it temporarily. 2003-03-27 Alexander Larsson * src/file-manager/fm-list-view.c: Keyboard shortcuts for context menu. Don't eat CTRL-Space, that means we can't multiple-select. 2003-03-27 Alexander Larsson * docs/key_mouse_navigation.txt: Update keynav docs. * libnautilus-private/nautilus-icon-private.h: * libnautilus-private/nautilus-icon-container.c: (button_release_event), (motion_notify_event), (key_press_event), (handle_icon_button_press), (has_multiple_selection), (has_selection): Don't do context menu on middle button. Shift-F10 gives directory context menu if no selection Change Ctrl-F10 to Shift-F9 to pop up directory context menu. Ctrl-F10 was conflicting with Toolbar keynav. * src/nautilus-shell-ui.xml: Remove Escape accelerator for escape. It was colliding with various other uses of escape all over. Need to rethink this. 2003-03-26 Christian Rose * configure.in: Added "yi" to ALL_LINGUAS. 2003-03-26 Alexander Larsson * libnautilus-private/nautilus-icon-container.c (handle_icon_button_press): Re-Fix Home/End. Make Ctrl-space create a keyboar focus if none exists instead of activating the selection. * docs/Makefile.am: * docs/key_mouse_navigation.txt: Add some key/mouse docs for views. 2003-03-26 Dave Camp * src/file-manager/fm-list-view.c: (activate_selected_items), (fm_list_view_did_not_drag), (drag_data_get_callback), (selection_foreach), (get_selection_refs), (ref_list_free), (stop_drag_check), (get_drag_pixbuf), (motion_notify_callback), (button_event_modifies_selection), (button_press_callback), (button_release_callback), (key_press_callback), (create_and_set_up_tree_view), (fm_list_view_finalize): Implement the widget side drag and drop here instead of eggtreemultidnd.c. Clean up mouse event handling to be more similar to the icon view. Fixes bug #48051, #89980, #90437, #105593, #108946, among others. Thanks to marten ter borgh for help with this patch. 2003-03-26 Alexander Larsson * libnautilus-private/nautilus-icon-private.h: * libnautilus-private/nautilus-icon-container.c: Fix keyboard arrow key navigation for manual layout so that you can reach all icons. Fix home and end for automatic layout. 2003-03-25 Alexander Larsson * src/file-manager/fm-directory-view.c (fm_directory_view_display_selection_info): Remove Free space from status bar. 2003-03-25 Alexander Larsson * src/file-manager/fm-directory-view.c (fm_directory_view_display_selection_info): Free space in status bar. * src/nautilus-window-manage-views.c (begin_location_change): Set status to " " instead to avoid status bar disappearing. 2003-03-25 Alexander Larsson * src/nautilus-window-manage-views.c (begin_location_change): Clear status on location change. 2003-03-25 Alexander Larsson * src/file-manager/fm-directory-view.c (done_loading): Report selected files when done loading. This makes the selected files status text not stick on directory change. 2003-03-25 Alexander Larsson * libnautilus-private/nautilus-thumbnails.c (thumbnail_thread_start): Fix race on thumbnail creation. If a thumbnail was being created when the file was modified the request wouldn't be entered in the queue, but the created thumbnail has the wrong mtime. 2003-03-24 Gaute Lindkvist * libnautilus-private/nautilus-file.h: * libnautilus-private/nautilus-file.c (nautilus_file_get_string_attribute), (nautilus_file_get_volume_name), (nautilus_file_get_volume_free_space) Added functions for finding volume name and free space * src/file-manager/fm-properties-window.c (should_show_free_space), (create_basic_page) Now shows volume name and free space 2003-03-24 Alexander Larsson * src/nautilus-window-manage-views.c (nautilus_window_reload): Scroll to current position on reload. 2003-03-22 Pablo Saratxaga * configure.in: Added Walloon (wa) to ALL_LINGUAS 2003-03-19 Alexander Larsson * libnautilus-private/nautilus-icon-container.c (select_one_unselect_others): Fix crash. 2003-03-19 Alexander Larsson * src/nautilus-view-frame.c (attach_view): If the ViewFrame is mapped already, activate the frame control. This fixes the tree sidebar not loading when you hide/show the sidebar. 2003-03-19 Padraig O'Briain * libnautilus-private/nautilus-icon-canvas-item.c (nautilus_icon_canvas_item_accessible_ref_state_set): New function which sets which state ATK_STATE_FOCUSED, if appropriate. * libnautilus-private/nautilus-icon-container.c (select_one_unselect_others): Call atk_focus_tracker_notify() if selection changed. This fixes bug #107639. 2003-03-18 Alexander Larsson * libnautilus-private/nautilus-emblem-utils.c: (is_reserved_keyword), (nautilus_emblem_should_show_in_list): notes emblem is a reserved name, and does not show up in lists. * libnautilus-private/nautilus-file.h: Added notes emblem name * libnautilus-private/nautilus-file.c: (file_has_note), (get_automatic_emblems_as_integer), (prepend_automatic_emblem_names): Implement automatic notes emblem. 2003-03-18 Alexander Larsson * libnautilus-private/nautilus-icon-container.c (handle_icon_button_press): Don't activate on double click of any modifiers are used. 2003-03-18 Frederic Crozat * libnautilus-private/nautilus-icon-factory.c: (nautilus_icon_factory_instance_init), (nautilus_icon_factory_finalize), (mimetype_limited_by_size): Don't use eel_g_hash_table_new_free_at_exit, it only outputs wrong warnings when exiting. 2003-03-18 Frederic Crozat * src/file-manager/fm-directory-view.c: (set_up_scripts_directory_global), (create_scripts_directory), (open_scripts_folder_callback): Fix script migration from Nautilus 1.0.x (bug #80704) 2003-03-17 Alexander Larsson * libnautilus-private/nautilus-icon-container.c (record_arrow_key_start): Use bottom middle point as start position, since otherwise you might miss icons that are not as tall as half the height of the current one. 2003-03-17 Alexander Larsson * src/nautilus-file-management-properties.c (nautilus_file_management_properties_dialog_setup): Correctly handle cases where one widget controls several keys by using new _slave stuff in eel. * libnautilus-private/apps_nautilus_preferences.schemas: Correct paths for show_backup_files & show_hidden_files 2003-03-17 Alexander Larsson * libnautilus-private/nautilus-icon-container.c (lay_down_icons_tblr): Fix clean up by name layout. 2003-03-17 Alexander Larsson * libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_start_renaming_selected_item): Move rename widget left one pixel to handle frame width. * libnautilus-private/nautilus-icon-canvas-item.c (compute_text_rectangle): Make the LABEL_OFFSET be part of the text rect to avoid a gap. 2003-03-14 Dave Camp * src/file-manager/fm-list-view.c (fm_list_view_start_renaming_file): Don't start a rename if there is already a rename in progress. Patch from marten ter borgh , fixes bug #106464. 2003-03-14 Dave Camp * components/adapter/nautilus-adapter-stream-load-strategy.c (nautilus_adapter_stream_load_strategy_load_location): Recompute the mime type and passit to the stream's load method. 2003-03-14 Dave Camp * libnautilus-private/nautilus-icon-dnd.c (drag_leave_callback): Clear the drop target. 2003-03-14 Alexander Larsson * libnautilus-private/nautilus-global-preferences.c: Fix some default values. * libnautilus-private/apps_nautilus_preferences.schemas: Update the schema file. 2003-03-14 Alexander Larsson * src/nautilus-main.c (main): Call g_set_application_name(). String change. 2003-03-14 Alexander Larsson * libnautilus-private/nautilus-directory.h: * libnautilus-private/nautilus-directory.c: (nautilus_directory_new): Make NautilusDirectory a GObject. * libnautilus-private/nautilus-file.h: * libnautilus-private/nautilus-file.c: (nautilus_file_new_from_relative_uri), (nautilus_file_new_from_info): Make NautilusFile a GObject. * libnautilus-private/nautilus-trash-file.c: (trash_callback_remove_file_cover), (trash_finalize), (nautilus_trash_file_class_init): Convert destroy into finalize. * libnautilus-private/nautilus-vfs-directory.h: * libnautilus-private/nautilus-vfs-directory.c: (nautilus_vfs_directory_init), (nautilus_vfs_directory_class_init): * libnautilus-private/nautilus-vfs-file.c: (nautilus_vfs_file_init), (nautilus_vfs_file_class_init): * libnautilus-private/nautilus-vfs-file.h: Remove unused details fields. * src/file-manager/fm-directory-view.c: (disconnect_handler), (disconnect_directory_handler), (disconnect_directory_as_file_handler): * src/file-manager/fm-search-list-view.c: (real_adding_file): Don't cast NautilusFiles and NautilusDirectories to GtkObjects. 2003-03-13 Christian Rose * configure.in: Added "ml" to ALL_LINGUAS. 2003-03-13 Alexander Larsson * libnautilus-private/nautilus-icon-factory.c (should_show_thumbnail): Make the thumbnail size prefs only affect images. 2003-03-13 Alexander Larsson * 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 * configure.in: * nautilus.spec.in: Updated spec file from Neil Weisenfeld 2003-03-12 Bastien Nocera * 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 * 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 * 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 * 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 * src/nautilus-window.c (nautilus_window_save_geometry): Don't save geometry if the window is maximized. === nautilus 2.2.2 === 2003-03-10 Alexander Larsson * components/text/Makefile.am (EXTRA_DIST): Add ui_DATA to EXTRA_DIST. 2003-03-10 Alexander Larsson * 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 * 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-08 Dave Camp * components/text/nautilus-text-view-ui.xml: Fixed the strings to match the strings used in the shell. 2003-03-07 Dave Camp * 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 * src/nautilus-file-management-properties.glade: Fixed alignment and padding. Patch from Luca Ferretti . 2003-03-06 Alexander Larsson * 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 * src/nautilus-zoom-control.[ch]: Derive from EelInputEventBox instead of GtkEventBox. Works better with themes. 2003-03-04 Alexander Larsson * src/nautilus-location-bar.c (nautilus_location_bar_init): Use EelInputEventBox for the location label. This makes theming nicer. 2003-03-04 Alexander Larsson * 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 * src/nautilus-property-browser.c (make_properties_from_directories) (make_drag_image): Add back erase emblem to backgrounds & emblems dialog. 2003-03-04 Alexander Larsson * 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 * 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 * libnautilus-private/nautilus-icon-dnd.c (confirm_switch_to_manual_layout): Disable switch-to-manual layout dialog. 2003-03-03 Alexander Larsson * 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 * 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 * 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 * 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 * 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 * 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 * components/throbber/nautilus-throbber.c: * libnautilus-private/nautilus-bonobo-extensions.c: * libnautilus-private/nautilus-directory-async.c: * libnautilus-private/nautilus-directory.c: * libnautilus-private/nautilus-dnd.c: * libnautilus-private/nautilus-drag-window.c: * libnautilus-private/nautilus-entry.c: * libnautilus-private/nautilus-file-operations-progress.c: * libnautilus-private/nautilus-icon-canvas-item.c: * libnautilus-private/nautilus-icon-container.c: * libnautilus-private/nautilus-metafile.c: * libnautilus-private/nautilus-tree-view-drag-dest.c: * libnautilus-private/nautilus-volume-monitor.c: * libnautilus/nautilus-idle-queue.c: * src/file-manager/fm-desktop-icon-view.c: * src/file-manager/fm-directory-view.c: * src/file-manager/fm-icon-view.c: * src/file-manager/fm-properties-window.c: * src/nautilus-bookmarks-window.c: * src/nautilus-location-bar.c: * src/nautilus-main.c: * src/nautilus-view-frame.c: * src/nautilus-window-menus.c: * src/nautilus-window.c: Don't use deprecated APIs. Patch by iain 2003-02-28 Alexander Larsson * components/text/nautilus-text-view.c (nautilus_text_view_instance_init): Use monospaced font for text view. Patch by Luca Ferretti 2003-02-28 Alexander Larsson * 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 [string change] 2003-02-28 Alexander Larsson * libnautilus-private/nautilus-volume-monitor.c (finish_creating_volume): Correctly handle floppies and cdroms mounted outside /mnt too. Based on patch from Mattias Eriksson . 2003-02-21 Roozbeh Pournader * configure.in: Added "fa" to ALL_LINGUAS. 2003-02-20 Alexander Larsson * configure.in: Require bonobo-activation 2.1.0 * src/nautilus-server-connect.c (D): Fix macro 2003-02-18 Alexander Larsson * 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 * 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 * libnautilus-private/nautilus-thumbnails.c (thumbnail_thread_start): Free pixbuf when saved. 2003-02-13 Alexander Larsson * 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-13 Alexander Larsson * src/nautilus-server-connect.c: Include locale.h. (#105756) === nautilus 2.2.1 === 2003-02-11 Alexander Larsson * NEWS: * configure.in: Bump to 2.2.1 * libnautilus-private/nautilus-bonobo-extensions.c (nautilus_bonobo_activation_register_for_display): Don't use deprecated functions. 2003-02-10 Dave Camp * 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 * 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 * 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 * libnautilus-private/nautilus-dnd.c: (nautilus_drag_drop_action_ask), (nautilus_drag_drop_background_ask): * libnautilus-private/nautilus-dnd.h: * libnautilus-private/nautilus-icon-dnd.c: (get_background_drag_action), (nautilus_icon_container_receive_dropped_icons): * libnautilus-private/nautilus-tree-view-drag-dest.c: (receive_uris): * src/file-manager/fm-icon-view.c: (icon_view_handle_uri_list): * src/nautilus-information-panel.c: (receive_dropped_uri_list), (receive_dropped_color): Set the GdkScreen on the drag-and-drop context menu. Fixes #90920. 2003-02-08 Dave Camp * 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 2003-02-05 Alexander Larsson * src/file-manager/fm-desktop-icon-view.c (create_mount_link): Correct icon name for zip disks. 2003-02-04 Alexander Larsson * components/adapter/nautilus-adapter-control-embed-strategy.h: * components/adapter/nautilus-adapter-embed-strategy.h: * components/adapter/nautilus-adapter-file-load-strategy.h: * components/adapter/nautilus-adapter-load-strategy.h: * components/adapter/nautilus-adapter-stream-load-strategy.h: * components/adapter/nautilus-adapter.h: * components/adapter/nautilus-zoomable-proxy.c: * components/emblem/nautilus-emblem-view.h: * components/hardware/nautilus-hardware-view.h: * components/loser/content/nautilus-content-loser.h: * components/loser/sidebar/nautilus-sidebar-loser.h: * components/music/nautilus-music-view.h: * components/news/nautilus-cell-renderer-news.c: * components/text/nautilus-text-view.h: * components/throbber/nautilus-throbber.h: * libnautilus-private/nautilus-directory-metafile-monitor.h: * libnautilus-private/nautilus-directory.h: * libnautilus-private/nautilus-entry.h: * libnautilus-private/nautilus-file.h: * libnautilus-private/nautilus-horizontal-splitter.h: * libnautilus-private/nautilus-icon-canvas-item.h: * libnautilus-private/nautilus-keep-last-vertical-box.h: * libnautilus-private/nautilus-merged-directory.h: * libnautilus-private/nautilus-metafile.h: * libnautilus-private/nautilus-program-chooser.h: * libnautilus-private/nautilus-trash-directory.h: * libnautilus-private/nautilus-trash-file.h: * libnautilus-private/nautilus-vfs-directory.h: * libnautilus-private/nautilus-vfs-file.h: * libnautilus-private/nautilus-volume-monitor.h: * libnautilus/nautilus-view-standard-main.c: * libnautilus/nautilus-view.h: * src/file-manager/fm-desktop-icon-view.h: * src/file-manager/fm-directory-view.h: * src/file-manager/fm-icon-view.h: * src/file-manager/fm-properties-window.h: * src/file-manager/fm-search-list-view.h: * src/nautilus-bookmark-list.h: * src/nautilus-complex-search-bar.h: * src/nautilus-component-adapter-factory.h: * src/nautilus-desktop-window.h: * src/nautilus-information-panel.h: * src/nautilus-location-bar.h: * src/nautilus-navigation-bar.h: * src/nautilus-property-browser.h: * src/nautilus-search-bar-criterion.h: * src/nautilus-search-bar.h: * src/nautilus-sidebar-title.h: * src/nautilus-simple-search-bar.h: * src/nautilus-switchable-navigation-bar.h: * src/nautilus-switchable-search-bar.h: * src/nautilus-view-frame.h: * src/nautilus-window.h: * src/nautilus-zoom-control.h: Change GtkType to GType, patch by Christian Meyer 2003-02-03 David Bordoley * 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 * src/nautilus-window.c (nautilus_window_finalize): Free window->last_geometry. Patch from Arjan van de Ven * libnautilus-private/nautilus-icon-factory.c (create_normal_cache_icon): Free filename. Patch from Arjan van de Ven 2003-01-31 James Willcox * libnautilus-private/nautilus-icon-container.c: (handle_icon_button_press): Update the selection *before* we tell people to popup a context menu. 2003-01-29 Alexander Larsson * libnautilus-private/nautilus-directory-async.c (file_info_start): Clear get_info_failed before starting the get_file_info. This means that old failed get_info calls don't get "stuck", such as if you entered the wrong password in an smb share. 2003-01-28 Pablo Saratxaga * configure.in: Added THai (th) to ALL_LINGUAS === nautilus 2.2.0.2 === 2003-01-27 Dave Camp * NEWS: * configure.in: 2.2.0.2. 2003-01-27 Alexander Larsson * libnautilus-private/nautilus-icon-factory.c (nautilus_icon_factory_get_icon_for_file): Only pass GNOME_ICON_LOOKUP_FLAGS_EMBEDDING_TEXT if there is top-left text to use. 2003-01-23 Dave Camp * libnautilus-private/nautilus-directory-background.c (background_destroyed_callback): Remove callbacks for background gconf keys. === nautilus 2.2.0.1 === 2003-01-22 Dave Camp * NEWS: * configure.in: 2.2.0.1 2003-01-22 Dave Camp * libnautilus/nautilus-view-standard-main.c: (make_object): Unref the control. 2003-01-22 Alexander Larsson * configure.in: Added "am" and "ar" to ALL_LINGUAS 2003-01-22 Christian Rose * configure.in: Added "mn" to ALL_LINGUAS. 2003-01-21 Yanko Kaneti * configure.in: Added mk to ALL_LINGUAS by MK team request. === nautilus 2.2.0 === 2003-01-20 Dave Camp * NEWS: * configure.in: 2.2.0 * THANKS: Added a name I forgot. 2003-01-20 Dave Camp * AUTHORS: Added the 2.2 team. * THANKS: Added a section for 2.x, updated. * README: Removed the obsolete info, added some up-to-date info. * src/nautilus-window-menus.c: (help_menu_about_nautilus_callback): Added the 2.2 team to the about box. * HACKING: Updated, patch from Alex Duggan. 2003-01-20 Dave Camp * src/file-manager/fm-list-view.c (key_press_callback): Removed previous patch to this function, it was breaking keynav. 2003-01-20 Alexander Larsson * src/file-manager/fm-directory-view.c (bonobo_mime_action_activate_callback): Correct the CORBA_Any usage with context menus. * libnautilus-private/nautilus-icon-factory.c: Look at mtime for absolute filename icons so we reload thumbnails etc. 2003-01-20 Alexander Larsson * libnautilus-private/nautilus-icon-container.c: When deleting an icon with the keyboard focus, set focus on an adjacent icon. 2003-01-20 Alexander Larsson * src/nautilus-file-management-properties.c: Implement the help button. 2003-01-20 Alexander Larsson * libnautilus-private/nautilus-file.c: Revert the symlink activation change. For later discussion. 2003-01-18 Dave Camp * src/file-manager/fm-list-view.c (fm_list_view_start_renaming_file): Free the path. 2003-01-18 Dave Camp * src/file-manager/fm-list-view.c: (cell_renderer_edited), (create_and_set_up_tree_view), (fm_list_view_start_renaming_file): Don't initiate a rename on mouse clicks. Patch from Marten Ter Borgh , fixes bug #83552. 2003-01-18 Tõivo Leedjärv * configure.in: Added et to ALL_LINGUAS. 2003-01-17 Alexander Larsson * libnautilus-private/nautilus-file-operations.c: Convert link names and duplicate names with g_filename_to/from_utf8(). (#103721) Patch from hidetoshi.tajima@sun.com 2003-01-16 Alexander Larsson * libnautilus-private/nautilus-file-operations.c (nautilus_file_operations_new_folder): Convert new directory name with g_filename_from_utf8(). (#90154) 2003-01-16 Alexander Larsson * nautilus-file-management-properties.desktop.in: * src/network-scheme.desktop.in: Change the icon to something that exists. 2003-01-14 Dave Camp * libnautilus-private/nautilus-view-identifier.c: (nautilus_view_identifier_new), (nautilus_view_identifier_copy), (nautilus_view_identifier_new_from_bonobo_server_info), (nautilus_view_identifier_free): * libnautilus-private/nautilus-view-identifier.h: Add a view_as_label_with_mnemonic field to the server file and NautilusViewIdentifier. * src/nautilus-window.c: (add_view_as_bonobo_menu_item): Use the mnemonics in the view menu. * src/Nautilus_shell.server.in: Add view_as_label_with_mnemonic fields to the Icon and List views. 2003-01-14 David Bordoley * src/nautilus-view-frame.c Fixed typo in nautilus_view_frame_class_init s/open_location_in_this_window/open_location_prefer_existing_window for the prefer existing window case. 2003-01-14 Anders Carlsson * src/file-manager/fm-icon-view.c: (get_stored_icon_position_callback), (icon_position_changed_callback): Store the value of the previous locale, not the C one that we're setting. Fixes #45300, reported by Christian Rose. === nautilus 2.1.91 === 2003-01-13 Alexander Larsson * NEWS: * configure.in: Update to 2.1.91. Require eel 2.1.91. 2003-01-13 Alexander Larsson * libnautilus-private/nautilus-directory-background.c: Rename nautilus_file_update_desktop_pixmaps to nautilus_file_update_root_pixmaps for clarity. Call eel_background_set_is_constant_size on the desktop background earlier. Set the color on the correct window (root window, not desktop window). * libnautilus-private/nautilus-icon-container.c: Override the draw_background signal to not clear/redraw the background on every expose. That's not needed since EelBackground correctly sets the background of the XWindow. 2003-01-13 Dave Camp * components/image_properties/nautilus-image-properties-view.c (nautilus_image_properties_view_class_init): Save the parent class. (nautilus_image_properties_view_finalize): Chain to the parent class. 2003-01-12 Dave Camp * src/file-manager/fm-list-view.c (key_press_callback): Only handle keypresses on the bin window. Fixes #102259, thanks to Pasupathi for helping to track this down. 2003-01-12 Dave Camp * src/file-manager/fm-list-view.c (button_press_callback): In single click mode, don't activate if shift or control is held down. This matches the icon view behavior. Fixes #81896. 2003-01-12 Dave Camp * src/file-manager/fm-list-view.c: (button_press_callback): Handle activation and the popup menu from here. (create_and_set_up_tree_view): Don't connect to button_release_event or event_after. Fixes #91176. 2003-01-08 Alex Duggan * configure.in: Use pkg-config instead of orbit2-config. (fixes #73299) * libnautilus-private/nautilus-icon-container.c: Remove unneccessary include of libnautilus/nautilus-clipboard.h * src/file-manager/fm-directory-view.c: Remove unnecessary include of fm-desktop-icon-view.h Patch from David Bordoley 2003-01-07 Alex Duggan * components/notes/Nautilus_View_notes.server.in.in: s/Nodes/Notes/ Patch from R.I.P. Deaddog. Fixes #102736. Approved by i18n and release teams 2003-01-07 Alexander Larsson * libnautilus-private/nautilus-file.c (nautilus_file_get_activation_uri): Don't follow symlinks like shortcuts. Patch from Rolf Kulemann 2002-01-07 Naba Kumar * configure.in: Added hi (hindi) in ALL_LINGUAS 2003-01-06 Alex Duggan * src/nautilus-window.c: * src/nautilus-window.h: Removed statusbar timeout * libnautilus-private/nautilus-global-preferences.c: Removed unnecessary include. Patch from Dave Bordoley 2003-01-06 Alex Duggan * src/nautilus-shell-ui.xml: remove control-f keybinding leftover from nautilus-1.0.x. Partially fixes #85230 === nautilus 2.1.6 === 2003-01-06 Dave Camp * configure.in: * NEWS: Bump version to 2.1.6, require eel 2.1.6. 2003-01-06 Alexander Larsson * src/file-manager/nautilus-directory-view-ui.xml: Remove duplicate accel for move to trash. Fixes the delete-in-rename-deletes-file bug. (#101203) Patch by Rolf Kulemann 2003-01-06 Arvind Samptur * src/nautilus-information-panel.c (nautilus_information_panel_update_buttons): changing the mnemonic of "Empty Trash" button. Resolves the conflict between "Edit" menu option and "Empty Trash" button, which caused the desktop to be badly stuck. Please see #101690, for Owen's comments as well. 2002-12-31 Dave Camp * src/nautilus-file-management-properties.glade: Applied UI review suggestions. Patch from Luca Ferretti * libnautilus-private/nautilus-dnd.c (nautilus_drag_drop_background_ask): Use "Folder" instead of "Directory". 2002-12-27 Bastien Nocera * src/nautilus-server-connect.c: (update_icon): disable DEBUG (Closes: #101430), use GnomeIconTheme stuff so we get the icons back as in the old times 2002-12-27 Bastien Nocera * configure.in: require libgnome 2.1.1 for the libegg stuff (gnome_url_show_with_env is required) 2002-12-19 James Willcox * libnautilus-private/nautilus-directory-notify.h: * libnautilus-private/nautilus-directory.c: (nautilus_directory_schedule_position_set): * libnautilus-private/nautilus-file-changes-queue.c: (nautilus_file_changes_queue_schedule_position_set), (nautilus_file_changes_consume_changes): * libnautilus-private/nautilus-file-changes-queue.h: * libnautilus-private/nautilus-file-operations.c: (icon_position_iterator_new), (apply_one_position), (nautilus_file_operations_copy_move): * libnautilus-private/nautilus-icon-dnd.c: (handle_local_move), (handle_nonlocal_move): * libnautilus-private/nautilus-metadata.h: * src/file-manager/fm-desktop-icon-view.c: (fm_desktop_icon_view_init): * src/file-manager/fm-directory-view.c: (new_folder_done), (file_changed_callback): * src/file-manager/fm-icon-view.c: (should_show_file_on_screen), (fm_icon_view_remove_file), (fm_icon_view_add_file), (fm_icon_view_file_changed), (fm_icon_view_filter_by_screen), (fm_icon_view_instance_init): * src/file-manager/fm-icon-view.h: Make the desktop icon view store the screen number with the icon positions. Now, a given icon appears on one screen only, and you can drag them between screens, etc. 2002-12-19 Alexander Larsson * libnautilus-private/nautilus-directory-background.c (image_loading_done_callback): Handle the fact the we may have to reload the background if it needed to be rescaled before. 2002-12-18 Alexander Larsson * libnautilus-private/nautilus-file-operations.c (build_error_string): Better error message when moving a file over a parent directory. 2002-12-18 Alexander Larsson * src/nautilus-preferences-dialog.c: * src/nautilus-preferences-dialog.h: * src/nautilus-theme-selector.c: * src/nautilus-theme-selector.h: Removed unused files. 2002-12-17 Alexander Larsson * libnautilus-private/nautilus-view-identifier.c (get_lang_list): Use gnome_i18n_get_language_list. (#100393) 2002-12-17 Fernando Herrera * nautilus.desktop.in: add X-Gnome-Bugzilla-OtherBinaries poiting to nautilus binaries === nautilus 2.1.5 === 2002-12-16 Alexander Larsson * Makefile.am (EXTRA_DIST): Remove gnome-starthere.png and gnome-starthere-96.png. 2002-12-16 Alexander Larsson * NEWS: Update. * configure.in: Bump version to 2.1.5. Require new eel and gnome-vfs. 2002-12-13 Alex Graveley * libnautilus-private/nautilus-directory-async.c (should_look_for_dot_directory_file): Add "applications-all-users:" and "preferences-all-users:" which fixes bug 89618. 2002-12-13 Alex Duggan * configure.in: * nautilus.spec.in: remove libgnomecanvas dep 2002-12-13 Alexander Larsson * libnautilus-private/nautilus-file-operations-progress.c: Make sure text is valid utf8. (#98886) 2002-12-12 Alexander Larsson * libnautilus-private/nautilus-icon-container.c: * libnautilus-private/nautilus-icon-canvas-item.c: Correctly do w2c transformations. Fixes struts. 2002-12-12 Alexander Larsson * data/preferences.desktop.in: * data/serverconfig.desktop.in: * data/serverconfig.directory.in: * data/starthere-link.desktop.in: * data/starthere.desktop.in: * data/starthere.directory.in: * data/sysconfig.desktop.in: * data/sysconfig.directory.in: Use the new icons in gnome-icon-theme for these. * Makefile.am: * gnome-starthere-96.png: * gnome-starthere.png: Remove the icons. They moved to gnome-icon-theme. 2002-12-12 Alexander Larsson * libnautilus-private/nautilus-file.c: Special case the display name for the root of non-local files. This means we show e.g. fonts:// instead of / as the title. 2002-12-12 Alexander Larsson * src/nautilus-applicable-views.c: * src/nautilus-applicable-views.h: Add NAUTILUS_DETERMINE_VIEW_NO_MASTER_BROWSER result. * src/nautilus-window-manage-views.c: Give nice error message when there is no master browser. Note: This change requires gnome-vfs cvs after the 2.1.4 release. 2002-12-09 James Willcox * libnautilus-private/nautilus-icon-factory.c: (destroy_icon_factory), (get_icon_factory), (show_thumbnails_changed_callback), (should_show_thumbnail), (nautilus_icon_factory_get_icon_for_file): Respond properly to prefs regarding when to show thumbnails. Fixes #96644. 2002-12-09 Alexander Larsson * libnautilus-private/nautilus-file.c (nautilus_self_check_file): Fix test === nautilus 2.1.4 === 2002-12-09 Alexander Larsson * NEWS: Update * configure.in: Require eel 2.1.4, bump version to 2.1.4 2002-12-07 Dave Camp * libnautilus-private/nautilus-icon-container.c (lay_down_icons_horizontal): Removed unnecessary assigment. Fixes #98543. Patch from Gediminas Paulauskas 2002-12-04 James Willcox * libnautilus-private/nautilus-icon-factory.c: (icon_theme_changed_callback), (nautilus_icon_factory_clear): Clear the cache when the icon theme changes so we get the new icons. 2002-12-05 Glynn Foster * libnautilus/nautilus-clipboard-ui.xml: Add missing mnemonics. 2002-12-04 James Willcox * src/nautilus-window.c: (nautilus_window_instance_init): Disconnect "icons_changed" handler from the icon factory when the window is closed. Fixes #98038. 2002-12-04 James Willcox * components/emblem/nautilus-emblem-view.c: (nautilus_emblem_view_drag_received_cb): Fixed a silly double negation in an error string. (Fixes #100376) 2002-12-04 Dave Camp * libnautilus-private/nautilus-tree-view-drag-dest.c: (tree_view_weak_notify), (nautilus_tree_view_drag_dest_dispose), (nautilus_tree_view_drag_dest_class_init), (nautilus_tree_view_drag_dest_new): Remove the scroll timeout when either the TreeView or the DragDest is destroyed. 2002-12-04 Alexander Larsson * src/file-manager/fm-properties-window.c (create_properties_window): Don't use GTK_WIN_POS_MOUSE. 2002-12-03 Dave Camp * libnautilus-private/nautilus-file.c (update_info_internal): Removed unused code that should have been removed in the last commit. 2002-12-03 Dave Camp * libnautilus-private/nautilus-file.c: (rename_callback), (update_info_internal): Moved the display name invalidation from update_info_internal to rename_callback. 2002-12-03 Alexander Larsson * nautilus.desktop.in: * src/nautilus-server-connect.desktop.in: Add X-GNOME-Bugzilla lines. Patch from Fernando Herrera 2002-12-02 Alexander Larsson <> * libnautilus-private/nautilus-thumbnails.c (thumbnail_thread_starter_cb): Allocate 128K thread stack. Patch from marcus@freebsd.org. (#99917) 2002-11-28 Alexander Larsson * libnautilus-private/apps_nautilus_preferences.schemas: Make treeview show_only_directories default to TRUE. Patch from MArk Finlay * src/file-manager/fm-properties-window.[ch]: Make window not dialog, patch from David Emory Watson Center window on mouse at popup. 2002-11-28 Alexander Larsson * src/file-manager/nautilus-directory-view-ui.xml: Add gtk-properties stock pixmap to menus. 2002-11-28 Alexander Larsson * libnautilus-private/apps_nautilus_preferences.schemas: Make show_special_flags default to TRUE, since we removed the prefs from the ui. * libnautilus-private/nautilus-icon-container.c: query-drag with middle button. Open context menus faster. (#46276) Patch by Marco Pesenti Gritti. 2002-11-26 Alexander Larsson * libnautilus-private/nautilus-file-operations.c: Do linking instead of copying for burn:. I accidentally checked in this code some days ago. === nautilus 2.1.3 === 2002-11-25 Alexander Larsson * configure.in: * NEWS: Bump to 2.1.3 2002-11-24 Dave Camp * configure.in: Remove sample and loser from the build. 2002-11-21 Alexander Larsson * libnautilus-private/nautilus-directory-background.c: (image_loading_done_callback): Only set image of required size, when now pixmap needed, kill old pixmap and set color. (free_root_pixmap): New function to free root background image Patch from Brian.Cameron@sun.com 2002-11-20 Anders Carlsson * components/Makefile.am: Remove sample and loser from the default build. * libnautilus-private/nautilus-icon-factory.c: (nautilus_icon_factory_get_icon_for_file): Special-case the trash location so that it gets the correct icon. 2002-11-19 Alexander Larsson * src/file-manager/fm-properties-window.c: (clear_bonobo_pages) Don't reference wrong notebook pages (properties_window_file_changed_callback) correct strcmp comparison 2002-11-19 Padraig O'Briain * components/text/Makefile.am: * components/throbber/Makefile.am: * components/tree/Makefile.am: Add CLEANFILES so that make clean deletes $(server_DATA) and $(server_DATA).in This change should have been made on September 20th * libnautilus-private/nautilus-icon-container.c (button_press_event): Get double_click_time from GtkSettings property instead of using hardcoded value. This fixes bug #92372. 2002-11-13 Diego Gonzalez * libnautilus-private/nautilus-theme.[c-h]: (nautilus_theme_set_theme), (nautilus_theme_make_preview_pixbuf), (nautilus_theme_for_each_theme), (nautilus_theme_remove_user_theme), (nautilus_theme_install_user_theme) * libnautilus-private/nautilus-theme.c: (load_theme_document), (vfs_file_exists), (theme_get_property), (theme_get_name_property), (theme_get_description_property), (theme_list_prepend), (has_theme_xml), (theme_get_themes_for_location), (theme_get_builtin_themes), (theme_get_user_themes), (theme_list_invoke_callback), (attributes_free) Theme cleanup, remove all these functions since they are no longer used. 2002-11-10 James Willcox * docs/nautilus-context-menus.txt: * libnautilus-private/nautilus-mime-actions.c: (nautilus_mime_get_popup_components_for_file): Fixed a slight bug in the context menu query code, and added a bit of documentation. 2002-11-09 Dmitry G. Mastrukov * configure.in: Added Belarusian to ALL_LINGUAS 2002-11-08 James Willcox * components/image_properties/nautilus-image-properties-view.c: (get_property), (set_property), (nautilus_image_properties_view_init): * components/image_properties/nautilus-image-properties-view.h: * components/notes/nautilus-notes.c: (set_bonobo_properties), (make_notes_view): * libnautilus-private/nautilus-mime-actions.c: (nautilus_mime_get_property_components_for_file): * libnautilus-private/nautilus-mime-actions.h: * src/file-manager/fm-properties-window.c: (bonobo_page_activate_callback), (append_bonobo_pages): Make bonobo property pages regular controls instead of NautilusViews. 2002-11-07 James Willcox * libnautilus-private/nautilus-mime-actions.c: (nautilus_mime_get_default_component_for_file_internal), (nautilus_mime_get_short_list_components_for_file), (nautilus_mime_actions_file_needs_full_file_attributes), (nautilus_mime_get_all_components_for_file_extended), (nautilus_mime_get_popup_components_for_file), (has_server_info_in_list), (server_info_list_intersection), (nautilus_mime_get_popup_components_for_files), (mime_get_all_components_for_uri_scheme), (make_bonobo_activation_query_with_known_mime_type), (make_bonobo_activation_query_with_uri_scheme_only), (nautilus_do_component_query): * libnautilus-private/nautilus-mime-actions.h: * libnautilus-private/nautilus-program-chooser.c: (repopulate_program_list): * libnautilus-private/nautilus-program-choosing.c: (choose_component_callback): * src/file-manager/fm-directory-view.c: (bonobo_mime_action_data_new), (bonobo_mime_action_data_free), (bonobo_mime_action_activate_callback), (bonobo_mime_action_callback), (bonobo_mime_action_menu_data_destroy_callback), (can_handle_multiple_files), (add_bonobo_menu_ui_and_verbs), (get_bonobo_menu_verb_names), (has_file_in_list), (get_unique_files), (reset_bonobo_mime_actions_menu), (real_update_menus): * src/file-manager/nautilus-directory-view-ui.xml: Add the ability to have mime-type-sensitive context menus. 2002-11-07 Alexander Larsson * libnautilus-private/nautilus-customization-data.c: * icons/chit_frame.png: Make chit alpha blended. New image from Jens Lautenbacher . 2002-11-06 Kjartan Maraas * src/nautilus-file-management-properties.glade: Fix some bad english. 2002-11-07 Jan Arne Petersen * libnautilus-private/nautilus-icon-canvas-item.c: (draw_or_measure_label_text), (create_label_layout), (get_label_layout), (nautilus_icon_canvas_item_event): In single click mode use a hand cursor instead of underlining. * src/nautilus-window.c: (create_view_as_menu_item): * src/Nautilus_shell.server.in: Add mnemonics to the 'View as List' and 'View as Icons' entries. * icons/Makefile.am: * src/nautilus-window-manage-views.c: (compute_title), (nautilus_window_update_icon), (set_displayed_location), (viewed_file_changed_callback), (location_has_really_changed), (title_changed_callback): * src/nautilus-window-private.h: * src/nautilus-window.c: (icons_changed_callback), (nautilus_window_instance_init): Use the real file icons as window border icons in the nautilus window and file properties dialog. Use a special desktop icon and title in the Ctrl-Alt-Tab window. 2002-11-06 Alexander Larsson * libnautilus-private/nautilus-program-chooser.c: * libnautilus-private/nautilus-program-choosing.c: * libnautilus-private/nautilus-recent.h: * src/file-manager/fm-desktop-icon-view.c: * src/file-manager/fm-directory-view.c: Fix up includes. 2002-11-06 Anders Carlsson * configure.in: * cut-n-paste-code/Makefile.am: * cut-n-paste-code/libegg/Makefile.am: * cut-n-paste-code/libegg/egg-recent-item.c: (egg_recent_item_new), (egg_recent_item_free), (egg_recent_item_ref), (egg_recent_item_unref), (egg_recent_item_new_from_uri), (egg_recent_item_set_uri), (egg_recent_item_get_uri), (egg_recent_item_peek_uri), (egg_recent_item_get_uri_utf8), (egg_recent_item_get_uri_for_display), (egg_recent_item_set_mime_type), (egg_recent_item_get_mime_type), (egg_recent_item_set_timestamp), (egg_recent_item_get_timestamp), (egg_recent_item_get_groups), (egg_recent_item_in_group), (egg_recent_item_add_group), (egg_recent_item_remove_group), (egg_recent_item_set_private), (egg_recent_item_get_private), (egg_recent_item_get_type): * cut-n-paste-code/libegg/egg-recent-item.h: * cut-n-paste-code/libegg/egg-recent-model.c: (egg_recent_model_string_match), (egg_recent_model_write_raw), (egg_recent_model_delete_from_list), (egg_recent_model_add_new_groups), (egg_recent_model_update_item), (egg_recent_model_read_raw), (parse_info_init), (parse_info_free), (push_state), (pop_state), (peek_state), (start_element_handler), (list_compare_func_mru), (list_compare_func_lru), (end_element_handler), (text_handler), (error_handler), (egg_recent_model_enforce_limit), (egg_recent_model_sort), (egg_recent_model_group_match), (egg_recent_model_filter), (egg_recent_model_monitor_list_cb), (egg_recent_model_monitor_list), (egg_recent_model_changed_timeout), (egg_recent_model_monitor_cb), (egg_recent_model_monitor), (egg_recent_model_set_limit_internal), (egg_recent_model_read), (egg_recent_model_write), (egg_recent_model_open_file), (egg_recent_model_lock_file), (egg_recent_model_unlock_file), (egg_recent_model_finalize), (egg_recent_model_set_property), (egg_recent_model_get_property), (egg_recent_model_class_init), (egg_recent_model_limit_changed), (egg_recent_model_expiration_changed), (egg_recent_model_init), (egg_recent_model_new), (egg_recent_model_add_full), (egg_recent_model_add), (egg_recent_model_delete), (egg_recent_model_get_list), (egg_recent_model_set_limit), (egg_recent_model_get_limit), (egg_recent_model_clear), (egg_recent_model_set_filter_mime_types), (egg_recent_model_set_filter_groups), (egg_recent_model_set_filter_uri_schemes), (egg_recent_model_set_sort), (egg_recent_model_changed), (egg_recent_model_remove_expired_list), (egg_recent_model_remove_expired), (egg_recent_model_get_type): * cut-n-paste-code/libegg/egg-recent-model.h: * cut-n-paste-code/libegg/egg-recent-vfs-utils.c: (make_valid_utf8), (istr_has_prefix), (str_has_prefix), (uri_is_local_scheme), (handle_trailing_slashes), (make_uri_canonical), (format_uri_for_display), (egg_recent_vfs_format_uri_for_display), (is_valid_scheme_character), (has_valid_scheme), (escape_high_chars), (make_uri_from_input_internal), (egg_recent_vfs_make_uri_from_input), (make_uri_canonical_strip_fragment), (uris_match), (egg_recent_vfs_uris_match), (egg_recent_vfs_get_uri_scheme): * cut-n-paste-code/libegg/egg-recent-vfs-utils.h: * cut-n-paste-code/libegg/egg-screen-exec.c: (egg_screen_exec_display_string), (egg_screen_exec_environment), (egg_screen_execute_async), (egg_screen_execute_shell), (egg_screen_execute_command_line_async): * cut-n-paste-code/libegg/egg-screen-exec.h: * cut-n-paste-code/libegg/egg-screen-help.c: (egg_help_display_on_screen), (egg_help_display_with_doc_id_on_screen), (egg_help_display_desktop_on_screen), (egg_help_display_uri_on_screen): * cut-n-paste-code/libegg/egg-screen-help.h: * cut-n-paste-code/libegg/egg-screen-url.c: (egg_url_show_on_screen): * cut-n-paste-code/libegg/egg-screen-url.h: * cut-n-paste-code/libegg/eggtreemultidnd.c: (egg_tree_multi_drag_source_get_type), (egg_tree_multi_drag_source_row_draggable), (egg_tree_multi_drag_source_drag_data_delete), (egg_tree_multi_drag_source_drag_data_get), (stop_drag_check), (egg_tree_multi_drag_button_release_event), (selection_foreach), (path_list_free), (set_context_data), (get_context_data), (get_info), (egg_tree_multi_drag_drag_data_get), (egg_tree_multi_drag_motion_event), (egg_tree_multi_drag_button_press_event), (egg_tree_multi_drag_add_drag_support): * cut-n-paste-code/libegg/eggtreemultidnd.h: * cut-n-paste-code/libegg/update-from-egg.sh: * libnautilus-private/Makefile.am: * libnautilus-private/egg-recent-item.c: * libnautilus-private/egg-recent-item.h: * libnautilus-private/egg-recent-model.c: * libnautilus-private/egg-recent-model.h: * libnautilus-private/egg-recent-vfs-utils.c: * libnautilus-private/egg-recent-vfs-utils.h: * libnautilus-private/egg-screen-exec.c: * libnautilus-private/egg-screen-exec.h: * libnautilus-private/egg-screen-help.c: * libnautilus-private/egg-screen-help.h: * libnautilus-private/egg-screen-url.c: * libnautilus-private/egg-screen-url.h: * libnautilus-private/eggtreemultidnd.c: * libnautilus-private/eggtreemultidnd.h: * libnautilus-private/nautilus-program-chooser.c: (help_cb): * libnautilus-private/update-from-egg.sh: * src/Makefile.am: * src/file-manager/Makefile.am: * src/file-manager/fm-desktop-icon-view.c: * src/file-manager/fm-directory-view.c: * src/file-manager/fm-list-model.c: * src/file-manager/fm-list-view.c: * src/file-manager/fm-properties-window.c: (help_button_callback): * src/file-manager/update-from-egg.sh: * src/nautilus-bookmarks-window.c: (nautilus_bookmarks_window_response_callback): * src/nautilus-property-browser.c: (help_button_callback): * src/nautilus-window-menus.c: (help_menu_nautilus_manual_callback): Move libegg stuff to cut-n-paste-code and update to the latest egg versions. 2002-11-05 Dave Camp * test/Makefile.am: * test/test.c: * test/test.h: Removed property widget tests. 2002-11-05 James Willcox * libnautilus-private/Makefile.am: * libnautilus-private/nautilus-recent.[ch]: * src/file-manager/Makefile.am: * src/file-manager/fm-directory-view.c: (fm_directory_view_launch_application), (fm_directory_view_init), (fm_directory_view_destroy): Only make an EggRecentModel once, instead of for every new window. Moved egg-recent*.[ch] into libnautilus-private 2002-11-05 James Willcox * libnautilus-private/apps_nautilus_preferences.schemas: * libnautilus-private/nautilus-global-preferences.c: * libnautilus-private/nautilus-sidebar-functions.c: (sidebar_get_sidebar_panel_view_identifiers), (nautilus_sidebar_get_all_sidebar_panel_view_identifiers): * libnautilus-private/nautilus-sidebar-functions.h: * src/nautilus-window.c: (nautilus_window_instance_init), (nautilus_window_set_up_sidebar), (add_sidebar_panels): Removed all the stuff that was used to show/hide sidebars. 2002-11-05 Diego Gonzalez * po/POTFILES.in: remove nautilus-preferences-dialog.c and nautilus-theme-selector.c * src/Makefile.am: remove nautilus-preferences-dialog.[c-h] and nautilus-theme-selector.[c-h] from the built, as they are not used anymore * src/nautilus-window-menus.c: remove nautilus-preferences-dialog.h from the includes 2002-11-04 Diego González * src/nautilus-window-toolbars.c: (throbber_set_throbbing): Use bonobo_pbclient_set_value_async instead of eel_bonobo_pbclient_set_value_async. * configure.in: require latest libbonobo 2002-11-04 Alexander Larsson * components/throbber/nautilus-throbber.c: (get_bonobo_properties), (nautilus_throbber_instance_init), (nautilus_throbber_expose), (nautilus_throbber_class_init), (nautilus_throbber_accessible_get_type): * src/nautilus-window-private.h: * src/nautilus-window-toolbars.c: (throbber_created_callback): * src/nautilus-window.c: (nautilus_window_unrealize): Remove click-on-throbber. Patch by Jan Arne Petersen === nautilus 2.1.2 === 2002-10-31 Dave Camp * NEWS: Updated. * configure.in: Removed music-view-related stuff, updated to 2.1.2. 2002-10-31 Dave Camp * components/Makefile.am (SUBDIRS): Removed the music view. 2002-10-31 Dave Camp * libnautilus-private/nautilus-directory-background.c: (nautilus_file_background_get_default_settings), (nautilus_file_background_is_set), (background_changed_callback), (background_reset_callback): * libnautilus-private/nautilus-dnd.c: (nautilus_drag_drop_background_ask): * libnautilus-private/nautilus-dnd.h: * libnautilus-private/nautilus-global-preferences.h: * libnautilus-private/nautilus-icon-dnd.c: (get_background_drag_action), (receive_dropped_color), (receive_dropped_tile_image), (nautilus_icon_container_receive_dropped_icons), (drag_data_received_callback): Set the background globally by default. On a right-drag from the property dialog, pop up a context menu asking to set it globally or for that directory. * libnautilus-private/apps_nautilus_preferences.schemas: * src/nautilus-information-panel.c: (nautilus_information_panel_init), (nautilus_information_panel_finalize), (information_panel_has_background), (nautilus_information_panel_create_context_menu), (nautilus_information_panel_read_defaults), (nautilus_information_panel_theme_changed), (receive_dropped_uri_list), (receive_dropped_color), (nautilus_information_panel_drag_data_received), (background_settings_changed_callback), (background_reset_callback), (nautilus_information_panel_update_appearance): Take the default background from gconf, handle global vs. per-directory backgrounds. * nautilus-property-browser.c: (element_clicked_callback): Add ASK to the list of actions. 2002-10-31 Bastien Nocera * src/Makefile.am: upd * src/nautilus-server-connect.c: (create_desktop), (update_icon), (main): update for the icon * src/nautilus-server-connect.desktop.in: update icon * src/network-scheme.desktop.in: added 2002-10-31 Dave Camp * src/Makefile.am (bin_PROGRAMS): Removed the extra 'nautilus'. 2002-10-31 Dave Camp * Makefile.am: * nautilus-file-management-properties.desktop.in: * src/nautilus-file-management-properties-main.c: * src/nautilus-file-management-properties.c: * src/nautilus-file-management-properties.h: New preferences dialog. * src/nautilus-window-menus.c: (preferences_respond_callback), (preferences_callback): Use the new prefs dialog. * src/nautilus-window.c: (nautilus_window_hide_location_bar), (nautilus_window_show_location_bar), (nautilus_window_hide_toolbar), (nautilus_window_show_toolbar), (nautilus_window_hide_sidebar), (nautilus_window_show_sidebar), (nautilus_window_hide_status_bar), (nautilus_window_show_status_bar): As things are toggled, save them as the default for new windows. Patch from Jan Arne Petersen . 2002-10-31 Bastien Nocera * icons/Makefile.am: upd * icons/nautilus-server-connect.png: added * src/Makefile.am: upd * src/nautilus-server-connect.c: added * src/nautilus-server-connect.desktop.in: added * src/nautilus-server-connect.glade: added (This all still needs some work) 2002-10-31 Anders Carlsson * configure.in: Require gtk+ 2.1.1 * libnautilus-private/nautilus-directory-background.c: (screen_size_changed), (remove_connection), (desktop_background_realized): * src/nautilus-desktop-window.c: (nautilus_desktop_window_screen_size_changed), (unrealize), (realize): Add support for the size_changed signal so that the desktop window will resize correctly. 2002-10-26 Thomas Vander Stichele * components/sample/Nautilus_View_sample.server.in.in: fix location of bonobo FAQ 2002-10-25 James Willcox * components/notes/Nautilus_View_notes.server.in.in: * libnautilus-private/nautilus-mime-actions.c: (nautilus_mime_has_any_components_for_file_extended), (nautilus_mime_has_any_components_for_file): * libnautilus-private/nautilus-mime-actions.h: * libnautilus-private/nautilus-program-chooser.c: (repopulate_program_list): * libnautilus-private/nautilus-program-choosing.c: (choose_component_callback): * src/file-manager/fm-properties-window.c: (clear_bonobo_pages), (refresh_bonobo_pages), (properties_window_file_changed_callback), (bonobo_page_error_message), (bonobo_page_activate_callback), (append_bonobo_pages): * Activate the bonobo property pages asynchronously * Hide the bonobo property pages from the component chooser * Slightly modify the notes sidebar to also work as a property page * Handle changes in the file type (add/remove pages) 2002-10-24 Dennis M. Cranston * src/file-manager/fm-properties-window.[ch]: Properties dialog fixes for #95836. 2002-10-24 Alexander Larsson * components/Makefile.am: * components/image_properties/.cvsignore: * components/image_properties/Makefile.am: * components/image_properties/Nautilus_View_image_properties.server.in.in: * components/image_properties/libmain.c: * components/image_properties/nautilus-image-properties-view.[ch]: * configure.in: Implement image properties page Patch from James Willcox * libnautilus-private/nautilus-mime-actions.[ch]: Add nautilus_mime_get_all_components_for_file_extended * src/file-manager/fm-properties-window.c: Plug-in property pages. 2002-10-24 Stephen Browne * libnautilus-private/nautilus-file-operations.c: (nautilus_file_operations_copy_move): filter out invalid URIs 2002-10-23 James Willcox * components/emblem/nautilus-emblem-view.c: (emblem_widget_sort_func), (nautilus_emblem_view_populate): Correctly sort the emblems 2002-10-21 James Willcox * components/emblem/nautilus-emblem-view.c: (nautilus_emblem_view_button_press_cb), (nautilus_emblem_view_delete_cb), (rename_dialog_response_cb), (create_rename_emblem_dialog), (nautilus_emblem_view_rename_cb), (create_emblem_widget_with_pixbuf), (create_add_emblems_dialog), (nautilus_emblem_view_drag_received_cb): * libnautilus-private/nautilus-emblem-utils.c: (nautilus_emblem_can_remove_emblem), (nautilus_emblem_can_rename_emblem), (nautilus_emblem_remove_emblem), (nautilus_emblem_rename_emblem): * libnautilus-private/nautilus-emblem-utils.h: * libnautilus-private/nautilus-icon-factory.c: (nautilus_icon_factory_remove_from_cache): * libnautilus-private/nautilus-icon-factory.h: * src/file-manager/fm-directory-view.c: (fm_directory_view_destroy): Add a popup menu to the emblems in the emblem sidebar that allows renaming and removing of emblems. 2002-10-21 Alexander Larsson * libnautilus-private/nautilus-icon-container.c (lay_down_icons_horizontal): Make non-compact layout gridded. 2002-10-20 Dave Camp * src/nautilus-location-bar.c (try_to_expand_path): Don't complete the filename if there is a trailing slash. Patch from Manuel Clos . Fixes #90652. 2002-10-19 Dave Camp * configure.in: Take out -DBONOBO_DISABLE_DEPRECATED until the make_registration_id api is worked out. 2002-10-18 Alexander Larsson * libnautilus-private/nautilus-directory-async.c (ready_callback_key_compare): More casts. 2002-10-18 Alexander Larsson * libnautilus-private/nautilus-file.c (nautilus_file_compare_for_sort_internal): * src/file-manager/fm-icon-view.c (fm_icon_view_compare_files): * src/file-manager/fm-icon-container.c (get_icon_view): Remove type checks, was showing up in profiles. * libnautilus-private/nautilus-directory.c (nautilus_directory_notify_files_added): Don't leak directory_uri 2002-10-18 Alexander Larsson * libnautilus-private/nautilus-directory-async.c: The HP-UX compiler is an anal retentive bastard. 2002-10-16 Alex Duggan * configure.in require gnome-desktop >= 2.1.0 (fixes #95979) 2002-10-16 Alexander Larsson * libnautilus-private/nautilus-dnd.h: Add application/x-rootwindow-drop. * libnautilus-private/nautilus-icon-private.h: * libnautilus-private/nautilus-icon-container.[ch]: Moved dnd init/fini to realize/unrealize. Add nautilus_icon_container_set/get_is_desktop(). * libnautilus-private/nautilus-icon-dnd.[ch]: Implement rootwindow drops. * src/file-manager/fm-desktop-icon-view.c: call nautilus_icon_container_set_is_desktop() 2002-10-15 Bastien Nocera * src/nautilus-shell-ui.xml: add BackSpace as a key shortcut for "Go Up" (like Windows does) === nautilus 2.1.1 === 2002-10-14 Alexander Larsson * NEWS: Updated * configure.in: Bump version to 2.1.1 Require libgnomeui 2.1.1 and eel 2.1.1, pango 1.1.2 2002-10-11 Dave Camp * src/file-manager/fm-directory-view.c (fm_directory_view_destroy): Set recent_model to NULL rather than model. 2002-10-10 James Willcox * src/file-manager/fm-directory-view.c: (fm_directory_view_init): Set the recent-files limit to 0, since we aren't displaying the list at all. 2002-10-10 Dave Camp * src/file-manager/Makefile.am: Added egg-recent files. * src/file-manager/fm-directory-view.c: (fm_directory_view_launch_application), (fm_directory_view_init), (fm_directory_view_destroy): Add files to the EggRecentModel when launching apps. Patch from James Willcox 2002-10-10 Alexander Larsson * libnautilus-private/nautilus-theme.c (theme_list_prepend): If no preview pixmap found. ignore theme. Fixes crash for some crap theme i had installed. 2002-10-10 Alexander Larsson * libnautilus-private/nautilus-emblem-utils.c (nautilus_emblem_install_custom_emblem): Touch the theme toplevel dir when finished installing emblem. 2002-10-07 James Willcox * components/emblem/Makefile.am: define DATADIR * components/emblem/nautilus-emblem-view.c: (create_emblem_widget_with_pixbuf), (create_emblem_widget), (nautilus_emblem_view_populate): Add erase emblem * configure.in: Remove data/emblems * data/Makefile.am: ditto * icons/Makefile.am: install erase.png 2002-10-05 Dave Camp * libnautilus-private/nautilus-icon-canvas-item.c: (draw_or_measure_label_text): Draw the selection rectangle in the active color if the widget doesn't have focus. * libnautilus-private/nautilus-icon-container.c: (nautilus_icon_container_class_init): Remove highlight_color property, always use base[SELECTED/ACTIVE]. Theme authors can set base for this widget only if they want. (update_selected): New function to refresh the selected icons. (handle_focus_in_event), (handle_focus_out_event): Refresh the selected icons. (nautilus_icon_container_instance_init): Connect to focus_out_event. (nautilus_icon_container_get_label_color_and_gc): If the container isn't focused, return the ACTIVE values. (setup_label_gcs): Setup ACTIVE values in addition to HIGHLIGHT values. (nautilus_icon_container_theme_changed): Always use the base color for the highlight rectangle * libnautilus-private/nautilus-icon-private.h: Remove the unused highlight_color member. 2002-10-05 Dave Camp * icons/crux_eggplant/crux_eggplant.xml: * icons/crux_teal/crux_teal.xml: * icons/default/default.xml: * icons/gnome/gnome.xml: * icons/sierra/sierra.xml: Removed newly obsoleted theme elements. 2002-10-05 Dave Camp * libnautilus-private/nautilus-icon-container.c: (nautilus_icon_container_class_init): Install gtk style properties for the light/dark info colors, selection box color/alpha, and highlight color/alpha. (start_rubberbanding): Take the selection box color/alpha from the gtk theme instead of the nautilus theme. (setup_label_gcs): Take the light/dark info color from the gtk theme. (nautilus_icon_container_theme_changed): Take the highlight color/alpha from the gtk theme, and don't use the nautilus theme to find the text selection frame image (this wasn't being themed anyway). 2002-10-05 Dave Camp * icons/crux_eggplant/crux_eggplant.xml: * icons/crux_teal/crux_teal.xml: * icons/default/default.xml: * icons/gnome/gnome.xml: * icons/sierra/sierra.xml: * icons/tahoe/tahoe.xml: Remove unused theme elements. * configure.in: * icons/crux_eggplant/Makefile.am: * icons/crux_teal/Makefile.am: * icons/default/Makefile.am: * icons/gnome/Makefile.am: * icons/sierra/Makefile.am: * icons/tahoe/Makefile.am: Remove unused icons and backgrounds from the build. * libnautilus-private/nautilus-theme.c: (has_theme_xml), (theme_get_themes_for_location): Check for the existence of theme.xml rather than an i-directory image. 2002-10-05 Dave Camp * libnautilus-private/nautilus-directory-background.c: (initialize_background_from_settings), (nautilus_file_background_get_default_settings): Don't read settings from the nautilus theme. Return the globally configured background if it is set, otherwise return empty settings (in which case the EelBackground will use colors from the gtk theme). (nautilus_file_background_read_desktop_settings): (nautilus_file_background_write_desktop_settings): Don't read defaults from the theme. (nautilus_file_background_write_desktop_default_settings): Just unset the desktop gconf keys. (nautilus_file_background_is_set), (nautilus_file_background_matches_default_settings): Compare against the globally configured background rather than the theme settings. (nautilus_connect_background_to_file_metadata): Respond to changes in the globally configured background. (nautilus_connect_desktop_background_to_file_metadata), (background_is_desktop): Use a boolean value to identify the desktop, instead of the theme_source. * libnautilus-private/nautilus-global-preferences.h: * src/file-manager/fm-desktop-icon-view.c: (reset_background_callback): Removed the code to unset gconf keys, this has been moved to nautilus_file_background_write_desktop_default_settings. Reset the EelBackground. * libnautilus-private/apps_nautilus_preferences.schemas: Add the background configuration keys. 2002-10-04 Alexander Larsson * configure.in: Require pango 1.1.1 (really HEAD, but...) 2002-10-04 Alexander Larsson * libnautilus-private/nautilus-icon-canvas-item.c: * libnautilus-private/nautilus-icon-container.c: Use PANGO_WRAP_WORD_CHAR. Requires pango HEAD. 2002-10-04 James Willcox * components/emblem/nautilus-emblem-view.h: Added missing file. 2002-10-04 Alexander Larsson * libnautilus-private/Makefile.am: * libnautilus-private/nautilus-emblem-utils.[ch]: New common utils for emblems * components/emblem/nautilus-emblem-view.c: * libnautilus-private/nautilus-icon-factory.c: * src/file-manager/fm-properties-window.c: * src/nautilus-property-browser.c: Use the common emblem utils. REQUIRES libgnomeui HEAD 2002-10-04 Alexander Larsson * libnautilus-private/nautilus-icon-factory.[ch]: Add display_name argument to nautilus_icon_factory_get_pixbuf_for_icon and nautilus_icon_factory_get_pixbuf_from_name. * libnautilus-private/nautilus-bookmark.c: * libnautilus-private/nautilus-icon-container.c: * src/nautilus-sidebar-title.c: Fix up according to change above * components/emblem/Makefile.am: * components/emblem/Nautilus_View_emblem.server.in.in: * components/emblem/libmain.c: (emblem_shlib_make_object): * components/emblem/nautilus-emblem-view-iids.h: * components/emblem/nautilus-emblem-view.c: New emblem sidebar from James Willcox , with some changes by me. 2002-10-02 James Willcox * components/Makefile.am: Added emblems component * configure.in: same 2002-10-02 Mark McLoughlin * acconfig.h: define HAVE_GTK_MULTIHEAD for egg-screen-exec methods. * configure.in: require gtk 2.1.0 and don't define HAVE_GTK_MULTIHEAD. * libnautilus-private/nautilus-multihead-hacks.h: kill. * libnautilus-private/nautilus-directory-background: (make_root_pixmap), (set_root_pixmap): use gdk_screen_get_display instead of assuming the default display. * src/nautilus-shell.c: (restore_one_window_callback): add backwards compat support for sessions without a screen number. 2002-10-02 Mark McLoughlin * libnautilus-private/nautilus-program-choosing.c: (nautilus_launch_application_from_command): s/eel_gnome_screen_exec/eel_gnome_exec..._on_screen/g * src/file-manager/fm-desktop-icon-view.c: (new_terminal_callback): ditto. 2002-10-02 Mark McLoughlin * libnautilus-private/Makefile.am: * libnautilus-private/egg-screen-help.[ch]: * libnautilus-private/egg-screen-url.[ch]: add the multiscreen variants of gnome-help from libegg. * libnautilus-private/nautilus-multihead-hacks.h: add gtk_window_get_screen. * libnautilus-private/nautilus-program-chooser.c: (help_cb): use egg_screen_help_display_desktop and use the chooser window as the transient parent for the error dialog. * src/nautilus-bookmarks-window.c: (nautilus_bookmarks_window_response_callback): use egg_screen_help_display_desktop. * src/nautilus-preferences-dialog.c: (preferences_show_help): use egg_screen_help_display_desktop and use the prefs dialog as the transient parent for the error dialog rather than the help button. * src/nautilus-property-browser.c: (help_button_callback): use egg_screen_help_display_desktop. * src/nautilus-window-menus.c: (help_menu_nautilus_manual_callback): use egg_screen_help_display_desktop and use the NautilusWindow as the transient parent for the error dialog. 2002-10-02 Mark McLoughlin * libnautilus-private/nautilus-directory-background.c: (make_root_pixmap), (set_root_pixmap): don't pass a screen number arg, pass a GdkScreen instead. Also, fix bogus use of the default root window. (image_loading_done_callback): update. 2002-10-02 Mark McLoughlin * libnautilus-private/nautilus-icon-dnd.c: (nautilus_icon_dnd_set_stipple): ref the new stipple before unrefing the old. * src/file-manager/fm-desktop-icon-view.c: (icon_container_set_workarea): fix up sanity check. 2002-10-02 Mark McLoughlin * configure.in: check for gtk with multihead support and define GTK_MULTIHEAD. * components/tree/nautilus-tree-view.c: (got_activation_uri_callback): launch applications on the correct screen. * libnautilus-private/Makefile.am: add egg-screen-exec.[ch] to the build. * libnautilus-private/nautilus-directory-background.c: Make sure we're drawing the background on the correct screen. * libnautilus-private/nautilus-dnd.[ch]: (nautilus_drag_init), (nautilus_drag_finalize): move the stipple from here into icon-dnd, where its actually used. * libnautilus-private/nautilus-icon-canvas-item.c: (draw_stretch_handles): create the stipple on the correct screen. * libnautilus-private/nautilus-icon-container.c: (realize): create the stipple here, but use eel_stipple instead of homebrew. * libnautilus-private/nautilus-icon-dnd.c: (nautilus_icon_dnd_set_stipple): impl changing the stipple. * libnautilus-private/nautilus-multihead-hacks.h: impl A set of hacks to allow building with gtk+ 2.0.x and not have loads of #ifdef HAVE_GTK_MULTIHEAD. * libnautilus-private/nautilus-program-chooser.c: Launch the mime capplet on the correct screen. * libnautilus-private/nautilus-program-choosing.c: Implement launching apps on the correct screen. * src/file-manager/fm-desktop-icon-view.c: (icon_container_set_workarea), (net_workarea_changed), (desktop_icon_view_property_filter), (fm_desktop_icon_view_finalize), (unrealized_callback), (realized_callback), (fm_desktop_icon_view_init), (new_terminal_callback), (new_launcher_callback), (change_background_callback), (volume_ops_callback): * src/file-manager/fm-directory-view.c: (edit_launcher), (edit_launcher_callback), (new_launcher_callback), (run_script_callback), (create_popup_menu), (activate_callback), (fm_directory_view_move_copy_items): * src/file-manager/fm-properties-window.c: (create_properties_window), (fm_properties_window_present): * src/nautilus-application.c: (nautilus_application_create_desktop_windows): create a desktop window on every screen. (nautilus_application_create_window): realize the window on the given screen. (volume_mounted_callback): open a new window on the default screen when a new volume is mounted. * src/nautilus-desktop-window.c: (nautilus_desktop_window_new): realize on the correct screen using the dimensions of said screen. (realize), (unrealize): set and unset NAUTILUS_DESKTOP_WINDOW_ID on the RootWindow on the correct screen on realize and unrealize. (set_wmspec_desktop_hint), (set_desktop_window_id): use gdk_property_change. * src/nautilus-preferences-dialog.c: (nautilus_preferences_dialog_show): show the dialog on the correct screen. * src/nautilus-property-browser.c: (nautilus_property_browser_new): realize on the correct screen. (nautilus_property_browser_show): use a weak pointer instead of destroy handler crack. * src/nautilus-shell.c: (open_window): open on the default screen. (save_window_states), (restore_one_window_callback): save and restore screen info across restart. * src/nautilus-sidebar.c: (nautilus_sidebar_create_context_menu): Pop the context menu up on the correct screen. * src/nautilus-window-menus.c: bring everything up on the correct screen. * src/nautilus-window.c: (nautilus_window_size_request): use the dimensions of the screen upon which the window is realized. 2002-10-01 Alexander Larsson * libnautilus-private/nautilus-icon-container.c: Try to avoid flashing when moving the rename widget. 2002-09-30 Narayana Pattipati * src/file-manager/fm-desktop-icon-view.c: Unescape the media path so that nautilus link is removed properly when it has special characters like #. * libnautilus-private/nautilus-link-desktop-file.c: Escape the media path so that media name is created properly when it has special characters like #. 2002-09-30 Alexander Larsson * src/file-manager/fm-directory-view.c (real_update_menus): Make the delete accelerator t, as otherwise it overrides the one in the rename widget (and others). * src/file-manager/nautilus-directory-view-ui.xml: Add a keysym "Delete" to the trash accel. 2002-09-30 Alexander Larsson * libnautilus-private/nautilus-icon-canvas-item.c (nautilus_icon_canvas_item_get_icon_rectangle): Do i2w conversion * libnautilus-private/nautilus-icon-container.c: (nautilus_icon_container_start_renaming_selected_item): Correct rename widget placement 2002-09-30 Alexander Larsson * src/file-manager/fm-icon-view.c: (renaming_icon_callback): Correctly do the rename ui op merging 2002-09-30 Alexander Larsson * libnautilus-private/nautilus-icon-canvas-item.c (compute_text_rectangle): Fix text rect zoom handling. Fixes redraw issues at 75%. === nautilus 2.1.0 === 2002-09-27 Dave Camp * src/nautilus-window-manage-views.c: #include . * NEWS: Updated. 2002-09-27 Alexander Larsson * configure.in: Require eel 2.1.0, libgnomeui 2.1.0 Bump version to 2.1.0 * libnautilus-private/Makefile.am: * libnautilus-private/gnome-icon-lookup.[ch]: * libnautilus-private/gnome-thumbnail-pixbuf-utils.c: * libnautilus-private/gnome-thumbnail.[ch]: Removed. Moved to libgnomeui. * libnautilus-private/nautilus-icon-factory.[ch]: * libnautilus-private/nautilus-link-desktop-file.c: Update to new APIs. 2002-09-26 Alexander Larsson * libnautilus-private/Makefile.am: * libnautilus-private/nautilus-find-icon-image.c: * libnautilus-private/nautilus-find-icon-image.h: * libnautilus-private/nautilus-thumbnails-jpeg.c: * libnautilus-private/nautilus-thumbnails-jpeg.h: * libnautilus-private/nautilus-thumbnails.c: Remove unused files. 2002-09-26 Alexander Larsson * libnautilus-private/nautilus-icon-canvas-item.[ch]: Update to new canvas use DITHER_NORMAL instead of DITHER_MAX for performance on non-24bit and remote. * libnautilus-private/nautilus-icon-container.[ch]: * libnautilus-private/nautilus-icon-dnd.[ch]: * libnautilus-private/nautilus-icon-private.h: Update to new canvas and rename widget. * src/nautilus-sidebar-title.c: Build fix. 2002-09-23 Dave Camp * src/nautilus-side-pane.c: (switch_page_callback): Removed the current image indicator. (nautilus_side_pane_init), (nautilus_side_pane_destroy): Put a tooltip on the close button. (nautilus_side_pane_show_panel): New function. (shortcut_clicked_callback), (create_shortcut), (nautilus_side_pane_set_panel_image): Take a GdkPixbuf instead of a GtkImage. Create a shortcut on the side pane for panels with images. * src/nautilus-side-pane.h: * src/nautilus-window-manage-views.c: (set_side_panel_image): Pass a pixbuf rather than a GtkImage. 2002-09-22 Dave Camp * src/nautilus-side-pane.h: * src/nautilus-side-pane.c: (menu_detach_callback), (nautilus_side_pane_destroy), (nautilus_side_pane_init): Attach and detach the menu widget. (nautilus_side_pane_init), (update_current_image), (switch_page_callback), (nautilus_side_pane_set_panel_image): Allow the user to set images for each panel. (nautilus_side_pane_add_panel), (nautilus_side_pane_remove_panel): Added preconditions, use GtkImageMenuItem instead of GtkMenuItem for panel menu items. * src/nautilus-window-manage-views.c: (set_side_panel_image), (side_panel_image_changed_callback), (connect_side_panel), (view_loaded_callback): Listen to the "tab_image" property on side panels, and update the side pane with the proper images. * src/nautilus-window-private.h: * src/nautilus-window.c: (side_panel_set_open), (side_pane_switch_page_callback), (nautilus_window_set_up_sidebar): Set the "close" property of panels as they are shown and hidden. 2002-09-22 Dave Camp * src/nautilus-side-pane.h: * src/nautilus-side-pane.c: (switch_page_callback), (nautilus_side_pane_class_init): Added a switch_page signal to the side pane. (select_button_press_callback), (select_button_key_press_callback), (menu_deactivate_callback), (nautilus_side_pane_init): Depress the menu button while the menu is popped up. 2002-09-21 Dave Camp * src/nautilus-window.c (nautilus_window_tear_down_sidebar): Set window->information_panel to NULL. 2002-09-21 Dave Camp * configure.in: * icons/Makefile.am: * icons/crux_eggplant/Makefile.am: * icons/crux_eggplant/crux_eggplant.xml: * icons/crux_teal/Makefile.am: * icons/crux_teal/crux_teal.xml: * icons/default/default.xml: * icons/gnome/Makefile.am: * icons/gnome/gnome.xml: * icons/sierra/sierra.xml: Removed sidebar_tab_pieces from the Makefiles and theme definitions. * src/nautilus-sidebar.c: * src/nautilus-sidebar.h: Removed. 2002-09-21 Dave Camp * src/nautilus-sidebar-title.c: Removed #include "nautilus-sidebar.h". 2002-09-21 Dave Camp * src/nautilus-shell-ui.xml: Added F9 as an accelerator for Show Hide Sidebar, for consistency with mozilla. 2002-09-21 Dave Camp * src/nautilus-side-pane.c: * src/nautilus-side-pane.h: New files, container for the side panels. * src/nautilus-information-panel.c: * src/nautilus-information-panel.h: Moved nautilus-sidebar.[ch] here, converted it into just another panel, instead of a container. * src/Makefile.am: Build nautilus-information-panel.[ch] and nautilus-side-pane.[ch]. * src/nautilus-window-manage-views.c: (update_title), (update_for_new_location), (handle_view_failure), (nautilus_window_set_sidebar_panels): * src/nautilus-window-private.h: * src/nautilus-window.h: * src/nautilus-window.c: (side_pane_close_requested_callback), (side_pane_size_allocate_callback), (setup_side_pane_width), (nautilus_window_set_up_sidebar), (nautilus_window_add_sidebar_panel), (nautilus_window_remove_sidebar_panel): Use the new information panel and side pane. 2002-09-21 Alexander Larsson * libnautilus-private/nautilus-icon-factory.c: Some small performance enhancements 2002-09-20 Padraig O'Briain * components/adapter/Makefile.am: * components/hardware/Makefile.am: * components/history/Makefile.am: * components/loser/content/Makefile.am: * components/loser/sidebar/Makefile.am: * components/music/Makefile.am: * components/notes/Makefile.am: * components/sample/Makefile.am: * components/text/Makefile.am: * components/throbber/Makefile.am: * components/tree/Makefile.am: Add CLEANFILES so that make clean deletes $(server_DATA) and $(server_DATA).in 2002-09-19 Alexander Larsson * libnautilus-private/gnome-icon-lookup.c: * libnautilus-private/gnome-thumbnail-pixbuf-utils.c: * libnautilus-private/gnome-thumbnail.c: Write docs. 2002-09-19 Alexander Larsson * libnautilus-private/nautilus-icon-factory.c (ICON_NAME_THUMBNAIL_LOADING): Correct thumbnail loading icon. * libnautilus-private/nautilus-file.c (update_info_internal): Don't invalidate DISPLAY_NAME for all files, since this will re-load file_info making directory loads very slow! As a workaround, only do this if file->details->display_name is already set. I don't know if this is the correct way though. 2002-09-18 Alexander Larsson Merge the new-icon-factory-branch branch to HEAD. 2002-09-18 Alexander Larsson * libnautilus-private/gnome-icon-lookup.c: * libnautilus-private/nautilus-bookmark.c: * src/file-manager/fm-desktop-icon-view.c: Final icon naming. 2002-09-18 Alexander Larsson * libnautilus-private/nautilus-icon-factory.c: Compile fixes for gnome-desktop head. 2002-09-17 Alexander Larsson * libnautilus-private/gnome-icon-lookup.c: Also look for generic mimetypes. 2002-09-17 Alexander Larsson * libnautilus-private/gnome-icon-lookup.c: Clean up #defines 2002-09-17 Alexander Larsson * libnautilus-private/gnome-icon-lookup.c (gnome_icon_lookup): Look up mime icons before file types. 2002-09-17 Alexander Larsson * libnautilus-private/Makefile.am: Added SYSCONFDIR. Removed nautilus-find-icon-image.[ch] * libnautilus-private/gnome-icon-lookup.c: Add gif to gdk-pixbuf supported list. * libnautilus-private/gnome-thumbnail.c: Add gif to gdk-pixbuf supported list. Thumbnailing scripts Fix failed thumbnail directory creation * libnautilus-private/nautilus-directory-async.c: * libnautilus-private/nautilus-file-private.h: * libnautilus-private/nautilus-file.c: * libnautilus-private/nautilus-file.h: * libnautilus-private/nautilus-icon-factory.c: custom_icon_uri -> custom_icon * libnautilus-private/nautilus-thumbnails.c: Write failed files on thumbnail failure. 2002-09-13 Alexander Larsson * libnautilus-private/gnome-thumbnail.[ch]: const cleanups Add gnome_thumbnail_has_uri. * libnautilus-private/nautilus-icon-container.c: * libnautilus-private/nautilus-icon-private.h: Clean up TODOs * libnautilus-private/nautilus-icon-factory-private.h: Remove nautilus_icon_factory_remove_by_uri * libnautilus-private/nautilus-icon-factory.c: Disable self checks by default Fix memory management of cache and fallback_icon Remove nautilus_icon_factory_remove_by_uri Clean up old code leftovers Use "loading" icon while thumbnailing. * libnautilus-private/nautilus-thumbnails.c: Remove some old code Reimplement nautilus_update_thumbnail_file_renamed and nautilus_remove_thumbnail_for_file 2002-09-12 Alexander Larsson * libnautilus-private/gnome-thumbnail-pixbuf-utils.c: Add fast jpeg loading code. * libnautilus-private/gnome-icon-lookup.[ch]: Add GNOME_ICON_LOOKUP_FLAGS_SHOW_SMALL_IMAGES_AS_THEMSELVES flag. * libnautilus-private/gnome-thumbnail.c: Threadsafe GnomeThumbnailFactory Use fast jpeg loader cleanup Thumbnail more image formats. * libnautilus-private/nautilus-icon-container.c: Don't scale wide but not very tall icons * libnautilus-private/nautilus-icon-factory.[ch]: Better handling of scaling with unknown base_size Frame thumbnails Add NAUTILUS_ICON_SIZE_THUMBNAIL * libnautilus-private/nautilus-thumbnails.c: Don't look for old framed thumbnails. We changed thumbnailing system anyway. 2002-09-11 Alexander Larsson * libnautilus-private/Makefile.am: * libnautilus-private/gnome-icon-lookup.c: * libnautilus-private/gnome-icon-lookup.h: * libnautilus-private/gnome-thumbnail-pixbuf-utils.c: * libnautilus-private/gnome-thumbnail.c: * libnautilus-private/gnome-thumbnail.h: New files. Destined for libgnomeui eventually. * libnautilus-private/nautilus-icon-factory.c: * libnautilus-private/nautilus-icon-factory.h: * libnautilus-private/nautilus-thumbnails.c: * libnautilus-private/nautilus-thumbnails.h: Major rewrite of icon factory and thumbnailing code. * libnautilus-private/nautilus-bookmark.c: * libnautilus-private/nautilus-bookmark.h: * libnautilus-private/nautilus-file-private.h: * libnautilus-private/nautilus-file.c: * libnautilus-private/nautilus-file.h: * libnautilus-private/nautilus-icon-container.c: * libnautilus-private/nautilus-icon-container.h: * libnautilus-private/nautilus-icon-private.h: * src/file-manager/fm-icon-container.c: * src/nautilus-bookmark-list.c: * src/nautilus-bookmark-parsing.c: * src/nautilus-sidebar-title.c: Use the new APIs 2002-09-15 Dave Camp Fixes bug #88596. * components/music/nautilus-music-view.c: (set_adjustment_value): New function, blocks the value_changed handler. (reset_playtime), (play_status_display): Use set_adjustment_value. (nautilus_music_view_destroy), (changed_idle_callback), (slider_changed_callback): When the value changes and the slider isn't being dragged, queue a seek in an idle handler. (add_play_controls): Tweak the page size. 2002-09-15 Dave Camp * src/nautilus-preferences-dialog.c: Provide accessible descriptions for the speed tradeoff items. 2002-09-15 Dave Camp Fixes bug #89616. * libnautilus-private/nautilus-directory.c: (nautilus_directory_notify_files_added): If a NautilusFile already exists for this file, send a changed notification rather than an added notification. * libnautilus-private/nautilus-directory.h: * libnautilus-private/nautilus-file.c: (update_info_internal): Invalidate the display name. 2002-09-10 Dave Camp * libnautilus-private/nautilus-icon-container.c: (realize): Removed background-modification code. (nautilus_icon_container_instance_init): Call eel_background_set_use_base(). This fixes the updating problem on theme switches. 2002-09-10 Dave Camp * libnautilus-private/nautilus-icon-container.c: (keyboard_space): * src/file-manager/fm-list-view.c: (key_press_callback): Activate files on space. 2002-09-09 Dave Camp * libnautilus-private/nautilus-icon-container.c: * src/nautilus-zoom-control.c: Make accessible_parent_class variables static. Patch from padraig.obriain@sun.com. 2002-09-04 Havoc Pennington * src/file-manager/fm-desktop-icon-view.c (real_update_menus): never set "Use default background" item insensitive for the desktop. * src/file-manager/fm-desktop-icon-view.c (reset_background_callback): Just unset the gconf keys for the background in order to "use default background", instead of getting background from nautilus theme. 2002-09-04 Dave Camp * libnautilus-private/nautilus-trash-directory.c: (add_volume): Don't start a search for a trash directory if one is already running. 2002-08-31 David Bordoley * src/nautilus-shell-ui.xml: Added escape keybinding to the stop button (bug 83691) * src/file-manager/fm-directory-view.c: * src/file-manager/nautilus-directory-view-ui.xml: Removed the "Remove Custom Icon" entry from the view menu and context menu (bug 82117 also sort of takes care of bug 86179). Changed keybinding for "Move to Trash" to delete and for "Delete" to shift+delete (bug 83218 this fixes bug 78120 as well). Use GTK_STOCK_DELETE in a bunch of dialogs instead of our own string. Changed broken link dialog string to "Do you want to move this link to the Trash?" and changed confirming button to "Mo_ve to Trash" to be consistent with the rest of the UI. 2002-08-30 Alexander Larsson Branched off Gnome 2.0.x development on the gnome-2-0 branch. 2002-08-29 Alexander Larsson * libnautilus-private/nautilus-volume-monitor.c (mount_volume_iso9660_add): Don't mark loopback mounts as CDROM. 2002-08-29 Alexander Larsson * src/nautilus-application.c (volume_mounted_callback): Allow other apps that do their own CD switching to temporary disable nautilus from popping up CD windows by grabbing the _NAUTILUS_DISABLE_MOUNT_WINDOW selection. === nautilus 2.0.6 === 2002-08-28 Alexander Larsson * NEWS: * configure.in: Bump version to 2.0.6 2002-08-28 Alexander Larsson * libnautilus-private/nautilus-volume-monitor.h: * libnautilus-private/nautilus-volume-monitor.c: New functions: nautilus_volume_copy, nautilus_volume_free, nautilus_volume_hash, nautilus_volume_is_equal. * libnautilus-private/nautilus-trash-directory.c: NautilusVolumes are not persistant. Don't keep pointers to old ones, keep copies instead. 2002-08-23 Alexander Larsson * libnautilus-private/apps_nautilus_preferences.schemas: Correct start_with_sidebar key. Patch from hp@redhat.com === nautilus 2.0.5 === 2002-08-23 Alexander Larsson * configure.in: * NEWS: Bump to 2.0.5. 2002-08-21 Michael Meeks * libnautilus-private/nautilus-icon-factory.c (nautilus_icon_factory_get_icon_for_file): fix in-icon svg rendering, also obey thumbnailing preferences for svg files (!). 2002-08-20 Alexander Larsson * libnautilus-private/nautilus-link-desktop-file.c: * libnautilus-private/nautilus-link-desktop-file.h: New function nautilus_link_desktop_file_local_is_utf8. * libnautilus-private/nautilus-link.c: * libnautilus-private/nautilus-link.h: New function nautilus_link_local_is_utf8. * src/file-manager/fm-desktop-icon-view.c (update_desktop_directory): Recreate trash and homedir links if they are not in utf8. 2002-08-15 Dave Camp * libnautilus/nautilus-clipboard.c (select_all_callback): Save the source so the idle callback can cancel the weak ref. (select_all_idle_callback): Cancel the weak ref so the source isn't destroyed twice. This should fix #74403. 2002-08-15 Alexander Larsson * libnautilus-private/nautilus-icon-container.c (icon_set_position): Work around our strange size allocation problems by always assuming the size of fixed_size containers is the size of the screen. This fixes the problem where all desktop icons end up in a pile in the top left corner on startup. We really need to fix our size allocation. 2002-08-14 Dave Camp * libnautilus-private/nautilus-icon-container.c: (nautilus_icon_container_class_init): Install a frame_text gtk style property, so that accessible themes can force the icon container to put a frame around unselected text. (setup_label_gcs): Use text[SELECTED] for the highlight text color, since it is now displayed against base[SELECTED]. If frame_text is set, use text[NORMAL] for normal text, since it will be displayed against base[NORMAL]. (nautilus_icon_container_set_use_drop_shadows): If frame_text is set, don't enable drop shadows, but save that they were requested. (style_set): Update use_drop_shadows based on whether frame_text is set and whether drop shadows were requested. (nautilus_icon_container_theme_changed): Call setup_label_gcs(). * libnautilus-private/nautilus-icon-canvas-item.c: (draw_frame): New function. (draw_or_measure_label_text): Rearranged for clarity, make it work when it is called for draw without being called for measure (ugh). Fixed a PangoLayout leak. If frame_text is set on the icon container, draw a background rectangle. (draw_label_layout): Don't drop shadow selected text. Drawing with text[SELECTED] on base[SELECTED] should look just fine without a drop shadow. * libnautilus-private/nautilus-icon-private.h: Added a drop_shadow_requested member. === nautilus 2.0.4 === 2002-08-14 Alexander Larsson * NEWS: * configure.in: Bump to 2.0.4 2002-08-12 Dave Camp * libnautilus-private/nautilus-dnd.c: (nautilus_drag_default_drop_action_for_icons): Unref target_uri before returning when eel_uri_is_trash (target_uri_string). * libnautilus-private/nautilus-file-operations.c: (append_basename): Free the filename returned from gnome_vfs_uri_etract_short_name(). * libnautilus-private/nautilus-theme.c: (attributes_free): Free the attributes struct. * libnautilus-private/nautilus-undo-manager.c: (finalize): Free the details struct. * src/nautilus-bookmark-list.c: (append_bookmark_node): Free the mime type string. 2002-08-12 Alexander Larsson * libnautilus-private/nautilus-file.c (rename_guts): Don't actually change desktop files when renaming and the new and old name are the same. This happens in the properties dialog when you switch notebook pages and is especially bad for vfolder directories. 2002-08-11 Frank Worsley * libnautilus-private/nautilus-file-operations-progress.h: * libnautilus-private/nautilus-file-operations-progress.c: (nautilus_file_operations_progress_update), (nautilus_file_operations_progress_destroy), (map_callback), (delayed_show_callback), (nautilus_file_operations_progress_new), (nautilus_file_operations_progress_new_file), (nautilus_file_operations_progress_done), (nautilus_file_operations_progress_pause_timeout), (nautilus_file_operations_progress_resume_timeout): use a timeout for showing the progress dialog * libnautilus-private/nautilus-file-operations.c: (create_transfer_dialog), (handle_transfer_vfs_error), (handle_transfer_overwrite), (nautilus_file_operations_copy_move), (nautilus_file_operations_delete), (do_empty_trash): modified to support timeout 2002-07-10 Jody Goldberg * libnautilus-private/nautilus-directory-async.c (mime_db_changed_callback) : if the mime db changes invalidate a pile of stuff for anything that is monitoring file information. (nautilus_directory_monitor_add_internal) : add a mime-db monitor if necessary. 2002-08-09 Dave Camp * libnautilus-private/nautilus-icon-canvas-item.c: (draw_label_layout): Don't draw a drop shadow on selected text. * libnautilus-private/nautilus-icon-container.c: (style_set): Call setup_label_gcs(). (setup_label_gcs): Use the text color from the gtk theme as a fallback for the selection text color. (nautilus_icon_container_theme_changed): Make the highlight_color_rgba a little bit transparent when falling back to the gtk theme. 2002-08-09 Dave Camp * libnautilus-private/nautilus-directory.c (call_files_changed_common): Don't add files to the work queue of a directory they don't belong to. * libnautilus-private/nautilus-directory-async.c (mime_list_start): Replaced got_directory_count with got_mime_list. (nautilus_directory_add_file_to_work_queue): Added a g_return_if_fail (file->details->directory == directory) 2002-08-08 Federico Mena Quintero * icons/crux_teal/crux_teal.xml: Added the "highlight_color_rgba" attribute to directory lists so that they will look pretty. 2002-08-08 Dave Camp * libnautilus-private/nautilus-directory-async.c (nautilus_directory_cancel_loading_file_attributes): Remove the file from the work queue. 2002-08-08 Michael Meeks * libnautilus-private/nautilus-icon-factory.c (nautilus_gdk_pixbuf_supported): fix ugly leak and daftness. 2002-08-07 Federico Mena Quintero * libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_theme_changed): Move sub-block variables to the function level, making this uglier, less clear, and more prone to uninitialized values, but following the Nautilus coding guidelines, which in this respect are incompatible with the GNOME Programming Guidelines via the GNU Coding Standards. * libnautilus-private/nautilus-icon-canvas-item.c (draw_or_measure_label_text): Likewise. 2002-08-07 Michael Meeks * libnautilus-private/nautilus-file.c (nautilus_file_can_rename): pass in info if we have it already. * src/file-manager/fm-desktop-icon-view.c (update_trash_link_and_delete_copies), (update_home_link_and_delete_copies), (delete_all_mount_links): kill in favour of (update_desktop_directory): so we don't stat / mime sniff everything 3+ times. (update_link_and_delete_copies): push this method and it's file / sniff loop upwards. * src/file-manager/fm-directory-view.c (special_link_in_selection): upd. (fm_directory_link_type_in_selection): kill, unused. * libnautilus-private/nautilus-link.c (get_link_style_for_local_file): operate on the passed in GnomeVFSInfo if we have it. * libnautilus-private/nautilus-dnd.c (nautilus_drag_selection_includes_special_link): upd for efficiency. 2002-08-06 Alex Graveley * libnautilus-private/nautilus-file.c (rename_guts): Use eel_vfs_has_capability() to check if file is local (instead of explicitly looking for a file:/// uri) so that renaming .desktop files works with vfolder uris. Fixes #73773. 2002-07-02 Jody Goldberg * libnautilus-private/nautilus-program-chooser.c (launch_mime_capplet) : That a NautilusFile and pass both the mime type and the name to the capplet so that it can make more intelligent defaults if necessary. (launch_mime_capplet_on_ok) : adjust to changes in launch_mime_capplet. (launch_mime_capplet_and_close_dialog) : ditto. 2002-08-06 Federico Mena Quintero Fixes #82194. * icons/text-selection-frame.png: Made the base frame image white with rounded corners over a transparent background. * libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_theme_changed): If the theme does not specify a color for the text highlight color, use the widget style's base[GTK_STATE_SELECTED]. * libnautilus-private/nautilus-icon-canvas-item.c (draw_or_measure_label_text): Multiply the (white) selection pixbuf by the highlight color so that we get a tinted pixbuf with proper alpha. === nautilus 2.0.3 === 2002-08-05 Dave Camp * NEWS: updated. * configure.in: 2.0.3 2002-08-02 Michael Meeks * libnautilus-private/nautilus-icon-factory.c (path_represents_svg_image): don't do a synchronous mime sniff on every icon we load. 2002-08-02 Thomas Meeks * libnautilus-private/nautilus-icon-factory.c (nautilus_gdk_pixbuf_supported): impl. we need this to detect small, local image files that gdk-pixbuf can't render. (nautilus_icon_factory_get_icon_for_file): fix logic bug, so that we do get_thumbnail_uri for small, local images that may be tractable to 'convert'. 2002-08-01 Dave Camp * libnautilus-private/nautilus-icon-container.c: (start_rubberbanding): Get the selection color from the gtk theme if none is specified in the nautilus theme. (realize): Use gtk_widget_modify_bg() to set the background color. (style_set): Call nautilus_icon_container_theme_changed(), as changes to the style can now affect the theme. 2002-07-31 Frank Worsley * libnautilus-private/nautilus-program-choosing.c: (nautilus_launch_desktop_file): be smarter about appending local paths or uris to command 2002-07-31 Dave Camp * libnautilus-private/nautilus-icon-container.c: (motion_notify_event): Use gtk_drag_check_threshold() to check for drag distance. * libnautilus-private/nautilus-icon-dnd.c: (nautilus_icon_dnd_begin_drag): Handle a gtk_drag_begin() that returns NULL. 2002-07-31 Michael Meeks * libnautilus-private/nautilus-file-operations.c (build_error_string): fall back to the other routines if source_name is NULL [ eg. permission failure moving a whole directory not a single file ] #87686 2002-07-27 Dave Camp * libnautilus-private/nautilus-icon-factory.c (icon_theme_changed_callback): Fixed a problem where shortcutting || was preventing the fallback theme from being set. Fixes #89178. 2002-07-27 Dave Camp * src/nautilus-sidebar.c: (background_settings_changed_callback): Update the current_background_color, the current_background_image, and is_default_background. 2002-07-27 Dave Camp * libnautilus-private/eggtreemultidnd.c: (stop_drag_check), (egg_tree_multi_drag_button_release_event), (egg_tree_multi_drag_button_press_event): Save the events to be propagated in order. (fixes #89214) 2002-07-26 Dave Camp * libnautilus-private/Makefile.am: Added eggtreemultidnd.[ch]. * libnautilus-private/eggtreemultidnd.c: * libnautilus-private/eggtreemultidnd.h: New files. * src/file-manager/fm-list-model.c: (fm_list_model_multi_row_draggable), (fm_list_model_file_for_path), (each_path_get_data_binder), (fm_list_model_multi_drag_data_get), (fm_list_model_multi_drag_data_delete), (fm_list_model_set_drag_view), (fm_list_model_get_drag_types), (fm_list_model_multi_drag_source_init), (fm_list_model_get_type): Implemented the multi drag source. * src/file-manager/fm-list-model.h: * src/file-manager/fm-list-view.c: (event_after_callback): Moved the context menu out of here... (button_release_callback): to here. (button_press_callback): Pass the current view and the position to the model. (create_and_set_up_tree_view): Enable drag source on the view. 2002-07-25 Michael Meeks * libnautilus-private/nautilus-icon-factory.c (icon_theme_changed_callback): upd. (nautilus_icon_factory_init): upd. (is_theme_in_user_directory): move from here. (set_theme_name): kill. (nautilus_icon_factory_init, cache_icon_new), (cache_icon_ref, cache_icon_unref): only do the cache_icons thing when debugging is turned on. * libnautilus-private/nautilus-find-icon-image.c (is_theme_in_user_directory): move to here. (nautilus_icon_theme_set_names), (nautilus_icon_theme_destroy), (nautilus_icon_theme_new): impl. (choose_theme): upd. (get_themed_icon_file_path): don't do the XML parse of i-regular.xml twice, just pass scalable_details in to read_details. (details_from_doc_node): split from (read_details): upd. 2002-07-25 Dave Camp * components/tree/nautilus-tree-view.c: (get_root_uri_callback), (get_file_for_path_callback), (move_copy_items_callback): New functions. (create_tree): Create a NautilusTreeViewDragDest. (nautilus_tree_view_dispose): Unref the DragDest object. (nautilus_tree_view_class_init): initialize dispose. * libnautilus-private/Makefile.am: Build nautilus-tree-view-drag-dest.[ch]. * libnautilus-tree-view-drag-dest.c: * libnautilus-tree-view-drag-dest.h: New files. * libnautilus-private/nautilus-dnd.c: (nautilus_drag_selection_includes_special_link): Moved here from nautilus-icon-dnd.c. * libnautilus-private/nautilus-dnd.h: Prototype for nautilus_drag_selection_includes_special_link. * libnautilus-private/nautilus-file.c: (nautilus_file_get_drop_target_uri): Moved here from fm-directory-view. * libnautilus-private/nautilus-file.h: * libnautilus-private/nautilus-icon-dnd.c: (nautilus_icon_container_receive_dropped_icons): Call nautilus_drag_selection_includes_special_link(). * libnautilus-private/nautilus-marshal.list: New marshallers. * src/file-manager/fm-icon-view.c: (get_icon_drop_target_uri_callback): Use nautilus_file_get_drop_target_uri(). * src/file-manager/fm-list-view.c: (get_root_uri_callback), (get_file_for_path_callback), (move_copy_items_callback): New functions. (create_and_set_up_tree_view): Create a NautilusViewDragDest object. (fm_list_view_dispose): Unref the DragDest object. === nautilus 2.0.2 === 2002-07-25 Dave Camp * NEWS: Add news items. * configure.in: Bump requirements, patch from Rodney Dawes. Bump version to 2.0.2. 2002-07-24 Dave Camp (nautilus_music_view_init): Use an EelBackgroundBox instead of a GtkEventBox. * components/music/nautilus-music-view.c: * src/nautilus-sidebar.c: Derive from EelBackgroundBox instead of GtkEventBox. (nautilus_sidebar_style_set): Removed special case for EelBackgroundStyle. 2002-07-24 Michael Meeks * src/nautilus-window-manage-views.c (update_title): only set the location bookmark if it's non NULL. #87889 2002-07-24 Michael Meeks * src/nautilus-window.c (nautilus_window_destroy): NULL various elements, including the sidebar here: #87414 === nautilus 2.0.1 === 2002-07-22 Alexander Larsson * NEWS: Add major news items * configure.in: Bump version to 2.0.1 Require eel 2.0.1 2002-07-22 Alexander Larsson * src/file-manager/fm-desktop-icon-view.c: * src/file-manager/fm-directory-view.c: * src/file-manager/nautilus-directory-view-ui.xml: * src/nautilus-shell-ui.xml: * src/nautilus-sidebar.c: Fixup usage of ellipses. Patch from Gregory Merchan 2002-07-22 Alexander Larsson * libnautilus-private/nautilus-file.c (rename_guts): Allow renaming desktop files to have a slash in them. 2002-07-22 Alexander Larsson * components/history/Nautilus_View_history.server.in.in: * components/notes/Nautilus_View_notes.server.in.in: Fix wrong location. 2002-07-22 Alexander Larsson * src/file-manager/fm-desktop-icon-view.c: Fix for #86073. Don't show removable media options for non removable media. Also name the unmount menu item "Eject" for removable media. 2002-07-19 Federico Mena Quintero Fixes the Nautilus part of #46238; see eel for the other part. * components/hardware/nautilus-hardware-view.c (nautilus_hardware_view_init): Do not set a hardcoded background color; just use the color from the GTK+ theme. We still set up the EelBackground as this handles dragged colors, but it does not save them anywhere. * components/notes/nautilus-notes.c (make_notes_view): Do not set up an EelBackground at all for the text view; just let it use the default color from the GTK+ theme. This code did not handle dragged colors or anything, anyways. * src/nautilus-property-browser.c (nautilus_property_browser_init): Do not set a hardcoded background color. * src/nautilus-sidebar.c (nautilus_sidebar_style_set): ::style_set() handler; we act as if the theme changed. * icons/gnome/gnome.xml: Removed hardcoded colors and background images so that we follow the current GTK+ theme. It's bland but good. 2002-07-17 Frank Worsley * src/nautilus-application.c: (save_window_geometry_timeout), (nautilus_window_configure_event_callback), (nautilus_window_unrealize_event_callback): improve saving of geometry. only save it if we really resize a window, not when a window is first shown or viewport change * src/nautilus-shell.c: (open_window): * src/nautilus-bookmarks-window.c: (nautilus_bookmarks_window_restore_geometry): update for changed eel function * src/nautilus-window-manage-views.c: (pending_location_already_showing): added new (position_and_show_window_callback): ignore saved window position if same window already showing * src/nautilus-window.c: (nautilus_window_instance_init), (nautilus_window_save_geometry): * src/nautilus-window.h: updated for new eel function and changes described above 2002-07-17 jacob berkman * components/adapter/Makefile.am (EXTRA_DIST): fixup 2002-07-17 Michael Meeks * components/hardware/Makefile.am (server_in_files): fixup name. 2002-07-17 Bastien Nocera * libnautilus-private/nautilus-directory-async.c: (should_look_for_dot_directory_file): fix function not to run eel_str_has_prefix against NULL, either we use a NULL terminator to the array, or G_N_ELEMENTS. Makes rio500: work, and should speed up most network methods. (Closes: #78951) 2002-07-11 Michael Meeks * components/*/.server.in -> *.server.in.in * components/*/Makefile.am: move stuff into $(libexec) and $(libdir)/bonobo - a very, very boring ( and likely to be buggy ) patch, watch the tinderbox... * libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_class_init): upd. (expose_event): add for debugging, looks like most icons areas get 3 expose events each on startup. 2002-07-16 Dave Camp * src/nautilus-window-manage-views.c (load_content_view): Use "folder" instead of "directory" in the accessible description. 2002-07-15 Federico Mena Quintero * libnautilus-private/nautilus-directory-background.c (image_loading_done_callback): Fix window/background_window typo. 2002-07-15 Rohit R Laavanya K R * src/file-manager/fm-directory-view.c: (can_move_uri_to_trash) * libnautilus-private/nautilus-dnd.c (nautilus_drag_default_drop_action_for_icons): Changed the file permission from 0777 to 0 for the .Trash while calling gnome_vfs_find_directory, since gnome-vfs now ignores the permissions parameter when creating trash. 2002-07-15 jacob berkman * libnautilus-private/nautilus-directory-background.c (image_loading_done_callback): check that our window and the pixmap have the same depth 2002-07-12 Damon Chaplin * libnautilus-private/nautilus-program-chooser.c (nautilus_program_chooser_instance_init): add a Help button. (help_cb): show the help page corresponding to the current dialog mode. Fixes bug #85804. 2002-07-12 Damon Chaplin * libnautilus-private/nautilus-file-operations.c (confirm_empty_trash): ui-review fixes to add an icon to the 'Empty' button, add a mnemonic, make 'Empty' the default button, and change the title. Fixes bug #85666. (Though I didn't make it non-modal as that is a bit awkward.) 2002-07-11 Damon Chaplin * src/file-manager/fm-properties-window.c: ui-review changes. added '_Name:' label for filename, added mnemonics, and used standard capitalization. On the permissions page I added _Read/_Write/E_xecute labels to the checkbuttons, since it improves keynav. Currently GtkCheckButton doesn't show a focus indicator if there is no label. Even if that were fixed (there is a patch on bug #74830) mnemonic accelerators work better with labels for all the checkbuttons. Fixes bug #85658. 2002-07-11 jacob berkman * libnautilus-private/nautilus-volume-monitor.c (entry_is_supermounted_volume): (has_removable_mntent_options): use a macro to portably access the fs type (fixes bug #87889) (entry_is_supermounted_volume): #ifdef HAVE_HASMNTOPT around the body of this (get_removable_volumes): fix typos etc. when HAVE_GETMNTINFO is defined * configure.in: add checks for getmntinfo and sys/mount.h so that bsd mount code paths actually get built / run 2002-07-11 Dave Camp * libnautilus-private/nautilus-directory.c (nautilus_directory_notify_files_moved): Cancel loading of attributes in the old directory before moving to the new directory. 2002-07-11 Michael Meeks * libnautilus-private/nautilus-icon-container.c (setup_gc_with_fg, setup_label_gcs, update_label_color): impl, split, upd. (nautilus_icon_container_get_label_color): don't fetch the style for no good reason, get the colored gc from an array instead. rename to (nautilus_icon_container_get_label_color_and_gc): this (realize, unrealize): setup / free the gcs. * libnautilus-private/nautilus-icon-canvas-item.c (draw_or_measure_label_text): use cached gc(s) from the container, instead of thrashing them. (antialias_selection_rectangle): upper case, and #define since it's always true. 2002-07-11 Michael Meeks * libnautilus-private/nautilus-icon-canvas-item.c (nautilus_icon_canvas_item_update): move the render out of update_bounds so we request_redraw if the bounds don't change, odd that we need to do that. 2002-07-11 Dave Camp * src/nautilus-location-bar.c: (nautilus_location_bar_init): Added a relation between the label and entry. * src/nautilus-preferences-dialog.c: Changed "file names" to "filenames" on request of the ui-review. * src/nautilus-window-manage-views.c: (load_content_view), (nautilus_window_set_sidebar_panels): Added some a11y names and descriptions. 2002-07-11 Dave Camp * components/history/nautilus-history-view.c: (update_history): Don't block the selection_changed signal. (row_activated_callback): Moved here from selection_changed_callback. (update_click_policy), (click_policy_changed_callback): New functions. (nautilus_history_view_instance_init): Connect to row_activated, set up a preferences callback for the click policy, and call update_click_policy(). (nautilus_history_view_finalize): Remove the preferences callback. 2002-07-10 Damon Chaplin * libnautilus-private/nautilus-program-choosing.c (nautilus_launch_desktop_file): don't pass GNOME_DESKTOP_ITEM_LOAD_ONLY_IF_EXISTS to gnome_desktop_item_new_from_uri(), as it returns NULL if the executable isn't found and we crash. Nautilus will find out that it doesn't exist when it tries to run it, and it will show an error dialog. Fixes bug #87286. 2002-07-10 Michael Meeks * libnautilus-private/nautilus-icon-canvas-item.c (nautilus_icon_canvas_item_set_renaming): make is_renaming a bit-field to save ~4+ bytes per canvas item. (nautilus_icon_canvas_item_update): don't request another re-draw on the item immediately after returning, save some uta thrash. 2002-07-10 Michael Meeks * src/nautilus-sidebar.c (nautilus_sidebar_update_appearance): update the title color only if the background has changed; (nautilus_sidebar_finalize): keep the current background colour/image on the sidebar as well as the defaults. (value_different, nautilus_sidebar_update_appearance): update only when the values are different, pass the background in. (nautilus_sidebar_create_context_menu): use stored boolean. (nautilus_sidebar_background_is_default): do this (nautilus_sidebar_update_appearance): inline, once here. * src/nautilus-sidebar-title.c (nautilus_sidebar_title_background_is_default): kill this method cut and paste coded from nautilus-sidebar.c (realize_callback, appearance_changed_callback): remove contorted 'wizard'ry ( and redundant pixbuf colouring logic ) (nautilus_sidebar_title_theme_changed): don't do title changed, nautilus-sidebar.c will do it for us. (update_all): don't update the title colour, every time we move directory a file ( with pixbuf darkness test, etc. etc. ) (nautilus_sidebar_title_select_text_color): bin background == NULL mess, it never happens now. (nautilus_sidebar_title_background): more applied spaghetti hurling gone. 2002-07-10 Michael Meeks * src/nautilus-application.c (is_kdesktop_present): disable the look_for_kdesktop_recursive code, since this takes ~1 second at startup on my Ultra 2. (look_for_kdesktop_recursive, has_wm_state, get_self_typed_prop): don't compile these either. 2002-07-09 Damon Chaplin * src/nautilus-preferences-dialog.c (dialog_button_response_callback): updated pane names so help for "Side Panes" and "Performance" pages works again. 2002-07-09 Damon Chaplin * src/nautilus-window-menus.c (refresh_bookmarks_menu): if WEB_NAVIGATION_ENABLED is not defined don't ever append the static (system default) bookmarks. Since nautilus isn't a good web browser at present these make little sense. (append_static_bookmarks): (get_static_bookmarks_file_path): ifdeffed out unused functions. * src/file-manager/fm-desktop-icon-view.c (update_home_link_and_delete_copies): * src/nautilus-window.c (nautilus_window_go_home): * src/nautilus-window-manage-views.c (determined_initial_view_callback): use #ifdef WEB_NAVIGATION_ENABLED to determine whether we use the NAUTILUS_PREFERENCES_HOME_URI preference or just use the user's $HOME. WEB_NAVIGATION_ENABLED isn't defined for now. * src/nautilus-preferences-dialog.c: Lots of string changes. Hid the 'Navigation' pane. (global_preferences_populate_sidebar_panels_callback): just use the side pane name as the preference name, rather than 'Display %s tab in side pane'. (preferences_dialog_populate_themes_group): set the theme selector height to 300 so it fills its page a bit better. (Would be nicer if we could set an 'expand' option but that is more complicated.) * libnautilus-private/nautilus-global-preferences.c: change 'Local Files Only' to 'Local File Only'. Fixes most of bug #85673. 2002-07-09 Michael Meeks * src/nautilus-property-browser.c (property_browser_category_button_new): build radio button & set mode. (category_clicked_callback): cut most of it out. (make_category_link): upd. (build_radio_accessibility_relations): kill - uses real radio buttons now. 2002-07-09 Dave Camp * libnautilus-private/nautilus-global-preferences.c: * src/file-manager/fm-desktop-icon-view.c: (update_home_link_and_delete_copies): * src/nautilus-location-bar.c: (nautilus_location_bar_init): * src/nautilus-preferences-dialog.c: (global_preferences_populate_sidebar_panels_callback), (preferences_dialog_populate_themes_group): * src/nautilus-theme-selector.c: (nautilus_theme_selector_instance_init): * src/nautilus-window-manage-views.c: (load_content_view), (determined_initial_view_callback), (nautilus_window_set_sidebar_panels): * src/nautilus-window-menus.c: (refresh_bookmarks_menu): * src/nautilus-window.c: (nautilus_window_go_home): 2002-07-09 Dave Camp * libnautilus-private/nautilus-icon-container.c: (select_previous_or_next_icon): Moved here from select_previous_or_next_name(), select the next item in the sort order instead of the next alphabetically. (key_press_event): Use select_previous_or_next_icon(). 2002-07-08 Michael Meeks * libnautilus-private/nautilus-icon-container.c (update_label_color): short circuit via use_drop_shadows doing a horribly expensive eel_background_is_dark on the (potentially huge) desktop background. 2002-07-08 Michael Meeks * src/nautilus-zoom-control.c (nautilus_zoom_control_set_parameters): add pre-condition. * src/nautilus-location-bar.c (editable_event_after_callback): if shift or control are down, don't pop to the end of the field to help auto-completers. 2002-07-08 Alexander Larsson * icons/default/desktop-home.png: Use the normal gnome home icon by tigert. 2002-07-08 Gregory Merchan * components/music/nautilus-music-view.c * components/news/nautilus-news.c * libnautilus-private/nautilus-customization-data.c * libnautilus-private/nautilus-directory-async.c * libnautilus-private/nautilus-file-utilities.c * libnautilus-private/nautilus-file-utilities.h * libnautilus-private/nautilus-find-icon-image.c * libnautilus-private/nautilus-icon-factory.c * libnautilus-private/nautilus-link-historical.c * libnautilus-private/nautilus-theme.c * src/nautilus-application.c * src/nautilus-bookmark-list.c * src/nautilus-first-time-druid.c * src/nautilus-property-browser.c * src/nautilus-window-menus.c * src/file-manager/fm-desktop-icon-view.c Replace nautilus_make_path (dir, file) with g_build_filename (dir, path, NULL). Remove nautilus_make_path (). Fixes bug #42424. 2002-07-08 Michael Meeks * libnautilus-private/nautilus-icon-container.c (key_press_event): handle [C/S]-F10 for popup a11y. (handle_popups): impl. 2002-07-08 Michael Meeks * src/nautilus-property-browser.c (nautilus_property_browser_init): re-instate label boldness for Alex. (make_category_link): return the button widget. (nautilus_property_browser_update_contents): keep track of the buttons & call relation setup in (build_radio_accessibility_relations): here. 2002-07-08 Frederic Crozat * libnautilus-private/filesystem-attributes.xml: * libnautilus-private/nautilus-volume-monitor.c: (has_removable_mntent_options), (get_removable_volumes), (entry_is_supermounted_volume), (volume_is_removable), (mount_volume_make_cdrom_name), (get_mount_list), (mount_unmount_callback), (nautilus_volume_monitor_mount_unmount_removable), (finish_creating_volume): Add support for supermount. * libnautilus-private/nautilus-volume-monitor.c: (eject_device): Fix crash when eject media. 2002-07-05 Dave Camp * src/nautilus-sidebar.c (nautilus_sidebar_create_context_menu): Changed "Reset Background" to "Use Default Background" and put it at the end of the menu for consistency with the icon view. 2002-07-05 Dave Camp * src/file-manager/fm-directory-view.c: (real_merge_menus), (real_update_menus): Update menu paths and mnemonics. * src/file-manager/nautilus-directory-view-ui.xml: Moved Duplicate, Make Link, Rename, Move to Trash, and Delete from the File menu to the Edit menu. Removed the gtk-new pixmap from New Folder (it is confusing). Removed Go to Trash, this was put in the shell. * src/file-manager/nautilus-icon-view-ui.xml: Changed mnemonics. * src/nautilus-shell-ui.xml: Moved "Dangerous File Items" placeholder from File to Edit, added a "File Items Placeholder" in Edit, added a Stop button to the view menu, changed the Show/Hide menuitems to toggle buttons, and added a Go To Trash menu item. * src/nautilus-window-menus.c: (go_menu_go_to_trash_callback), (view_menu_show_hide_sidebar_state_changed_callback), (view_menu_show_hide_toolbar_state_changed_callback), (view_menu_show_hide_location_bar_state_changed_callback), (view_menu_show_hide_statusbar_state_changed_callback): New functions. (nautilus_window_update_show_hide_menu_items): Change toggle state instead of menu item text. (nautilus_window_initialize_menus_part_1): Connect bonobo listeners to the toggle menu items. 2002-07-05 Alexander Larsson * src/nautilus-window-manage-views.c: Don't use window geometry metadata to place the desktop window. * libnautilus-private/nautilus-icon-factory.[ch]: Add a GnomeIconLoader to NautilusIconFactory. This is just initial code for handling icon themes in desktop file icons. * libnautilus-private/nautilus-link-desktop-file.c: Use GnomeIconLoader to load desktop file icons. * configure.in: Add gnome-desktop to COMPONENT_MODULES. 2002-07-02 Damon Chaplin * libnautilus-private/nautilus-file.c (rename_guts): for .desktop files invalidate the file's NAUTILUS_FILE_ATTRIBUTE_DISPLAY_NAME attribute rather than calling nautilus_file_changed(), since otherwise it will just use the old display name. Fixes bug #85966. 2002-07-02 Damon Chaplin * src/file-manager/fm-list-view.c (create_and_set_up_tree_view): set the initial pixbuf column to match the initial zoom level, 25%. Otherwise the pixbuf column may not be set and the icons don't appear. Fixes bug #85286. 2002-07-02 Michael Meeks * src/nautilus-preferences-dialog.c (global_preferences_populate_sidebar_panels_callback), (dialog_button_response_callback): sidebar -> side pane. * src/nautilus-window-menus.c (nautilus_window_update_show_hide_menu_items): ditto. * components/tree/Nautilus_View_tree.server.in, * components/notes/Nautilus_View_notes.server.in, * components/history/Nautilus_View_history.server.in: ditto. 2002-07-02 Michael Meeks * src/nautilus-bookmarks-window.c (create_bookmarks_window): use new eel_glade_get_file. * configure.in: hack libglade out, we use eel now, requires a recent eel. * data/browser.xml: add mnemonics * src/nautilus-property-browser.c (nautilus_property_browser_init): don't shrink the description text, un-bold description [ makes it look ugly, but hey ]. 2002-07-02 Michael Meeks * src/nautilus-bookmarks-window.c (repopulate): remove cut and paste complexity. 2002-07-01 Michael Meeks * src/nautilus-bookmarks-window.c (create_bookmark_store): split out (create_bookmarks_window): UI review changes. (repopulate): set style. (bookmarks_set_empty): impl. (get_selected_bookmark): upd. (on_remove_button_clicked): upd. * configure.in: add libglade checks. 2002-07-02 Dave Camp * src/nautilus-shell-ui.xml: Applied patches from Juan Salaverria to change "Up a Level" to "Up", and to add a separator between Up and Home. Fixes ui review bugs 82313 and 82109. 2002-07-02 Dave Camp * src/file-manager/fm-icon-view.c: (fm_icon_view_update_menus): * src/file-manager/fm-directory-view.c: (reset_bonobo_open_with_menu), (real_update_menus): Use nautilus_bonobo_set_label instead of nautilus_bonobo_set_label_for_menu_item_and_command, since popups should now have mnemonics. * src/file-manager/nautilus-desktop-icon-view-ui.xml: * src/file-manager/nautilus-directory-view-ui.xml: * src/file-manager/nautilus-icon-view-ui.xml: * src/nautilus-shell-ui.xml: Added mnemonics to items on the popup menus, changed some mnemonics to prevent duplicates (including a patch from David Bordoley * libnautilus-private/nautilus-bonobo-extensions.c: (nautilus_bonobo_set_label_for_toolitem_and_command): Moved here from nautilus_bonobo_set_label_for_menu_item_and_command, since popups should display mnemonics. This function isn't used anymore, but I'm leaving it in because it is still useful if we ever want to change the label of a verb with a toolbar button associated with it. 2002-07-02 Dave Camp * src/nautilus-application.c (set_session_restart): Set the restart style to RESTART_IF_RUNNING instead of RESTART_NEVER when restart is FALSE. 2002-07-01 Dave Camp * src/nautilus-window-menus.c: (forget_history_if_confirmed): Change wording as suggested in the ui review, bug #85668. 2002-07-01 David Emory Watson * src/file-manager/fm-directory-view.c: (update_scripts_menu): Remove all old script menus before rebuilding... * src/file-manager/fm-list-view.c: (button_press_callback): Fix memory leak. 2002-07-01 Dave Camp Changes from the UI review, bug #85669. * libnautilus-private/nautilus-program-chooser.c: (run_program_configurator_callback): Changed the wording. (nautilus_program_chooser_instance_init): Added a mnemonic to the Choose button. (nautilus_program_chooser_new): Refer to the File Types and Programs dialog rather than the (now nonexistant) GNOME Control Center. (nautilus_program_chooser_show_no_choices_message): Changed the wording. 2002-06-29 Gregory Merchan * src/nautilus-desktop-window.c: Call gdk_lower_window on map to not cover existing windows. Should alleviate bug #85784, but note that a window manager could always interfere. 2002-06-28 Christian Rose * src/nautilus-bookmarks-window.c, src/nautilus-preferences-dialog.c, src/nautilus-property-browser.c: Added line break to help error message. 2002-06-28 Alexander Larsson * src/file-manager/fm-directory-view.c Fixed mneumonic collision between "Make Link" and "Delete" Patch by David Bordoley 2002-06-28 Alexander Larsson * libnautilus-private/nautilus-icon-canvas-item.c (nautilus_icon_canvas_item_bounds): Fix bounds so we don't leave trails from the selected text rect. 2002-06-28 Alexander Larsson * icons/gnome/throbber/Makefile.am: * icons/gnome/throbber/001-006.png: * icons/gnome/gnome.xml: New throbber for gnome theme. Drawn by Ben FrantzDale 2002-06-28 Michael Meeks * libnautilus-private/nautilus-directory.c (nautilus_directory_file_list_length_reached): use the key here. * libnautilus-private/apps_nautilus_preferences.schemas: add directory_limit, so it's not a hard coded '4000'. 2002-06-28 Frederic Crozat * icons/default/default.xml: Fix url, since it is a redirection and nautilus-gtkhtml doesn't support that. 2002-06-28 Alexander Larsson * libnautilus-private/apps_nautilus_preferences.schemas * libnautilus-private/nautilus-global-preferences.c * libnautilus-private/nautilus-global-preferences.h * libnautilus-private/nautilus-program-choosing.c Removed xalf preferences and all remaining code references to xalf since we no longer support xalf in nautilus. * src/nautilus-window-menus.c Removed unused define for old help. Patch from David Bordoley 2002-06-28 Alexander Larsson * icons/default/Makefile.am (icon_DATA): * icons/default/trash-empty-192.png: * icons/default/trash-full-192.png: Added new 192 pixel versions of trash icon. Drawn by Ben FrantzDale 2002-06-28 Alexander Larsson * libnautilus-private/nautilus-volume-monitor.c: Don't eject when things are unmounted. Eject when we're explicitly unmounting a volume. * libnautilus-private/nautilus-volume-monitor.h: Add should_eject to nautilus_volume_monitor_mount_unmount_removable. * src/file-manager/fm-desktop-icon-view.c: Pass should_eject right. 2002-06-28 Alexander Larsson * src/file-manager/fm-desktop-icon-view.c (volume_ops_callback): Quote rawdevice_path. Patch from rajeev.karale@wipro.com 2002-06-27 Frank Worsley * libnautilus-private/nautilus-program-choosing.c: (nautilus_launch_desktop_file): use eel vfs capabilities to determine if file is safe to launch 2002-06-27 Dave Camp * libnautilus-private/nautilus-volume-monitor.c (finish_creating_volume): Save the volume device earlier, since nfs and smbfs file systems were causing the function to return before the device was being saved. This fixes a bug where the "Unmount Volume" menu item wasn't working on nfs and smbfs mounts. 2002-06-26 Mark McLoughlin * src/file-manager/fm-desktop-icon-view.c: (desktop_icon_view_property_filter): more typo fixage. 2002-06-25 Shivram U * libnautilus-private/nautilus-directory-background.c (make_root_pixmap): Set the Colormap for the GdkPixmap created via gdk_pixmap_foreign_new(). Fix for bug #83259. 2002-06-25 Frank Worsley * components/tree/nautilus-tree-view.c: (got_activation_uri_callback): implement viewing/opening and executing of files for the tree view * libnautilus-private/nautilus-dnd.c: * libnautilus-private/nautilus-link-desktop-file.c: * libnautilus-private/nautilus-link-historical.c: updated for new desktop-file: command specifier to allow proper launching of desktop files * libnautilus-private/nautilus-program-choosing.c: (nautilus_launch_desktop_file): new function to launch desktop files with proper exec parameter support * libnautilus-private/nautilus-program-choosing.h: define command specifiers in one place * src/file-manager/fm-directory-view.c: (get_executable_text_file_action): add "run in terminal" button, partial fix for #41773 (activate_callback), (fm_directory_view_move_copy_items): support proper launching of and dnd to desktop files 2002-06-25 Dave Camp * src/file-manager/fm-icon-view.c (get_icon_drop_target_uri_callback): Use eel_vfs_has_capability() to test for locality of the drop target. Fixes #82644. 2002-06-25 Damon Chaplin * libnautilus-private/nautilus-icon-factory.c (load_icon_from_path): Check for "/.nautilus/thumbnails/" rather than "/.thumbnails/". Fixes bug #82780. 2002-06-25 Dave Camp * src/file-manager/fm-icon-view.c (icon_view_handle_uri_list): Use the eel_vfs_has_capability() functon. 2002-06-25 Rajeev Karale * src/file-manager/fm-desktop-icon-view.c: (net_workarea_changed), (desktop_icon_view_property_filter), (fm_desktop_icon_view_init): its _NET_WORKAREA, not _NET_WM_WORKAREA. Requires latest metacity. 2002-06-24 Damon Chaplin * components/music/nautilus-music-view.c (get_song_text): if there are no tracks in the list just return "". (play_current_file): if there are no tracks in the list just return. Fixes bug #85975. 2002-06-24 Damon Chaplin * src/nautilus-theme-selector.c (theme_selector_changed_callback): added a final NULL argument to g_signal_emit(). Fixes bug #85399. * src/nautilus-preferences-dialog.c (theme_changed_callback): just return if selected_theme is NULL. This can happen when the dialog is being destroyed. 2002-06-20 Mark McLoughlin * src/file-manager/fm-desktop-icon-view.c: (icon_container_set_workarea): impl method to set icon container margins from workarea geometries. (net_wm_workarea_changed): renamed from panel_desktop_area_changed and uses _NET_WM_WORKAREA instead of GNOME_PANEL_DESKTOP_AREA. (desktop_icon_view_property_filter), (fm_desktop_icon_view_init): update. 2002-06-17 Dave Camp * libnautilus-private/nautilus-icon-container.c: (find_open_grid_space), (mark_icon_location_in_grid): Add DESKTOP_PAD_[HORIZONTAL,VERTICAL] to width and height to avoid new icons from being placed too closely to other icons, and don't place an icon partially outside of the grid. (lay_down_icons_tblr): Wrap before placing the icon if necessary, and reset max_width when moving to a new column. 2002-06-14 Damon Chaplin * src/nautilus-preferences-dialog.c (preferences_show_help): new function to show the help file. (dialog_button_response_callback): handle the Help button and show the appropriate help file. (preferences_dialog_create): add a Help button. Based on patch from Satyajit Kanungo . Fixes bug #83511. 2002-06-13 Dave Camp * libnautilus-private/nautilus-file.c: (nautilus_file_get_symbolic_link_target_uri): Escape the symlink name before constructing the uri. Fixes #84004. 2002-06-12 Damon Chaplin * src/nautilus-property-browser.c (nautilus_property_browser_init): Add a 'Help' button on the bottom-left of the dialog. Also used gtk_window_set_default_size() rather than gtk_widget_set_size_request() so the dialog grows if necessary. (help_button_callback): new callback to show the help page. Based on patch from Satyajit Kanungo . Fixes bug #83524. 2002-06-12 Damon Chaplin * test/Makefile.am (INCLUDES): * src/Makefile.am (INCLUDES): * components/tree/Makefile.am (INCLUDES): * components/throbber/Makefile.am (INCLUDES): * components/text/Makefile.am (INCLUDES): * components/notes/Makefile.am (INCLUDES): * components/news/Makefile.am (INCLUDES): * components/music/Makefile.am (INCLUDES): * components/history/Makefile.am (INCLUDES): * components/hardware/Makefile.am (INCLUDES): use $(prefix)/${DATADIRNAME}/locale rather than $(datadir)/locale so it works on Solaris. 2002-06-03 David Emory Watson * src/file-manager/fm-list-view.c: (get_derfault_zoom_level): New, protects us from illegal preferences. (set_zoom_level_from_metadata_and_preferences), (fm_list_view_reset_to_defaults), (fm_list_view_set_zoom_level), (fm_list_view_restore_default_zoom_level): Update. (fm_list_view_scale_font_size): Replace switch with loop and always use default font at default zoom level. (click_policy_changed_callback): Make underlines appear or disappear when the click policy changes. 2002-06-02 David Emory Watson * components/text/nautilus-text-view.c: (nautilus_text_view_instance_init): Turn on word wrapping. 2002-06-12 Alexander Larsson * libnautilus-private/nautilus-program-chooser.c: change vbox spacing to 5. Patch from Jorn Baayen 2002-06-11 Alexander Larsson * src/nautilus-window.h (nautilus_window_save_geometry): * src/nautilus-window-manage-views.c (determined_initial_view_callback): * src/nautilus-application.c (nautilus_application_create_window): Fix indentation. * NEWS: Update version * configure.in: Bump requirements to latest versions. 2002-06-10 Frank Worsley * src/nautilus-application.c: * src/nautilus-window-manage-views.c: * src/nautilus-window.c: * src/nautilus-window.h: always load the saved window geometry and save the geometry whenever a window is resized 2002-06-10 Rajeev Karale * libnautilus-private/nautilus-volume-monitor.c:finish_creating_volume() zip disk mount path fix for solaris. 2002-05-29 Satyajit Kanungo * src/nautilus-bookmarks-window.c: added a help button in the bookmark dialog box. put the help callback to link the help button to appropiate section in the help document. Fixes #83515. 2002-06-06 Michael Meeks * src/file-manager/fm-icon-view.c (icon_view_handle_uri_list): use new eel capabilities test. * configure.in: require various gnome 2.0 releases. * Version 2.0.0 2002-06-06 Michael Meeks * configure.in: Only enable the hardware view on Linux, if explicitely requested with --enable-hardware add status printout at the end of configure. * components/hardware/Makefile.am (bin_PROGRAMS): only setup if ENABLE_HARDWARE_VIEW === nautilus 1.1.19 === 2002-06-03 Alex Larsson * NEWS: Add some news. 2002-06-03 Alexander Larsson * configure.in: * NEWS: Bump version to 1.1.19 and update requirements. 2002-06-02 Frank Worsley * src/file-manager/fm-icon-view.c: * src/file-manager/fm-list-view.c: always use the user selected font at default zoom nice if you have a small/large default zoom so you don't have a tiny/large font 2002-06-03 Dave Camp * src/nautilus-window-manage-views.c (update_title): Removed gtk_window_set_role() call. 2002-06-01 David Emory Watson * libnautilus-private/apps_nautilus_preferences.schemas: Added schemas for the list view. 2002-06-01 John Fleck * src/nautilus-window-menus.c fix help - it was pointing at the wrong spot 2002-06-01 John Fleck * Makefile.am * configure.in remove old help docs from build 2002-05-28 Satyajit Kanungo * nautilus-window-menus.c : Added the help callback to link the Help documents present under user-guide for nautilus. 2002-05-31 Alex Larsson * libnautilus-private/nautilus-icon-canvas-item.c: Draw drop shadows if use_drop_shadows. * libnautilus-private/nautilus-icon-container.c: Implement nautilus_icon_container_set_use_drop_shadows. Use light color for labels if use_drop_shadows. * libnautilus-private/nautilus-icon-container.h: Add new function nautilus_icon_container_set_use_drop_shadows. * libnautilus-private/nautilus-icon-private.h: Add use_grop_shadow variable. * src/file-manager/fm-desktop-icon-view.c: Call nautilus_icon_container_set_use_drop_shadows() 2002-05-31 Damon Chaplin * src/nautilus-application.c (nautilus_application_create_desktop_window): realize the desktop window immediately, and do a gdk_flush(), so the NAUTILUS_DESKTOP_WINDOW_ID property is set and gnome-settings-daemon can tell that nautilus is running. Fixes part of #74311. 2002-05-31 Michael Meeks * components/adapter/nautilus-adapter-file-load-strategy.c (nautilus_adapter_file_load_strategy_load_location): upd. (get_file_load_method): impl. * components/adapter/nautilus-adapter-stream-load-strategy.c (nautilus_adapter_stream_load_strategy_load_location): upd. (unref_stream_cb, get_stream_load_method): impl. * components/adapter/nautilus-adapter-load-strategy.c (nautilus_adapter_load_strategy_load_async): impl. (nautilus_adapter_load_strategy_report_async_status): impl. (nautilus_adapter_load_strategy_report_load_failed), (nautilus_adapter_load_strategy_report_load_complete): prune. 2002-05-31 Michael Meeks * src/file-manager/fm-directory-view.c (display_pending_idle_callback): only NIL the idle_id if we are going to return FALSE and disconnect ourselves #83591 2002-05-30 Dave Camp * src/file-manager/fm-desktop-icon-view.c (fm_desktop_icon_view_init): Setup the root window to receive PropertyNotify events. 2002-05-30 Dave Camp * src/file-manager/fm-directory-view.c (process_new_files): Don't add files to old_changed_files if they are not shown. 2002-05-30 Dave Camp * src/nautilus-application.c (set_session_restart): Don't set the restart command here. (save_session): Implemented. * src/nautilus-window-manage-views.c (update_title): Set the role to the displayed uri. 2002-05-25 David Bordoley *src/nautilus-window-menus.c *src/nautilus-shell-ui.xml Changed names of callbacks for "backgrounds and emblems" and preferences to make them more descriptive. *src/nautilus-windows-menus.c Removed unused code relating to eazel customer feedback Use stock clear button in the clear history dialog Thu May 30 13:14:58 2002 George Lebl * src/file-manager/fm-desktop-icon-view.c, src/file-manager/nautilus-desktop-icon-view-ui.xml: Rename the New Launcher verb to "New Launcher Desktop" since it's sort of a more special case then the one in directory-view. This fixes the issue with the fix of #72715 2002-05-30 Damon Chaplin * src/nautilus-property-browser.c: use a separate pointer for each of the patterns/emblems/color dialogs, and make them not modal. It was using 'property_browser->details->category' in some of the callbacks, which meant it didn't work if the user had switched to one of the other patterns/colors/emblems pages. I hard-coded "patterns" and "emblems" instead. Fixes bug #80683. 2002-05-30 Damon Chaplin * components/music/nautilus-music-view.c: removed PLAYER_NEXT state, as it wasn't really necessary and was a bit confusing. (selection_changed): updated to make sure we update the displayed song title. (play_status_display): changed the code to move to the next track, as we don't use PLAYER_NEXT any more. (play_current_file): use esdout_can_play() to check if we can connect to esd. (go_to_previous_track): use 3000 instead of 300. (1000 is 1 second, see play_status_display()). (get_player_state): just return the state. Don't call esdout_playing(). * components/music/esd-audio.c (esdout_can_play): added new function to check if we can connect to esd. (esdout_playing): updated this so it only checks if we are currently playing a track. It doesn't try to connect to esd any more. Fixes bug #79231. 2002-05-30 Damon Chaplin * src/nautilus-bookmarks-window.c: Added support for DnD using GtkTreeView. I added on_row_changed() and on_row_deleted() and removed the old on_row_move(). I also added an extra column to the table to store a pointer to the bookmark object, so we can handle DnD. And a few hacks to keep the list store in sync with the bookmarks list. Fixes bug #80986. 2002-05-30 Alex Larsson * libnautilus-private/nautilus-icon-container.c (size_allocate): Don't relayout when window height changes unless we need it. Based on a patch by Jörgen Viksell Thu May 30 10:02:30 2002 George Lebl * src/Nautilus_shell.server.in, src/file-manager/fm-directory-view.c, src/file-manager/nautilus-directory-view-ui.xml: Add a New Launcher and Edit Launcher menu items for directories of type x-directory/vfolder-desktop, also have the icon and list view be able to view these just as the normal dirs. This should fix #72715, although since the monitors aren't yet working you have to hit reload after making a change. You also need an up to date panel (to get a well working gnome-desktop-item-edit proggie) 2002-05-29 Michael Meeks * libnautilus-private/nautilus-file.c (nautilus_file_mark_gone): remove the file from the link hash if it is going, since we bin the file info here and thus can't remove it later #74120 2002-05-28 Laszlo Peter * libnautilus-private/nautilus-thumbnails.c: #include for kill() and SIGKILL. 2002-05-27 Michael Meeks * libnautilus-private/nautilus-file.c (make_valid_utf8): split out into eel. (nautilus_file_get_display_name_nocopy): upd. requires HEAD eel, re-re-close #77892 === nautilus 1.1.18 === 2002-05-27 Alexander Larsson * configure.in: * NEWS: Bump version to 1.1.18 and update requirements. 2002-05-27 Jonathan Blandford * components/tree/nautilus-tree-model.c (TreeNode): make flag storage more efficient. (report_node_inserted): report has_child toggled before reporting row_inserted. * components/tree/nautilus-tree-view.c (row_inserted_expand_node_callback): remove evil hack to emit has_child toggled on the view. 2002-05-27 Chris Lyttle * Makefile.am: remove omf-install dir * configure.in: remove nautilus-quick-reference, nautilus-release-notes, nautilus-screenshot-guidelines from makefiles section. * help/omf.make: Added new file for changed omf build system * help/xmldocs.make: Updated for new omf build system * help/Makefile.am: remove nautilus-quick-reference, nautilus-release-notes, nautilus-screenshot-guidelines from subdirs and htmldocs.make, sgmldocs.make from EXTRA_DIST * help/nautilus-user-manual/C/Makefile.am: Change figs to figdir, add legal.xml * help/nautilus-user-manual/C/nautilus-user-manual-C.omf: Changed to conform to new omf format 2002-05-24 Anders Carlsson * src/file-manager/fm-desktop-icon-view.c: (volume_ops_callback): Don't exit if the file is local. Sigh, won't people test their code? * src/file-manager/fm-directory-view.c: (activate_callback): Special case "file" type URIs, so that people can still open their nfs mounted directories. * src/nautilus-window-private.h: * src/nautilus-window-toolbars.c: (nautilus_window_initialize_toolbars): * src/nautilus-window.c: (nautilus_window_finalize): Remove un-needed theme code. 2002-05-24 Michael Meeks * components/tree/nautilus-tree-view.c (row_inserted_expand_node_callback): work around the aformentioned gtk+ bug, since it seems not to be being fixed. 2002-05-24 Michael Meeks * libnautilus-private/nautilus-icon-dnd.c (drag_data_received_callback): fix proximate cause of #80896 * libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_update_icon): fix proximate cause of #78568. 2002-05-24 Alex Graveley * libnautilus-private/nautilus-monitor.c (monitor_add_internal): Fix typo which was horking monitors. 2002-05-23 Alex Graveley * libnautilus-private/nautilus-link-desktop-file.c (nautilus_link_desktop_file_local_create): Don't dup the string if there is an icon. 2002-05-23 Damon Chaplin * libnautilus-private/nautilus-thumbnails.c: major changes to use a thread to create thumbnails instead of forking for each one. May fix bug #78542 and #76338. 2002-05-23 Michael Meeks This change only partially works, it works correctly with a fix to Gtk+ from jrb, but then dies with multiple views. * components/tree/nautilus-tree-view.c (nautilus_tree_view_finalize): don't de-queue idle epansion state save. (schedule_save_expansion_state_callback), (save_expansion_state_idle_callback): kill. (create_tree): don't save the gconf key on each row expand / contract. (nautilus_tree_view_instance_init): setup expanded_uris. (load_expansion_state): kill. (row_inserted_expand_node_callback): impl. (create_tree): connect signal, always expand root. (load_expansion_state): impl. (save_expansion_state_callback): rename. (expand_row_if_stored): impl. Sigh - I spent hours working out there was a sort_path. * components/tree/nautilus-tree-model.c (nautilus_tree_model_new): optionally set the root. (nautilus_tree_model_set_root_uri): publicise. (nautilus_tree_model_iter_has_child): add some debug. 2002-05-23 Alex Larsson * src/file-manager/fm-directory-view.c: Move disconnect_model_handlers from finalize to destroy. This fixes a problem with signals arrive after the view is destroyed. Patch from Gustavo Giráldez 2002-05-23 Alex Larsson * libnautilus-private/nautilus-link-historical.c (nautilus_link_historical_local_create_from_gnome_entry): Update to new gnome-desktop api. 2002-05-23 Yanko Kaneti * configure.in: (ALL_LINGUAS) Added Bulgarian - bg. 2002-05-22 Alex Graveley * configure.in: Remove FAM check. * acconfig.h: Remove HAVE_LIBFAM. * libnautilus-private/nautilus-monitor.[ch]: Convert to using gnome-vfs monitors. nautilus_monitor_active() now checks if FAM can be used by creating a monitor for the user's desktop directory, and caches this if successful. Adds an idle handler to call nautilus_file_changes_consume_changes(), so multiple file changes have a chance of being chunked together. 2002-05-22 Bastien Nocera reviewed by: Alex Larsson * libnautilus-private/filesystem-attributes.xml: add some new filesystem types, fix smbfs' name * libnautilus-private/nautilus-volume-monitor.c: (mount_unmount_callback), (nautilus_volume_monitor_mount_unmount_removable), (finish_creating_volume), (nautilus_volume_monitor_get_mount_name_for_display): * libnautilus-private/nautilus-volume-monitor.h: fix display name for device with a trailing '/' in the mount point (ie. /foo/), add some more matching prefixes, add smb, windows, and apple types * src/file-manager/fm-desktop-icon-view.c: (create_mount_link): create the launcher with i-smb for smb mounts * src/nautilus-application.c: (volume_mounted_callback): update to use gconf like magicdev for gnome2 2002-05-20 Jorn Baayen * src/nautilus-shell-ui.xml: * src/nautilus-window-private.h: * src/nautilus-window-toolbars.c: always use the gtk stock icons in toolbars, set the priority property for some buttons, add history dropdown buttons, remove rightclick menu. 2002-05-22 Eric Baudais * help/nautilus-user-manual/C/nautilus-user-manual-C.omf Updated the OMF file for GNOME 2.0. 2002-05-22 Michael Meeks * src/file-manager/fm-directory-view.c (display_selection_info_idle_callback): hold a ref during the duration of the call, to guard against re-enterancy related sudden death #72991 (display_pending_timeout_callback), (update_menus_timeout_callback), (display_pending_idle_callback): ditto for good measure. 2002-05-22 Michael Meeks * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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. === nautilus 1.1.17 === 2002-05-20 Alex Larsson * configure.in: * NEWS: Bumped to 1.1.17. Require eel 1.1.15. 2002-05-17 Alex Larsson * configure.in: Remove libpng checks. They are not used. 2002-05-17 Alex Graveley * 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 * 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-15 Alex Larsson * MAINTAINERS: Fix my email address. 2002-05-17 Michael Meeks * 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 * libnautilus-private/nautilus-bookmark.c (nautilus_bookmark_get_pixmap_and_mask): kill, unused. 2002-05-17 Anders Carlsson * src/file-manager/fm-directory-view.c: Remove some old, unused code. 2002-05-17 Alexander Larsson * components/history/nautilus-history-view.h: Add copyright notice. * components/notes/Makefile.am: * components/notes/Nautilus_View_notes.server.in: * components/notes/nautilus-notes.c: Make the notes component a shlib component. 2002-05-16 Damon Chaplin * 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 Abel Cheung * libnautilus-private/apps_nautilus_preferences.schemas: Missing bracket in default value. 2002-05-16 Michael Meeks * 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 * src/nautilus-location-bar.c (try_to_expand_path): * 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-16 Jacob Berkman * components/history/Makefile.am (libnautilus_history_view_la_SOURCES): include nautilus-history-view.h 2002-05-15 Sean Atkinson * 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 * 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 * 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. === nautilus 1.1.16 === 2002-05-13 Alex Larsson * configure.in: * NEWS: Bump version number 2002-05-13 Alex Larsson * 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 * 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 Dave Camp * libnautilus-private/nautilus-global-preferences.c: * src/nautilus-bookmarks-window.c: (create_bookmarks_window): * src/nautilus-preferences-dialog.c: Added mnemonics. 2002-05-12 Alexander Larsson * 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-10 Dave Camp * src/file-manager/fm-directory-view.c (process_new_files): Handle files that are moved/removed and not ready. 2002-05-11 Alex Larsson * 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 * 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 * 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. 2002-05-09 Damon Chaplin * components/text/nautilus-text-view.c (read_file_callback): if the file size is 0, just report loading is complete and return. Fixes bug #79745. 2002-05-09 Alex Larsson * src/file-manager/fm-icon-view.c: (fm_icon_view_update_menus): * src/file-manager/nautilus-icon-view-ui.xml: Fix menu mnemonic collision. Patch by Samuel Stringham . 2002-05-09 Stuart MacLean * src/nautilus-window-menus.c (forget_history_if_confirmed): Make Clear History dialog consistent with other Nautilus dialogs. 2002-05-09 Dave Camp * libnautilus-private/nautilus-mime-actions.c: (nautilus_mime_get_default_action_type_for_file): (nautilus_mime_get_default_application_for_file_internal): (nautilus_mime_get_default_component_for_file_internal): (nautilus_mime_get_short_list_applications_for_file): (nautilus_mime_get_short_list_components_for_file): (nautilus_mime_get_all_applications_for_file): (nautilus_mime_extend_all_applications_for_file): (nautilus_mime_remove_from_all_applications_for_file): Plug leaks. (nautilus_mime_set_short_list_applications_for_file): Free the normal_short_list after computing the delta, and use g_list_free on normal_short_list_ids rather than eel_g_list_free_deep. (str_list_difference): Duplicate the strings before inserting them into the list. 2002-05-09 Dave Camp * src/file-manager/fm-desktop-icon-view.c (mount_parameters_new): (mount_parameters_free): Don't hold references to the view. 2002-05-08 Alex Larsson * libnautilus-private/apps_nautilus_preferences.schemas: * libnautilus-private/nautilus-file-utilities.c: * libnautilus-private/nautilus-file-utilities.h: * libnautilus-private/nautilus-file.c: * libnautilus-private/nautilus-file.h: * libnautilus-private/nautilus-global-preferences.c: * libnautilus-private/nautilus-global-preferences.h: * libnautilus-private/nautilus-metafile.c: * libnautilus-private/nautilus-metafile.h: * libnautilus-private/nautilus-thumbnails.c: * libnautilus-private/nautilus-vfs-directory.c: * src/nautilus-preferences-dialog.c: Remove public metadata 2002-05-09 Dave Camp * libnautilus-private/nautilus-icon-container.c (realize): Unref the style after setting it on the widget. 2002-05-08 Alex Larsson * data/browser.xml: * data/emblems/Makefile.am: * data/emblems/documents.png: * data/emblems/multimedia.png: * data/emblems/package.png: * data/emblems/web.png: * icons/default/Makefile.am: * icons/default/emblem-documents.png: * icons/default/emblem-multimedia.png: * icons/default/emblem-package.png: * icons/default/emblem-web.png: More emblems from jimmac. 2002-05-08 Alex Larsson * src/file-manager/fm-directory-view.c: * src/file-manager/nautilus-directory-view-ui.xml: Show Properties -> Properties. 2002-05-08 Damon Chaplin * src/nautilus-property-browser.c (add_new_pattern): handle the icon selector dialog being returned as NULL, which can happen if the user presses Escape or clicks OK/Cancel while the icons are loading. Fixes part of bug #75387. 2002-05-08 Damon Chaplin * src/nautilus-window-manage-views.c (nautilus_window_back_or_forward): If we can't move in the given direction just return, and if the given distance to move is off the end of our history list just jump to the end. Do all this rather than a g_assert(). Fixes bug #77681. 2002-05-08 Alex Larsson * data/browser.xml: * data/emblems/Makefile.am: * data/emblems/art.png: * data/emblems/camera.png: * data/emblems/mail.png: * data/emblems/pictures.png: * data/emblems/sound.png: * icons/default/Makefile.am: * icons/default/emblem-art.png: * icons/default/emblem-camera.png: * icons/default/emblem-mail.png: * icons/default/emblem-pictures.png: * icons/default/emblem-sound.png: Add some new emblems from tigert's set. 2002-05-08 Alex Larsson * src/file-manager/nautilus-directory-view-ui.xml: * src/nautilus-shell-ui.xml: Use gtk-new icon for new document. Ctrl-n is new window and Shift-Ctrl-n is new folder. 2002-05-08 Alex Larsson * libnautilus-private/nautilus-global-preferences.c: * libnautilus-private/nautilus-global-preferences.h: * src/nautilus-preferences-dialog.c: Remove all references to the http proxy settings. These are now handled by gnome-vfs and the control-center. === nautilus 1.1.15 === 2002-05-06 Alex Larsson * NEWS: * configure.in: Bump version to 1.1.15. 2002-05-05 David Emory Watson * src/nautilus-location-bar.c: (editable_event_after_callback): Don't expand ~ or ~/ until the user presses enter, bug 47239. (has_exactly_one_slash): Removed. 2002-05-05 David Emory Watson * libnautilus-private/nautilus-global-preferences.c: Make list view default to 75% zoom to get "nice" looking font size while maintaining range of different font sizes. * src/file-manager/fm-list-view.c: (button_press_callback): Don't let the list view unselect anything when the user attempts to get the right-click menu on a selection. (fm_list_view_set_zoom_level): Invent equivalent of XXX_LARGE and make the font size at all zoom levels one bigger. 2002-05-04 David Emory Watson * configure.in: Require eel 1.1.13. * src/nautilus-location-bar.c: (try_to_expand_path): Handle filenames with embeded or trailing white- space. Fixes bug 46582. Also fixes a minor utf8 bug that crept into the build. 2002-05-05 Christophe Merlet * src/file-manager/nautilus-desktop-icon-view-ui.xml: Fixed a typo. 2002-05-03 David Emory Watson * src/nautilus-location-bar.c: (try_to_expand_path): Remove extranious check (we always expand "~/" before we get here) and call set_position_and_selection_to_end () since the behavior of gtk_entry_set_text () has changed. (editable_event_after_callback): Useless optimization. (nautilus_location_bar_set_location): Call set_position_and_selectio... 2002-05-01 David Emory Watson Implement zooming for the list view and other small cleanups. * src/file-manager/fm-list-view.c: (create_and_set_up_tree_view): Keep track of cell renderers. (fm_list_view_begin_loading): Set initial zoom level. (set_zoom_level_from_metadata_and_preferences), (fm_list_view_set_zoom_level), (fm_list_view_bump_zoom_level), (fm_list_view_zoom_to_level), (fm_list_view_restore_default_zoom_level), (fm_list_view_can_zoom_in), (fm_list_view_can_zoom_out), (default_zoom_level_changed): Impl. (fm_list_view_class_init): Hook up zoom auto value. (fm_list_view_instance_init): Use while_alive to monitor changes to default_zoom_level and click_policy. (fm_list_view_finalize): Update click_policy callback. Added a column for each pixbuf size to the model. * src/file-manager/fm-list-model.c, src/file-manager/fm-list-model.h: (fm_list_model_get_column_type): Update. (fm_list_model_get_column_id_from_zoom_level), (fm_list_model_get_zoom_level_from_column_id): Impl. (fm_list_model_get_value): Update. 2002-05-01 David Bordoley * src/nautilus-shell-ui.xml Made bookmark shortcut keys hig compliant Switched Home shortcut key to Alt-Home * src/file-manager/nautilus-directory-view-ui.xml Removed shortcut key for duplicate 2002-05-01 David Bordoley * data/Makefile.am: Remove favorites .desktop file * src/file-manager/nautilus-directory-view-ui.xml: Added stock icon for move to trash * src/nautilus-shell-ui.xml: Removed nautilus quick references Changed "Nautilus User Manual" to "Contents" Added stock help icon Added F1 shortcut key for help * src/nautilus-windows-menus.c: Removed nautilus quick references 2002-05-01 Jacob Berkman * configure.in (AC_OUTPUT): remove new sidebar 2002-04-30 Alex Larsson * libnautilus-private/nautilus-link-desktop-file.c (nautilus_link_desktop_file_local_create): Encode new desktop files in UTF8. 2002-04-30 Alex Larsson * components/Makefile.am: Disable news sidebar. 2002-04-30 Alex Larsson * src/nautilus-shell-ui.xml: Removed ellipsis from items that are meant brings up dialog and nothing more. IE: About, Preferences and Edit Bookmarks. Change Back/Forward/Up keyboard shortcuts to be Alt- * libnautilus-private/nautilus-icon-container.c (key_press_event): Don't eat alt-down key events. * src/nautilus-preferences-dialog.c: Disable news preferences. * src/file-manager/nautilus-directory-view-ui.xml: Use Alt-down as alternative open. 2002-04-29 David Bordoley * src/nautilus-shell-ui.xml: Changed tooltip for up arrow * file-manager/fm-directory-view.c * file-manager/nautilus-directory-view-ui.xml: Changed "Show Properties" to "Properties" * src/file-manager/nautilus-desktop-icon-view-ui.xml: * src/file-manager/nautilus-directory-view-ui.xml: Change "Reset Background" to "Use Default Background". === nautilus 1.1.14 === 2002-04-28 Alexander Larsson * NEWS: * configure.in: Bump version to 1.1.14. Require eel 1.1.12 2002-04-27 Alexander Larsson * libnautilus-private/nautilus-dnd.c: (nautilus_drag_default_drop_action_for_icons), (nautilus_drag_drop_action_ask): * libnautilus-private/nautilus-dnd.h: * libnautilus-private/nautilus-icon-dnd.c: (selection_is_image_file), (nautilus_icon_container_receive_dropped_icons), (nautilus_icon_container_get_drop_action), (drag_motion_callback): Make dnd modifiers behave like standard Gtk+ (#76789). Implemented "Set as Background" for dnd action == ASK. 2002-04-27 Alexander Larsson * data/preferences.desktop.in: Name is now "Desktop Preferences" * src/file-manager/fm-directory-view.c: * src/file-manager/nautilus-directory-view-ui.xml: "Remove Custom Images" -> "Remove Custom Icons" for consistency * src/nautilus-shell-ui.xml: Move preferences to bottom of menu. patches from Dave Bordoley 2002-04-27 Dave Camp * src/nautilus-zoom-control.c (nearest_preferred): Initialize current_value. 2002-04-26 Alex Larsson * src/nautilus-shell-ui.xml: Close window at end of menu according to HIG. patch from Dave Bordoley 2002-04-26 Alex Larsson * src/nautilus-shell-ui.xml: HIG compliant toolbar button ordering patch from Dave Bordoley 2002-04-26 Alex Larsson * src/file-manager/nautilus-directory-view-ui.xml: Stock icons for new window, and zooming. Don't use stock icons for close all (duplicate use of stock). * src/nautilus-shell-ui.xml: Stock icon for open. "Reset View to Match _Preferences" -> "Reset View to _Defaults" Stock icons for cut and paste. Stock icons for open. * src/nautilus-window-menus.c: (refresh_go_menu): Limit history to 10 entries. Based on patches from Dave Bordoley 2002-04-26 Damon Chaplin * components/notes/nautilus-notes.c (make_notes_view): turn on word-wrapping for the GtkTextView. Fixes bug #75209. (Approved by Alex Larsson) 2002-04-24 Dave Camp * src/nautilus-view-frame.c: (nautilus_view_frame_set_zoom_level): * src/nautilus-view-frame.h: * src/nautilus-window-manage-views.c: (zoom_parameters_changed_callback): * src/nautilus-window-private.h: * src/nautilus-window.c: (nautilus_window_zoom_to_level): Replace doubles in the zoom interfaces with floats to match the bonobo zoomable interface. * src/nautilus-zoom-control.c: (nautilus_zoom_control_expose): Draw the focus rectangle if the zoom control is focused. (nautilus_zoom_control_button_press_event): Grab focus. (zoom_menu_callback), (create_zoom_menu_item), (nautilus_zoom_control_change_value), (nautilus_zoom_control_set_zoom_level), (nautilus_zoom_control_set_parameters): Replace double with float. (nautilus_zoom_control_class_init): Initialize keybindings. (nautilus_zoom_control_get_accessible), (nautilus_zoom_control_accessible_do_action), (nautilus_zoom_control_accessible_get_n_actions), (nautilus_zoom_control_accessible_action_get_description), (nautilus_zoom_control_accessible_action_get_name), (nautilus_zoom_control_accessible_action_interface_init), (nautilus_zoom_control_accessible_get_current_value), (nautilus_zoom_control_accessible_get_maximum_value), (nautilus_zoom_control_accessible_get_minimum_value), (nearest_preferred), (nautilus_zoom_control_accessible_set_current_value), (nautilus_zoom_control_accessible_value_interface_init), (nautilus_zoom_control_accessible_get_name), (nautilus_zoom_control_accessible_get_description), (nautilus_zoom_control_accessible_class_init), (nautilus_zoom_control_accessible_get_type): Implement the zoom accessible. * src/nautilus-zoom-control.h: Added the change_value signal. 2002-04-26 Damon Chaplin * libnautilus-private/nautilus-directory-metafile.c (nautilus_directory_get_file_metadata): check the ev for errors. If an error occurs output a warning and return the default value. Fixes bug #73456. (Approved by Alex Larsson) 2002-04-26 Benedikt Roth * libnautilus-private/nautilus-program-chooser.c: (launch_mime_capplet_on_ok), (nautilus_program_chooser_show_no_choices_message): Changed OK to Yes, as this is a Yes/No question. Fixed dialog to really open the capplet when choosing yes (#75372). * nautilus.desktop.in: (Bugzilla Bug: 75830) Use the stock home icon for the Home folder in applications menu. (Patch from Dennis Cranston ) 2002-04-26 Alex Larsson * libnautilus-private/nautilus-theme.c: (nautilus_theme_install_user_theme): Allow installation of tared themes. * libnautilus-private/nautilus-theme.h: * src/nautilus-theme-selector.c: (file_selection_ok_clicked_callback): Better warnings for non-theme files. 2002-04-26 Alex Larsson * libnautilus-private/nautilus-volume-monitor.c: * libnautilus-private/nautilus-volume-monitor.h: Added new function nautilus_volume_get_device_path. * src/file-manager/fm-desktop-icon-view.c: (have_volume_format_app), (have_volume_properties_app), (have_volume_protection_app), (volume_ops_callback), (volume_link_device_type), (real_update_menus), (real_merge_menus): * src/file-manager/nautilus-desktop-icon-view-ui.xml: Add support for various volume properties helper applications. Based on patch from Rajeev Karale Thu Apr 25 12:22:57 2002 Jonathan Blandford * data/serverconfig.directory.in (_Name): * data/serverconfig.desktop.in (_Name): s/Server Configuration/Server Settings * src/nautilus-bookmarks-window.c (nautilus-bookmarks-window.c): Small UI tweaks. 2002-04-24 Jody Goldberg * src/file-manager/fm-list-model.c (fm_list_model_get_attribute_from_sort_column_id) : suppress warning to fix the build. 2002-04-24 Murray Cumming * Added the necessary bonobo_object_ref() to my previous commit, to prevent crashing during the unref when the window closes. 2002-04-23 Murray Cumming * src/nautilus-window.c (nautilus_window_instance_init): Now that BonoboWindow has been fixed, it is no longer necessary to create and set the UIContainer. 2002-04-22 Diego González * src/file-manager/fm-list-model.[c-h] (fm_list_model_get_sort_column_id_from_attribute): fix typo (fm_list_model_get_attribute_from_sort_column_id): implement * src/file-manager/fm-list-view.c (create_and_set_up_tree_view): connect to sort_column_changed signal of the model (rows_reordered_callback): implement, it stores the metadata of the directory that is being viewed (get_attribute_from_sort_type): remove, no longer needed (real_get_default_sort_attribute): remove, no longer needed Tue Apr 23 16:18:05 2002 Owen Taylor * src/nautilus-preferences-dialog.c (dialog_button_response_callback): Fix build breakage from misapplied patch in last commit. 2002-04-23 Ganesan Sethuraman * src/nautilus-preferences-dialog.c : Handled the "delete_event" signal. Fixes bug #73850 2002-04-23 Benedikt Roth * src/file-manager/fm-icon-container.c: (fm_icon_container_get_icon_text): Don't show the normal extra information for desktop files (#74910). 2002-04-23 Rajeev Karale * libnautilus-private/nautilus-volume-monitor.c: finish_creating_volume() Bug Fixing : #77313. Mount_path for volume is different for solaris. 2002-04-22 Anders Carlsson * libnautilus-private/nautilus-icon-container.c: (lay_down_icons_tblr): Take pixels_per_unit into account when setting width and height. 2002-04-22 Anders Carlsson * src/nautilus-property-browser.c: (nautilus_property_browser_init), (nautilus_emblem_dialog_new), (nautilus_color_selection_dialog_new), (add_new_pattern), (add_new_color), (nautilus_property_browser_update_contents): Re-add the length limit for color and emblem names. Also fix button ordering to be Add, Remove. Finally, set up focus correctly for entries. * src/nautilus-theme-selector.c: (create_button_with_stock_image), (nautilus_theme_selector_instance_init): Add stock icons to Add and Remove buttons. === nautilus 1.1.13 === 2002-04-21 Alexander Larsson * NEWS: * configure.in: Bump version to 1.1.13. Require eel 1.1.11 2002-04-21 Alexander Larsson * libnautilus-private/nautilus-directory-background.c: Remove deprecated usage of gnome-config. Patch by Diego González 2002-04-21 Alexander Larsson * src/file-manager/fm-properties-window.c (create_properties_window): Add close button. Patch from Benedikt Roth 2002-04-21 Alexander Larsson * src/nautilus-shell-ui.xml: Stock icons for back, forward, up, home, new, close, add bookmarks * icons/default/default.xml: * icons/crux_teal/crux_teal.xml: * icons/crux_eggplant/crux_eggplant.xml: Point throbber to http://www.gnome.org/nautilus/ * icons/default/Makefile.am: * icons/crux_teal/Makefile.am: * icons/crux_eggplant/Makefile.am: * icons/default/Makefile.am: * icons/*/[Back|Forward|Home|Refresh|Stop|Up].png: Use stock toolbar items for all out themes. Patches from Dave Bordoley 2002-04-21 Alexander Larsson * src/nautilus-preferences-dialog.c: * src/file-manager/fm-icon-view.c: * src/nautilus-shell-ui.xml: * src/nautilus-window-menus.c: * src/file-manager/nautilus-directory-view-ui.xml: * src/file-manager/nautilus-icon-view-ui.xml: Patches from sander for better HIG compliance Lay Out Items -> Arrange Items View Preferences -> View Defaults Forget History -> Clear History Reset View to Match Preferences -> Reset View to Default 2002-04-22 Anders Carlsson * libnautilus-private/nautilus-directory-async.c: (should_read_link_info_sync), (link_info_read_done), (link_info_start): Read .desktop files sync if they're local. This speeds up loading directories that have .desktop files in them. 2002-04-21 Alexander Larsson * libnautilus-private/nautilus-directory-background.c (image_loading_done_callback), (make_root_pixmap): Check the return value of XOpenDisplay and handle failures. 2002-04-21 Alexander Larsson * src/nautilus-desktop-window.c (nautilus_desktop_window_class_init): Disable the whole flash-workaround hack since it doesn't work and is causing crashes on solaris. 2002-04-21 Alexander Larsson * src/nautilus-window.h: * src/nautilus-window-manage-views.c: Only display toplevel window when it's fully constructed. * src/nautilus-desktop-window.c (nautilus_desktop_window_new): * src/nautilus-application.c (nautilus_application_create_desktop_window): Don't show desktop window here. It's shown later when the view is loaded. * libnautilus-private/nautilus-horizontal-splitter.c (nautilus_horizontal_splitter_pack2): Remove old code that is not neccesary when we display the window fully constructed. 2002-04-21 Anders Carlsson * libnautilus-private/nautilus-icon-container.c: (icon_set_position), (nautilus_icon_container_update_scroll_region): Take pixels_per_unit into account when dealing with widget coordinates in the fixed mode. * src/file-manager/fm-desktop-icon-view.c: (fm_desktop_icon_view_finalize), (get_default_zoom_level), (default_zoom_level_changed), (fm_desktop_icon_view_init): Have the desktop view use the default icon view zoom level. 2002-04-21 Anders Carlsson * src/nautilus-zoom-control.c (nautilus_zoom_control_button_press_event): Don't do anything with double-click or triple-click events. * components/text/nautilus-text-view.c: (nautilus_text_view_finalize), (nautilus_text_view_class_init): NautilusView is a GObject, not a GtkObject. * src/nautilus-sidebar-title.c: (nautilus_sidebar_title_select_text_color), Set shadow color and offset using new eel functions. * src/nautilus-window-menus.c: (help_menu_about_nautilus_callback): Don't show translator credits when we don't need to. Also add myself as an author :) 2002-04-20 Diego González * src/nautilus-preferences-dialog.c: split "Windows & Desktop" into two blocks "Windows" and "Desktop & Trash". Fixes bug 72931. 2002-04-20 Diego González * libnautilus-private/nautilus-find-icon-image.c (make_full_icon_path): if the path is not partial also check that the icon exists with the suffix passed. With this we are able to see the correct icons when they are given with the whole path. 2002-04-20 Anders Carlsson * libnautilus-private/nautilus-drag-window.c: (nautilus_drag_window_register): Disable drag window registration for now. * libnautilus-private/nautilus-global-preferences.c: Change extra monitor paths to account for the rename. * nautilus.desktop.in: Update icon path. * src/file-manager/fm-properties-window.c: (reset_icon), (fm_properties_window_drag_data_received), (set_icon_callback): Add support for dragging the reset icon to remove custom icons. * src/nautilus-property-browser.c: (nautilus_emblem_dialog_new), (nautilus_color_selection_dialog_new), (emblem_keyword_valid), (add_new_emblem): Fix "Add new emblem" dialog and add mnemonics. 2002-04-20 Alexander Larsson * libnautilus-private/apps_nautilus_preferences.schemas: Add more keys to the schemas files. Based on work by Luis Gutierrez 2002-04-20 Alexander Larsson * libnautilus-private/nautilus-global-preferences.h Use underscore instead of dashes in gconf keys. * libnautilus-private/Makefile.am * libnautilus-private/nautilus.schemas: * libnautilus-private/apps_nautilus_preferences.schemas: Renamed schemas file to apps_nautilus_preferences.schemas. Some new keys are documented. This patch is from Jonathan Blandford 2002-04-20 Alexander Larsson * libnautilus-private/nautilus-icon-container.c (lay_down_icons_horizontal): Fruitless attempt to optimize icon layout. It turns out it is text-measure and icon lookup bound. I'm checking in this optimization anyway, even though it doesn't help much. (nautilus_icon_container_class_init): icon_removed was using the wrong struct offset. * src/nautilus-window-menus.c: Add me to authors :) 2002-04-20 Anders Carlsson * libnautilus-private/nautilus-drag-window.c (nautilus_drag_window_register): Disable this feature until we come up with a better way to do it. * configure.in: Fix profiler CFLAGS. * libnautilus-private/nautilus-file-utilities.c: * libnautilus-private/nautilus-file-utilities.h: Remove time stamp and build message functions. * src/nautilus-profiler.c: (widget_set_busy_cursor), (dump_dialog_new): Remove deprecated functions. * src/nautilus-window-manage-views.c: (update_title): Remove time stamp in title. * src/nautilus-window-menus.c: (help_menu_about_nautilus_callback): Remove unused build_message variable. * src/nautilus-window.c: (nautilus_window_instance_init): Set initial title to "Nautilus". Fixes #74627. 2002-04-19 Diego González * src/nautilus-window-menus.c (forget_history_if_confirmed): use eel_create_question_dialog to show the buttons with the proper strings. This fixes bug 74949. 2002-04-19 Anders Carlsson * src/file-manager/fm-directory-view.c: (clipboard_targets_received): Free targets. * src/nautilus-component-adapter-factory.c: Fix a spelling error, #79195. 2002-04-19 Anders Carlsson * libnautilus-private/nautilus-file-operations.c (handle_transfer_vfs_error): Abort on GTK_RESPONSE_DELETE_EVENT. Fixes #78948. * libnautilus-private/nautilus-global-preferences.c: * libnautilus-private/nautilus-global-preferences.h: Remove NAUTILUS_PREFERENCES_CAN_ADD_CONTENT. * src/file-manager/fm-list-view.c: (event_after_callback), (button_release_callback), (create_and_set_up_tree_view): When in single-click mode, activate files on button release instead of button press. * src/nautilus-property-browser.c: (nautilus_property_browser_init), (nautilus_property_browser_destroy), (nautilus_property_browser_new), (nautilus_color_selection_dialog_new), (add_new_pattern), (add_color_to_browser), (show_color_selection_window), (nautilus_property_browser_update_contents): Fix the add and remove dialogs and add a few mnemonics. Fixes #79123. * src/nautilus-sidebar-title.c: (update_title), (update_more_info), (update_emblems), (update_notes): Remove fixed FIXMEs. 2002-04-19 Anders Carlsson * 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 * *.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 * 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 * 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 * libnautilus-private/nautilus-customization-data.c: (add_reset_text): * libnautilus-private/nautilus-theme.c: (nautilus_theme_make_preview_pixbuf): * src/nautilus-property-browser.c: (element_clicked_callback): Plug memory leaks. 2002-04-17 Anders Carlsson * 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 * 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 * 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-17 Pablo Saratxaga * configure.in,po/vi.po: Added Vietnamese po file === nautilus 1.1.12 === 2002-04-14 Alexander Larsson * NEWS: * configure.in: Bump version to 1.1.12. Require eel 1.1.10 2002-04-14 Alexander Larsson * 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 * components/text/Makefile.am: * components/text/Nautilus_View_text.server.in: * components/text/nautilus-text-view.c: New text view, by Dave Camp 2002-04-13 Alexander Larsson * src/nautilus-shell-ui.xml: Fix tooltip name for Home. Patch from dave 2002-04-11 Jody Goldberg * libnautilus-private/nautilus-program-chooser.c : Change file-types-capplet to gnome-file-types-properties. 2002-03-30 Jody Goldberg * 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 * 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 * libnautilus-private/nautilus-icon-canvas-item.h: remove bounds_changed. 2002-04-07 David Emory Watson * 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-09 Michael Meeks * libnautilus-private/nautilus-icon-canvas-item.c (nautilus_icon_canvas_item_class_init): remove unused 'bounds_changed' signal. (nautilus_icon_canvas_item_update_bounds): don't emit it either. * src/file-manager/fm-icon-view.c (icon_container_compare_icons_callback): kill. (icon_container_compare_icons_by_name_callback): kill. (fm_icon_view_compare_files): publicize. (compare_files_cover): upd. * src/file-manager/fm-desktop-icon-view.c (desktop_icons_compare_callback): move (fm_desktop_icon_view_init): upd. * libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_get_icon_text), (nautilus_icon_container_get_icon_images): wrap the virtual methods. (nautilus_icon_container_update_icon): upd. to use them. (sort_icons_by_name, compare_icons_by_name), (compare_icons, sort_icons): use the virtual methods instead for speed. (nautilus_icon_container_class_init): prune some signals. * src/file-manager/fm-icon-view.c (create_icon_container): use the fm-icon-container. (create_icon_container): upd. (get_icon_images_callback), (get_icon_text_callback): move * src/file-manager/fm-icon-container.[ch]: impl. (fm_icon_container_get_icon_images), (fm_icon_container_get_icon_text): move (fm_icon_container_compare_icons), (fm_icon_container_compare_icons_by_name): impl. (fm_icon_container_icons_compare): move here. create this to handle special desktop bits. (fm_icon_container_set_sort_desktop): impl. 2002-04-09 Alexander Larsson * libnautilus-private/nautilus-customization-data.c: * src/nautilus-property-browser.c (make_drag_image): Handle svg emblems. 2002-04-07 Diego Gonzalez * src/file-manager/fm-list-view.c (create_and_set_up_list_view): make columns in the list view resizable, bug 74749 2002-04-07 Diego Gonzalez * src/file-manager/nautilus-desktop-icon-view-ui.xml add "New Laucher" item * src/file-manager/fm-desktop-icon-view.c: (new_launcher_callback) hook and implement 2002-04-06 David Emory Watson * src/file-manager/fm-list-model.c: (fm_list_model_get_sort_column_id_from_sort_type): Size was incorrectly returning name, bug 76191. 2002-04-07 Alexander Larsson * 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 * 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-04-05 David Emory Watson 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 * 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 Darin Adler * libnautilus-private/nautilus-metafile.c: (metafile_read_check_for_directory): fix bug 77520 by replacing assert with conditional call to metafile_read_done. 2002-04-05 Michael Meeks * 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 * 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-04 jacob berkman * src/file-manager/fm-desktop-icon-view.c (change_background_callback): the background crapplet changed names (again) 2002-04-02 Michael Meeks * 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 * libnautilus-private/nautilus-icon-container.c (start_rubberbanding): set name / description on the selection rectangle. 2002-03-30 Dave Camp * libnautilus-private/nautilus-icon-canvas-item.c: (nautilus_icon_canvas_item_accessible_get_parent): (nautilus_icon_canvas_item_accessible_get_index_in_parent): New functions. (nautilus_icon_canvas_item_accessible_class_init): Initialize get_parent and get_index_in_parent. * libnautilus-private/nautilus-icon-container.c: (get_accessible), (nautilus_icon_container_class_init): Init get_accessible, add icon_added, icon_removed, and cleared signals. (finish_adding_icon): Emit icon_added. (nautilus_icon_container_remove): Emit icon_removed. (accessible_get_priv), (nautilus_icon_container_accessible_do_action), (nautilus_icon_container_accessible_get_n_actions), (nautilus_icon_container_accessible_action_get_description), (nautilus_icon_container_accessible_action_get_name), (nautilus_icon_container_accessible_action_get_keybinding), (nautilus_icon_container_accessible_action_set_description), (nautilus_icon_container_accessible_action_interface_init), (nautilus_icon_container_accessible_update_selection), (nautilus_icon_container_accessible_selection_changed_cb), (nautilus_icon_container_accessible_icon_added_cb), (nautilus_icon_container_accessible_icon_removed_cb), (nautilus_icon_container_accessible_cleared_cb), (nautilus_icon_container_accessible_add_selection), (nautilus_icon_container_accessible_clear_selection), (nautilus_icon_container_accessible_ref_selection), (nautilus_icon_container_accessible_get_selection_count), (nautilus_icon_container_accessible_is_child_selected), (nautilus_icon_container_accessible_remove_selection), (nautilus_icon_container_accessible_select_all_selection), (nautilus_icon_container_accessible_selection_interface_init), (nautilus_icon_container_accessible_get_n_children), (nautilus_icon_container_accessible_ref_child), (nautilus_icon_container_accessible_initialize), (nautilus_icon_container_accessible_finalize), (nautilus_icon_container_accessible_class_init), (nautilus_icon_container_accessible_get_type): New functions. * libnautilus-private/nautilus-icon-container.h: Added class members for the icon_added, icon_removed, and cleared signals. 2002-03-30 Darin Adler * 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. 2002-03-30 Darin Adler Fixed security problem where we would write the metafile without 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 * 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 * 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 * libnautilus-private/nautilus-thumbnails-jpeg.c: Nasty libjpeg b0rkage workarounds. Now jpeg thumbnailing should work again. 2002-03-28 Alex Larsson * libnautilus-private/nautilus-thumbnails-jpeg.c: Temporary revert libjpeg patch to keep it building. Will fix for real later. 2002-03-28 Alex Larsson * 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 * 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 Camp * configure.in: Check for and include X libraries explicitly. 2002-03-28 David Emory Watson * libnautilus-private/nautilus-link.h: Changed the comment for nautilus_link_local_is_special_link to be more clear. 2002-03-27 David Emory Watson * libnautilus-private/nautilus-link.c, libnautilus-private/nautilus-link.h: (nautilus_link_local_is_volume_link), (nautilus_link_local_is_home_link), (nautilus_link_local_is_trash_link), (nautilus_link_local_is_special_link): Share code between different link implementations so that home directory link behavior can be controlled from one place. * libnautilus-private/nautilus-link-desktop-file.c, libnautilus-private/nautilus-link-desktop-file.h: (nautilus_link_desktop_file_local_is_volume_link), (nautilus_link_desktop_file_local_is_home_link), (nautilus_link_desktop_file_local_is_trash_link): Remove. * libnautilus-private/nautilus-link-historical.h, libnautilus-private/nautilus-link-historical.c: (nautilus_link_historical_local_is_volume_link), (nautilus_link_historical_local_is_home_link), (nautilus_link_historical_local_is_trash_link): Remove. * libnautilus-private/nautilus-file-operations.c: (is_special_link): Use nautilus_link_local_is_special_link. src/file-manager/fm-directory-view.c: (is_link_type_special): Remove. (special_link_in_selection): Use nautilus_link_local_is_special_link. * src/file-manager/fm-desktop-icon-view.c: (update_home_link_and_delete_copies): Don't recreate the home directory link when desktop==home. 2002-03-27 Dave Camp * 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 * libnautilus-private/nautilus-icon-canvas-item.c (nautilus_icon_canvas_item_accessible_get_image_description), (nautilus_icon_canvas_item_accessible_get_image_size), (nautilus_icon_canvas_item_accessible_image_interface_init), (nautilus_icon_canvas_item_accessible_get_image_position): impl. (nautilus_icon_canvas_item_accessible_get_image_position): stub. (nautilus_icon_canvas_item_accessible_get_type): upd. 2002-03-27 Michael Meeks * 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. 2002-03-26 Michael Meeks * libnautilus-private/nautilus-icon-canvas-item.c (nautilus_icon_canvas_item_class_init): kill nasty gconf re-enterancy hazard moving the auto_enum to (nautilus_icon_canvas_item_init): here. (nautilus_icon_canvas_item_class_init): add the a11y factory & instantiate the factory boilerplate. (nautilus_icon_canvas_item_accessibile_create), (nautilus_icon_canvas_item_accessible_get_name), (nautilus_icon_canvas_item_accessible_class_init), (nautilus_icon_canvas_item_accessible_get_type): impl. 2002-03-25 Mark McLoughlin * src/file-manager/fm-directory-view.c: (update_scripts_menu): also hide the scripts seperator on the background menu. 2002-03-25 Alexander Larsson * src/nautilus-location-bar.c: (style_set_handler): Port to gnome 2. (have_broken_filenames), (accumulate_name_utf8), (accumulate_name_locale), (try_to_expand_path): Fix filename completion, add support for G_BROKEN_FILENAMES === nautilus 1.1.11 === 2002-03-24 Alexander Larsson * NEWS: bump version * configure.in: Require eel 1.1.9. Bump version to 1.1.11 2002-03-24 Dave Camp * libnautilus-private/nautilus-entry.c: (nautilus_entry_init): * libnautilus-private/nautilus-global-preferences.c: * libnautilus-private/nautilus-global-preferences.h: * src/nautilus-preferences-dialog.c: Remove references to the "Use Emacs-style keyboard shortcuts" preference. 2002-03-24 John Fleck * src/nautilus-shell-ui.xml * src/nautilus-window-menus.c remove link to release notes in help menu fixes bug #73077 2002-03-22 Havoc Pennington * src/file-manager/fm-icon-view.c (should_preview_sound): set up an auto variable for the /desktop/gnome/sound/enable_esd setting, to avoid remote gconf query on every icon mouseover. 2002-03-22 Dave Camp * src/file-manager/fm-properties-window.c: (create_emblems_page): use eel_scrolled_wrap_box_new(). * components/news/nautilus-news.c: (check_button_focus_in_callback), (add_channel_entry): Use the new eel_gtk_viewport functions to move the focused checkbox into view on focus changes. 2002-03-21 John Fleck * help/nautilus-user-manual/C/nautilus-user-manual.xml, legal.xml first cut at modifying docs for GNOME2 Nautilus 2002-03-20 Michael Meeks * src/nautilus-zoom-control.c (draw_number): revert my crack smoking fiddling with offsets changes - it seems ScaleableGorilla needs to change. 2002-03-20 Havoc Pennington * libnautilus-private/nautilus-thumbnails.c: Add patch to re-thumbnail if the thumbnail timestamp is different from the thumbnailed file (vs. newer). Fixes the case where people have files with future timestamps. 2002-03-20 Anders Carlsson * libnautilus-private/nautilus-directory-background.c (nautilus_file_background_read_desktop_settings): Comment out WPTYPE_EMBOSSED since it doesn't exist. 2002-03-19 Alexander Larsson Patch from Glen Gray * components/hardware/icons/HD_drive.png: * components/hardware/icons/Makefile.am: Restore old harddrive icon * components/hardware/nautilus-hardware-view.c: (setup_form_title), (setup_overview_form): Use the hardrive icon. Make it look more like the 1.0.x version. 2002-03-19 Michael Meeks * src/nautilus-zoom-control.c (draw_number): use the y_offset to center the number in the allocation, while was possible to 'fix' this centering by other means, it's not going to handle font size or other changes that change the pixel height of this toolbar. * libnautilus-private/nautilus.schemas: add the defaults in here to test. * components/music/nautilus-music-view.c (nautilus_music_view_init): prune old font bits. (set_up_tree_view): handle the font / size using Pango & the cell renderers. * components/news/nautilus-news.c (empty_message_size_allocate): remove, no longer neccessary GtkLabel will do the wrapping for us. (make_news_view): upd. 2002-03-18 Michael Meeks * libnautilus-private/nautilus-directory-async.c (top_left_start): NULL top_left_text after free. 2002-03-18 Michael Meeks * src/nautilus-application.c (nautilus_application_create_desktop_window): guard window creation to avoid re-enterancy, via. other shell calls to create windows. * src/nautilus-main.c (main): vfs and bonobo init is done for us by gnome_program_init. * src/nautilus-view-frame.c (nautilus_view_frame_selection_changed), (send_history): check we have a listener before constructing potentially large and slow change notifications. * configure.in: require bonobo 1.113.0 where we have the event source acceleration. 2002-03-17 Darin Adler * configure.in: Bump required versions. === nautilus 1.1.10 === 2002-03-17 Alexander Larsson * libnautilus-private/nautilus-icon-factory.c (scale_icon): Fix typo. Was using x0 instead of y0. Reported by Edouard Poor * configure.in: Bump version to 1.1.10. Require eel 1.1.8 * NEWS: Bump version 2002-03-15 Hasbullah Bin Pit * configure.in: Added Malay (ms)to ALL_LINGUAS. 2002-03-14 Dave Camp * components/news/nautilus-news.c: (add_command_buttons), (news_label_new), (make_remove_widgets), (make_add_widgets), (set_up_edit_widgets), (site_list_mnemonic_activate), (set_up_configure_widgets), (set_up_main_widgets): Add mnemonics to various controls and labels. 2002-03-14 John Fleck * src/nautilus-shell-ui.xml * src/nautilus-window-menus.c changing "Status Bar" to "Statusbar", per documentation style guide, fixing bug #66649 2002-03-11 Michael Meeks * libnautilus-private/nautilus-bonobo-extensions.c (nautilus_bonobo_activation_register_for_display): re-instate the making of per display iids. * components/loser/sidebar/main.c (main): use eel_bonobo_make_registration_id. * components/loser/content/main.c (main): ditto. * components/adapter/main.c (main): ditto. * libnautilus/nautilus-view-standard-main.c (nautilus_view_standard_main_multi): ditto. 2002-03-13 Alexander Larsson * libnautilus-private/filesystem-attributes.xml: Disable thrash for afs filesystems. 2002-03-13 Alexander Larsson * libnautilus-private/nautilus-directory-async.c: (link_info_done): After loading the link info with the new display name, clear the old cached display name. * libnautilus-private/nautilus-file-private.h: (NautilusFileDetails): Add cached utf-8 display name and the collation key for the display name. (nautilus_file_clear_cached_display_name): New function * libnautilus-private/nautilus-file.c: (finalize): Free cached display name and collation key. (update_info_internal, nautilus_file_update_name): clear cached display name when filename changes. (compare_by_display_name): Use nautilus_file_get_display_name_nocopy() to avoid copy. Use nautilus_file_get_display_name_collation_key() to avoid repeating expensive collation. (nautilus_file_clear_cached_display_name): New function to clear the cached display name and collation key. (nautilus_file_get_display_name_collation_key): Cache the value of g_utf8_collate_key() in order to do fast sorting on the display name. (nautilus_file_get_display_name_nocopy, nautilus_file_get_display_name): Cache the final display_name utf-8 value. Don't call g_utf8_validate() twice. * libnautilus-private/nautilus-icon-container.c: Remove assert that was showing up g_list_first() in my profiles. 2002-03-13 Gregory Leblanc * nautilus.spec.in: Big rework, less painful now. Parts from Chris Chabot, among others. 2002-03-13 Anders Carlsson * src/nautilus-window-menus.c (help_menu_about_nautilus_callback): Call gtk_window_set_transient_for on the about dialog. 2002-03-12 Alexander Larsson * components/music/nautilus-music-view.c: (music_view_set_selected_song_title,nautilus_music_view_update): Escape text that is parsed as markup that could have ampersands etc. in it. (fetch_song_info): Use display filename for title when the title is missing. This handles nice conversion to utf8. 2002-03-10 Diego González * components/music/nautilus-music-vew.c (read_id_tag): convert title, comments, artist and album to UTF-8 2002-03-11 Diego González * components/music/nautilus-music-view.c (go_to_next_track): Fix a crash where the music view would crash after playing the last song of a list. Correct indentation. 2002-03-11 Anders Carlsson * libnautilus-private/Makefile.am: Add nautilus-file-operations-progress-icons.h * src/nautilus-window.c: (nautilus_window_hide_sidebar), (nautilus_window_show_sidebar): Don't try create or destroy the sidebar on desktop windows. 2002-03-11 Anders Carlsson * libnautilus-private/nautilus-file-operations-progress-icons.h: * libnautilus-private/nautilus-file-operations-progress.c: (nautilus_file_operations_progress_update_icon), (nautilus_file_operations_progress_update), (nautilus_file_operations_progress_init), (nautilus_file_operations_progress_class_init): Add progress jar feature; the progress dialog icon now looks like a jar that fills up as the files is copied. This idea was suggested by Tuomas Kuosmanen. 2002-03-11 Michael Meeks * libnautilus/nautilus-clipboard.c (select_all_callback): use g_object_weak_ref instead of the "destroy" signal which is mostly useless. (idle_source_destroy_callback): impl. 2002-03-11 James Henstridge * configure.in: build fix: get rid of unneeded semicolons which cause compile errors with newer versions of autoconf (this doesn't break older versions). 2002-03-11 Anders Carlsson * icons/Makefile.am: * icons/nautilus-launch-icon.png: Re-add nautilus-launch-icon. * src/nautilus-window.c: (set_up_default_icon_list): Use nautilus_pixmap_file to get the full path to the icons used. (nautilus_window_class_init): Remove nautilus_window_realize function, it only contained stuff we don't need to do these days. 2002-03-11 Anders Carlsson * src/nautilus-window.c: (nautilus_window_set_up_sidebar), (nautilus_window_tear_down_sidebar), (nautilus_window_constructed), (nautilus_window_hide_sidebar), (nautilus_window_show_sidebar), (nautilus_window_sidebar_showing): Only create the sidebar if the "Display sidebar in new windows" preference is turned on, otherwise create it when user activates "Show sidebar" and destroy it when user activates "Hide sidebar". This fixes #72595. 2002-03-11 Anders Carlsson * src/file-manager/fm-directory-view.c: (process_old_files), (queue_pending_files), (fm_directory_view_can_rename_file), (can_rename_file), (start_renaming_file), (reveal_newly_added_folder), (rename_file_callback), (real_merge_menus), (real_update_menus), (fm_directory_view_class_init): * src/file-manager/fm-directory-view.h: * src/file-manager/fm-icon-view.c: (fm_icon_view_can_rename_file), (fm_icon_view_start_renaming_file), (fm_icon_view_merge_menus), (fm_icon_view_update_menus), (fm_icon_view_class_init): * src/file-manager/fm-list-model.c: (fm_list_model_get_column_type), (fm_list_model_get_value): * src/file-manager/fm-list-model.h: * src/file-manager/fm-list-view.c: (cell_renderer_edited), (create_and_set_up_tree_view), (fm_list_view_start_renaming_file), (fm_list_view_class_init): * src/file-manager/nautilus-directory-view-ui.xml: * src/file-manager/nautilus-icon-view-ui.xml: Move the "Rename" verb into fm-directory-view and implement rename callbacks for both the list and icon view. === nautilus 1.1.9 === 2002-03-10 Darin Adler * NEWS: Bump version. * configure.in: Bump version. 2002-03-10 Alexander Larsson * libnautilus-private/nautilus-file.c: (have_broken_filenames), (nautilus_file_rename), (nautilus_file_get_display_name): Cache the value of getenv("G_BROKEN_FILENAMES"), as this getenv showed up as 3.6% and nr 2 in profiles. 2002-03-10 Alexander Larsson * src/nautilus-property-browser.c (element_clicked_callback): Pass event->event to gtk_drag_begin in order get the right time for the grab. This avoids a race with the ungrab that could lead to stuck grabs. 2002-03-09 jacob berkman * nautilus.desktop.in (Exec): run-nautilus is no more, so just run nautilus 2002-03-08 Darin Adler * components/tree/nautilus-tree-model.c: (tree_node_has_dummy_child): Add new "inserted_first_child" boolean so we can insert new children and get rid of the "empty" node. (insert_node): Handle the case where we insert the first child, and the empty node goes away. (start_monitoring_directory): Set the "done loading" state a bit earlier. (nautilus_tree_model_ref_node): Make the "done loading" state be false if there are no children, so we see "Loading" rather than "Empty" until we are sure it's empty. * icons/default/default.xml: * icons/gnome/gnome.xml: * icons/sierra/sierra.xml: * icons/tahoe/tahoe.xml: Vertical offset of "-1" looks right. * src/Makefile.am: Remove run-nautilus. * src/run-nautilus: Remove. 2002-03-08 Michael Meeks * src/nautilus-window.c (nautilus_window_constructed): create a UI component for the status, that is separate from the shell UI component. (nautilus_window_finalize): release the status_ui. (nautilus_window_clear_status): remove fixme #43597 (nautilus_window_set_status): upd. 2002-03-08 Darin Adler * components/adapter/main.c: (main): Use gdk_get_display, not getenv ("DISPLAY"). * components/loser/content/main.c: (main): Ditto. * components/loser/sidebar/main.c: (main): Ditto. * components/tree/nautilus-tree-model.c: (stop_monitoring_directory): Rename back from stop_monitoring_directory_without_reporting. This no longer changes the state of "done_loading". (set_done_loading): New, handles a state change in either direction. (done_loading_callback): Moved most of the guts of this into the new set_done_loading. (start_monitoring_directory): Call set_done_loading explicitly. Before, this had to use an idle function, but this is no longer necessary since we use an idle function at the next level up. * libnautilus-private/nautilus-directory-metafile.c: (free_factory): * libnautilus-private/nautilus-metafile.c: (corba_register_monitor): * libnautilus-private/nautilus-undo-context.c: (nautilus_undo_context_new), (finalize): * libnautilus/nautilus-undo-transaction.c: (nautilus_undo_transaction_finalize), (nautilus_undo_transaction_add_to_undo_manager): * libnautilus/nautilus-undo.c: (nautilus_undo_share_undo_manager): * libnautilus/nautilus-view.c: (forget_cached_view_frame): * src/nautilus-component-adapter-factory.c: (release_factory): * src/nautilus-view-frame.c: (destroy_view): Clean up code by not bothering with an ev for CORBA_Object_release and CORBA_Object_duplicate. * src/nautilus-shell-ui.xml: Remove "Feedback" menu item. 2002-03-08 Michael Meeks * libnautilus/nautilus-clipboard.c (select_all_callback): a GSource is not a GObject, #73782. 2002-03-08 Michael Meeks * src/nautilus-main.c (main): do a bonobo_ui_init, we shouldn't need it but libgnomeui has escaped from doing this for some reason. Remove eel_setenv DISPLAY chicanery * libnautilus/nautilus-view-standard-main.c (nautilus_view_standard_main_multi): remove double bonobo_ui_init. 2002-03-07 Darin Adler * components/tree/nautilus-tree-model.h: * components/tree/nautilus-tree-model.c: (stop_monitoring_directory_without_reporting): Rename old stop_monitoring_directory function. (stop_monitoring_directory): New function that handles changes caused by stopping monitoring. (destroy_children_by_function): New. (destroy_by_function): New. (should_show_file): New. (update_node): Call should_show_file instead of nautilus_file_is_gone to decide whether a given file should show up. (process_file_change): Ditto. (start_monitoring_directory): Pass through flags for whether to monitor invisible or backup files, rather than just TRUE, TRUE. (nautilus_tree_model_get_value): Use PANGO_STYLE_ITALIC instead of PANGO_STYLE_OBLIQUE. Both will fall back to the other if not available, but if we have both, we'd prefer italic. (stop_monitoring_directory_and_children): New. (stop_monitoring): New. (nautilus_tree_model_set_show_hidden_files): New. (nautilus_tree_model_set_show_backup_files): New. (file_is_not_directory): New. (nautilus_tree_model_set_show_only_directories): New. * components/tree/nautilus-tree-view.c: (update_filtering_from_preferences): Call functions to change settings on model rather than storing these settings here. (tree_activate_callback), (filtering_changed_callback): Call update_filtering_from_preferences to set filtering for the newly created tree. (nautilus_tree_view_instance_init): Don't call update_filtering_from_preferences here, because we don't have a tree model yet. * libnautilus-private/nautilus-theme.c: Formatting tweaks. * libnautilus/nautilus-view-standard-main.c: Formatting tweak. * src/nautilus-window-toolbars.c: Formatting tweaks, and remove some unnecessary localized strings. * src/nautilus-zoom-control.h: Remove extern "C" stuff. If we need this, we'll do G_BEGIN_DECLS, and it's silly to use it for private headers that are never going to be used from C++. * libnautilus-private/nautilus-bonobo-extensions.c: (nautilus_bonobo_activation_register_for_display): Temporarily re-disable per-display registration since it doesn't work at all on my machine. I'll turn it back on after talking to Michael Meeks. 2002-03-07 Darin Adler * icons/crux_eggplant/crux_eggplant.xml: * icons/crux_teal/crux_teal.xml: * icons/default/default.xml: * icons/gnome/gnome.xml: * icons/sierra/sierra.xml: * icons/tahoe/tahoe.xml: Tweaked the zoom control specifications to match the new nicer rules. * src/nautilus-zoom-control.c: (draw_number): Removed a lot of strangeness and fudge factors from this function. 2002-03-07 Darin Adler * Tons of files: Because lots of recent bugs were due to "signal handler called after object gone" problems, switched many calls of g_signal_connect and g_signal_connect_swapped to use g_signal_connect_object instead. Also did other signal-related cleanup and changed some destroys to finalizes. * libnautilus/nautilus-view-standard-main.h: We no longer need to include nautilus-view.h in here. So include it in the files that use this instead. Did merges from stable branch: 2001-10-25 Darin Adler * libnautilus-private/nautilus-directory.c: (call_files_changed_common), (call_files_changed_free_list), (call_files_changed_unref_free_list), (nautilus_directory_notify_files_changed): Move call to nautilus_directory_add_file_to_work_queue into a better bottleneck; now it catches all the notify cases, not just changed. Also tell it to re-get top-left text and link info too when we get a changed notice. * src/file-manager/fm-directory-view.c: (queue_pending_files): Don't use the timeout (and the hysteresis) when queuing files once the initial directory load is complete. Doing this was causing delays processing changes that came in later, which we don't want. * src/nautilus-sidebar-title.c: (item_count_ready), (monitor_add), (update_all), (nautilus_sidebar_title_set_file): Monitor the directory count once we get it the first time. This makes sure that changes in the directory count get reflected in the sidebar without creating a race with the main view to see who calculates it first. 2001-10-25 Alex Larsson * libnautilus-private/nautilus-directory.c (nautilus_directory_notify_files_changed): Call nautilus_directory_add_file_to_work_queue() when file_info is invalidated. Otherwise it will not be read again. 2002-03-07 Michael Meeks * libnautilus-private/nautilus-horizontal-splitter.c (nautilus_horizontal_splitter_size_allocate): impl. to cope with having a paned with no child2, without doing lots of bogus size re-allocation. (nautilus_horizontal_splitter_class_init): upd. (nautilus_horizontal_splitter_pack2): impl, since gtkpaned relies on the re-size to generate an expose to re-render it's splitter grabber thing.a * src/nautilus-sidebar.c (nautilus_sidebar_set_width): impl. moving all sidebar preferences here, (nautilus_sidebar_init): move auto value setup here from class_init to save possible re-enterancy issue. Request the size we want for the sidebar, the pane will under-allocate if neccessary. Set the old_width to the correct size so we don't re-render the paned lots as it swiches about. * src/nautilus-window.c (nautilus_window_constructed): reflow to simplify, call sidebar_set_width. (nautilus_window_set_content_view_widget): use nautilus_..._pack2 instead of gtk_paned to fix rendering. 2002-03-06 Michael Meeks * components/notes/nautilus-notes.c (make_notes_view): upd. * components/news/nautilus-news.c (rss_read_done_callback): parse the RTF, but don't spew warnings everywhere. (make_news_view): upd. * components/throbber/main.c (cb_create_throbber): impl. (throbber_object_destroyed, throbber_make_object): axe cut & paste. * libnautilus/nautilus-view-standard-main.c (nautilus_view_create_from_get_type_function): widen from NautilusView to BonoboObject, this code has a much wider application. (make_object): ditto. * components/hardware/nautilus-hardware-view.c (nautilus_hardware_view_get_nautilus_view): upd. * components/throbber/nautilus-throbber.c (nautilus_throbber_new): kill. * libnautilus/nautilus-view-standard-main.c (nautilus_view_standard_main_multi): use gdk_get_display. * libnautilus-private/nautilus-bonobo-extensions.c (nautilus_bonobo_activation_register_for_display): impl. * src/nautilus-application.c (nautilus_application_startup): use it. * src/nautilus-window-toolbars.c (location_change_at_idle_callback), (throbber_callback): move from nautilus-window.c (nautilus_window_allow_stop): move this here, prune redundant sets, simplify property bag extraction. * src/nautilus-window.c (nautilus_window_constructed): move throbber location changed code out of here. (nautilus_window_unrealize): no explicit removal from remote property bag neccessary & upd. * libnautilus-private/nautilus-metafile-factory.c (corba_open): reduce complexity. 2002-03-07 Anders Carlsson * configure.in: Require eel 1.1.7 * src/nautilus-preferences-dialog.c: Use EEL_PREFERENCE_ITEM_EDITABLE_PASSWORD_STRING for the proxy dialog. Fixes #69387. 2002-03-06 Alexander Larsson (merges from stable): * libnautilus-private/nautilus-monitor.c: (process_fam_notifications): Tweak comment. * src/nautilus-window-manage-views.c: (cancel_viewed_file_changed_callback), (update_for_new_location): Monitor the existence of the currently viewed file, so we notice when the file is deleted. * src/file-manager/fm-directory-view.h: Add emblems_changes method. * src/file-manager/fm-directory-view.c: (file_changed_callback): Call emblems_changed. (fm_directory_view_add_relative_emblems_to_exclude, real_get_emblem_names_to_exclude): exclude non-writable emblems if directory is not writable. * src/file-manager/fm-icon-view.c: Implement emblem_changes. * src/file-manager/fm-list-view.c: Add GNOME2_CONVERSION_COMPLETE where the emblem icon update is needed. 2002-03-06 Darin Adler * src/file-manager/fm-list-model.c: (fm_list_model_remove_file): Don't warn when asked to remove a file that's not in the list. That happens relatively often. 2002-03-06 Darin Adler * libnautilus-private/nautilus-icon-container.c: (nautilus_icon_container_instance_init): Use g_signal_connect_object instead of g_signal_connnect to make sure we don't get called once the widget is dead. 2002-03-06 Darin Adler * src/nautilus-bookmarks-window.c: (create_bookmarks_window): Say "Close" instead of "Done". * src/nautilus-property-browser.c: (nautilus_property_browser_init): Say "Close" instead of "Done". * src/nautilus-sidebar-title.c: (nautilus_sidebar_title_init): Use g_signal_connect_object instead of g_signal_connect_swapped. This will probably fix the theme-switching problem people have been complaining about. * src/nautilus-preferences-dialog.c: Tweak formatting. * src/file-manager/fm-properties-window.c: Tweak formatting. * src/nautilus-application.c: Fix bug # in a comment. 2002-03-06 Darin Adler * components/tree/nautilus-tree-model.c: (update_monitoring): New name for destroy_unneeded_children, which now starts monitoring for nodes that need it as well as stopping monitoring and destroying children for notes that don't need it. (update_monitoring_idle_callback): New name. (schedule_monitoring_update): New name. (nautilus_tree_model_ref_node): Call schedule_monitoring_update when a node is ref'd, rather than doing it right away. (nautilus_tree_model_unref_node): Hoist the code from last_child_unref here, since it's only a single call. * components/tree/nautilus-tree-view.c: (sort_model_iter_to_file), (compare_rows), (create_tree): Turn on the GtkTreeModelSort code. The above fix makes us stop crashing, and the Gtk fix I'll check in soon makes the sorting actually work. 2002-03-06 Darin Adler * libnautilus-private/nautilus-mime-actions.c: (nautilus_mime_set_short_list_applications_for_file), (nautilus_mime_set_short_list_components_for_file): Fix storage leaks. 2002-03-06 Michael Meeks * src/file-manager/fm-icon-view.c (fm_icon_view_update_menus): don't try to set properties on a remote container that is being / has been torn down. * libnautilus-private/nautilus-global-preferences.c (default_icon_view_sort_order_or_manual_layout_changed_callback), (nautilus_global_preferences_set_default_folder_viewer), (default_folder_viewer_changed_callback): upd. for enum code. * libnautilus-private/nautilus-icon-canvas-item.c (nautilus_icon_canvas_item_class_init): use eel_preferences_add_auto_enum instead of auto_int. * src/file-manager/fm-list-view.c (fm_list_view_class_init): ditto. * src/file-manager/fm-icon-view.c (get_default_sort_order, get_default_zoom_level_font_size), (get_default_zoom_level, fm_icon_view_init): ditto. * libnautilus-private/nautilus-thumbnails.c (prefer_global_thumbnails_location): ditto. * libnautilus-private/nautilus-icon-factory.c (should_display_image_file_as_itself): ditto. * libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_class_init): ditto. 2002-03-05 Michael Meeks * components/music/nautilus-music-view.c (nautilus_music_view_init): use eel_preferences_get_enum instead of get_integer * src/nautilus-switchable-search-bar.c (nautilus_search_uri_to_search_bar_mode), (nautilus_switchable_search_bar_new): ditto. * src/file-manager/fm-icon-view.c (fm_icon_view_update_click_mode): ditto. * src/file-manager/fm-directory-view.c (get_executable_text_file_action): ditto. * libnautilus-private/nautilus-metafile.c (can_use_public_metafile): ditto. * libnautilus-private/nautilus-file.c (show_directory_item_count_changed_callback), (show_text_in_icons_changed_callback): use get_enum * libnautilus-private/nautilus-global-preferences.c (preference_defaults): add the PREFERENCE_ENUM type and make this a string, as GConf expects. * configure.in: add the GConf magic. * libnautilus-private/Makefile.am (schemadir): add schema installation bits. 2002-03-06 Alexander Larsson * nautilus-icon-private.h: (NautilusIconContainerDetails): widget_x/y ->o world_x/y * libnautilus-private/nautilus-icon-container.c: Fix all the coordinate system problems. Now stretching should work correctly again. There are a multitude of issues when handling this: 1) When doing rubberbanding we want to use widget-relative coordinates so that we can auto-scroll. 2) The widget events (button_press_event, button_release_event and motion_notify_event) report coordintes relative to GTK_LAYOUT(container)->bin_window, aka canvas "window coordinates" 3) The canvas item events (item_event_callback, handle_icon_button_press) report coordinates in canvas world coordinates (a change since gnome 1 i believe) 2002-03-05 David Emory Watson * src/nautilus-shell-ui.xml: applied patch by Andrew Burr to add mini icons for refresh, zoom-*, and about menu items. 2002-03-05 David Emory Watson * src/file-manager/nautilus-directory-view-ui.xml: fix mini icons in the edit menu so that they don't disappear when the focus changes. 2002-03-05 Darin Adler * libnautilus-private/nautilus-bonobo-extensions.c: (nautilus_bonobo_set_accelerator): Remove unneeded g_return_if_fail. We call only one other function, so that can handle parameter checking. (nautilus_bonobo_set_label): Ditto. (nautilus_bonobo_set_tip): Ditto. (nautilus_bonobo_set_sensitive): Ditto. (nautilus_bonobo_set_toggle_state): Ditto. (nautilus_bonobo_set_hidden): Ditto. (nautilus_bonobo_get_label): Ditto. (nautilus_bonobo_get_hidden): Add g_return_if_fail. (get_numbered_menu_item_name): Remove unused parameters. (add_numbered_menu_item_internal): Set label with nautilus_bonobo_set_label so there aren't any issues with XML entity encoding. (nautilus_bonobo_add_submenu): Ditto. (nautilus_bonobo_add_menu_separator): Add g_return_if_fail. (remove_commands): Remove g_return_if_fail since caller does it. (nautilus_bonobo_set_label_for_menu_item_and_command): Add g_return_if_fail. 2002-03-06 Anders Carlsson * libnautilus-private/nautilus-directory-async.c: (should_look_for_dot_directory_file), (lacks_link_info): Only look for .directory files in directories that have a special scheme. (make_dot_directory_uri): Remove sync check for .directory files. 2002-03-05 Darin Adler * src/file-manager/fm-list-view.c: (tree_selection_foreach_set_boolean): New. (tree_selection_not_empty): New. (tree_view_has_selection): New. (event_after_callback): Handle only clicks in the bin_window. Also, decide which menu to display by whether an item is selected or not rather than by where the click is. (button_press_callback): Deselect all items when you click on the background. (create_and_set_up_tree_view): Connect the new handler. 2002-03-05 Dave Camp * components/notes/nautilus-notes.c: (notify_listeners_if_changed): Remove the #ifdef GNOME2_CONVERSION_COMPLETE and replace bonobo_property_bag_notify_listeners with a bonobo_event_source_notify_listeners_full call. (make_notes_view): Remove the #ifdef GNOME2_CONVERSION_COMPLETE and send the proper arguments to bonobo_control_set_properties. 2002-03-05 Anders Carlsson * src/file-manager/fm-list-view.c (event_after_callback): Display the background context menu if no item is selected. === nautilus 1.1.8 === 2002-03-05 Darin Adler * NEWS: Bump version. * configure.in: Bump version. * TODO: Some update. 2002-03-05 Jens Finke * components/adapter/nautilus-adapter-stream-load-strategy.c (nautilus_adapter_stream_load_strategy_load_location): Escape '!' character in URIs before using it as a moniker string. 2002-03-05 Anders Carlsson * libnautilus-private/nautilus-global-preferences.c (nautilus_global_preferences_init_with_folder_browsing): Register default folder viewer enumeration too. 2002-03-05 Michael Meeks * src/file-manager/fm-directory-view.c (fm_directory_view_supports_zooming): check if zoomable is non NULL. (fm_directory_view_destroy): NULL the zoomable at the same time as the nautilus_view, since they're the same aggregate. * libnautilus-private/nautilus-icon-factory.c (get_image_cache_view): impl. (cache_icon_new): add the icon to the cache view. (cache_icon_unref): destroy the icon's view widget. 2002-03-04 John Fleck * help/Makefile.am adding xmldocs.make to EXTRA_DIST 2002-03-04 Darin Adler * src/file-manager/fm-directory-view.c: (real_file_limit_reached): Fix a stray NautilusFile unref that could cause big trouble. * src/file-manager/fm-list-view.c: (event_after_callback): New, puts up a menu when you right-click. (create_and_set_up_tree_view): Attach new handler. (fm_list_view_reset_to_defaults): Make this compile. 2002-03-04 Darin Adler * src/file-manager/fm-directory-view.c: (real_get_selected_icon_locations): Put a default one in here, since there are only really icon locations for FMIconView. (fm_directory_view_class_init): Set up default get_selected_icon_locations. * src/file-manager/fm-list-model.c: (fm_list_model_get_sort_column_id_from_attribute): Allow NULL. (fm_list_model_get_sort_column_id_from_sort_type): Handle all types. * src/file-manager/fm-list-view.c: (set_sort_order_from_metadata_and_preferences): Fix to handle unknown values in metadata. (fm_list_view_reset_to_defaults): New. (fm_list_view_class_init): Hoom up the new reset_to_defaults function. 2002-03-04 Darin Adler * src/file-manager/fm-directory-view.c: Formatting tweaks. * src/file-manager/fm-list-model.c: (remove_link_saving_prev): Fix bug where it would skip every other node. * src/file-manager/fm-list-view.c: (fm_list_view_select_all): New. (fm_list_view_class_init): Add placeholders for things we need to implement to satisfy FMDirectoryView. Implement one: select all. === nautilus 1.1.7 === 2002-03-04 Darin Adler * NEWS: Bump version. * configure.in: Bump version. 2002-03-04 Darin Adler * libnautilus-private/nautilus-global-preferences.c: (nautilus_global_preferences_init_with_folder_browsing): Call the real nautilus_global_preferences_init. Without this, all hell breaks loose. * libnautilus/nautilus-clipboard.c: (merge_in_clipboard_menu_items), (merge_out_clipboard_menu_items): Don't do anything if things are NULL. Helps us destroy cleanly. (focus_changed_callback): Add missing gboolean return value. These days, signal handlers have to be more careful. (target_destroy_callback): NULL things out instead of freeing since destroy can happen more than once. (nautilus_clipboard_set_up_editable): Do a weak ref so the target data gets freed. (first_focus_callback): Add missing gboolean return value. These days, signal handlers have to be more careful. * src/file-manager/fm-properties-window.c: (name_field_focus_out): Return FALSE, not TRUE. 2002-03-04 Darin Adler * libnautilus/nautilus-clipboard.c: (clipboard_items_are_merged_in), (focus_changed_callback), (target_destroy_callback), (nautilus_clipboard_set_up_editable), (first_focus_callback): * src/file-manager/fm-properties-window.c: (name_field_focus_out): 2002-03-04 Darin Adler * libnautilus-private/nautilus-directory.c: (nautilus_directory_notify_files_removed): Don't pay any attention if we're told about removal of a file we're renaming. * libnautilus-private/nautilus-file-private.h: Add new call to tell if the file is being renamed. * libnautilus-private/nautilus-file.c: (rename_guts): Set flag to say this file is being renamed. (nautilus_file_rename_in_progress): New. 2002-03-04 Michael Meeks * libnautilus-private/nautilus-global-preferences.c (nautilus_global_preferences_init): split out the ultra slow gnome-vfs thrashing bit into here (nautilus_global_preferences_init_with_folder_browsing): * src/nautilus-main.c (main): do a full init here so we get the folder browsing setup. 2002-03-04 Darin Adler * src/nautilus-sidebar-tabs.h: * src/nautilus-sidebar-tabs.c: (get_property_bag): Check for a NULL tab_view. (tab_item_destroy): Remove the weak pointer we now use for the tab_view lifetime. (nautilus_sidebar_tabs_connect_view): Add g_return_if_fail. (nautilus_sidebar_tabs_add_view): Add a weak pointer so we don't have trouble outside the tab_view lifetime. (nautilus_sidebar_tabs_set_title_mode): Check incoming boolean. (nautilus_sidebar_tabs_set_visible): Check incoming boolean. 2002-03-04 Darin Adler * libnautilus-private/nautilus-global-preferences.c: * libnautilus-private/nautilus-global-preferences.h: * src/nautilus-preferences-dialog.c: * src/nautilus-window-menus.c: (nautilus_window_initialize_menus_part_1): * src/nautilus-window.c: * src/nautilus-window.h: Remove the web search preference and the remnants of the "go to web search" feature. 2002-03-04 David Emory Watson * src/file-manager/fm-directory-view.c: (icons_changed_callback): New function. (fm_directory_view_init): Connect to icons_changed_callback so that the scripts menus will observe theme changes. (fm_directory_view_finalize): Remember to remove NAUTILUS_PREFERENCES_* callbacks when we are done with them. 2002-03-04 Alexander Larsson * libnautilus-adapter/Makefile.am: * libnautilus-private/Makefile.am: * libnautilus/Makefile.am: Bump major soname version to 2. Should fix bug #73142. 2002-03-03 Alexander Larsson Based on patch from Richard Hestilow * Makefile.am: Add libbackground directory * configure.in: Add CAPPLET flags and libs for libbackground Add libbackground/Makefile to list of Makefiles * libnautilus-private/Makefile.am: Add libbackground to dependency_static_libs * libnautilus-private/nautilus-directory-background.c: (nautilus_connect_desktop_background_to_file_metadata), (nautilus_file_background_read_desktop_settings), (nautilus_file_background_write_desktop_settings), (desktop_background_destroyed_callback), (desktop_background_gconf_notify_cb), (nautilus_file_background_receive_gconf_changes), (set_root_pixmap): Implement reading and writing of desktop background setting using libbackground. 2002-03-03 Yanko Kaneti * components/notes/Makefile.am: (LDADD) use COMPONENT_LIBS rather than COMPONENT_CFLAGS. 2002-03-03 Alexander Larsson Patch from Diego González . * libnautilus-private/nautilus-horizontal-splitter.c: (splitter_hide), (splitter_show), (splitter_is_hidden), (nautilus_horizontal_splitter_expand), (nautilus_horizontal_splitter_hide), (nautilus_horizontal_splitter_show), (nautilus_horizontal_splitter_is_hidden): * libnautilus-private/nautilus-horizontal-splitter.h: Code to hide and show the sidebar fully. * src/nautilus-window.c: (nautilus_window_hide_sidebar), (nautilus_window_show_sidebar), (nautilus_window_sidebar_showing): Use the new horizontal splitter functions. 2002-03-03 Alexander Larsson * libnautilus-private/nautilus-directory-background.c (desktop_background_realized): Call eel_background_set_is_constant_size() on the desktop background to avoid flashing with gradients. * configure.in: Require eel 1.1.6 2002-03-02 David Emory Watson * src/nautilus-shell-ui.xml: add stock icons to a couple of menu items in the edit menu. 2002-03-01 Darin Adler * components/throbber/nautilus-throbber.c: (nautilus_throbber_instance_init), (nautilus_throbber_finalize): * src/file-manager/fm-directory-view.c: (fm_directory_view_finalize), (real_merge_menus): * src/nautilus-window-menus.c: (help_menu_about_nautilus_callback): Use eel_add_weak_pointer, since it's more foolproof than g_object_add_weak_pointer. Also fix the about case so that it only adds the weak pointer once per created window. 2002-03-01 Darin Adler * libnautilus-private/nautilus-dnd.h: Move reset constant into header. * libnautilus-private/nautilus-file.c: (nautilus_file_get_display_name): Use g_locale_to_utf8, so this works even when G_BROKEN_FILENAMES is not set. * libnautilus-private/nautilus-icon-dnd.c: Rearrange and clean up code a bit. * src/nautilus-property-browser.c: (nautilus_property_browser_destroy), (add_new_pattern), (show_color_selection_window), (add_new_color), (add_new_emblem): * src/nautilus-sidebar-title.c: (update_icon): Get rid of dead code that gets uri and doesn't use it. It's been showing up in bug reports too, so this is especially nice. * src/nautilus-window-manage-views.h: * src/nautilus-window-manage-views.c: (nautilus_window_manage_views_destroy), (nautilus_window_manage_views_finalize): Break this up into two functions again. * src/nautilus-window.c: (nautilus_window_destroy): Re-add this, because some of the cleanup has to be done at destroy time. (nautilus_window_finalize): Move some of this out. (nautilus_window_class_init): Set up both. * components/text/nautilus-text-view.c: * components/tree/nautilus-tree-model.c: * libnautilus-private/nautilus-file-operations.c: * libnautilus-private/nautilus-program-choosing.c: * src/file-manager/fm-directory-view.c: * src/nautilus-bookmark-list.c: Miscellaneous porting to new names of functions, getting off less-desirable functions. 2002-03-01 Darin Adler * src/nautilus-window-manage-views.h: * src/nautilus-window-manage-views.c: (begin_location_change): Add a ref/unref so that window->details won't go away at an inopportune time. (nautilus_window_manage_views_finalize): Rename from destroy. * src/nautilus-window.c: (load_mini_icon): Break into separate function. (set_up_default_icon_list): Break into separate function. (nautilus_window_finalize): Change from destroy to finalize. (nautilus_window_class_init): Move to bottom of file and simplify the code a bit. 2002-03-01 Darin Adler * src/file-manager/fm-directory-view.c: (add_script_to_script_menus), (add_submenu_to_script_menus), (update_directory_in_scripts_menu): * src/file-manager/nautilus-directory-view-ui.xml: Patch from Gaute Lindkvist that adds the script menu to the background right-click menu, not just the one you get when you click on an object. 2002-03-01 Darin Adler * libnautilus-private/nautilus-link-historical.c: (local_set_root_property): Check for NULL before calling xmlParseFile. 2002-03-01 Darin Adler * src/nautilus-window-toolbars.c: (set_up_toolbar_images): Remove unneeded code to set icon for the deleted Web Search button. * icons/SearchWeb.png: Remove. * icons/crux_eggplant/SearchWeb.png: Remove. * icons/crux_teal/SearchWeb.png: Remove. * icons/default/SearchWeb.png: Remove. * icons/gnome/SearchWeb.png: Remove. * icons/search_results.png: Remove. * icons/services-rpm-72.png: Remove. * libnautilus-private/nautilus-icon-container.c: (nautilus_icon_container_theme_changed): Use text-selection-frame.png, not text-selection-frame-aa.png. * icons/text-selection-frame-aa.png: Rename to remove -aa. * icons/text-selection-frame.png: New home for the file. * icons/Makefile.am: * icons/crux_eggplant/Makefile.am: * icons/crux_teal/Makefile.am: * icons/default/Makefile.am: * icons/gnome/Makefile.am: Update as needed for changes above. 2002-03-01 Alexander Larsson * libnautilus-private/nautilus-icon-dnd.c (nautilus_icon_dnd_begin_drag): Events are in bin_window coordinates. Not world coords. 2002-02-28 John Fleck * add help/xmldocs.make * configure.in * help/nautilus-user-manual/Makefile.am * help/nautilus-user-manual/C/Makefile.am * help/nautilus-user-manual/C/nautilus-user-manual-C.omf * help/nautilus-user-manual/C/nautilus-user-manual.xml (added with cvs magic as a copy of the old sgml doc with history) converting old doc to xml and changing the build stuff to the new GNOME2 docness 2002-02-28 Alexander Larsson * src/nautilus-sidebar.c (nautilus_sidebar_class_init): (nautilus_sidebar_realize): Don't call gdk_window_set_static_gravities(). That old anti-flicker trick was just causing lots of flashing. Remove all traces of nautilus_sidebar_realize. 2002-02-28 Darin Adler * libnautilus-private/nautilus-link-desktop-file.c: (nautilus_link_desktop_file_get_link_icon_from_desktop): Fix handling of files with Icon entries that are full paths. * libnautilus-private/nautilus-file.c: Name tweak. 2002-02-28 Darin Adler * components/notes/nautilus-notes.c: (do_destroy): Remove some GNOME2_CONVERSION_COMPLETE code. * src/nautilus-theme-selector.h: * src/nautilus-theme-selector.c: (remove_theme_selector_idle_callback): New. (remove_theme_selector_changed_callback): Schedule the remove to be done at idle time, since GtkTreeView can't handle changes to the tree from inside the selection changed signal. (theme_selector_finalize): Cancel idle if it's still around. (for_each_theme_callback), (theme_selector_populate_list), (theme_selector_update_selected_theme_from_preferences), (nautilus_theme_selector_get_selected_theme): Return NULL rather than emitting a g_warning when no theme is selected. 2002-02-28 Darin Adler * src/file-manager/fm-directory-view.c: (add_numbered_menu_item): Escape the path too, not just the menu item name, because the path contains other menu item names. (add_submenu): Same. 2002-02-28 Darin Adler * libnautilus-private/nautilus-link-desktop-file.c: (nautilus_link_desktop_file_get_link_icon_from_desktop): Fix assert where it was calling gnome_vfs_get_uri_from_local_path on something that wasn't an absolute local path. 2002-02-28 Josh Barrow * icons/Makefile.am: * icons/Services.png: No-one uses services anymore, remove * icons/bubble-LL.png: * icons/bubble-LR.png: * icons/bubble-UL.png: * icons/bubble-UR.png: All of these were for a non-realized Services project. Remove. * icons/bullet.png: This was for the aa version of the stretch handles. If we decide to make the stretch handles aa, we can "cvs bring them back" * icons/computer.png: * icons/computer.svg: These were both for the ~/Nautilus thing. ~/Nautilus doesn't exist anymore. * icons/default/desktop_home.png: * icons/default/temp-home.png: Rename temp-home.png to desktop_home.png as it's not very temporary. It's been there for over a year. * icons/druid_header.png: * icons/druid_header_stretch.png: * icons/druid_sidebar.png: There's nolonger a first time druid. Remove these. * icons/expert-selected.png: * icons/expert.png: * icons/intermediate-selected.png: * icons/intermediate.png: * icons/novice-selected.png: * icons/novice.png: There are nolonger user levels. Remove these * icons/home.png: * icons/leftarrow.png: * icons/rightarrow.png: * icons/uparrow.png: * icons/search.png: If I recall, these were from the very first try at theming support in Nautilus. They haven't been used for a *very* long time. Remove them. * icons/netscape.png: This was used in ~/Nautilus, remove it. * icons/text-selection-frame.png: Not used now that there's not an aa v. non-aa thing going on. * icons/theme_preview.png: This is now in the default theme folder. * icons/tiny-alert.png: * icons/multi-ok.png: * icons/not.png: No clue what these were, but I'm certain they're not used anywhere. * src/file-manager/fm-desktop-icon-view.c: (update_home_link_and_delete_copies): Change instance of "temp-home" to "desktop_home" 2002-02-28 Darin Adler * libnautilus-private/nautilus-file.c: (in_filesystem): New. (rename_guts): Rename nautilus_file_rename to this. (nautilus_file_rename): Convert name to locale encoding if G_BROKEN_FILENAMES is set. (nautilus_file_get_display_name): Convert name to UTF-8 assuming the locale character set if it's not valid UTF-8. It was already doing it when G_BROKEN_FILENAMES was set. 2002-02-28 Darin Adler * src/nautilus-sidebar.c: (add_command_buttons): Use eel_str_replace_substring to replace the %s rather than using g_strdup_printf. It's not safe to use a string from a data file as a strdup format string. * configure.in: Bump librsvg required verson. 2002-02-28 Josh Barrow * icons/sierra/Makefile.am: Remove sierra_green.png * icons/sierra/sierra.xml: Change instance of sierra_green.png to #BAC5C0. Why wasn't this like this to begin with? sierra_green.png was just a patch of #BAC5C0... what a waste! * icons/sierra/sierra_green.png: Remove. Not certain, but I think that this makes the sierra theme a tiny bit faster. 2002-02-28 Josh Barrow * icons/Makefile.am: Doh! Broke the build. Remove icons from Makefile.am as well. 2002-02-27 Alexander Larsson * src/nautilus-window-menus.c (help_menu_about_nautilus_callback): Patch from drleary@mac.com, add a weak_pointer to the about-dialog to catch it being destroyed. * libnautilus-private/nautilus-find-icon-image.h: (nautilus_get_icon_file_name): Take extra argument for scalable details * libnautilus-private/nautilus-find-icon-image.c: (read_details): If size == 0, read scalable details, looking for size "*" and using coordinated between 0..1000 (nautilus_get_icon_file_name): Take a scalable_details argument and fill it out. * libnautilus-private/nautilus-icon-factory.c (load_pixbuf_svg): Load svg icons at the right size, considering their embedded size, the zoom level, and the icon max size. If there are scalable details availible, scale them and put them in the unscaled ones. (load_icon_from_path): Take details and max_size arguments and pass them to load_pixbuf_rsvg. (load_named_icon): max_size arg used for svg scaling. Get scalable details from icon data, pass it on. (load_icon_for_scaling): Try exact size lookup before trying the specific zoom level sizes. This is so we don't have to scale SVGs after their initial rendering. (get_icon_from_cache, load_icon_scale_if_necessary, load_specific_icon): Pass on max size as needed. 2002-02-27 Josh Barrow * icons/About_Image.png: * icons/about_background.png: These are no longer used since we switched to GnomeAbout. 2002-02-27 Darin Adler * libnautilus-private/nautilus-program-chooser.c: Change file-types-capplet to gnome2-file-types-properties. * src/file-manager/fm-desktop-icon-view.c: (fm_desktop_icon_view_finalize), (fm_desktop_icon_view_class_init): Use finalize instead of destroy. * src/file-manager/fm-icon-view.c: (fm_icon_view_update_icon_container_fonts): Get rid of unneeded nautilus_icon_container_request_update_all call. * src/Makefile.am: * src/nautilus-about.c: Remove. * src/nautilus-about.h: Remove. 2002-02-27 Gediminas Paulauskas * libnautilus-private/nautilus-bookmarks.c: add missing include 2002-02-27 Darin Adler * libnautilus-private/nautilus-directory-metafile.c: (free_factory): Just release, don't unref. (get_metafile): Don't keep a ref. Also fix CORBA objref leak. * libnautilus-private/nautilus-icon-factory.c: (get_icon_from_cache): * libnautilus-private/nautilus-metafile-factory.c: (nautilus_metafile_factory_get_instance): Return the same instance each time, don't ref, since lifetime is not managed by ref counting. * libnautilus/nautilus-clipboard.c: (initialize_clipboard_component_with_callback_data): Get rid of BonoboUIComponent leak. * src/nautilus-application.c: Formatting tweaks. * libnautilus-private/nautilus-bookmark.c: Minor cleanup. * test/Makefile.am: * test/test-nautilus-async-activation.c: Remove. 2002-02-27 Michael Meeks * libnautilus-private/nautilus-program-choosing.c (concat_option_cb): impl. (get_xalf_prefix): use gconf. * libnautilus-private/nautilus.schemas: add Xalf bits. * libnautilus-private/nautilus-global-preferences.c: ditto. * libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_start_renaming_selected_item): don't pass a font name, it isn't used anyway. * libnautilus-private/nautilus-directory-async.c (should_display_file_name): protect with GNOME2_HAS_MEDUSA instead. 2002-02-27 Michael Meeks * libnautilus-private/nautilus-file-operations.c (handle_transfer_overwrite, handle_transfer_vfs_error), (handle_transfer_overwrite): pass a widget context to help pango. (extract_and_ellipsize_file_name_for_dialog), (format_and_ellipsize_uri_for_dialog): pass pango context to ellipsization. (ellipsize_string_for_dialog): re-implement for pango. (get_label_font): kill. 2002-02-27 Darin Adler * src/nautilus-sidebar-tabs.c: (make_tab_text_layout): New (draw_one_tab_plain), (draw_one_tab_themed), (get_tab_width): Use common function to create PangoLayout so we don't forget anything. The old code forgot to set the font description in one case, leading to wrong-looking sidebar tabs. * src/nautilus-theme-selector.h: * src/nautilus-theme-selector.c: Minor cleanup. 2002-02-25 Dave Camp * components/news/nautilus-news-pixmaps.h: Removed. * components/news/Makefile.am: Build nautilus-cell-renderer-news.c, don't build nautilus-news-pixmaps.h. * components/news/nautilus-news.c: (toggle_open_state), (rss_logo_callback), (set_bonobo_properties), (rss_read_done_callback), (max_items_changed), (set_views_for_mode), (switch_page), (configure_button_clicked), (add_site_button_clicked), (add_site_from_fields), (remove_selected_site), (nautilus_news_load_location), (empty_message_size_allocate), (set_up_edit_widgets), (set_up_configure_widgets), (set_up_main_widgets), (make_news_view): use a GtkNotebook to store the pages of the news view, and switch between them instead of individually hiding and showing the widgets when pages are flipped. This allowed all the size negotiation code to go away, as the GtkNotebook takes care of it. * components/news/nautilus-news.c: (update_node), (get_channel_markup), (get_item_markup), (set_bonobo_properties), (do_destroy), (go_to_uri), (set_row_widths), (wrap_idle), (nautilus_news_size_allocate), (node_data_for_path), (nautilus_news_activate_path), (nautilus_news_row_activated), (nautilus_news_button_release_event), (nautilus_news_set_title), (free_rss_data_item), (free_channel), (nautilus_news_set_news_changed), (clear_channel_changed_flags), (nautilus_news_make_channel_document), (rss_logo_callback), (extract_items), (has_matching_uri), (mark_new_items), (extract_rss_title), (extract_scripting_news_title), (rss_read_done_callback), (nautilus_news_insert_channel), (nautilus_news_load_channel), (detach_items), (remove_items), (update_channels), (update_items), (nautilus_news_make_new_channel), (nautilus_news_add_channels), (nautilus_news_load_images), (nautilus_news_cell_data_func), (nautilus_news_row_expanded), (nautilus_news_row_collapsed), (max_items_changed), (add_channel_to_remove_list), (add_site_from_fields), (remove_selected_site), (add_command_buttons), (nautilus_news_load_location), (add_channel_entry), (empty_message_size_allocate), (make_remove_widgets), (set_up_configure_widgets), (set_up_main_widgets), (make_news_view): Use a GtkTreeView to render the news. (make_news_view): Remove the #ifdef GNOME2_CONVERSION_COMPLETE and send the proper arguments to bonobo_control_set_properties. (nautilus_news_set_news_changed): Remove the #ifdef GNOME2_CONVERSION_COMPLETE and replace bonobo_property_bag_notify_listeners with a bonobo_event_source_notify_listeners_full call. 2002-02-26 Alexander Larsson * libnautilus-private/nautilus-icon-factory.c (load_icon_for_scaling): Fix typo that used NAUTILUS_ZOOM_LEVEL_STANDARD instead of NAUTILUS_ICON_SIZE_STANDARD. This made nautilus cache many icons twice. (get_icon_from_cache): Need to handle the case where an inner get_icon_from_cache call already put the icon in the cache. 2002-02-26 Darin Adler * libnautilus-private/nautilus-icon-container.c: (nautilus_icon_container_set_font_size_table): Remove stray line of code. * libnautilus-private/nautilus-icon-private.h: Remove unused field. 2002-02-27 Michael Meeks * libnautilus-private/nautilus-undo-manager.c (corba_append, corba_forget, corba_undo): fix the undo manager impl. to map the servant properly. 2002-02-26 Michael Meeks * libnautilus-private/nautilus-entry.c (nautilus_entry_get_type): write out in full so we can handle the editable interface. (nautilus_entry_editable_init): setup the editable interface. (nautilus_entry_set_selection_bounds), (nautilus_entry_insert_text), (nautilus_entry_delete_text): re-instate. 2002-02-26 Darin Adler * Many files: Simplified calls to bonobo_object_ref/unref. * components/history/nautilus-history-view.c: (update_history): Fixed so that a history update while one is already in progress will work properly. * libnautilus/nautilus-view.c: (remove_listener): New. (update_listener): Renamed from nautilus_view_set_frame, made it handle various cases better. Fixed leak of property bag. (forget_cached_view_frame): New. (nautilus_view_set_frame_callback): Use new forget_cached_view_frame and update_listener. (nautilus_view_construct_from_bonobo_control): Use g_signal_connect_object. Not sure if this is better, since they are part of the same aggregate. (nautilus_view_finalize): Use new forget_cached_view_frame and remove_listener. (nautilus_view_dispose): Use new forget_cached_view_frame and remove_listener. (nautilus_view_get_view_frame): Fixed leak of control frame. (nautilus_view_set_listener_mask): Simplified, and made it work even if you call it multiple times, by calling new update_listener. * libnautilus-private/nautilus-icon-canvas-item.c: (create_label_layout): Handle NULL font_name case just in case. * libnautilus-private/nautilus-icon-container.c: (nautilus_icon_container_set_zoom_level): Use invalidate_label_sizes instead of setting update_icon_font. (nautilus_icon_container_set_font_name): Do nothing if font name doesn't change. If it does, use invalidate_label_sizes rather than setting update_icon_font. (nautilus_icon_container_set_font_size_table): Only redraw if font size changes. Also, use invalidate_label_sizes rather than setting update_icon_font. * libnautilus-private/nautilus-directory.c: (add_preferences_callbacks): * libnautilus-private/nautilus-icon-factory.c: (get_icon_factory): Initialize global preferences as needed. * src/file-manager/fm-icon-view.c: (fm_icon_view_finalize): * src/file-manager/fm-search-list-view.c: (real_destroy): * src/nautilus-application.c: (nautilus_application_destroy), (nautilus_application_create_window), (nautilus_application_class_init): * src/nautilus-main.c: (main): * src/nautilus-view-frame.c: (create_corba_objects): Fix property bag leak. 2002-02-26 Michael Meeks * components/history/nautilus-history-view.c (update_history): only set the selection if we have some items. 2002-02-26 David Emory Watson * src/nautilus-location-bar.c: (accumulate_name), (has_exactly_one_slash): UTF8 fixes. (try_to_expand_path): UTF8 and gtk_editable fixes. (get_editable_length): Rename to (get_editable_number_of_chars): this and include UTF8 fixes. (editable_key_press_callback): Rename to (editable_event_after_callback): this. Modify to skip non key_press events. (nautilus_location_bar_init): Replace marshaled key_press_event signal with normal event_after signal. 2002-02-26 Darin Adler * libnautilus-private/nautilus-file.c: (nautilus_file_get_display_name): Patch from Havard Wigtil that makes us return the right name, rather than returning an already-freed pointer. === nautilus 1.1.6 === 2002-02-25 Darin Adler * configure.in: Bump version. 2002-02-26 Anders Carlsson * libnautilus-private/nautilus-drag-window.c (drag_begin_emission_callback): Use gtk_widget_get_toplevel to find out the top-level window. 2002-02-25 Anders Carlsson * libnautilus-private/nautilus-drag-window.c: (wm_protocols_filter), (nautilus_drag_window_realize), (nautilus_drag_window_register): Get the don't-raise-on-drag feature working again. 2002-02-25 Anders Carlsson * components/tree/nautilus-tree-model.c: (nautilus_tree_model_get_column_type), (nautilus_tree_model_get_value): * components/tree/nautilus-tree-model.h: * components/tree/nautilus-tree-view.c: (create_tree): Let "Loading" and "Empty" special nodes be italic. * libnautilus-private/nautilus-global-preferences.c: (default_font_callback): Return "sans" here instead of "fixed" * libnautilus-private/nautilus-icon-canvas-item.c: (draw_or_measure_label_text), (create_label_layout), Set font from icon container name, use gdk_gc_set_rgb_fg_color. * libnautilus-private/nautilus-icon-container.c: (finalize): (realize), (nautilus_icon_container_init), (nautilus_icon_container_update_icon), (nautilus_icon_container_set_zoom_level), (nautilus_icon_container_request_update_all), (nautilus_icon_container_get_label_color), (update_label_color), (nautilus_icon_container_theme_changed), (nautilus_icon_container_set_font_name), (nautilus_icon_container_set_font_size_table): Add support for setting fonts, and fix some bugs with the label color handling. * libnautilus-private/nautilus-icon-container.h: Add nautilus_icon_container_set_font_name and nautilus_icon_container_set_font_size_table. * libnautilus-private/nautilus-icon-factory.c: (embedded_text_font_changed_callback), (embed_text): Set the font of the embedded text to the default font. * libnautilus-private/nautilus-icon-private.h: Add font name and font size table variables to NautilusIconContainerDetails. * libnautilus-private/nautilus-program-chooser.c: (nautilus_program_chooser_init): Fix button ordering according to the HIG. * src/file-manager/fm-icon-view.c: (fm_icon_view_update_icon_container_fonts), (fm_icon_view_update_icon_container_font_size_table): Set font name and font size table in the icon container. * src/nautilus-sidebar-tabs.c: (nautilus_sidebar_tabs_load_theme_data), (default_font_changed_callback), (nautilus_sidebar_tabs_init), (nautilus_sidebar_tabs_destroy), (draw_one_tab_plain), (draw_one_tab_themed): Use the "default font" preference. * src/nautilus-sidebar-title.c: (nautilus_sidebar_title_class_init), (default_font_changed_callback), (nautilus_sidebar_title_init), (nautilus_sidebar_title_destroy), (update_title_font): Use the "default font" preference. * src/nautilus-window-menus.c: (help_menu_about_nautilus_callback): Use the GnomeAbout widget. 2002-02-25 Michael Meeks * libnautilus-private/nautilus-file-operations.c (fit_rect_on_screen, center_dialog_over_rect), (center_dialog_over_window): kill deprecated code, use gtk_window_set_transient instead. * libnautilus-private/nautilus-file-operations-progress.c (nautilus_file_operations_progress_init): setup the default dialog width instead of the bar's. 2002-02-21 Michael Meeks * libnautilus-private/nautilus-customization-data.c (add_reset_text): port, requires new eel API. 2002-02-25 Alexander Larsson * libnautilus-private/nautilus-icon-factory.c: Use rsvg_pixbuf_from_file_at_max_size() to render svg icons at the right size. 2002-02-25 Darin Adler * configure.in: Bump required versions of some things. 2002-02-24 Seth Nickell * src/file-manager/nautilus-indexing-info.c: (update_progress_display), (index_progress_dialog_new): Convert deprecated use of GtkProgress to GtkProgressBar to fix the build for people who build Medusa support. 2002-02-24 Alexander Larsson * libnautilus-private/nautilus-directory-background.c (image_loading_done_callback): Enable gdk_window_set_back_pixmap() again. This limits flicker when switching workspaces and moving windows. 2002-02-24 Alexander Larsson * libnautilus-private/nautilus-icon-container.c (realize): Don't set background pixmap None. Gtk+ already does that when scrolling windows these days, and due to a bug in Gtk+ (now fixed) this was actually making that feature not work! 2002-02-23 Alexander Larsson * src/nautilus-window.c (nautilus_window_class_init): Set the default icon list for all windows. (nautilus_window_realize): Remove old GNOME2_CONVERSION_COMPLETE code for setting the window icon. 2002-02-27 Jody Goldberg * components/music/configure.c : misc minor deprecation removals. * components/music/fileinfo.c : ditto. (nautilus_music_view_update) : reconnect the background. * components/music/nautilus-music-view.c (play_current_file) : convert to gconf. * src/file-manager/fm-icon-view.c (preview_audio) : convert to gconf. * components/hardware/nautilus-hardware-view.c s/gtk_label_set_wrap/gtk_label_set_line_wrap/ (setup_overview_form) : Use gnome_program_locate_file to find iconf from gnome-mime-data. * components/hardware/main.c (main) : use nautilus_view_standard_main. (cb_create_hardware_view) : new work around the odd inheritance of the view. 2002-02-22 Gediminas Paulauskas * configure.in: remove obsolete GNOME_COMMON_INIT and GNOME_PLATFORM_GNOME_2 macros. * libnautilus-private/nautilus-file-operations.c (handle_transfer_duplicate): * libnautilus-private/nautilus-icon-dnd.c (nautilus_icon_container_get_drop_action): * libnautilus-private/nautilus-volume-monitor.c (mount_volume_deactivate): add break; statement to empty default: labels to fix warning on gcc 3. * libnautilus-private/nautilus-icon-container.c (clear_drag_state): fix typo. 2002-02-22 Darin Adler * libnautilus-private/nautilus-icon-container.c: (remove_context_menu_timeout): New. (clear_drag_state): Use remove_context_menu_timeout. (motion_notify_event): Use remove_context_menu_timeout. This fixes a bug where you might end up with two timeouts. Remove the code marked "KLUDGE ALERT" which seemed to mess up dragging coordinates. 2002-02-22 Darin Adler * libnautilus-private/Makefile.am: * libnautilus-private/nautilus-icon-text-item.c: Remove. * libnautilus-private/nautilus-icon-text-item.h: Remove. * libnautilus-private/nautilus-file-dnd.h: * libnautilus-private/nautilus-file-dnd.c: (nautilus_drag_file_receive_dropped_keyword): Use const char *. * libnautilus-private/nautilus-icon-container.c: (rubberband_timeout_callback), (start_rubberbanding), (update_stretch_at_idle), (button_release_event), (motion_notify_event), (handle_icon_button_press): * libnautilus-private/nautilus-icon-dnd.c: (icon_get_data_binder), (nautilus_icon_container_position_shadow), (receive_dropped_keyword), (receive_dropped_uri_list), (nautilus_icon_container_find_drop_target), (nautilus_icon_container_receive_dropped_icons), (nautilus_icon_container_get_drop_action), (nautilus_icon_dnd_update_drop_target), (nautilus_icon_dnd_begin_drag): Use eel_gtk_widget_get_button_event_location and eel_gnome_canvas_widget_to_world and the other similar functions to fix coordinate handling. Also some const char * fixes. * libnautilus-private/nautilus-icon-private.h: window -> widget * src/file-manager/fm-directory-view.h: * src/file-manager/fm-directory-view.c: fm_directory_get_selected_icon_locations -> fm_directory_view_get_selected_icon_locations 2002-02-21 Darin Adler * AUTHORS: * HACKING: * MAINTAINERS: * README: Update names in a few places. * src/nautilus-main.c: (main): Remove obsolete ENABLE_NLS comment. 2002-02-22 Kjartan Maraas * components/hardware/main.c: Remove #ifdef ENABLE_NLS since it's not supported in GNOME 2. * components/music/fileinfo.c: Same here. * libnautilus/nautilus-view-standard-main. Here too. * src/nautilus-main.c: Same here. * components/hardware/main.c: Use GETTEXT_PACKAGE. * components/history/nautilus-history-view.c: Same here. * components/music/main.c: Same here. * components/news/nautilus-news.c: Same here. * components/notes/nautilus-notes.c: Same. * components/text/main.c: Same 2002-02-21 Jody Goldberg * components/adapter/nautilus-adapter-control-factory-embed-strategy.c (nautilus_adapter_control_factory_embed_strategy_new) : typo. 2002-02-21 Darin Adler * components/image-viewer/: Remove. Michael already took it out of the tarball, so I am removing it from cvs for clarity. * libnautilus-private/nautilus-icon-container.c: (nautilus_icon_container_init): Use g_signal_connect_object with G_CONNECT_SWAPPED instead of g_signal_connect_closure. * src/nautilus-desktop-window.c: Some code cleanup. 2002-02-21 Darin Adler * libnautilus-private/Makefile.am: Remove nautilus-desktop-file-loader.[ch]. * libnautilus-private/nautilus-desktop-file-loader.c: Remove. * libnautilus-private/nautilus-desktop-file-loader.h: Remove. * libnautilus-private/nautilus-directory-async.c: (link_info_nautilus_link_read_callback): Pass in NULL for the new optional URI parameter for parsing existing link files. * libnautilus-private/nautilus-link-desktop-file.h: * libnautilus-private/nautilus-link-desktop-file.c: Change to use GnomeDesktopItem instead of NautilusDesktopFile. * libnautilus-private/nautilus-link.h: * libnautilus-private/nautilus-link.c: (nautilus_link_get_link_uri_given_file_contents), (nautilus_link_get_link_name_given_file_contents), (nautilus_link_get_link_icon_given_file_contents): Add optional URI parameter for parsing existing link files. This is passed down to the GnomeDesktopItem level, which can sometimes do a better job if it knows the URI. * src/file-manager/fm-directory-view.c: (activate_callback): Change to use GnomeDesktopItem instead of NautilusDesktopFile. Also, simplify error handling. * Many files: Fix includes to use <> style in headers more consistently, and remove unnecessarily includes. 2002-02-20 Michael Meeks * libnautilus-private/nautilus-icon-factory.c (embed_text): do the clipping with a new eel method. 2002-02-21 Kjartan Maraas * src/nautilus-main.c: Use GETTEXT_PACKAGE, not just PACKAGE in the bindtextdomain functions. 2002-02-20 Jens Finke * src/nautilus-window-toolbars.c (set_up_standard_bonobo_button), (set_up_special_bonobo_button): Added gtk stock item fallback which is used if a custom icon wasn't found. (set_up_toolbar_images): Define proper stock item replacements. 2002-02-20 Jody Goldberg * components/adapter/Makefile.am : add DISABLE_DEPRECATED_CFLAGS. * components/adapter/nautilus-adapter-load-strategy.c (nautilus_adapter_load_strategy_get) : ProgressiveDataSink is gone in gnome2. * components/adapter/nautilus-adapter-embed-strategy.c (nautilus_adapter_embed_strategy_class_init) : use g_cclosure_marshal_* which are not deprecated. (nautilus_adapter_embed_strategy_get) : try ControlFactory in place of Embeddable. * components/adapter/nautilus-adapter-control-factory-embed-strategy.c : * components/adapter/nautilus-adapter-control-factory-embed-strategy.c : Renamed from nautilus-adapter-embeddable-embed-strategy.c Convert to ControlFactory. * components/adapter/nautilus-adapter-control-factory-embed-strategy.h : Convert to G_* casts. * components/adapter/nautilus-adapter.c : s/gtk_signal_disconnect/g_signal_handler_disconnect/ 2002-02-20 David Emory Watson * src/file-manager/fm-directory-view.c: (update_scripts_menu): Avoid race condition by resetting scripts_invalid flag before we build the script menus. (update_directory_in_scripts_menu): Simplified code. (add_scripts_directory): Moved into (add_directory_to_scripts_directory_list): here. (remove_scripts_directory): Renamed to (remove_directory_from_scripts_directory_list): this. (update_scripts_menu): Made code more readable. 2002-02-20 Jens Finke * src/file-manager/fm-desktop-icon-view.c (change_background_callback): Call gnome2 background setting program. 2002-02-20 jacob berkman * src/file-manager/nautilus-indexing-info.c: (show_index_progress_dialog), (show_last_index_time_dialog), (show_indexing_info_dialog): s/g_signal_connect_object/g_signal_connect_swapped/, as this was gtk_signal_connect_object which is not the same as g_signal_connect_object 2002-02-20 Michael Meeks * components/throbber/nautilus-throbber.c (nautilus_throbber_set_small_mode): remove usize mis-use. * components/text/nautilus-text-view.c: remove bogus ghttp include. * components/music/nautilus-music-view.c (image_button_callback): upd. signal handling. (xpm_dual_label_box, xpm_label_box): upd. container border width. (nautilus_music_view_update): fix leak & upd. path handling. * components/music/mpg123.c (eval_id3_format), (mpg123_format_song_title): upd. path handling. * components/hardware/main.c: include string.h * components/hardware/nautilus-hardware-view.c (setup_form_title): use gnome_program_locate_file. * components/hardware/Makefile.am, * components/sample/Makefile.am, * components/tree/Makefile.am, * components/text/Makefile.am, * components/throbber/Makefile.am, * components/music/Makefile.am: add disable deprecated cflags. * components/Makefile.am: remove image_viewer * configure.in: upd. 2002-02-20 Michael Meeks * libnautilus/nautilus-view.c (nautilus_view_set_frame): don't spew debug as we disconnect from a dead parent. * src/nautilus-sidebar-tabs.c (tab_item_destroy): ditto. * src/nautilus-window. (nautilus_window_unrealize): ditto. 2002-02-19 Bastien Nocera * src/nautilus-window-manage-views.c: (determined_initial_view_callback): display a better message if smb: is the scheme we use 2002-02-19 jacob berkman * configure.in: require gnome-desktop library * libnautilus-private/nautilus-icon-dnd.[ch]: (nautilus_icon_dnd_uri_list_extract_uris), (nautilus_icon_dnd_uri_list_free_strings): paste old gnome-mime code here as we still need it * libnautilus-private/nautilus-link-desktop-file.[ch]: (nautilus_link_desktop_file_local_create_from_gnome_entry): * libnautilus-private/nautilus-link-historical.[ch]: (nautilus_link_historical_local_create_from_gnome_entry): * libnautilus-private/nautilus-link.[ch]: (nautilus_link_local_create_from_gnome_entry): * src/file-manager/fm-icon-view.c: (icon_view_handle_uri_list): port to gnome-desktop and re-enable * src/nautilus-location-bar.c: (drag_data_received_callback): use new uri list functions * src/nautilus-zoom-control.c: (draw_number), (nautilus_zoom_control_unload_images), (nautilus_zoom_control_load_images): port to PangoLayout and re-enable text fallback 2002-02-19 jacob berkman * libnautilus-private/nautilus-icon-dnd.c (drag_data_received_callback): (nautilus_icon_container_free_drag_data): call gtk_selection_data_copy() and gtk_selection_data_free() rather than the eel versions 2002-02-19 Bastien Nocera * libnautilus-private/nautilus-authn-manager.c: (present_authentication_dialog_nonblocking): make password box work again, catching "response" signal instead of "clicked" 2002-02-19 Michael Meeks * src/nautilus-window-manage-views.c (determined_initial_view_callback): ensure we survive without trashing the WM, even if we can get no working mime data at all. * libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_init): g_signal_connect_object is not like gtk_signal_connect_object_while_alive, it's missing a vital arg. swap. 2002-02-17 Michael Meeks * libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_theme_changed): setup both the rgba and GdkColor variants. (update_label_color): upd. color handling. (alloc_colors): allocate the colors on realize 2002-02-15 Michael Meeks * libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_get_label_color): return the colors we need, grab them from the style's text information though. 2002-02-14 Michael Meeks * libnautilus-private/nautilus-icon-canvas-item.c (nautilus_icon_canvas_item_get_property), (nautilus_icon_canvas_item_set_property): port to properties. (draw_or_measure_label_text): update color handling, could we re-use the gc here ? (draw_stretch_handles): upd gc unref. (nautilus_icon_canvas_item_class_init): upd. * libnautilus-private/nautilus-theme.c (nautilus_pixmap_file_may_be_local), (nautilus_theme_install_user_theme), (nautilus_theme_make_preview_pixbuf), (theme_get_property), (load_theme_document): upd. file tests. * libnautilus-private/nautilus-monitor.c (get_event_uri): use g_build_filename. * libnautilus-private/nautilus-find-icon-image.c (get_user_emblem_path, make_full_icon_path), (make_full_icon_path): upd. file test. * libnautilus-private/nautilus-file-utilities.c (nautilus_pixmap_file), (nautilus_get_data_file_path), (nautilus_get_user_directory), (nautilus_get_desktop_directory): upd. file tests. * libnautilus-private/nautilus-directory-metafile.c (nautilus_directory_get_boolean_file_metadata): use strcasecmp not ascii_strdown to save yet more malloc locking penalty. * libnautilus-private/nautilus-directory-background.c (nautilus_file_background_receive_root_window_changes), (desktop_background_destroyed_callback): upd. root window macro. (nautilus_connect_background_to_file_metadata), (initialize_background_from_settings), (image_loading_done_callback): upd g_signal bits. * libnautilus-private/nautilus-volume-monitor.c (nautilus_volume_monitor_class_init): upd file test. * libnautilus-private/nautilus-undo-signal-handlers.c (nautilus_undo_tear_down_nautilus_entry_for_undo): upd. * libnautilus-private/nautilus-undo-manager.c (nautilus_undo_manager_class_init): upd. signal bits. * libnautilus-private/nautilus-trash-monitor.c (nautilus_trash_monitor_class_init): g_cclosureize. (nautilus_trash_monitor_init): g_signal upds. * libnautilus-private/nautilus-trash-file.c (trash_destroy, nautilus_trash_file_init), (remove_real_file): upd. g_signal bits. * libnautilus-private/nautilus-trash-directory.c (nautilus_trash_directory_init): upd. signal connect. (trash_destroy): upd. signal bits. * libnautilus-private/nautilus-program-choosing.c (get_xalf_prefix): upd. find_program_in_path. * libnautilus-private/nautilus-program-chooser.c (nautilus_program_chooser_init): upd. window policy * libnautilus-private/nautilus-merged-directory.c (merged_remove_real_directory): upd. g_signal. (nautilus_merged_directory_class_init): upd. g_closure * libnautilus-private/nautilus-link-desktop-file.c (nautilus_link_desktop_file_get_link_icon_from_desktop): upd. pixmap location. * libnautilus-private/nautilus-icon-factory.c (nautilus_icon_factory_class_init): upd. marshallers (is_theme_in_user_directory): upd. file test. * libnautilus-private/nautilus-icon-dnd.c (auto_scroll_timeout_callback): do a queue_draw_area instead of a widget_draw. * libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_init), (set_pending_icon_to_reveal): g_signal updates. (nautilus_icon_container_new): remove visual push/pop. * libnautilus-private/nautilus-file.c (nautilus_file_fit_date_as_string): upd. julian date get. (nautilus_file_class_init): upd. marshallers. * libnautilus-private/nautilus-file-operations.c (extract_and_ellipsize_file_name_for_dialog): use get_basename. (nautilus_file_operations_copy_move): use gtk stock. * libnautilus-private/nautilus-file-operations-progress.c (nautilus_file_operations_progress_update): use progress_bar_set_fraction. (nautilus_file_operations_progress_init): prune progress setup - these are the defaults. * libnautilus-private/nautilus-entry.c (nautilus_entry_key_press): upd select_region. * libnautilus-private/nautilus-drag-window.c (get_ancestor_blocked_by): upd type_is_a. * libnautilus-private/nautilus-dnd.c (nautilus_drag_finalize), (nautilus_drag_init): g_object ref upd. * libnautilus-private/nautilus-directory.c (nautilus_directory_class_init): marshaller upd.. (nautilus_directory_schedule_metadata_remove), (nautilus_directory_schedule_metadata_copy), (nautilus_directory_schedule_metadata_move): basename upd. * libnautilus-private/nautilus-directory-background.c (desktop_background_realized): g_signal upd. (theme_image_path_to_uri): file test upd. (image_loading_done_callback): object unref on gc & pixmap. (background_changed_callback): g_signal upd. * libnautilus-private/nautilus-bookmark.c (nautilus_bookmark_disconnect_file): g_signal upd. (nautilus_bookmark_uri_known_not_to_exist): upd file test. * libnautilus-private/nautilus-authn-manager.c (authentication_dialog_button_clicked): use GTK_RESPONSE_OK * libnautilus-private/Makefile.am: add deprc. CFLAGS. * libnautilus/Makefile.am: ditto. * configure.in (DISABLE_DEPRECATED_CFLAGS): add. 2002-02-13 Michael Meeks * libnautilus-private/nautilus-icon-dnd.c (nautilus_icon_container_free_drag_data): re-enterancy protection. 2002-02-17 Kjartan Maraas * libnautilus-private/nautilus-icon-container.c: Remove calls to gtk_widget_push|pop_visual() since they do nothing now. 2002-02-15 David Emory Watson * configure.in: Require eel 1.1.5. * src/nautilus-sidebar-tabs.c (nautilus_sidebar_tabs_set_color): Use eel_gdk_color_parse () for backward compatible color spec. parsing. * src/nautilus-property-browser.c: (make_color_drag_image): Same as above. (nautilus_property_browser_drag_data_get): Same as above. 2002-02-15 jacob berkman * src/Makefile.am (EXTRA_DIST): remove nautilus-shell-marshal.list 2002-02-14 Dave Camp * components/notes/nautilus-notes.c (done_with_file): (notes_save_metainfo): Replace deprecated signal handling functions. 2002-02-14 jacob berkman * src/Makefile.am: * src/file-manager/Makefile.am: add -DFOO_DISABLE_DEPRECATED to disable glib, gtk, and gnome deprecated calls * src/file-manager/fm-desktop-icon-view.c: * src/file-manager/fm-directory-view.c: * src/file-manager/fm-icon-view.c: * src/file-manager/fm-properties-window.c: * src/file-manager/fm-search-list-view.c: * src/nautilus-about.c: * src/nautilus-application.c: * src/nautilus-bookmark-list.c: * src/nautilus-bookmarks-window.c: * src/nautilus-complex-search-bar.c: * src/nautilus-location-bar.c: * src/nautilus-main.c: * src/nautilus-navigation-bar.c: * src/nautilus-property-browser.c: * src/nautilus-search-bar-criterion.c: * src/nautilus-shell.c: * src/nautilus-sidebar-tabs.c: * src/nautilus-sidebar-title.c: * src/nautilus-sidebar.c: * src/nautilus-simple-search-bar.c: * src/nautilus-switchable-navigation-bar.c: * src/nautilus-switchable-search-bar.c: * src/nautilus-theme-selector.c: * src/nautilus-view-frame.c: * src/nautilus-window-manage-views.c: * src/nautilus-window-menus.c: * src/nautilus-window-toolbars.c: * src/nautilus-window.c: * src/nautilus-zoom-control.c: port to non-deprecated calls. This was mostly GnomeDialog -> GtkDialog and gtk_signal -> g_signal 2002-02-12 David Emory Watson * libnautilus-private/nautilus-bonobo-extensions.c: (nautilus_bonobo_add_submenu): Allow submenus to have pixbufs. * libnautilus-private/nautilus-bonobo-extensions.h: Add pixbuf argument to prototype for nautilus_bonobo_add_submenu () * src/nautilus-window-menus.c: (create_menu_item_from_node): Make reference to nautilus_bonobo_add_submenu conform to new prototype. * src/file-manager/fm-directory-view.c: (add_submenu): Make reference to nautilus_bonobo_add_submenu conform to new prototype and remove FIXME. 2002-02-12 David Emory Watson * data/browser.xml: The blue component for Danube was 7FF but somehow got converted to FF instead of the correct value of 7F. This fix makes Danube a nice color again. 2002-02-12 Darin Adler * components/tree/nautilus-tree-model.c: (schedule_destroy_unneeded_children): Record the idle ID so we can cancel it properly. * components/tree/nautilus-tree-view.c: (sort_model_iter_to_file): New. (sort_model_path_to_file): Renamed from path_to_file to clarify which kid of path. (selection_changed_callback): Replaces the old row_activated_callback. Switch to the selected directory when you click on a row. (create_tree): Connect the "changed" to the selection object. * src/file-manager/fm-directory-view.c: Formatting tweaks. (update_directory_in_scripts_menu): Fix storage leak. * src/file-manager/fm-icon-view.c: (renaming_icon_callback): Enable a bit of GNOME2_CONVERSION_COMPLETE code. (create_icon_container): Formatting tweaks. 2002-02-12 Darin Adler * src/file-manager/fm-directory-view.c: (metadata_for_directory_as_file_ready_callback), (metadata_for_files_in_directory_ready_callback): A few places where we said "=" but meant "==". 2002-02-11 Darin Adler * configure.in: Require at least libxml 2.4.7, since that's the version where xmlFree and friends were moved out of . * components/news/nautilus-news.c: * components/text/nautilus-text-view.c: * libnautilus-private/nautilus-customization-data.c: * libnautilus-private/nautilus-directory-async.c: * libnautilus-private/nautilus-find-icon-image.c: * libnautilus-private/nautilus-link-desktop-file.c: * libnautilus-private/nautilus-link-historical.c: * libnautilus-private/nautilus-link.c: * libnautilus-private/nautilus-metafile.c: * libnautilus-private/nautilus-theme.c: * libnautilus-private/nautilus-volume-monitor.c: * src/nautilus-bookmark-list.c: * src/nautilus-property-browser.c: * src/nautilus-window-menus.c: Remove unneeded include of . * components/tree/nautilus-tree-model.c: (get_node_uri): New, used only for logging ref. counts. (decrement_ref_count): New. (abandon_node_ref_count): New. (abandon_dummy_row_ref_count): New. (report_dummy_row_inserted): Do nothing if the parent is not yet in the inserted state. (report_dummy_row_deleted): Make it abandon any lingering ref count that's still in the dummy row. (report_node_inserted): Make it report that the dummy node is inserted if the node starts with a dummy child. Also, set the new inserted state so we know this node is live. (report_node_contents_changed): Do nothing if the node is not yet in the inserted state. (report_node_has_child_toggled): Do nothing if the node is not yet in the inserted state. (report_dummy_row_contents_changed): Do nothing if the parent is not yet in the inserted state. (stop_monitoring_directory): Set done_loading to FALSE so we'll get a dummy node for directories we are not monitoring. (destroy_node_without_reporting): Abandon any ref count left in the node. Also set the inserted state to FALSE before destroying children. (destroy_node): Report if the parent gains a dummy node as a result of destroying this node. (update_node_without_reporting): Don't clear done_loading any more, since stop_monitoring_directory does it now. (reparent_node): Abandon any ref count that's still in the node before reparenting it. (schedule_destroy_unneeded_children): New. (last_child_unref): Use new schedule_destroy_unneeded_children function so we cna share code with the new abandon ref count functions. (nautilus_tree_model_ref_node), (nautilus_tree_model_unref_node): Add some logging for debugging purposes. * components/tree/nautilus-tree-view.c: (compare_rows): Sort function to use when GtkTreeModelSort works. (create_tree): Hook up sort function. 2002-02-08 Michael Meeks * src/nautilus-window.c (nautilus_window_constructed): remove registering own 'synchronizer' #ifdef bits. (nautilus_window_allow_stop): add 'access' sys calls to allow easier strace profiling. 2002-02-11 Jody Goldberg * src/nautilus-bookmark-parsing.c : Include libxml/globals.h to get xmlFree from its new position. 2002-02-10 Bastien Nocera * libnautilus-private/nautilus-thumbnails-jpeg.c: disable jpeglib's reading of its config.h file fixes HAVE_STDLIB double-definition === nautilus 1.1.5 === 2002-02-09 Darin Adler * NEWS: Bump version number. * configure.in: Bump version number. 2002-02-09 Seth Nickell * icons/crux_eggplant/i-directory-12.png: * icons/crux_eggplant/i-directory-20.png: * icons/crux_eggplant/i-directory-24.png: * icons/crux_eggplant/i-directory-36.png: * icons/crux_eggplant/i-directory-72.png: * icons/crux_eggplant/i-directory.png: * icons/crux_teal/i-directory-12.png: * icons/crux_teal/i-directory-192.png: * icons/crux_teal/i-directory-20.png: * icons/crux_teal/i-directory-24.png: * icons/crux_teal/i-directory-36.png: * icons/crux_teal/i-directory-72.png: * icons/crux_teal/i-directory-96.png: * icons/crux_teal/i-directory.png: * icons/crux_teal/i-regular-12.png: * icons/crux_teal/i-regular-192.png: * icons/crux_teal/i-regular-20.png: * icons/crux_teal/i-regular-24.png: * icons/crux_teal/i-regular-36.png: * icons/crux_teal/i-regular-72.png: * icons/crux_teal/i-regular-96.png: * icons/crux_teal/i-regular.png: * icons/sierra/i-directory-12.png: * icons/sierra/i-directory-24.png: * icons/sierra/i-directory-36.png: * icons/sierra/i-directory-72.png: * icons/sierra/i-directory-96.png: * icons/sierra/i-directory-accept-12.png: * icons/sierra/i-directory-accept-24.png: * icons/sierra/i-directory-accept-36.png: * icons/sierra/i-directory-accept-72.png: * icons/sierra/i-directory-accept-96.png: * icons/sierra/i-directory-accept.png: * icons/sierra/i-directory.png: Darin's script apparently went wrong, because a number of the themes got switched to only having the *non* anti-aliased icons. Replaced them with the anti-aliased versions. 2002-02-08 Darin Adler * components/tree/nautilus-tree-model.h: * components/tree/nautilus-tree-model.c: (tree_node_destroy), (tree_node_get_pixbuf_from_factory), (tree_node_update_pixbuf), (tree_node_update_closed_pixbuf), (tree_node_update_open_pixbuf), (tree_node_get_closed_pixbuf), (tree_node_get_open_pixbuf), (update_node_without_reporting), (nautilus_tree_model_get_column_type), (nautilus_tree_model_get_value): Added open pixbuf support. * components/tree/nautilus-tree-view.c: (save_expansion_state): Fix storage leak. (row_activated_callback): Fix NautilusFile ref. count leak. (create_tree): Pass in open pixbuf for "pixbuf_expander_open". (get_filtering_as_integer), (update_filtering_from_preferences), (filtering_changed_callback), (nautilus_tree_view_instance_init), (nautilus_tree_view_finalize): Starting on code needed to respect the filtering preferences. 2002-02-07 Darin Adler * components/tree/nautilus-tree-model.h: * components/tree/nautilus-tree-model.c: (get_parent_node_from_file): New. (insert_node): New. (reparent_node): New. (update_node): Handle files that disappear or move. (process_file_change): Don't create nodes for files that are already gone by the time we get here. (done_loading_callback): Don't assert if the node for this file is gone by the time this shows up. (done_loading_idle_callback): New. (start_monitoring_directory): Do a done_loading callback for directories that are already fully loaded at the start. We have to do this at idle time, though, since the tree code can't handle all the new nodes showing up inside ref_node. (nautilus_tree_model_iter_n_children): Add; was missing. (destroy_unneeded_children): New. (destroy_unneeded_children_idle_callback): New. (last_child_unref): Destroy the children at idle time, not right away. I did this to try to make GtkTreeModelSort work, but it didn't fix the whole problem, so maybe take this out later. (nautilus_tree_model_unref_node): Tighten assert. (nautilus_tree_model_iter_get_file): New. (nautilus_tree_model_finalize): Cleanup for new idle functions. (nautilus_tree_model_tree_model_init): * components/tree/nautilus-tree-view.c: (load_expansion_state): New placeholder, not yet implemented. (path_to_file): New. (prepend_one_uri): New. (save_expansion_state): New. (save_expansion_state_idle_callback): New. (schedule_save_expansion_state_callback): New. (got_activation_uri_callback): New. (cancel_activation): New. (row_activated_callback): New. (create_tree): Put in first cut at using GtkTreeModelSort; couldn't get it working so it's ifdef'd out. Save list of expanded URIs next idle after a row is expanded or collapsed. Switch the view location when a row is activated. (tree_activate_callback): Put in a call to load_expansion_state, although it's not implemented yet. (nautilus_tree_view_finalize): Cleanup for new idle functions. 2002-02-08 Abel Cheung * configure.in: Added "zh_CN" to ALL_LINGUAS. 2002-02-06 Darin Adler * components/throbber/nautilus-throbber.c: (nautilus_throbber_instance_init): eel_signal_connect_while_alive -> g_object_add_weak_pointer. (nautilus_throbber_finalize), (nautilus_throbber_class_init): Switch to finalize instead of destroy. * components/tree/nautilus-tree-expansion-state.c: Remove. * components/tree/nautilus-tree-expansion-state.h: Remove. * components/tree/nautilus-tree-node-private.h: Remove. * components/tree/nautilus-tree-node.c: Remove. * components/tree/nautilus-tree-node.h: Remove. * components/tree/nautilus-tree-model.h: * components/tree/nautilus-tree-model.c: Rewrite, based on Anders's first cut. * components/tree/nautilus-tree-view.h: Tweaks. * components/tree/nautilus-tree-view.c: (create_tree): Get rid of the header. (nautilus_tree_view_finalize), (nautilus_tree_view_class_init): Added a missing finalize so that we don't leak. * libnautilus-private/nautilus-directory.h: * libnautilus-private/nautilus-directory.c: (nautilus_directory_get_for_file): New. * libnautilus-private/nautilus-file.h: * libnautilus-private/nautilus-file.c: (finalize): Change to finalize from destroy. (nautilus_file_get_parent): Make public, simplify implementation by using nautilus_directory_get_corresponding_file. * src/file-manager/fm-desktop-icon-view.c: (fm_desktop_icon_view_init): * src/nautilus-sidebar.c: (nautilus_sidebar_update_buttons): * src/nautilus-view-frame.c: (nautilus_view_frame_init), (attach_view): * src/nautilus-window-menus.c: (nautilus_window_initialize_bookmarks_menu), (nautilus_window_initialize_go_menu): Use g_signal_connect-object instead of eel_signal_connect_while_alive. 2002-02-06 Dave Camp * components/news/nautilus-news.c: Make this component build with the deprecation flags set. (update_size_and_redraw): #ifed out the gtk_widget_set_usize() call pending changes to the size negotation code. (get_xml_path): Use g_file_test() instead of g_file_exists(). (add_channel_to_remove_list), (remove_selected_site), (make_remove_widgets): Use a GtkTreeView instead of a GtkCList here. (determine_sort_position): Use gtk_container_get_children() instead of gtk_container_children(). (add_channel_entry): Use g_object_set_data() instead of gtk_object_set_user_data(). (remove_list_selection_changed): New function, update the remove button. (update_remove_button): Make the remove button insensitive if no channel is selected for removal. (make_remove_widgets), (make_add_widgets), (add_command_buttons): Use gtk_box_set_spacing() instead of gtk_button_box_set_spacing(), and remove calls to gtk_button_box_set_child_size(). 2002-02-06 Michael Meeks * src/nautilus-window-manage-views.c (load_new_location_in_sidebar_panels): guard against re-enterancy; hold refs on the sidebars. * src/file-manager/fm-directory-view.c (fm_directory_view_class_init): move re-entering auto preference registers to (fm_directory_view_init): here. 2002-02-05 Darin Adler * components/tree/nautilus-tree-change-queue.c: Remove. * components/tree/nautilus-tree-change-queue.h: Remove. * components/tree/nautilus-tree-view-dnd.c: Remove. * components/tree/nautilus-tree-view-dnd.h: Remove. * components/tree/nautilus-tree-view-private.h: Remove. * libnautilus-private/Makefile.am: * libnautilus-private/nautilus-dnd.c: * libnautilus-private/nautilus-dnd.h: Move eel-dnd.[ch] back into Nautilus, because it currently is completely file-manager-specific. * libnautilus-private/nautilus-file-dnd.c: * libnautilus-private/nautilus-file-dnd.h: * libnautilus-private/nautilus-icon-dnd.c: * libnautilus-private/nautilus-icon-dnd.h: * src/file-manager/fm-icon-view.c: * src/file-manager/fm-list-view.c: Change to use eel-dnd.[ch] in their new location in Nautilus. * src/file-manager/fm-directory-view.c: Add included needed due to include changes. 2002-02-05 Anders Carlsson * components/tree/Makefile.am: * components/tree/nautilus-tree-model.c: (nautilus_tree_node_set_parent), (nautilus_tree_node_new), (nautilus_dummy_tree_node_new), (nautilus_tree_node_update_icons), (nautilus_tree_model_get_type), (nautilus_tree_model_init), (nautilus_tree_model_class_init), (uri_get_parent_text), (nautilus_tree_model_get_node_from_file), (nautilus_tree_model_get_node), (report_node_changed), (report_root_node_if_possible), (process_file_change), (nautilus_tree_model_directory_files_changed_callback), (nautilus_tree_model_directory_done_loading_callback), (nautilus_tree_model_begin_monitoring_directory), (nautilus_tree_model_get_n_columns), (nautilus_tree_model_get_column_type), (nautilus_tree_model_get_iter), (nautilus_tree_model_get_path), (nautilus_tree_model_get_value), (nautilus_tree_model_iter_next), (nautilus_tree_model_iter_children), (nautilus_tree_model_iter_parent), (nautilus_tree_model_iter_has_child), (nautilus_tree_model_iter_nth_child), (nautilus_tree_model_tree_model_init), (nautilus_tree_model_root_node_file_monitor), (nautilus_tree_model_set_root_uri), (nautilus_tree_model_new), (nautilus_tree_model_dump_helper), (nautilus_tree_model_dump): * components/tree/nautilus-tree-model.h: * components/tree/nautilus-tree-view.c: (create_tree), (tree_activate_callback), (dump_tree), (nautilus_tree_view_init), (nautilus_tree_view_class_init): * components/tree/nautilus-tree-view.h: Port to GtkTreeView, lots of work still remains though. * src/nautilus-application.c: (finish_startup): Remove GMC trash migration. 2002-02-04 Michael Meeks * src/file-manager/fm-icon-view.c (fm_icon_view_class_init): move re-enterant CORBA stuff (fm_icon_view_init): to here. * src/nautilus-shell-ui.xml: add a default placeholder. * configure.in (BONOBO_UI_REQUIRED): require a fixed libbonoboui that can cope with default placeholders. 2002-02-04 Darin Adler * src/nautilus-shell-ui.xml: Put a placeholder in so that component menus will go to the left of the Help menu. === nautilus 1.1.4 === 2002-02-04 Darin Adler * .cvsignore: Don't ignore tarballs. * NEWS: Bump version number. * configure.in: Bump version number. * src/file-manager/fm-directory-view.c: (activate_callback): Clean up code here a bit; patch submitted by David Emory Watson. * src/file-manager/nautilus-icon-view-ui.xml: Tweak wording as suggested by Steve Fox . 2002-02-04 Laszlo Peter * libnautilus/nautilus-clipboard.[ch]: fix licensing info. 2002-02-01 Dave Camp * configure.in: Increased GNOME_UI_REQUIRED to 1.110.1 * libnautilus-private/nautilus-icon-container.c: (nautilus_icon_container_class_init): Use nautilus_marshal_VOID__POINTER_STRING instead of nautilus_marshal_VOID__POINTER_POINTER for the icon_text_changed signal. (handle_focus_out_event): Return FALSE. (nautilus_icon_container_start_renaming_selected_item), (end_renaming_mode): Use GnomeIconTextItem instead of NautilusIconTextItem. This includes changing how the size was calculated, as NautilusIconTextItem expected a center point and maximum width, and GnomeIconTextItem expects a bounding box. * libnautilus-private/nautilus-icon-private.h: Use GnomeIconTextItem instead of NautilusIconTextItem for rename_widget. * libnautilus-private/nautilus-marshal.list: Added VOID:POINTER,STRING. * src/file-manager/fm-icon-view.c: (renaming_icon_callback): Temporarily #ifed out the nautilus_clipboard_set_up_editable_in_control for the renaming editable. 2002-01-31 John Harper Make the search feature work again: * configure.in: fixed how HAVE_MEDUSA is defined. Add MEDUSA_CFLAGS to CORE_CFLAGS * src/file-manager/fm-search-list-view.c: moved some of the GNOME2_CONVERSION_COMPLETE ifdefs around so that we get a functional object, just without some of the features of the original * src/nautilus-shell-ui.xml: copied search parts from nautilus 1 version * src/nautilus-application.c (create_object): reenable search-list-view creation * src/file-manager/nautilus-indexing-info.c: random changes to make it compile (untested as yet) 2002-01-30 Darin Adler * configure.in: Bump eel version required. * libnautilus-private/nautilus-icon-container.c: (rubberband_timeout_callback), (start_rubberbanding), (update_stretch_at_idle), (motion_notify_event): * libnautilus-private/nautilus-icon-dnd.c: (icon_get_data_binder), (nautilus_icon_container_position_shadow), (receive_dropped_keyword), (nautilus_icon_container_find_drop_target), (nautilus_icon_container_receive_dropped_icons), (nautilus_icon_container_get_drop_action), (nautilus_icon_dnd_update_drop_target), (nautilus_icon_dnd_init), (nautilus_icon_dnd_begin_drag): Use new eel functions that eliminate the funky interaction between the new GtkLayout and GnomeCanvas. Basically, all the functions that deal with window coordinates are getting bin_window coordinates instead. This should really be fixed in GnomeCanvas. 2002-01-30 Zbigniew Chyla * libnautilus-private/nautilus-authn-manager.c (construct_password_dialog): DO NOT mark empty strings for translation. 2002-01-29 Darin Adler * components/tree/nautilus-tree-view.c: (create_tree), (nautilus_tree_view_destroy): * libnautilus-private/nautilus-directory.c: (add_preferences_callbacks): * libnautilus-private/nautilus-global-preferences.c: * libnautilus-private/nautilus-global-preferences.h: * libnautilus-private/nautilus-icon-canvas-item.c: (measure_label_text), (nautilus_icon_canvas_item_render), (nautilus_icon_canvas_item_set_show_stretch_handles): * libnautilus-private/nautilus-icon-container.c: (start_rubberbanding), (finalize), (nautilus_icon_container_init), (nautilus_icon_container_update_icon), (nautilus_icon_container_theme_changed): * libnautilus-private/nautilus-icon-container.h: * libnautilus-private/nautilus-icon-private.h: * src/file-manager/fm-directory-view.c: (fm_directory_view_init), (fm_directory_view_finalize): * src/file-manager/fm-directory-view.h: * src/file-manager/fm-icon-view.c: (fm_icon_view_update_icon_container_font_size_table), (create_icon_container), (fm_icon_view_class_init): Remove smooth mode and unused font and font size machinery. * test/.cvsignore: Remove test-nautilus-smooth-graphics. * test/Makefile.am: Remove test-nautilus-smooth-graphics. * test/test-nautilus-smooth-graphics.c: Remove. * src/nautilus-preferences-dialog.c: (dialog_delete_event_callback), (dialog_button_response_callback), (preferences_dialog_create): Fix bug where we'd lose the preferences dialog if you closed it with a delete_event. === nautilus 1.1.3 === 2002-01-29 Darin Adler * NEWS: Update for 1.1.3 release. * configure.in: Bump version. * src/file-manager/fm-directory-view.c: (fm_directory_view_finalize), (real_merge_menus): Use a weak pointer so we don't retain a pointer to the UI component if the BonoboControl goes away, but we don't. This doesn't really fix anything, but it also does no harm. 2002-01-28 Seth Nickell * data/applications.desktop.in: * data/preferences.desktop.in: Bring start-here stuff up to date with current URI schemes, update to use appropriate system icons. 2002-01-28 Remi Cohen-Scali * libnautilus-private/nautilus-program-choosing.c (nautilus_launch_application_from_command): Changed the system(3) call to launch application from command. Instead use eel_gnome_shell_execute. * src/file-manager/fm-directory-view.c (activate_callback): Now use newly public NautilusDesktopFile class & nautilus_desktop_file_launch to launch the corresponding command. * libnautilus-private/nautilus-desktop-file-loader.c: * libnautilus-private/nautilus-desktop-file-loader.h: Made the NautilusDesktopFile class public. The struct has been moved from the source to the header. The nautilus_desktop_file_new method is not static any more. * libnautilus-private/nautilus-desktop-file-loader.c (nautilus_desktop_file_launch): Add the locale name taken from the desktop file to display it through xalf (launch feedback). 2002-01-28 Seth Nickell * icons/Makefile.am: * icons/default/Makefile.am: * icons/default/emblem-OK.svg: * icons/default/emblem-broken-link.png: * icons/default/emblem-certified.svg: * icons/default/emblem-cool.svg: * icons/default/emblem-danger.svg: * icons/default/emblem-distinguished.svg: * icons/default/emblem-draft.svg: * icons/default/emblem-favorite.svg: * icons/default/emblem-generic.png: * icons/default/emblem-generic.svg: * icons/default/emblem-important.gif: * icons/default/emblem-important.svg: * icons/default/emblem-new.gif: * icons/default/emblem-new.svg: * icons/default/emblem-noread.png: * icons/default/emblem-noread.svg: * icons/default/emblem-nowrite.svg: * icons/default/emblem-ohno.svg: * icons/default/emblem-personal.svg: * icons/default/emblem-special.svg: * icons/default/emblem-symbolic-link-12.png: * icons/default/emblem-symbolic-link-24.png: * icons/default/emblem-symbolic-link-36.png: * icons/default/emblem-symbolic-link.png: * icons/default/emblem-trash.png: * icons/default/emblem-urgent.svg: * icons/emblem-OK.svg: * icons/emblem-broken-link.png: * icons/emblem-certified.svg: * icons/emblem-cool.svg: * icons/emblem-danger.svg: * icons/emblem-distinguished.svg: * icons/emblem-draft.svg: * icons/emblem-favorite.svg: * icons/emblem-generic.png: * icons/emblem-generic.svg: * icons/emblem-important.gif: * icons/emblem-important.svg: * icons/emblem-new.gif: * icons/emblem-new.svg: * icons/emblem-noread.png: * icons/emblem-noread.svg: * icons/emblem-nowrite.svg: * icons/emblem-ohno.svg: * icons/emblem-personal.svg: * icons/emblem-special.svg: * icons/emblem-symbolic-link-12.png: * icons/emblem-symbolic-link-24.png: * icons/emblem-symbolic-link-36.png: * icons/emblem-symbolic-link.png: * icons/emblem-trash.png: * icons/emblem-urgent.svg: Move emblems into the default theme so they start working again. Remove the hand*.png icons, which are no longer used (used to be used for eazel services). 2002-01-28 Gediminas Paulauskas * libnautilus-private/nautilus-directory.c, libnautilus-private/nautilus-icon-container.c: use g_list_copy instead of eel version * src/nautilus-preferences-dialog.c, src/nautilus-property-browser.c, src/nautilus-window-manage-views.c, src/nautilus-window-menus.c, src/file-manager/fm-properties-window.c: use gtk_window_present instead of eel version. 2002-01-28 Seth Nickell * libnautilus-private/nautilus-global-preferences.c: (import_old_preferences_if_needed), (nautilus_global_preferences_init): Add a function for moving preference values (if they exist) from their old location to their new location, if it hasn't already been done. * libnautilus-private/nautilus-global-preferences.h: Change the location/name of THEME, SHOW_HIDDEN_FILES and SHOW_BACKUP_FILES so other file viewers in GNOME can smoothly access them. 2002-01-28 Anders Carlsson * components/throbber/main.c (main): Call gnome_program_init. * libnautilus/nautilus-view-standard-main.c (nautilus_view_standard_main_multi): Call gnome_program_init. * libnautilus-private/nautilus-entry.c: Fix build. * libnautilus-private/nautilus-file.c: * libnautilus-private/nautilus-file.h: Remove gmc link support and calls to gnome_set_metadata. * libnautilus-private/nautilus-file-operations.c (create_transfer_dialog): Set transfer_info as user_data. * libnautilus-private/nautilus-file-operations-progress.c: Move stuff to finalize. * libnautilus-private/nautilus-entry.c: Remove cursor obscuring code since that exists in GtkEntry now. 2002-01-27 Darin Adler * libnautilus-private/nautilus-icon-canvas-item.c: (draw_or_measure_label_text), (draw_stretch_handles): Formatting tweaks. * libnautilus-private/nautilus-icon-container.c: (icon_raise): Use new eel_gnome_canvas_item_send_behind. 2002-01-27 Alexander Larsson * libnautilus-private/nautilus-icon-canvas-item.c: Draw alpha-blended rounded rectangles around selected text even in non-aa mode. * libnautilus-private/nautilus-icon-container.c: Use the new EelCanvasRect item for selection rectangle in non-aa mode. Also make sure we never raise anything above the selection rectangle item. This means we can remove the gnome_canvas_item_raise_to_top() in rubberband_timeout_callback, which is good, since that call redraws the whole selection rectangle if something was above it. 2002-01-27 Anders Carlsson * src/file-manager/fm-properties-window.c (attach_label): Add selectable argument. (attach_value_label): set selectable to TRUE. (attach_ellipsizing_value_label): Likewise. (attach_title_field): set selectable to FALSE. 2002-01-23 Anders Carlsson * libnautilus/nautilus-view-standard-main.c (delayed_quit_timeout_callback): Use gtk_main_quit. 2002-01-25 Michael Meeks * libnautilus-private/nautilus-bookmark.c (nautilus_bookmark_set_name): return a 'changed' boolean. * src/nautilus-window-manage-views.c (update_title): only re-send history if it changed. * src/nautilus-window.c (add_to_history_list): prune the end of the list more succinctly, don't fire send_history_list_changed if we didn't change the list. 2002-01-24 Darin Adler GNOME2_CONVERSION_COMPLETE eradication campaign * libnautilus-private/nautilus-icon-factory.c: (cache_icon_new): No last_unref_handler any more. (cache_icon_unref): Just keep one ref for the factory, just like in the old days, since we don't have a "last_unref_handler" any more. (nautilus_icon_factory_possibly_free_cached_icon): Look at ref_count rather than looking at "outstanding" flag. (nautilus_icon_factory_get_pixbuf_for_icon): Just ref, no fancy "oustanding" logic. (embed_text): Rewrite to use Pango. * src/file-manager/fm-list-model.h: Tweak formatting and order. * src/file-manager/fm-list-model.c: Tweak formatting and order. * src/file-manager/fm-list-view.h: Tweak formatting and order. * src/file-manager/fm-list-view.c: Tweak formatting and order. * src/file-manager/fm-properties-window.c: (select_image_button_callback): Turn this code back on. * src/nautilus-bookmarks-window.c: (on_row_move): Remove puts. * src/nautilus-complex-search-bar.c: (nautilus_complex_search_bar_queue_resize): GnomeDock -> BonoboDock. * src/nautilus-property-browser.c: (nautilus_emblem_dialog_new): Finish porting to GtkDialog. (nautilus_color_selection_dialog_new): Finish porting to GtkDialog. (add_new_pattern): Re-enable some code. (labeled_image_configure): Re-enable some code, take out other stuff. (labeled_image_new): Take out some dead code. (property_browser_category_button_new): Take out some dead code. * src/nautilus-sidebar-tabs.c: (tab_item_destroy), (tab_indicator_changed_callback), (nautilus_sidebar_tabs_connect_view): Use a listener object now, not a listener ID. * src/nautilus-simple-search-bar.c: (nautilus_simple_search_bar_class_init): Remove some undo code. * src/nautilus-switchable-navigation-bar.c: (nautilus_switchable_navigation_bar_set_mode): GnomeDock -> BonoboDock. * src/nautilus-switchable-search-bar.c: (nautilus_switchable_search_bar_set_mode): GnomeDock -> BonoboDock. * src/nautilus-view-frame.c: (destroy_view): Make deregister code use the BonoboUIEngine instead of the BonoboWindow. 2002-01-24 Darin Adler GNOME2_CONVERSION_COMPLETE eradication campaign * components/hardware/nautilus-hardware-view.c: (nautilus_hardware_view_init): Re-enable the property bag. * components/image-viewer/Makefile.am: Remove io-png.[ch]. * components/image-viewer/io-png.c: Remove. * components/image-viewer/io-png.h: Remove. * components/image-viewer/nautilus-image-view.c: (save_image_to_stream): Not implemented. * libnautilus-private/nautilus-directory-metafile.c: (nautilus_directory_register_metadata_monitor), (nautilus_directory_unregister_metadata_monitor): Wipe out some bonobo_object_corba_objref calls. * src/nautilus-window.h: Make the throbber private. * src/nautilus-window-private.h: Make the throbber private. Use a listener object now, not a listener ID. * src/nautilus-window-toolbars.c: (nautilus_window_initialize_toolbars): Move the throbber into details. * src/nautilus-window.c: (nautilus_window_constructed), (nautilus_window_unrealize): Use the new listener calls that use an object, not an ID. (nautilus_window_allow_stop): Move the throbber into details. 2002-01-24 Darin Adler * src/nautilus-bookmarks-window.c: (create_bookmarks_window): Remove stray call to gtk_tree_view_column_new. 2002-01-24 Seth Nickell * nautilus.desktop.in: Change name to "Home Folder". 2002-01-23 Darin Adler * components/adapter/main.c: (main): * components/image-viewer/nautilus-image-view.c: (init_server_factory): * components/throbber/main.c: (main): Use newfangled gnome-client.h calls to turn off session management. * libnautilus/nautilus-view-standard-main.c: (nautilus_view_standard_main_multi): Since we think the per-display IID scheme is broken in bonobo-activation, we turned it off there, rather than turning it off here. 2002-01-23 Michael Meeks * libnautilus/nautilus-view-standard-main.c (nautilus_view_standard_main_multi): re-remove the per display IID creation scheme - it's broken. * components/throbber/nautilus-throbber.c (nautilus_throbber_draw): kill, no draw methods in gtk 2.0 (draw_throbber_image): remove bonobo bug workaround, if it still exists it should be fixed in bonobo and fold into (nautilus_throbber_expose): here (draw_pixbuf): fold into (nautilus_throbber_expose): here, and fix rendering bugs. (nautilus_throbber_size_allocate): kill bogus sizing logic. (nautilus_throbber_button_release_event): do conversion. (nautilus_throbber_destroy): remove force_destroy_later. 2002-01-21 Michael Meeks * src/nautilus-window.c, * src/nautilus-application.c, * src/nautilus-view-frame.c, * libnautilus-private/nautilus-undo-manager.c, * libnautilus-private/nautilus-metafile-factory.c, * libnautilus/nautilus-undo-transaction.c, s/bonobo_object_corba_objref/BONOBO_OBJREF/ * libnautilus-private/nautilus-directory-metafile.c (get_factory): update referencing. * libnautilus/nautilus-view.c (nautilus_view_get_view_frame): impl. helper to reduce sync CORBA traffic. (view_frame_call_end, view_frame_call_begin): upd. (nautilus_view_dispose): release the CORBA ref. if we took it. (nautilus_view_set_frame): unset the frame if we loose it. * libnautilus-private/nautilus-bonobo-extensions.c (add_numbered_menu_item_internal): kill the label encoding. (nautilus_bonobo_add_submenu): ditto. (nautilus_bonobo_set_icon): kill unused. * components/adaptor/bonobo-stream-vfs.[ch]: remove, now inside gnome-vfs. 2002-01-23 jacob berkman * icons/default/Makefile.am (SUBDIRS): remove since automake doesn't like an empty SUBDIRS 2002-01-22 Darin Adler * libnautilus-private/nautilus-icon-factory.c: (load_icon_for_scaling): Disable the code that destroys the fallback icon at shutdown time since it was hitting some snags. * libnautilus/nautilus-view-standard-main.c: (nautilus_view_standard_main_multi): Add a bonobo_activate to try to reduce the complaints at quit time. * src/nautilus-location-bar.c: (editable_key_press_callback): Make the End key do what the right arrow key did. * src/nautilus-window-manage-views.c: (use_saved_window_positions), (open_location), (position_and_show_window_callback), (determined_initial_view_callback): Open windows right away unless we are using saved window positions. * icons/default/Makefile: Remove. * icons/default/Makefile.in: Remove. 2002-01-22 Josh Barrow * icons/crux_eggplant/crux_eggplant.xml: * icons/crux_teal/crux_teal.xml: * icons/default/default.xml: * icons/gnome/gnome.xml: Changed tab fonts to use something that Pango understands. 2002-01-22 Seth Nickell Seperate document icons from the themes so they can be moved into gnome-mime-data and used by other applications more cleanly. * configure.in: * icons/Makefile.am: * icons/default.xml: * icons/default/.cvsignore: * icons/default/Back.png: * icons/default/Forward.png: * icons/default/Home.png: * icons/default/Makefile: * icons/default/Makefile.am: * icons/default/Makefile.in: * icons/default/Refresh.png: * icons/default/Search.png: * icons/default/SearchWeb.png: * icons/default/Stop.png: * icons/default/Up.png: * icons/default/decrement.png: * icons/default/default.xml: * icons/default/home.png: * icons/default/i-bookmark-20.png: * icons/default/i-bookmark-missing-20.png: * icons/default/i-bookmark-missing.png: * icons/default/i-bookmark.png: * icons/default/i-broken-image.png: * icons/default/i-directory-12.png: * icons/default/i-directory-24.png: * icons/default/i-directory-36.png: * icons/default/i-directory-72.png: * icons/default/i-directory-96.png: * icons/default/i-directory-accept-12.png: * icons/default/i-directory-accept-24.png: * icons/default/i-directory-accept-36.png: * icons/default/i-directory-accept-72.png: * icons/default/i-directory-accept-96.png: * icons/default/i-directory-accept.png: * icons/default/i-directory-accept.xml: * icons/default/i-directory.png: * icons/default/i-directory.xml: * icons/default/i-regular-12.png: * icons/default/i-regular-24.png: * icons/default/i-regular-36.png: * icons/default/i-regular-72.png: * icons/default/i-regular-96.png: * icons/default/i-regular.png: * icons/default/i-regular.xml: * icons/default/i-search-72.png: * icons/default/i-spreadsheet.png: * icons/default/i-stalled.png: * icons/default/i-symlink.png: * icons/default/i-web-72.png: * icons/default/increment.png: * icons/default/loading.png: * icons/default/manual.png: * icons/default/number_strip.png: * icons/default/side_bar_image.png: * icons/default/temp-home.png: * icons/default/theme_preview.png: * icons/default/trash-empty.png: * icons/default/trash-full.png: * icons/default/zoom_body.png: Move default theme from icons/ into icons/default. * icons/gnome-application-encapsulated_postscript.png: * icons/gnome-application-pdf-192.png: * icons/gnome-application-pdf.png: * icons/gnome-application-pgp-192.png: * icons/gnome-application-pgp.png: * icons/gnome-application-postscript-192.png: * icons/gnome-application-postscript-72.png: * icons/gnome-application-postscript-96.png: * icons/gnome-application-postscript.png: * icons/gnome-application-x-c-header.png: * icons/gnome-application-x-c-source.png: * icons/gnome-application-x-cc-source.png: * icons/gnome-application-x-e-theme.png: * icons/gnome-application-x-generic-spreadsheet.png: * icons/gnome-application-x-gnome-app-info.png: * icons/gnome-application-x-java-source.png: * icons/gnome-application-x-kde-app-info.png: * icons/gnome-application-x-php.png: * icons/gnome-application-x-reject.png: * icons/gnome-application-x-scheme-source.png: * icons/gnome-application-x-sql.png: * icons/gnome-audio-basic.png: * icons/gnome-audio-midi.png: * icons/gnome-audio-ulaw.png: * icons/gnome-audio-x-aiff.png: * icons/gnome-audio-x-mod-192.png: * icons/gnome-audio-x-mod.png: * icons/gnome-audio-x-mp3-192.png: * icons/gnome-audio-x-mp3.png: * icons/gnome-audio-x-ogg-192.png: * icons/gnome-audio-x-ogg.png: * icons/gnome-audio-x-pn-realaudio.png: * icons/gnome-audio-x-real-192.png: * icons/gnome-audio-x-s3m-192.png: * icons/gnome-audio-x-s3m.png: * icons/gnome-audio-x-stm-192.png: * icons/gnome-audio-x-stm.png: * icons/gnome-audio-x-voc.png: * icons/gnome-audio-x-wav.png: * icons/gnome-audio-x-xi-192.png: * icons/gnome-audio-x-xi.png: * icons/gnome-audio-x-xm.png: * icons/gnome-audio.png: * icons/gnome-compressed-192.png: * icons/gnome-compressed.png: * icons/gnome-core.png: * icons/gnome-emacs-192.png: * icons/gnome-font-afm.png: * icons/gnome-font-ttf.png: * icons/gnome-font-x-pcf.png: * icons/gnome-gimp.png: * icons/gnome-gnumeric.png: * icons/gnome-http-url.png: * icons/gnome-image-bmp.png: * icons/gnome-image-generic.png: * icons/gnome-image-gif.png: * icons/gnome-image-ief.png: * icons/gnome-image-jpeg.png: * icons/gnome-image-pbm.png: * icons/gnome-image-pgm.png: * icons/gnome-image-png.png: * icons/gnome-image-pnm.png: * icons/gnome-image-ppm.png: * icons/gnome-image-psd.png: * icons/gnome-image-ras.png: * icons/gnome-image-rgb.png: * icons/gnome-image-tga.png: * icons/gnome-image-tiff.png: * icons/gnome-image-x-xfig.png: * icons/gnome-image-xbm.png: * icons/gnome-image-xcf.png: * icons/gnome-image-xpm.png: * icons/gnome-image-xwd.png: * icons/gnome-library.png: * icons/gnome-manpage.png: * icons/gnome-objectfile.png: * icons/gnome-pack-deb.png: * icons/gnome-pack-rpm.png: * icons/gnome-package.png: * icons/gnome-tex-192.png: * icons/gnome-tex.png: * icons/gnome-text-html-192.png: * icons/gnome-text-html.png: * icons/gnome-text-x-authors.png: * icons/gnome-text-x-copying.png: * icons/gnome-text-x-credits.png: * icons/gnome-text-x-install.png: * icons/gnome-text-x-makefile-192.png: * icons/gnome-text-x-makefile.png: * icons/gnome-text-x-readme.png: * icons/gnome-textfile.png: * icons/gnome-video-mpeg.png: * icons/gnome-video-quicktime.png: * icons/gnome-video-x-msvideo.png: * icons/gnome-word-192.png: * icons/i-blockdev.png: * icons/i-bookmark-20.png: * icons/i-bookmark-missing-20.png: * icons/i-bookmark-missing.png: * icons/i-bookmark.png: * icons/i-broken-image.png: * icons/i-cdrom-192.png: * icons/i-cdrom.png: * icons/i-chardev.png: * icons/i-core.png: * icons/i-device.png: * icons/i-dirclosed.png: * icons/i-directory-12.png: * icons/i-directory-24.png: * icons/i-directory-36.png: * icons/i-directory-72.png: * icons/i-directory-96.png: * icons/i-directory-accept-12.png: * icons/i-directory-accept-24.png: * icons/i-directory-accept-36.png: * icons/i-directory-accept-72.png: * icons/i-directory-accept-96.png: * icons/i-directory-accept.png: * icons/i-directory-accept.xml: * icons/i-directory.png: * icons/i-directory.xml: * icons/i-executable.png: * icons/i-fifo.png: * icons/i-floppy.png: * icons/i-harddisk.png: * icons/i-music-12.png: * icons/i-music-24.png: * icons/i-music-36.png: * icons/i-music.png: * icons/i-nfs.png: * icons/i-printer.png: * icons/i-regular-12.png: * icons/i-regular-24.png: * icons/i-regular-36.png: * icons/i-regular-72.png: * icons/i-regular-96.png: * icons/i-regular.png: * icons/i-regular.xml: * icons/i-search-72.png: * icons/i-sock.png: * icons/i-spreadsheet.png: * icons/i-stalled.png: * icons/i-symlink.png: * icons/i-web-72.png: * icons/i-zip.png: * icons/i-zipdisk.png: * icons/i-zipdisk2.png: * icons/loading.png: * icons/manual.png: * icons/temp-home.png: * icons/trash-empty.png: * icons/trash-full.png: Move icons to either gnome-mime-data/icons or, perhaps, nautilus/icons/default * libnautilus-private/nautilus-find-icon-image.c: (make_full_icon_path), (get_themed_icon_file_path), (nautilus_get_icon_file_name): Add support for looking in DATADIR/share/pixmaps/document-icons as a fallback for the current theme and the fallback theme. Remove hardcoded "default" theme stuff. * libnautilus-private/nautilus-icon-factory.c: (icon_theme_changed_callback): If a theme doesn't have a fallback theme listed, use the "default" theme as the fallback. Should be the only default theme hardcoding left. * libnautilus-private/nautilus-theme.c: (load_theme_document), (nautilus_theme_get_theme_data_from_theme), (nautilus_theme_get_image_path_from_theme), (nautilus_theme_make_preview_pixbuf), (has_image_file), (theme_get_property), (nautilus_theme_for_each_theme): Remove hardcoding of default theme. * icons/crux_eggplant/crux_eggplant.xml: Remove inheritance clause which was pointing to "arlo", a theme which does not exist anymore. 2002-01-16 Havoc Pennington * libnautilus-private/nautilus-file-operations.c (ellipsize_string_for_dialog): add comment about how this should be fixed * components/news/nautilus-news.c (ellipsize_string): add comment about how this should be fixed 2002-01-21 Darin Adler * icons/Makefile.am: * icons/text-selection-frame-aa.png: * icons/text-selection-frame.png: Restore the anti-aliased text selection frame. 2002-01-21 Darin Adler * components/tree/nautilus-tree-view.c: (nautilus_tree_view_insert_model_node), (nautilus_tree_view_update_model_node): * libnautilus-private/nautilus-bookmark.c: (nautilus_bookmark_get_pixbuf): * libnautilus-private/nautilus-find-icon-image.c: (read_details), (get_themed_icon_file_path), (theme_has_icon), (nautilus_get_icon_file_name): * libnautilus-private/nautilus-find-icon-image.h: * libnautilus-private/nautilus-icon-container.c: (nautilus_icon_container_update_icon): * libnautilus-private/nautilus-icon-factory-private.h: * libnautilus-private/nautilus-icon-factory.c: (load_thumbnail_frame), (nautilus_icon_factory_init), (nautilus_icon_factory_destroy), (icon_theme_changed_callback), (should_display_image_file_as_itself), (nautilus_icon_factory_get_icon_for_file), (load_icon_from_path), (load_named_icon), (load_specific_icon), (load_icon_for_scaling), (load_icon_scale_if_necessary), (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_get_thumbnail_frame): * libnautilus-private/nautilus-icon-factory.h: * libnautilus-private/nautilus-thumbnails.c: (nautilus_thumbnail_load_framed_image): * libnautilus-private/nautilus-thumbnails.h: * src/file-manager/fm-directory-view.c: (add_script_to_script_menus), (add_submenu_to_script_menus): * src/file-manager/fm-list-model.c: (fm_list_model_get_value): * src/file-manager/fm-properties-window.c: (get_pixbuf_for_properties_window): * src/nautilus-sidebar-title.c: (update_icon), (update_emblems): Get rid of code that passes around the "optimize for AA" flag. * cut-n-paste-code/widgets/gimphwrapbox/gtkhwrapbox.c: * cut-n-paste-code/widgets/gimphwrapbox/gtkhwrapbox.h: * cut-n-paste-code/widgets/gimphwrapbox/gtkwrapbox.c: * cut-n-paste-code/widgets/gimphwrapbox/gtkwrapbox.h: Roll in the latest version from gimp source tree. * icons: Overwrite all the non-aa versions with the aa versions. Remove all the aa versions. 2002-01-21 Darin Adler * check-signals.pl: Remove. * components/adapter/bonobo-stream-vfs.c: Remove. * components/adapter/bonobo-stream-vfs.h: Remove. * components/adapter/nautilus-adapter-progressive-load-strategy.c: Remove. * components/adapter/nautilus-adapter-progressive-load-strategy.h: Remove. * components/adapter/Makefile.am: * components/hardware/Makefile.am: * components/history/Makefile.am: * components/image-viewer/Makefile.am: * components/music/Makefile.am: * components/news/Makefile.am: * components/notes/Makefile.am: * components/text/Makefile.am: * components/throbber/Makefile.am: * components/tree/Makefile.am: * libnautilus-private/Makefile.am: * test/Makefile.am: General cleanups, mostly formatting. * configure.in: Remove libiconv stuff, since we don't use it any more. Do esound stuff in the main call to pkg-config, not a separate set of variables. * components/image-viewer/nautilus-image-view.c: Remove unused libart includes. * cut-n-paste-code/widgets/gimphwrapbox/gtkwrapbox.h: Remove the use of "decrement" as a synonym for "remove". * test/test.c: Remove unused libart include. 2002-01-21 Anders Carlsson * configure.in: Change libprofiler location. * libnautilus-private/nautilus-directory-async.c: (lacks_link_info), (make_dot_directory_uri), (link_info_start): Remove support for gmc style links. * libnautilus-private/nautilus-entry.c: (emacs_shortcuts_preference_changed_callback), (nautilus_entry_init), (nautilus_entry_finalize), (nautilus_entry_key_press), (select_all_at_idle), (nautilus_entry_select_all_at_idle): Use gtk_idle_add instead and store the idle id in the details struct. This fixes some weirdness in the file properties dialog, since the "destroy" signal can be emitted more than once. * libnautilus-private/nautilus-icon-canvas-item.c: (update_label_layouts): Enable underlining. * libnautilus-private/nautilus-monitor.c: (get_event_uri): Silently return if we can't find the base path. This is valid when we've called nautilus_monitor_cancel but still have some events in the queue. 2002-01-18 Michael Meeks * src/nautilus-window-toolbars.c (back_or_forward_toolbar_item_property_set_cb): upd to handle orientation too (create_back_or_forward_toolbar_item): add orientation prop. 2002-01-18 Darin Adler * libnautilus-private/nautilus-directory-metafile.c: (nautilus_directory_unregister_metadata_monitor): Fix storage leak by unrefing the metafile monitor before dropping it on the floor. * libnautilus-private/nautilus-directory-metafile-monitor.h: Remove uneeded BonoboXObject stuff. * libnautilus-private/nautilus-directory.c: (nautilus_directory_finalize): Remove unneeded NULLing. * libnautilus-private/nautilus-directory-metafile-monitor.c: Whitespace tweak. 2002-01-18 Johan Dahlin * components/history/nautilus-history-view.c: Port to GtkTreeView. 2002-01-18 Darin Adler * configure.in: Bump eel requirement to 1.1.2. 2002-01-18 Darin Adler * Makefile.am: Remove nautilus-launch-icon.png. * components/hardware/nautilus-hardware-view.c: (setup_form_title), (setup_overview_form): Port from EelImage to GtkImage. * components/music/nautilus-music-view.c: Remove unused include. * src/nautilus-theme-selector.c: Remove unused includes. * libnautilus-private/nautilus-bonobo-extensions.c: (bonobo_activation_activation_callback): Add warning message so we get to see the error from bonobo-activation. * libnautilus-private/nautilus-directory-metafile.c: (get_factory): * libnautilus-private/nautilus-icon-factory.c: (get_icon_factory), (load_icon_for_scaling), (embed_text): * libnautilus-private/nautilus-metafile-factory.c: (nautilus_metafile_factory_get_instance): * libnautilus-private/nautilus-theme.c: (nautilus_theme_get_theme_data_from_theme): * libnautilus-private/nautilus-trash-monitor.c: (nautilus_trash_monitor_get): * libnautilus-private/nautilus-volume-monitor.c: (nautilus_volume_monitor_get): * src/file-manager/nautilus-indexing-info.c: (show_indexing_info_dialog): * src/nautilus-preferences-dialog.c: (global_preferences_get_dialog): * src/nautilus-window.c: (nautilus_window_class_init), (add_to_history_list): Use eel_debug_call_at_shutdown instead of g_atexit. * libnautilus-private/nautilus-file.c: (nautilus_file_get_display_name): Add G_BROKEN_FILENAMES support. * libnautilus-private/nautilus-global-preferences.c: (nautilus_global_preferences_init): Remove eel_smooth_widget code. * libnautilus/Makefile.am: Add missing ORBIT_IDL dependency. * libnautilus/nautilus-view-standard-main.c: (nautilus_view_standard_main_multi): Remove bonobo_ui_debug_shutdown for now. It does us no good unless we also do eel_debug_shut_down, but libnautilus can't depend on eel. * nautilus-launch-icon.png: Remove. * src/file-manager/fm-properties-window.c: (update_properties_window_icon), (fm_properties_window_drag_data_received), (create_image_widget_for_file): Port from EelImage to GtkImage. * src/nautilus-component-adapter-factory.c: (nautilus_component_adapter_factory_get): Use eel_debug_call_at_shutdown instead of g_atexit. (nautilus_component_adapter_factory_create_adapter): Look at exceptions before looking at return values from CORBA calls. * src/nautilus-main.c: (main): Add a call to eel_debug_shut_down. * src/nautilus-property-browser.c: (nautilus_property_browser_init), (element_clicked_callback), (nautilus_property_browser_update_contents): Port from EelViewport to GtkViewport. * src/nautilus-search-bar-criterion.c: (nautilus_search_bar_criterion_destroy), (nautilus_search_bar_criterion_new_from_values): Fix for change that made NautilusSignaller no longer a GtkObject. * src/nautilus-sidebar-title.c: (nautilus_sidebar_title_init), (update_icon), (add_emblem): Port from EelImage to GtkImage. * src/nautilus-signaller.h: * src/nautilus-signaller.c: (nautilus_signaller_get_current): Use eel_debug_call_at_shutdown instead of g_atexit. (nautilus_signaller_instance_init), (nautilus_signaller_class_init): Change to GObject, not GtkObject. * src/nautilus-window-menus.c: (get_bookmark_list): Use eel_debug_call_at_shutdown instead of g_atexit. (nautilus_window_initialize_go_menu): Fix for change that made NautilusSignaller no longer a GtkObject. * test/test-nautilus-preferences-change.c: Remove unused include. * test/test-nautilus-preferences-display.c: Remove unused includes. * test/test-nautilus-wrap-table.c: Remove unused includes. * test/test.c: Remove unused function. * test/test.h: Remove unused function. 2002-01-18 Michael Meeks * libnautilus-private/nautilus-directory-background.c (image_loading_done_callback): don't set the background, it causes a strange segv later. * src/nautilus-window-toolbars.c (set_widget_for_bonobo_control): fold into (set_up_back_or_forward_toolbar_item): here. (set_up_standard_bonobo_button): kill redundant freeze / thaws. (set_up_special_bonobo_button): don't do nasty pixbuf roundtrips on a NULL icon_file_name (get_pixbuf_for_xml_node): kill - somewhat inefficient. (set_up_special_bonobo_button): set a straight pixbuf on the button item for more speed, and kill bogus in-proc freeze/thaw. (set_up_back_or_forward_toolbar_item): rename to (create_back_or_forward_toolbar_item): this to better reflect function, aggregate a property bag. (back_or_forward_tooblar_item_property_set_cb): impl. 2002-01-18 Ian McKellar * configure.in: Get esd's CFLAGS and LIBS from pkg-config 2002-01-17 Anders Carlsson * libnautilus-private/nautilus-icon-canvas-item.c: (nautilus_icon_canvas_item_update_bounds), (draw_or_measure_label_text), (update_label_layouts), (get_label_layout), (draw_label_layout), (draw_label_layout_aa), (draw_or_measure_label_text_aa), (nautilus_icon_canvas_item_event): Add non-aa pango support. * libnautilus-private/nautilus-directory-async.c (make_dot_directory_uri): Do an sync check for the .directory file before scheduling an async read of the file. * libnautilus-private/nautilus-link-desktop-file.c (nautilus_link_desktop_file_get_link_uri_from_desktop): Free the type string. * src/nautilus-view-frame.c (nautilus_view_frame_selection_changed): Call CORBA_free on uri_list. (send_history): Call CORBA_free on history. * src/nautilus-bookmark-parsing.c (nautilus_bookmark_new_from_node): free icon_mime_type. * src/file-manager/fm-icon-view.c (update_layout_menus): free path. * src/file-manager/Makefile.am: Add fm-list-model.[ch] * src/file-manager/fm-list-model.c: New file. * src/file-manager/fm-list-model.h: New file. * src/file-manager/fm-list-view.c: Port to GtkTreeView. * src/file-manager/fm-list-view.h: Port to GtkTreeView. * src/file-manager/fm-directory-view.c (fm_directory_view_destroy): Stop and clear the directory view before setting view to NULL because clearing the directory when nautilus_view is NULL can trigger an assertion. 2002-01-17 Darin Adler * libnautilus-private/nautilus-mime-actions.c: Added include needed for compatibility with new gnome-vfs. * src/file-manager/fm-directory-view.c: (set_up_scripts_directory_global): Fix mistake with use of GNOME_DOT_GNOME by using gnome_util_home_file instead. 2002-01-16 Darin Adler * components/hardware/main.c: (main): * components/image-viewer/nautilus-image-view.c: (init_server_factory): * components/loser/content/main.c: (main): * components/loser/sidebar/main.c: (main): * components/throbber/main.c: (main): * libnautilus/nautilus-view-standard-main.c: (nautilus_view_standard_main_multi), (nautilus_view_create_from_get_type_function): * src/nautilus-main.c: (main): Remove unneeded code and restore display-specific registration. This gets rid of a bunch of GNOME2_CONVERSION_COMPLETE ifdefs. * libnautilus-private/nautilus-directory-metafile-monitor.h: * libnautilus-private/nautilus-metafile-factory.c: * libnautilus-private/nautilus-metafile-factory.h: * libnautilus-private/nautilus-metafile.h: These had emacs mode lines that said they were IDL files. * libnautilus-private/nautilus-directory-metafile-monitor.c: * libnautilus-private/nautilus-metafile-factory.c: * libnautilus-private/nautilus-metafile.c: * libnautilus-private/nautilus-undo-context.c: * libnautilus-private/nautilus-undo-manager.c: * libnautilus/nautilus-undo-transaction.c: * src/nautilus-application.c: * src/nautilus-shell.c: * src/nautilus-view-frame-corba.c: Use BONOBO_CLASS_BOILERPLATE_FULL instead of EEL_BONOBO_BOILERPLATE_FULL. * src/nautilus-sidebar-title.c: (measure_width_callback), (update_more_info): First cut at implementing date that fits into sidebar. Not working yet. * src/nautilus-theme-selector.c: (install_theme_button_clicked_callback): Remove eel_gtk_window_set_up_close_accelerator call, since this is a GtkDialog that comes its own close accelerator. === nautilus 1.1.2 === 2002-01-16 Darin Adler * configure.in: Bump version to 1.1.2 * NEWS: Update news a tiny bit. * components/loser/content/Nautilus_View_content-loser.oaf.in: Remove. * components/loser/sidebar/Nautilus_View_sidebar-loser.oaf.in: Remove. 2002-01-15 Johan Dahlin * libnautilus/Makefile.am (nautilus_view_component_idl_stamp): * libnautilus/nautilus-view-component.idl: define __nautilus_view_component_COMPILATION instead of NAUTILUS_VIEW_COMPONENT_COMPILATION, to be compatible with libbonobo and bonobo-activation's idls. === nautilus 1.1.1 === 2002-01-15 Darin Adler * components/text/Makefile.am: Re-add ui_DATA to EXTRA_DIST. I removed it by accident. 2002-01-15 Darin Adler * configure.in: Bump required eel version number. Get rid of ORBIT_REQUIRED. * libnautilus/Makefile.am: Remove unneeded "-I$(builddir)" since it is screwing up "make distcheck". 2002-01-15 Darin Adler * src/Makefile.am: * src/nautilus-profiler.c: Do an ifdef in the profiler code rather than in the makefile. 2002-01-15 Darin Adler * NEWS: Prepare for 1.1.1 release. * TODO: A few things got done. 2002-01-15 Darin Adler * src/nautilus-desktop-window.c: (finalize), (nautilus_desktop_window_class_init): Fix another of those double-destroy problems by turning a destroy into a finalize. 2002-01-15 Darin Adler Inspired by a patch from Jacob Berkman , got rid of all the Makefile.am hackery so that everything ends up in the tarball. * configure.in: Bumped version to 1.1.1. * components/Makefile.am: Re-enabled all the subdirs. * components/adapter/Makefile.am: Re-enabled nautilus-adapter-embeddable-embed-strategy.[ch]. * components/adapter/nautilus-adapter-embeddable-embed-strategy.c: Put an #if GNOME2_CONVERSION_COMPLETE around the whole thing. * components/loser/content/Makefile.am: * components/loser/sidebar/Makefile.am: Update for COMPONENT_CFLAGS in NAUTILUS_PRIVATE_CFLAGS. * components/loser/content/main.c: (loser_make_object), (main): * components/loser/sidebar/main.c: (loser_make_object), (main): * components/loser/content/nautilus-content-loser.c: (nautilus_content_loser_init): * components/loser/sidebar/nautilus-sidebar-loser.c: (nautilus_sidebar_loser_init): Make these compile, not sure if they actually work. * components/shell/Nautilus_View_shell.server.in: Remove. * components/shell/shell.c: Remove. This component can go in a separate package -- it doesn't need to be part of the main Nautilus source tree. * components/text/Makefile.am: Turned off compiling of the component, but used EXTRA_DIST to make sure the source code still gets into the tarball. * components/tree/Makefile.am: Removed $(COMPONENT_LIBS) from the libnautilus_tree_view_la_SOURCES list. Not sure why it was in there. * libnautilus-private/Makefile.am: Remove stale references to the nautilus-druid-related headers. * libnautilus/nautilus-view-standard-main.c: (nautilus_view_standard_main_multi): Remove some GNOME2_CONVERSION_COMPLETE code that is now clearly not going to be needed. Left in the stuff that is a placeholder for things we still need. * src/Makefile.am: Distribute the profiler sources even when they are not built. * libnautilus-private/nautilus-icon-container.c: Whitespace tweak. 2002-01-15 Johan Dahlin * src/nautilus-bookmarks-window.c: Port to GtkTreeView. 2002-01-09 Darin Adler * libnautilus-private/nautilus-file.c: (make_valid_utf8), (nautilus_file_get_display_name), (nautilus_file_get_name): First cut at ensuring file names are always valid UTF-8. We probably need other checks like this for various other places we read in external stuff. Also, we might later decide to cache the "made valid" name. Finally, we might want to support the glib G_BROKEN_FILENAMES feature. 2002-01-09 Darin Adler * src/file-manager/fm-directory-view.c: (fm_directory_view_destroy), (fm_directory_view_finalize), (fm_directory_view_class_init): * src/file-manager/fm-icon-view.c: (fm_icon_view_finalize), (fm_icon_view_class_init): * src/file-manager/fm-list-view.c: (fm_list_view_class_init), (fm_list_view_finalize): Some destroy/finalize fixes. 2002-01-08 Darin Adler * Makefile.am: Remove a stray reference to nautilus-help.desktop. 2002-01-08 Darin Adler * TODO: Mention bad looking text. * libnautilus-private/nautilus-icon-container.c: (destroy), (finalize), (nautilus_icon_container_init), (item_event_callback), (nautilus_icon_container_clear): Various fixes to make destroy on a NautilusIconContainer work. * components/tree/nautilus-tree-view-dnd.c: (nautilus_tree_view_drag_motion), (nautilus_tree_view_drag_drop), (nautilus_tree_view_button_press), (nautilus_tree_view_button_release), (nautilus_tree_view_motion_notify): * libnautilus-private/nautilus-undo-signal-handlers.c: (editable_key_press_event): * src/nautilus-bookmarks-window.c: (handle_close_accelerator): Remove unneeded stop_emit-type calls, now that the signal machinery understands that TRUE means to stop emitting in some cases. 2002-01-08 Darin Adler * .cvsignore: * Makefile.am: * nautilus-help.desktop.in: Remove. Remove nautilus-help.desktop since Nautilus isn't the help browser any more. * components/adapter/nautilus-adapter-load-strategy.c: (nautilus_adapter_load_strategy_class_init): * components/news/nautilus-news.c: (set_up_main_widgets): * libnautilus-private/nautilus-bookmark.c: (nautilus_bookmark_class_init): * libnautilus-private/nautilus-volume-monitor.c: (nautilus_volume_monitor_class_init): * src/file-manager/fm-desktop-icon-view.c: (fm_desktop_icon_view_destroy), (fm_desktop_icon_view_handle_middle_click), (delayed_init), (fm_desktop_icon_view_init), (desktop_icons_compare_callback): * src/nautilus-sidebar.c: (nautilus_sidebar_finalize), (nautilus_sidebar_update_buttons), (nautilus_sidebar_set_uri): Use more g_signal, less gtk_signal stuff. * components/hardware/nautilus-hardware-view.c: (setup_form_title), (setup_overview_form), (setup_CPU_form), (setup_RAM_form), (setup_IDE_form): * components/news/nautilus-news.c: (set_up_main_widgets): * src/file-manager/nautilus-indexing-info.c: (update_progress_display), (last_index_time_dialog_new), (index_progress_dialog_new): * src/nautilus-property-browser.c: (nautilus_property_browser_init), (element_clicked_callback), (labeled_image_new), (make_properties_from_directories), (add_reset_property), (make_properties_from_xml_node): * src/nautilus-sidebar-title.c: (nautilus_sidebar_title_init), (nautilus_sidebar_title_select_text_color), (update_title_font), (update_title), (update_more_info), (sidebar_title_create_title_label), (sidebar_title_create_more_info_label): Port more code from EelLabel to GtkLabel. Also change all code that was using things like "make_larger" to use "set_scale" now. * components/music/nautilus-music-view.c: (xpm_label_box), (xpm_dual_label_box), (nautilus_music_view_set_album_image): * libnautilus-private/nautilus-bookmark.c: (create_image_widget_for_bookmark), (nautilus_bookmark_menu_item_new): * src/nautilus-complex-search-bar.c: (load_find_them_pixmap_widget): Port more code from GtkPixmap to GtkImage. * components/notes/nautilus-notes.c: * components/throbber/nautilus-throbber.c: * src/file-manager/fm-properties-window.c: * src/nautilus-zoom-control.c: Remove extra includes. * libnautilus-private/nautilus-icon-factory.c: * libnautilus-private/nautilus-icon-factory.h: Remove nautilus_icon_factory_get_pixmap_and_mask_for_file. * src/nautilus-about.c: (draw_aa_string), (draw_author_list), (nautilus_about_draw_info): Port to use Pango to draw the text. It looks really bad right now, but should be straightforward to fix. 2002-01-08 Anders Carlsson * libnautilus-private/nautilus-bonobo-extensions.c (activation_handle_free): New function to free a handle and it's associated object. (activation_idle_callback): Call activation_handle_free. (activation_cancel): Likewise. * libnautilus-private/nautilus-icon-container.c: (nautilus_icon_container_update_icon): * libnautilus/nautilus-view-component.idl: * libnautilus/nautilus-view.c: (call_close_window), (nautilus_view_close_window): * libnautilus/nautilus-view.h: * src/nautilus-profiler.c: (nautilus_profiler_bonobo_ui_report_callback): * src/nautilus-view-frame-corba.c: (close_window), (impl_Nautilus_ViewFrame_close_window), (nautilus_view_frame_corba_part_class_init): * src/nautilus-view-frame-private.h: * src/nautilus-view-frame.c: (nautilus_view_frame_close_window), (nautilus_view_frame_class_init): * src/nautilus-view-frame.h: * src/nautilus-window-manage-views.c: (close_window_callback): Implement nautilus_view_close_window (). 2002-01-08 Anders Carlsson * src/nautilus-zoom-control.c (nautilus_zoom_control_finalize): Remove preferences calback in ::finalize. (nautilus_zoom_control_unload_images): Set image pointers to NULL after unloading images. * src/nautilus-window-menus.c: Remove some userlevel #defines. * src/nautilus-switchable-search-bar.c (nautilus_switchable_search_bar_finalize): Remove the preferences callback in ::finalize instead of ::destroy. * src/nautilus-switchable-navigation-bar.c: Create the search bar lazily. Creating the search bar came up high on the profile when creating new windows, and doing it lazily helps, especially when we don't have medusa support yet. (nautilus_switchable_navigation_bar_finalize): Free details in ::finalize. * src/nautilus-simple-search-bar.c (nautilus_simple_search_bar_finalize): Free details in ::finalize. (nautilus_simple_search_bar_destroy): Disable the undo stuff. Perhaps we could call connect to "destroy" in nautilus_undo_set_up_nautilus_entry_for_undo and call nautilus_undo_tear_down_nautilus_entry_for_undo there instead. * src/nautilus-sidebar.c (nautilus_sidebar_init): Ref and sink the title tab. (nautilus_sidebar_finalize): Move things from ::finalize to ::destroy. * src/nautilus-preferences-dialog.c (preferences_dialog_populate_themes_group): The image chooser isn't broken anymore so we can enable it now. * src/nautilus-main.c (main): Call gtk_main instead of bonobo_main since bonobo_main is for non-gui apps and won't be affected by gtk_main_quit. * src/nautilus-location-bar.c: Destroy things in ::finalize instead of in ::destroy. * src/nautilus-profiler.c: Port to GtkTextView. * src/nautilus-application.c (nautilus_application_new): Call bonobo_generic_factory_construct_noreg so that we set the IID. (nautilus_application_destroy): Unref the undo manager in ::destroy instead. * libnautilus-private/nautilus-icon-container.c: Use g_list_sort_with_data when sorting icons so we can get rid of the hack_icon_container hack. * libnautilus-private/nautilus-entry.c: Free details struct in ::finalize instead of in ::destroy * libnautilus-private/nautilus-icon-dnd.c (confirm_switch_to_manual_layout): Compare with GTK_RESPONSE_YES. * libnautilus-private/nautilus-file-operations.c (confirm_empty_trash): Compare with GTK_RESPONSE_YES. 2002-01-07 Darin Adler * libnautilus-private/nautilus-desktop-file-loader.c: (validated_strdup): Fixed to use g_iconv instead of iconv, starting with a patch from Jean Schurger . * libnautilus-private/nautilus-font-factory.c: Remove. * libnautilus-private/nautilus-font-factory.h: Remove. * libnautilus-private/Makefile.am: Remove nautilus-font-factory.[ch]. * libnautilus-private/nautilus-icon-canvas-item.c: (nautilus_icon_canvas_item_finalize), (nautilus_icon_canvas_item_set_arg), (nautilus_icon_canvas_item_get_arg), (draw_or_measure_label_text), (nautilus_icon_canvas_item_class_init): Get rid of the "font" arg. We'll have to replace this with something that works with Pango -- maybe just a font name. * src/file-manager/fm-list-view.c: (truncate_middle_callback), (get_cell_text): Turn off the GdkFont ellipsizing code. I hope this just goes away when Anders finishes his port to GtkTextView. * src/file-manager/fm-properties-window.c: (fm_properties_window_class_init), (real_destroy), (real_finalize): Fix a bug where it would try to disconnect a signal on an object that is already NULL by that time. * src/nautilus-profiler.c: (nautilus_profiler_bonobo_ui_report_callback): Disable the dump window, pending a port to GtkTextView instead of GtkText. * components/music/nautilus-music-view.c: * components/news/nautilus-news.c: * components/notes/nautilus-notes.c: * components/text/nautilus-text-view.c: * libnautilus-private/nautilus-file-operations-progress.c: * libnautilus-private/nautilus-file-operations.c: * libnautilus-private/nautilus-icon-container.c: * src/file-manager/fm-icon-view.c: * src/nautilus-sidebar-title.c: Get rid of some includes of unused headers. 2002-01-07 Darin Adler Integrate patches from Frank Worsley . * libnautilus-private/nautilus-link.c: (get_link_style_for_mime_type): Fix porting mistake that caused all desktop files to be treated as Nautilus links. * libnautilus-private/nautilus-file.c: (rename_callback): Fix storage leak. 2002-01-07 Dave Camp * src/nautilus-theme-selector.c (theme_selector_finalize): Put back the accidentally removed g_free (theme_selector)->details. 2002-01-07 Dave Camp * src/nautilus-preferences-dialog.c (preferences_dialog_populate_themes_group): Take out the return. The EelLabel exorcism did in fact mostly fix the theme selector. * src/nautilus-theme-selector.c (theme_selector_finalize): Moved here from theme_selector_destroy. (nautilus_theme_selector_class_init): Fixed the argument type list for the theme_changed signal, and reflect the destroy->finalize change. 2002-01-05 Michael Meeks * configure.in (IMLIB_REQUIRED, GDK_PIXBUF_REQUIRED), (POPT_REQUIRED, GCONF_REQUIRED): prune 2002-01-04 Havoc Pennington * libnautilus-private/nautilus-global-preferences.c (nautilus_global_preferences_init): add preload of the gconf cache, to hopefully avoid a zillion round trips to gconfd on startup. * test/test.c (test_window_new): remove weird gtk_window_set_policy * test/test-nautilus-preferences-display.c: remove user level stuff * test/test-nautilus-preferences-change.c: remove user level stuff * libnautilus-private/nautilus-global-preferences.c: the default click policy was SPEED_TRADEOFF_LOCAL_ONLY, fix * libnautilus-private/nautilus.schemas: add schemas file, incomplete, needs to be finished and installed * libnautilus-private/nautilus-global-preferences.c: strip out user levels * src/nautilus-shell-ui.xml: strip out user level menu * src/nautilus-window-menus.c: strip out user level menu 2002-01-04 Darin Adler * libnautilus-private/nautilus-icon-container.c: (rubberband_timeout_callback): Fix rubberband selection when the icon view is scrolled by using the bin_window. * src/nautilus-sidebar.c: (nautilus_sidebar_destroy): Fix one of those "double-destroy" problems. * TODO: Formatting tweak. * configure.in: Formatting tweak. 2002-01-04 Dave Camp * components/adapter/nautilus-zoomable-proxy.c (nautilus_zoomable_prozy_init_epv): Renamed from nautilus_get_modified_bonobo_zoomable_epv and changed to initialize a passed in epv rather than allocating a new one. (nautilus_zoomable_proxy_destroy): (nautilus_zoomable_proxy_finalize): (nautilus_zoomable_proxy_class_init): (nautilus_zoomable_proxy_get): (nautilus_zoomable_proxy_get_type): Derive from BonoboObject rather than BonoboZoomable, as this object fully implements the Zoomable interface. * components/adapter/nautilus-adapter.c (nautilus_adapter_new): Replaced gtk_signal_connect_object with g_signal_connect_swapped, cast callbacks to G_CALLBACK, and use a weak reference rather than a "destroy" handler. (nautilus_adapter_activate_callback): Pass NULL as the opt_ev parameter to bonobo_control_get_remote_ui_container(). * components/adapter/nautilus-adapter-stream-load-strategy.c (nautilus_adapter_stream_load_strategy_load_location): The bonobo-stream-vfs code was moved to the VFS moniker in gnome-vfs, so use it here. * components/adapter/nautilus-adapter-load-strategy.c (nautilus_adapter_load_strategy_class_init): replaced eel_marshal_VOID__DOUBLE with g_cclosure_marshal_VOID__DOUBLE. (nautilus_adapter_load_strategy_get): Disabled the progressive data sink code using GNOME2_CONVERSION_COMPLETE. * components/adapter/nautilus-adapter-factory-server.c (nautilus_adapter_factory_server_class_init): (nautilus_adapter_factory_server_init): (nautilus_adapter_factory_server_finalize): (adapter_object_destroyed): (impl_Nautilus_ComponentAdapterFactory_create_adapter): (nautilus_adapter_factory_server_get_type): Changed to the new style of deriving from BonoboObject. (impl_Nautilus_ComponentAdapterFactory_create_adapter): Use a weak reference to the adapter view rather than connecting to "destroy". * components/adapter/nautilus-adapter-embed-strategy.c (nautilus_adapter_embed_strategy_class_init): Fixed the argument type lists for the activate and open_location signals. (nautilus_adapter_embed_strategy_get): Disable use of the embeddable embed strategy using GNOME2_CONVERSION_COMPLETE. * components/adapter/nautilus-adapter-control-embed-strategy.c (nautilus_adapter_control_embed_strategy_new): Pass NULL for the opt_ev parameter of bonobo_control_frame_bind_to_control(). * components/adapter/main.c (main): Replaced initialization functions with bonobo_ui_init, and put an #ifdef GNOME2_CONVERSION_COMPLETE around gnome_client_disable_master_connect(). (adapter_factory_make_object): Use a weak reference rather than a destroy signal handler. (adapter_factory_object_weak_notify): Moved here from adapter_factory_object_destroy, use bonobo_main_quit() rather than gtk_main_quit(). * components/adapter/Makefile.am: Removed nautilus-adapter-progressive-load-strategy.[ch], and moved nautilus-adapter-embeddable-embed-strategy.[ch] out of the build, removed bonobo-stream-vfs.[ch] replaced NAUTILUS_PRIVATE_CFLAGS/LIBS with COMPONENT_CFLAGS/LIBS. * src/nautilus-component-adapter-factory.c: Removed no-longer-necessary #if GNOME2_CONVERSION_COMPLETE lines. (activate_factory): Replaced BonoboObjectClient code with a call to bonobo_get_object(). 2002-01-04 Frederic Crozat * configure.in: Add esound cflags to CORE_CFLAGS, Call GNOME_COMMON_INIT to correctly initialize AC_LOCAL flags 2002-01-04 Anders Carlsson * libnautilus-private/nautilus-program-choosing.c: Update to matched changed return value from nautilus_program_chooser_new (). * libnautilus-private/nautilus-program-chooser.h: * libnautilus-private/nautilus-program-chooser.c: Port to GtkTreeView, and make NautilusProgramChooser into a real object. * components/Makefile.am: Re-enable the music view. * components/music/nautilus-music-view.c: Port to GtkTreeView and GNOME2. 2002-01-03 Andy Hertzfeld reviewed by: * src/file-manager/fm-icon-view.c: (play_file), (preview_audio), made remote sound previewing work by using gnome-vfs to read from the remote source and feeding the data to the sound player via popen. * (should_preview_sound): removed code that disabled remote sound previewing even if the preference was set 2002-01-03 Darin Adler * libnautilus-private/nautilus-global-preferences.c: (nautilus_global_preferences_init): Remove some smooth-font related stuff to get rid of the dependency on EelFontManager. * TODO: Quick update. 2002-01-03 Darin Adler * test/test.c: (test_text_caption_get_text_as_int): Don't use the eel_eat function. 2002-01-03 Darin Adler * Makefile.am: Turn on test subdirectory. * test/test.c: (test_init), (test_label_new): * test/test.h: Build without using EelLabel. * src/nautilus-sidebar-title.c: Remove unused header include. 2002-01-03 Darin Adler * TODO: Updated. * libnautilus-private/nautilus-icon-canvas-item.c: (create_label_layout): Use eel_pango_layout_set_underline. * components/music/nautilus-music-view.c: Don't include EelList. 2002-01-03 Darin Adler * libnautilus-private/nautilus-icon-container.c: (start_rubberbanding): Use GnomeCanvasRect instead of EelCanvasRect. We can redo the EelCanvasRect optimization if we want to, but it should really be put into libgnomecanvas. * components/music/common.c: * components/music/nautilus-music-view.c: * libnautilus-private/nautilus-customization-data.c: * libnautilus-private/nautilus-desktop-file-loader.c: * libnautilus-private/nautilus-directory-async.c: * libnautilus-private/nautilus-directory.c: * libnautilus-private/nautilus-file.c: * src/file-manager/fm-desktop-icon-view.c: * src/file-manager/fm-icon-view.c: * src/nautilus-property-browser.c: * src/nautilus-sidebar-title.c: * src/nautilus-window.c: Remove lots of unneeded includes, including all cases of including the locale-sensitive . 2002-01-03 Darin Adler * libnautilus-private/nautilus-global-preferences.c: (nautilus_global_preferences_init): * libnautilus-private/nautilus-sidebar-functions.c: (sidebar_panel_make_preference_key): * libnautilus-private/nautilus-sidebar-functions.h: Remove some help sidebar panel remnants. 2002-01-03 Michael Meeks * components/image-viewer/io-png.c (image_save): disable png stuff. 2001-01-03 Michael Meeks * configure.in: bump requirements on bonobo to get something that works well. 2002-01-03 John Fleck * help/nautilus-quick-reference/C/index.html removing duplicate width tags, fixing http://bugzilla.gnome.org/show_bug.cgi?id=47433 2002-01-02 Darin Adler * configure.in: Explicitly depend on librsvg instead of getting it through eel. 2002-01-03 Anders Carlsson * src/nautilus-component-adapter-factory.c: Fix warnings by putting #ifdef GNOME2_CONVERSION_COMPLETE around unused functions and variables. 2002-01-02 Darin Adler * components/hardware/nautilus-hardware-view.c: (update_uptime_text), (setup_overview_form): * components/music/nautilus-music-view.c: * src/file-manager/nautilus-indexing-info.c: (update_progress_display): * src/nautilus-property-browser.c: (nautilus_property_browser_init), (labeled_image_configure), (labeled_image_new), (make_category), (property_browser_category_button_new), (nautilus_property_browser_update_contents): * test/test.h: * src/nautilus-shell.c: * src/nautilus-sidebar-title.c: (nautilus_sidebar_title_init): Port from EelLabel to GtkLabel. * components/news/nautilus-news.c: (do_destroy), (draw_rss_logo_image), (draw_rss_title), (draw_rss_items), (nautilus_news_set_title), (free_channel), (empty_message_size_allocate), (set_up_main_widgets), (make_news_view): * libnautilus-private/nautilus-icon-private.h: * src/nautilus-sidebar-tabs.c: (nautilus_sidebar_tabs_load_theme_data), (nautilus_sidebar_tabs_init), (nautilus_sidebar_tabs_destroy), (draw_one_tab_plain), (draw_one_tab_themed), (get_tab_width), (nautilus_sidebar_tabs_add_view): Port to Pango text instead of Eel text. * libnautilus-private/nautilus-customization-data.c: (add_reset_text): * libnautilus-private/nautilus-icon-factory.c: (embedded_text_font_changed_callback), (embed_text): * src/nautilus-about.c: (draw_aa_string), (draw_author_list), (nautilus_about_draw_info), (nautilus_about_update_authors): Disable Eel text and ifdef with GNOME2_CONVERSION_COMPLETE. * libnautilus-private/nautilus-global-preferences.h: * libnautilus-private/nautilus-global-preferences.c: Turn off font-related preferences. Maybe delete later or convert for Pango fonts. * libnautilus-private/nautilus-icon-canvas-item.h: * libnautilus-private/nautilus-icon-container.h: Remove eel-scalable-font.h includes. * src/nautilus-component-adapter-factory.c: (nautilus_component_adapter_factory_create_adapter): Disable the adapter because it was causing problems. 2002-01-02 Frederic Crozat * libnautilus-private/nautilus-directory-background.c: (initialize_background_from_settings): Remove flash when Nautilus desktop is started with a pixmap background * src/nautilus-desktop-window.c: (map): Remove unneeded variable 2001-12-18 Michael Meeks * components/hardware/nautilus-hardware-view.c (setup_overview_form): fix strcmp style for Darin. * components/music/fileinfo.c (find_genre_id), (file_info_http): ditto. * libnautilus-private/nautilus-customization-data.c (nautilus_customization_data_get_next_element_for_display), (nautilus_customization_data_new): ditto. * src/nautilus-property-browser.c (nautilus_property_browser_drag_data_get), (make_category_link, make_drag_image): ditto. * libnautilus-private/nautilus-volume-monitor.c (option_list_has_option): ditto. 2001-12-17 Michael Meeks * src/file-manager/fm-directory-view.c (fm_directory_view_init): set mask. * src/nautilus-view-frame.c (create_corba_objects): set ambient property bag. (create_ambient_properties), (nautilus_view_frame_get_prop): impl. (nautilus_view_frame_title_changed), (nautilus_view_frame_selection_changed), (send_history): re-implement to fire event instead. * components/history/nautilus-history-view.c (nautilus_history_view_instance_init): set mask. (history_changed_callback, update_history): constify. * libnautilus/nautilus-view.c (impl_Nautilus_View_title_changed), (impl_Nautilus_View_history_changed): kill. (impl_Nautilus_View_selection_changed): kill. (nautilus_view_construct_from_bonobo_control): connect to set_frame. (nautilus_view_set_frame_callback): impl. (nautilus_view_dispose): impl. to unset the frame (nautilus_view_class_init): upd signals, epv & hook dispose. (nautilus_view_frame_property_changed_callback): impl. (nautilus_view_get_ambient_properties): impl. (nautilus_view_set_listener_mask): impl. * libnautilus/nautilus-view-component.idl: remove title_changed and history_changed - use a propert and the more flexible listener interface. 2001-12-17 Darin Adler * libnautilus-private/nautilus-icon-canvas-item.h: * libnautilus-private/nautilus-icon-canvas-item.c: (nautilus_icon_canvas_item_init), (nautilus_icon_canvas_item_finalize), (nautilus_icon_canvas_item_invalidate_label_size), (nautilus_icon_canvas_item_set_arg), (nautilus_icon_canvas_item_get_arg), (draw_or_measure_label_text), (measure_label_text), (create_label_layout), (get_label_layout), (draw_label_layout), (draw_or_measure_label_text_aa), (draw_label_text_aa), (nautilus_icon_canvas_item_class_init): Do text drawing with Pango for the anti-aliased case. Remove all use of the non-Pango Eel anti-aliased text drawing code. * libnautilus-private/nautilus-icon-container.h: * libnautilus-private/nautilus-icon-container.c: (finalize), (nautilus_icon_container_init), (nautilus_icon_container_update_icon), (nautilus_icon_container_set_label_font_for_zoom_level): * src/file-manager/fm-icon-view.c: (create_icon_container), (fm_icon_view_init): Remove the smooth-font stuff. We're going to use a single font once we change everything to use Pango. * icons/Makefile.am: Remove help-system icons. * icons/hyperbola-*: Remove help-system icons. 2001-12-14 Seth Nickell The programs:/ URI is now applications:/ to conform with the HIG and GDP word list. * data/Makefile.am: * data/applications.desktop.in: * data/programs.desktop.in: Move programs.desktop.in to applications.desktop.in and change the URI and Name in the desktop entry. 2001-12-14 Seth Nickell * Makefile.am: Install nautilus and help .desktop files into the proper location for GNOME2 menu entries ($datadir/applications). 2001-12-13 Darin Adler * components/Makefile.am: * components/help/*: * nautilus.spec.in: Deleted help component as it is not slated to be part of Gnome 2. * RENAMING: No need to rename hyperbola if it's gone. * configure.in: Removed ScrollKeeper check. Took a cut at making the medusa check use pkg-config, it's probably messed up but at least we won't define HAVE_MEDUSA if we see the Gnome 1 medusa. * libnautilus-private/nautilus-icon-canvas-item.c: (nautilus_icon_canvas_item_init), (nautilus_icon_canvas_item_finalize), (nautilus_icon_canvas_item_set_arg), (nautilus_icon_canvas_item_get_arg), (draw_or_measure_label_text_aa), (draw_label_text_aa), (nautilus_icon_canvas_item_class_init): Quick cut at porting to Pango from Eel font code. It's all under ifdef USE_EEL_TEXT because it's not working well yet. At the moment the text looks bad, and it's very slow, and it's not centered. * libnautilus-private/nautilus-icon-factory.c: (embed_text): Baby steps at doing the port to Pango here too. * src/file-manager/fm-directory-view.c: (real_update_menus): Add a check for NULL that seems required. This change was suggested by the backtrace in bug 66809, but it's not clear if this really fixes anything. (Rolled from stable branch.) * src/file-manager/fm-icon-view.c: (icon_view_handle_uri_list): Fix code that passed a path instead of a URI when creating a desktop file. (Rolled from stable branch.) * TODO: Minor updates. 2001-12-12 Michael Meeks * src/file-manager/fm-icon-view.c (fm_icon_view_merge_menus): fix container ref leak. * src/file-manager/fm-search-list-view.c (real_merge_menus): ditto. * src/file-manager/fm-desktop-icon-view.c (fm_desktop_icon_view_destroy): more guards. (real_merge_menus): fix container ref leak. 2001-12-12 Michael Meeks * src/nautilus-window.c (nautilus_window_destroy): protect vs. double destroy. * src/nautilus-window-manage-views.c (disconnect_view): start macro definitions on the first line. * src/nautilus-sidebar.c (nautilus_sidebar_destroy): protect vs. double destroy. * src/nautilus-sidebar-tabs.c (nautilus_sidebar_tabs_destroy): protect vs. double destroy and theoretical re-enterancy hazard. * src/nautilus-sidebar-title.c (nautilus_sidebar_title_destroy): protect vs. double destroys. * src/nautilus-application.c (create_object): re-enable list view. * src/file-manager/fm-list-view.c: re-enable. 2001-12-11 Laszlo Peter * libnautilus-private/nautilus-authn-manager.c: s/__FUNCTION__/G_GNUC_FUNCTION/ * libnautilus-private/nautilus-directory-background.c: get rid of _gdk_display_name * libnautilus-private/nautilus-volume-monitor.c (nautilus_volume_get_device_type): remove "const" to match the prototype. 2001-12-09 Darin Adler * libnautilus-private/nautilus-file-operations.c: (handle_transfer_ok): Do fix based on patch from Martin Wehner to prevent cancel of emptying trash or deleting from core dumping. * Makefile.am: * configure.in: * docs/.cvsignore: * docs/Makefile.am: Add files in the docs directory to tarball. * libnautilus/nautilus-view-standard-main.c: (nautilus_view_standard_main_multi): Whitespace tweak. 2001-12-08 Anders Carlsson * components/throbber/nautilus-throbber.c: (nautilus_throbber_instance_init): * src/nautilus-window.c: (nautilus_window_allow_stop): Update for new bonobo property bag API. 2001-12-08 Michael Meeks * components/tree/nautilus-tree-view.c (nautilus_tree_view_init): unroll control creation, connect to "activate" signal handler not map / unmap on no-window widget GtkScrolledWindow. (tree_map_callback, tree_unmap_callback): kill. (tree_activate_callback): impl. * components/tree/libmain.c (BonoboActivation_Plugin_info) -> (Bonobo_Plugin_info). * components/tree/Makefile.am: setup ldflags correctly, and a LIBADD so we can activate it independantly. * components/throbber/main.c (main): fix for bonobo-activation-server race condition. * libnautilus-private/nautilus-marshal.list: add VOID:STRING,STRING 2001-12-06 Michael Meeks * libnautilus/nautilus-view-standard-main.c (nautilus_view_standard_main_multi): if we were already registered - due to a beautifuly inefficient activation server race - just quit. 2001-12-07 Darin Adler * docs/design.txt: * docs/gnomad-notes.txt: * docs/metaitems.txt: * docs/nautilus.faq: * docs/use-cases.txt: Tweak some documents, removing obsolete ones. 2001-12-06 Darin Adler * components/Makefile.am: * components/mozilla/.cvsignore: * components/mozilla/Makefile.am: * components/mozilla/Nautilus_View_mozilla.server.in: * components/mozilla/bonobo-extensions.c: * components/mozilla/bonobo-extensions.h: * components/mozilla/main.c: * components/mozilla/mozilla-components.cpp: * components/mozilla/mozilla-components.h: * components/mozilla/mozilla-events.cpp: * components/mozilla/mozilla-events.h: * components/mozilla/mozilla-preferences.cpp: * components/mozilla/mozilla-preferences.h: * components/mozilla/nautilus-mozilla-content-view.c: * components/mozilla/nautilus-mozilla-content-view.h: * components/mozilla/nautilus-mozilla-embed-extensions.cpp: * components/mozilla/nautilus-mozilla-embed-extensions.h: * components/mozilla/nautilus-mozilla-encoding-tables.c: * components/mozilla/nautilus-mozilla-encoding-tables.h: * components/mozilla/nautilus-mozilla-ui.xml: * configure.in: * nautilus.spec.in: Moved mozilla component into its own module. 2001-12-06 Darin Adler * lots of files Get rid of casts in callers to g_object_ref/g_object_unref. Remove parameters to eel_make_warnings_and_criticals_stop_in_debugger. 2001-12-05 Gediminas Paulauskas * libnautilus-private/nautilus-desktop-file-loader.c: remove cut'n'pasted functions which are in glib now. * src/nautilus-about.c (nautilus_about_instance_init): don't set close key accelerator, Gtk+ does that already. 2001-12-05 Gediminas Paulauskas * configure.in, libnautilus/Makefile.am, libnautilus/libnautilus.pc.in: make libnautilus know to pkg-config 2001-12-05 Gediminas Paulauskas * components/hardware/main.c, components/help/hyperbola-main.c, components/image-viewer/nautilus-image-view.c, components/mozilla/main.c, libnautilus/nautilus-view-standard-main.c, src/nautilus-main.c: (main) get translated messages from nautilus text domain in utf-8. * src/nautilus-window-menus.c: (help_menu_about_nautilus_callback) replace copyright symbol with utf-8 version of it. 2001-12-04 Darin Adler Fix bugs exposed by "make check". * libnautilus-private/nautilus-directory-async.c: (is_dot_or_dot_dot), (should_skip_file), (dequeue_pending_idle_callback), (directory_load_one), (count_non_skipped_files), (directory_count_callback), (start_monitoring_file_list), (deep_count_one), (mime_list_one): Add new code to handle stuff that we did with a gnome-vfs filter in the old version. * libnautilus-private/nautilus-search-uri.c: (strip_uri_beginning), (tokenize_uri): Fix use of g_strsplit since the meaning of the parameter has changed. 2001-12-03 Darin Adler * src/file-manager/fm-directory-view.c: (set_up_scripts_directory_global): Use GNOME_DOT_GNOME. 2001-11-30 Darin Adler * src/nautilus-bookmark-list.c: (nautilus_bookmark_list_load_file): * src/nautilus-property-browser.c: (remove_color), (make_properties_from_xml_node), (nautilus_property_browser_update_contents): Skip over non-element nodes when walking libxml DOM tree. * libnautilus-private/nautilus-theme.c: (nautilus_theme_get_theme_data_from_theme): Whitespace tweak. 2001-11-30 Darin Adler * libnautilus-private/nautilus-directory-async.c: (top_left_read_callback): Roll double-free bug fix from the branch. * TODO: Some small updates. * components/hardware/nautilus-hardware-view.c: * data/browser.xml: * icons/crux_eggplant/crux_eggplant.xml: * icons/crux_teal/crux_teal.xml: * icons/default.xml: * icons/gnome/gnome.xml: * icons/sierra/sierra.xml: * icons/tahoe/tahoe.xml: * libnautilus-private/nautilus-directory-background.c: (nautilus_file_background_write_desktop_settings): * libnautilus-private/nautilus-icon-container.c: (start_rubberbanding): * libnautilus-private/nautilus-icon-text-item.c: (fetch_themed_color): * src/nautilus-property-browser.c: (add_color_to_browser): * src/nautilus-sidebar-tabs.c: (setup_light_text), (setup_dark_text), (nautilus_sidebar_tabs_init), (nautilus_sidebar_tabs_receive_dropped_color): * src/nautilus-sidebar-title.c: (nautilus_sidebar_title_select_text_color): * src/nautilus-sidebar.c: (receive_dropped_color): Changed all rgb:RRRR/GGGG/BBBB to #RRGGBB. We still probably have to handle the old format just for old data files. * libnautilus-private/.cvsignore: nautilus-marshal-guts.h -> nautilus-marshal.h * src/file-manager/fm-directory-view.c: (update_directory_in_scripts_menu): Add filter so that we don't see invisible or backup files in the scripts menu. In the old days, gnome-vfs supplied the filtering. * src/nautilus-about.c: (nautilus_about_finalize), (nautilus_about_instance_init), (nautilus_about_hide), (nautilus_about_hide_on_response), (nautilus_about_hide_on_delete), (nautilus_about_class_init): Get rid of double-destroy problem with about, and fix OK button. * src/nautilus-bookmarks-window.c: (nautilus_bookmarks_window_response_callback): Fix Done button. (create_bookmarks_window): Hook up response callback. (on_window_delete_event), (handle_close_accelerator): Get rid of save_geometry_and_hide, since hide already does that. * src/nautilus-main.c: (main): Add some missing domains for better debugging. We should figure out a way to do this without a list of domains. 2001-11-27 Seth Nickell * nautilus-help.desktop.in: * nautilus.desktop.in: Change list format for Categories field. 2001-11-27 Seth Nickell * nautilus.desktop.in: * nautilus-help.desktop.in: Add "Categories=" section to work with George's new vfolder panel menu system. Mon Nov 26 20:34:52 2001 Owen Taylor * libnautilus-private/nautilus-icon-factory.c: * libnautilus-private/nautilus-icon-container.h libnautilus-private/nautilus-file-operations-progress.h: Return from get_type() functions is GType, not guint. * components/sample/nautilus-sample-content-view.c libnautilus/nautilus-undo-private.h: Deal with errant gobject/* includes. (George Karabin) 2001-11-22 Michael Meeks * components/notes/nautilus-notes.c (make_notes_view): listen for changed on the text buffer. (notes_load_metainfo): set buffer to "" not NULL. * libnautilus/nautilus-view-standard-main.c (delayed_quit_timeout_callback): do a bonobo_main_quit. (object_destroyed): GObject-ify. * components/throbber/main.c (main): upd. 2001-11-22 Michael Meeks * libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_class_init): fix marshaller. * libnautilus-private/nautilus-marshal.list: add INT_POINTER_BOOLEAN * src/file-manager/fm-properties-window.c (real_destroy): protect against double destroys. Tue Nov 20 21:45:43 2001 Owen Taylor * configure.in: Add [quoting] around AC_CHECK_HEADERS needed for some autoconf versions. * components/text/nautilus-text-view.c (file_read_callback): text_view->details->text_display is set to NULL in nautilus_text_view_destroy(), so simply check for non-NULL rather than calling GTK_OBJECT_DESTROYED(). * src/file-manager/fm-properties-window.c (real_destroy): NULL out name_field here, since it will be destroyed, so we can avoid accessing it in rename_callback. * libnautilus-private/Makefile.am (nautilus-marshal-guts.c): Get rid of nautilus-marshal-guts.h, since glib-genmarshal now generates correct standalone headers. * libnautilus/nautilus-clipboard.c (select_all_callback), * libnautilus-private/nautilus-entry.c (nautilus_entry_select_all_at_idle): Remove the idle on destrunction of the widget, rather than checking GTK_OBJECT_DESTROYED(). 2001-11-21 Michael Meeks * test/test-nautilus-wrap-table.c (main): fix. * test/test-nautilus-mime-actions.c (main): upd. init. * test/test.c (test_init): upd. (test_label_new): kill tile_pixbuf support. (test_image_new): ditto. * test/test-nautilus-async-activation.c (main): upd. * test/Makefile.am: add CORE_CFLAGS, update LDADD. * libnautilus-private/nautilus-directory.c (nautilus_directory_destroy): rename to (nautilus_directory_dispose): this, but leave as a gtk object for now, double emission protect, move removal from directories list to head & split into: (nautilus_directory_finalize): here. * libnautilus-private/nautilus-directory-async.c (nautilus_directory_async_state_changed): fully remove GTK_OBJECT_DESTROYED check. 2001-11-21 Michael Meeks * src/nautilus-main.c (main): kill g_log_domain_glib. * components/news/nautilus-news.c (main): ditto. * libnautilus-private/nautilus-marshal.h: upd. * libnautilus/nautilus-view.c (nautilus_view_class_init): update for new marshallers. * libnautilus-private/nautilus-directory-async.c (nautilus_directory_async_state_changed): #ifdef out GTK_OBJECT_DESTROYED check. * libnautilus/nautilus-clipboard.c (select_all_idle_callback): kill GTK_OBJECT_DESTROYED check; unneccessary. * libnautilus-private/nautilus-directory.c (nautilus_directory_find_file_by_internal_uri): ditto. * libnautilus-private/nautilus-entry.c (select_all_at_idle): ditto. * components/text/nautilus-text-view.c (file_read_callback): ditto. * src/file-manager/fm-properties-window.c (rename_callback): ditto. 2001-11-15 Ramiro Estrugo * src/nautilus-preferences-dialog.c: (preferences_dialog_populate_themes_group): Workaround the crashing preferences dialog problem. Turn off the theme chooser for now. The image chooser is broken because of EelLabel usage. Im hopeful that a general exorcism of EelLabel will fix this along with many other label related problems. 2001-11-13 Michael Meeks * components/tree/nautilus-tree-view.c (nautilus_tree_view_destroy): allow double destroys & split out (nautilus_tree_view_finalize): impl. (nautilus_tree_view_class_init): upd. * components/text/nautilus-text-view.c (nautilus_text_view_class_init): upd. (nautilus_text_view_destroy): allow double destroys. (nautilus_text_view_finalize): impl. * components/music/nautilus-music-view.c (nautilus_music_view_class_init): upd. (nautilus_music_view_destroy): upd. (nautilus_music_view_finalize): impl. * components/notes/nautilus-notes.c (do_destroy): don't do hacks around the old bonobo. * components/adapter/nautilus-adapter.c (nautilus_adapter_new): don't gtk_signal_connect_object to a BonoboObject. 2001-11-14 Darin Adler * src/nautilus-main.c: (main): Remove g_log_domain_gruntime. 2001-11-14 Frederic Crozat * libnautilus-private/nautilus-volume-monitor.c: (volume_is_automounted), (mount_volume_deactivate): Add detection of automounted volume, don't eject automounted CDROMs. * libnautilus-private/nautilus-volume-monitor.c: (nautilus_volume_monitor_set_volume_name): Fix search for volume to modify. 2001-11-12 Darin Adler * components/history/nautilus-history-view.c: * components/notes/nautilus-notes.c: * components/sample/nautilus-sample-content-view.c: * components/throbber/nautilus-throbber.c: Update to use proper boilerplate macros. Other porting tweaks. * libnautilus/nautilus-view.c: Switch to gnome version of macros instead of eel version. 2001-11-12 Michael Meeks * libnautilus/nautilus-view.c (view_frame_call_begin): guard against CORBA_OBJECT_NIL return from get_control_frame. 2001-11-12 Thomas Canty * configure.in: Initialise the gnome-vfs-module package, which is required for the help component * components/help/*.[c|am]: Get the help component working. * components/text/nautilus-text-view.c: Some work towards getting this file compiling. * components/throbber/main.c: register the factory iid directly. * components/tree/*.c: get the tree component compiling and linking. 2001-11-12 Michael Meeks * components/throbber/main.c: include string.h 2001-11-10 Thomas Canty * Lots of files: Work towards getting the components compiling and working. History, News, Notes and Throbber components are now working. * libnautilus/nautilus-view-standard-main.c: Change the initialisation to use bonobo_ui_init * src/nautilus-window-toolbars.c: Re-enable the throbber. 2001-11-10 Benedikt Roth * components/help/hyperbola-nav-index.c: * components/help/hyperbola-nav-tree.c: Include so that localization works 2001-11-09 Darin Adler * libnautilus-private/nautilus-horizontal-splitter.c: Remove unused stuff. * libnautilus-private/nautilus-icon-container.c: (destroy), (finalize), (nautilus_icon_container_class_init): Fix the destroy and finalize code for the new object lifetime rules. * libnautilus-private/nautilus-icon-dnd.c: (nautilus_icon_dnd_fini): Fix another multiple-invocation issue. * libnautilus-private/nautilus-program-chooser.c: (nautilus_program_chooser_new): Change response codes to match the way this worked under GnomeDialog. * libnautilus-private/README: Update wording a bit. 2001-11-09 Michael Meeks * src/nautilus-main.c (main): return bonobo_debug_shutdown, if only we could get there. * libnautilus-private/nautilus-icon-dnd.c (nautilus_icon_dnd_fini): don't try to double free the drag_info, allow mutliple invocations. 2001-11-08 Darin Adler * Lots of files. Get rid a lot of unneeded casts. 2001-11-08 Darin Adler * components/sample/Makefile.am: Cleanup, turn on all DISABLE_DEPRECATED. * libnautilus/Makefile.am: Turn on all DISABLE_DEPRECATED. * components/sample/nautilus-sample-content-view.c: (nautilus_sample_content_view_instance_init): Remove gratuitous assert. * libnautilus/nautilus-clipboard.c: (cut_callback), (copy_callback), (paste_callback): Remove bug workaround. (merge_in_clipboard_menu_items), (merge_out_clipboard_menu_items), (nautilus_clipboard_set_up_editable), (disconnect_set_up_in_control_handlers): gtk_signal -> g_signal. 2001-11-08 Darin Adler * MAINTAINERS: Just me, not the mailing list. * Makefile.am: Enable the components directory. * components/Makefile.am: Disable all but sample. * components/*/.cvsignore: * components/*/*.oaf.in: Removed. * components/*/*.server.in: Added. server -> oaf * components/*/Makefile.am: Install the servers in the right place. * configure.in: * libnautilus-adapter/Makefile.am: * libnautilus-private/Makefile.am: * src/Makefile.am: * src/file-manager/Makefile.am: Simplified CFLAGS, LIBS, and IDL_INCLUDES. * components/sample/Makefile.am: Switch to the new COMPONENT_CFLAGS. * components/sample/nautilus-sample-content-view.h: * components/sample/nautilus-sample-content-view.c: (nautilus_sample_content_view_finalize): Use instead of destroy. (bonobo_sample_callback): Mark string for localization. 2001-11-08 Darin Adler * src/file-manager/fm-error-reporting.c: (fm_report_error_loading_directory), (fm_report_error_renaming_file), (fm_report_error_setting_group), (fm_report_error_setting_owner), (fm_report_error_setting_permissions): Remove John Sullivan's email address from these error messages. * src/nautilus-view-frame.c: (shut_down), (nautilus_view_frame_unrealize), (nautilus_view_frame_destroy), (nautilus_view_frame_finalize), (nautilus_view_frame_class_init): Start shutting down in unrealize, since the BonoboPlug will also start shutting down then, and we don't want to misinterpret that as a failure. 2001-11-08 Darin Adler * configure.in: * cut-n-paste-code/widgets/Makefile.am: * cut-n-paste-code/widgets/e-paned: * libnautilus-private/Makefile.am: * libnautilus-private/nautilus-horizontal-splitter.c: * libnautilus-private/nautilus-horizontal-splitter.h: * src/nautilus-window.c: (nautilus_window_constructed), (nautilus_window_set_content_view_widget), (nautilus_window_hide_sidebar), (nautilus_window_show_sidebar), (nautilus_window_sidebar_showing): Remove e-paned. * configure.in: * data/Makefile.am: * data/linksets/ * libnautilus-private/Makefile.am: * libnautilus-private/nautilus-file-utilities.c: * libnautilus-private/nautilus-link-set.c: * libnautilus-private/nautilus-link-set.h: * src/Makefile.am: * src/nautilus-link-set-window.c: * src/nautilus-link-set-window.h: * src/nautilus-sidebar.c: (metadata_button_callback): Remove link sets. * libnautilus-private/nautilus-program-chooser.c: (launch_mime_capplet_on_ok), (launch_mime_capplet_and_close_dialog): * src/nautilus-window-menus.c: (forget_history_if_yes), (remove_bookmarks_for_uri_if_yes): Destroy dialogs when done, since GtkDialog doesn't do this for us. * src/nautilus-preferences-dialog.c: (preferences_dialog_create): Get rid of close signal handler, since default close handler does the same thing as a delete_event, which is what we want. We still might have to do something fancier on a delete_event. 2001-11-08 Darin Adler * NEWS: Remove Nautilus 1 news. This file is empty for now. * RENAMING: Add some renaming ideas. * TODO: Add a tiny porting to-do list. I should take that survey of GNOME2_CONVERSION_COMPLETE that Havoc did and put it in here. * TRADEMARK_NOTICE: Removed this file. Eazel logo isn't in here any more. * Makefile.am: Remove TRADEMARK_NOTICE. * components/help/hyperbola-nav-index.c: * components/mozilla/nautilus-mozilla-content-view.c: * libnautilus-private/nautilus-authn-manager.c: * libnautilus-private/nautilus-file-operations-progress.c: * libnautilus-private/nautilus-file-operations-progress.h: * libnautilus-private/nautilus-file-operations.c: * libnautilus-private/nautilus-icon-dnd.c: * libnautilus-private/nautilus-program-chooser.c: * libnautilus-private/nautilus-program-chooser.h: * libnautilus-private/nautilus-program-choosing.c: * src/file-manager/fm-directory-view.c: * src/file-manager/fm-search-list-view.c: * src/file-manager/nautilus-indexing-info.c: * src/nautilus-about.c: * src/nautilus-about.h: * src/nautilus-application.c: * src/nautilus-bookmarks-window.c: * src/nautilus-location-bar.c: * src/nautilus-property-browser.c: * src/nautilus-shell.c: * src/nautilus-window-menus.c: * src/nautilus-window.c: First cut at converting to GtkDialog from GnomeDialog. 2001-11-08 Anders Carlsson * libnautilus-private/nautilus-icon-dnd.c (nautilus_icon_dnd_update_drop_target): Plug a leak. 2001-11-08 Darin Adler * configure.in: Finish the job of removing the converters. 2001-11-07 Darin Adler * .cvsignore: Freshen up a bit. 2001-11-07 Darin Adler * acconfig.h: * configure.in: Switch to glib's gettext. * components/help/converters/*: Remove, since these were moved to libgnome. * Many files: Get rid of incorrect uses of many locale-specific functions like g_strcasecmp and isspace. 2001-11-07 Darin Adler * Makefile.am: * README: * nautilus-clean.sh: * nautilus.spec.in: * src/nautilus-application.c: (nautilus_application_startup): Remove nautilus-clean.sh -- use bonobo-slay instead. * libnautilus-private/nautilus-program-chooser.c: (nautilus_program_chooser_new): The -2 feature is gone from gtk_window_set_default_size, so use -1. * src/nautilus-sidebar-title.c: (smooth_font_changed_callback), (nautilus_sidebar_title_select_text_color), (update_title_font), (update_title), (measure_width_callback), (update_more_info), (sidebar_title_create_title_label), (sidebar_title_create_more_info_label): Change to use GtkLabel instead of EelLabel for now -- that makes us actually get a label. 2001-11-07 Darin Adler * components/help/help-method.c: * src/file-manager/fm-directory-view.c: * src/file-manager/fm-icon-view.c: These were still including . 2001-11-08 Maciej Stachowiak * libnautilus-private/nautilus-file.c, libnautilus-private/nautilus-link.c, libnautilus-private/nautilus-mime-actions.c: Tweak headers for latest gnome-vfs. I promise to stop messing with this now. 2001-11-06 Darin Adler * libnautilus-private/nautilus-find-icon-image.c: (read_details): libxml2 complains about NULL path, which libxml1 just handled by returning NULL, so check for NULL path. * libnautilus-private/nautilus-icon-canvas-item.c: (nautilus_icon_canvas_item_finalize), (nautilus_icon_canvas_item_class_init): Change destroy to finalize. (nautilus_icon_canvas_item_set_arg), (nautilus_icon_canvas_item_get_arg): Use pointer instead of boxed type for font. * src/nautilus-window-menus.c: (create_menu_item_from_node), (append_static_bookmarks): In the old days, all nodes were elements, but now we have nodes for text too. Change code to skip over non- element nodes. 2001-11-06 Darin Adler * Lots of files. Another GtkObject -> GObject pass. 2001-11-06 Darin Adler Did some fixes based on a patch Michael sent me. * cut-n-paste-code/widgets/e-paned/e-paned.c: (e_paned_class_init): Turn off e_paned_expose for now. * libnautilus-private/nautilus-icon-container.c: (nautilus_icon_container_class_init): Marshaller said the parameters were strings, but they were actually pointers to strings. * libnautilus/nautilus-view.c: (queue_incoming_call): Pass servant, not bonobo object. * src/nautilus-view-frame.c: (nautilus_view_frame_init), (attach_view): Switch to eel versions of connect_while_alive functions, since the gtk versions work only on gtk objects. 2001-11-06 Darin Adler * Lots of files. Another GtkObject -> GObject pass. 2001-11-06 Darin Adler Update for gnome-vfs API changes. * libnautilus-private/nautilus-file.c: Remove include of gnome-vfs-mime-info.h. Also switch to g_ascii_strcasecmp instead of g_strcasecmp. * libnautilus-private/nautilus-icon-factory.c: Remove includes of gnome-vfs-mime.h and gnome-vfs-mime-info.h. * libnautilus-private/nautilus-link-desktop-file.c: Remove include of gnome-vfs-mime.h. * libnautilus-private/nautilus-link-historical.c: (local_get_root_property): Rewrote to use gnome_vfs_get_file_info. Removed include of gnome-vfs-mime.h. * libnautilus-private/nautilus-link.c: (get_link_style_for_mime_type): New function. (get_link_style_for_local_file): New function, uses gnome_vfs_get_file_info instead of gnome_vfs_get_mime_type. (get_link_style_for_data): New function. (nautilus_link_local_create), (nautilus_link_local_set_icon), (nautilus_link_local_set_link_uri), (nautilus_link_local_set_type), (nautilus_link_local_get_additional_text), (nautilus_link_local_get_link_uri), (nautilus_link_local_get_link_type), (nautilus_link_get_link_uri_given_file_contents), (nautilus_link_get_link_name_given_file_contents), (nautilus_link_get_link_icon_given_file_contents), (nautilus_link_local_is_volume_link), (nautilus_link_local_is_home_link), (nautilus_link_local_is_trash_link), (nautilus_link_local_create_from_gnome_entry): Rewrote all of these to simplify and get rid of spread-out MIME type code. * libnautilus-private/nautilus-mime-actions.c: Remove include of gnome-vfs-mime-info.h. * src/Makefile.am: Remove extra dist-hook. 2001-11-06 Michael Meeks * src/nautilus-view-frame.c (create_corba_objects): upd. bind to zoomable. * components/image-viewer/nautilus-image-view.c (zoomable_set_zoom_level_callback): upd. for bonobo. * src/file-manager/fm-directory-view.c (fm_directory_view_set_zoom_level): ditto. * components/text/nautilus-text-view.c (nautilus_text_view_zoom_to_level): ditto. 2001-11-06 Michael Meeks * configure.in: update bonobo requirement to 1.106.0 bump bonobo-activation to 0.9.3, bump canvas and libgnome[ui] to 1.105, ORBit2 >= 2.3.97, glib, gtk+, gdk-pixbuf >= 1.3.10, gconf >= 1.1.3 * components/adapter/nautilus-adapter-control-embed-strategy.c (nautilus_adapter_control_embed_strategy_activate): add NULL opt_ev to bonobo_ui_util_set_ui and/or bonobo_control_frame_set_ui_container * components/adapter/nautilus-adapter-embeddable-embed-strategy.c (nautilus_adapter_embeddable_embed_strategy_activate): ditto. * libnautilus/nautilus-view.c (nautilus_view_set_up_ui): ditto. * libnautilus/nautilus-clipboard.c (merge_in_clipboard_menu_items): ditto. * src/nautilus-window.c (nautilus_window_constructed): ditto. * src/file-manager/fm-desktop-icon-view.c (real_merge_menus): ditto. * src/file-manager/fm-search-list-view.c (real_merge_menus): ditto. * libnautilus/nautilus-view.c (nautilus_view_set_up_ui): ditto. 2001-11-05 Darin Adler * cut-n-paste-code/widgets/e-paned/e-paned.c: (e_paned_handle_shown): Fix a G_OBJECT_CLASS that should have been G_OBJECT_GET_CLASS. * libnautilus-private/Makefile.am: Add back the dependency on the cut-n-paste libraries. * libnautilus-private/nautilus-bonobo-extensions.c: (nautilus_bonobo_get_hidden): Silently ignore when there's no "hidden" attribute rather than warning every time. * libnautilus-private/nautilus-icon-factory.c: (nautilus_icon_factory_get_pixbuf_for_icon): Ref all the pixbufs on their way out of the icon factory since we don't have a new strategy for removing them from the cache when the caller is done yet. * src/nautilus-sidebar-title.c: (sidebar_title_create_more_info_label): Don't call make_smaller so Havoc won't complain every time we do it. * src/nautilus-view-frame.c: (nautilus_view_frame_destroy): Check for NULL so we can call destroy any number of times. * src/nautilus-window-toolbars.c: (nautilus_window_initialize_toolbars): Turn off the code that tries to load the throbber since we aren't compiling it yet. * components/loser/content/nautilus-content-loser-ui.xml: * components/loser/sidebar/nautilus-sidebar-loser-ui.xml: * components/sample/nautilus-sample-content-view-ui.xml: * libnautilus/nautilus-clipboard-ui.xml: * src/nautilus-shell-ui.xml: Update for new names of stock icons. 2001-11-03 Darin Adler * Tons of files. More GtkObject -> GObject stuff. 2001-11-03 Darin Adler * Many files. Update for change in Eel boilerplate macro names. * src/nautilus-application.c: (nautilus_application_startup): GtkObject -> GObject. * src/nautilus-shell.c: (nautilus_shell_class_init), (finalize), (nautilus_shell_new): GtkObject -> GObject. 2001-11-02 Darin Adler * src/Makefile.am: Put the server file in the right directory. * nautilus.spec.in: Fix some things -- still totally wrong. 2001-11-02 Darin Adler * src/nautilus-location-bar.c: (try_to_expand_path): Get rid of use of gnome_vfs_uri_get_basename. Not sure if I fixed this right. This could have been the one caller who really wanted a basename-type call. 2001-11-01 Havoc Pennington * libnautilus/nautilus-clipboard.c (select_all): remove GtkText workaround (I'm also checking in a fix for the bug being worked around) * libnautilus-private/nautilus-bookmark.c (nautilus_bookmark_menu_item_new): replace some PixmapMenuItem with ImageMenuItem * src/file-manager/fm-directory-view.c (set_script_environment_variables): use eel_gtk_window_get_geometry_string * src/nautilus-zoom-control.c: just nuke the draw method, it ain't coming back * src/nautilus-window.c (set_initial_window_geometry): remove gtk_window_set_policy() that was useless, and replace set_usize with set_size_request. (nautilus_window_constructed): remove menu_bar_no_resize_hack, I have no idea what GTK bug it's talking about, neither does the referenced bug report say, but if we see it again we'll fix it. (plus it says the bug is unsigned math, and GTK 2 pretty much did a global s/uint/int/, especially in the size request/alloc code) * src/nautilus-desktop-window.c (realize): just remove the gnome_win_hints stuff, as the FIXME says, it's dead. (realize): remove the set_decorations, set_functions, and the move_resize, all cruft (nautilus_desktop_window_init): simplify some cruft in here * src/nautilus-bookmarks-window.c (nautilus_bookmarks_window_save_geometry): use eel_gtk_window_get_geometry_string * src/nautilus-window.c (nautilus_window_save_geometry): ditto 2001-11-01 Darin Adler More changes to make Nautilus get closer to running. * libnautilus-private/nautilus-bonobo-extensions.h: Remove NAUTILUS_BONOBO_X_BOILERPLATE, superceded by EEL_DEFINE_ BONOBO_BOILERPLATE * libnautilus-private/nautilus-directory-metafile-monitor.c: * libnautilus-private/nautilus-metafile.c: * libnautilus-private/nautilus-undo-context.c: * libnautilus/nautilus-undo-transaction.c: Same fixes Havoc did, formatted differently. * libnautilus-private/nautilus-undo-manager.c: (corba_append), (corba_forget), (corba_undo), (nautilus_undo_manager_new), (finalize), (nautilus_undo_manager_class_init): GtkObject -> GObject fixes. bonobo_object_from_servant fixes. * nautilus-clean.sh: Not sure if we still need this, but change gconfd-1 to gconfd-2 and oafd to bonobo-activation-server. * nautilus.spec.in: Some updates, not sure if they are right. * src/nautilus-application.c: (nautilus_application_new), (nautilus_application_finalize), (nautilus_application_class_init): GtkObject -> GObject fixes. * src/nautilus-main.c: (main): Use gnome_program_init. * src/Makefile.am: Define a bunch more stuff used by GNOME_PROGRAM_STANDARD_PROPERTIES. 2001-11-01 Havoc Pennington * src/nautilus-view-frame-corba.c: fix EEL_DEFINE_BONOBO_BOILERPLATE call * src/nautilus-property-browser.c (nautilus_property_browser_init): mnemonics * src/nautilus-complex-search-bar.c (attach_criterion_to_search_bar): use gtk_widget_activate instead of eel_gtk_button_auto_click * src/nautilus-simple-search-bar.c (nautilus_simple_search_bar_new): ditto * src/nautilus-sidebar.c (nautilus_sidebar_update_buttons): remove eel_gtk_button_set_standard_padding, add mnemonic to button * src/nautilus-bookmarks-window.c (create_bookmarks_window): remove eel_gtk_button_set_standard_padding, add mnemonic to button * src/file-manager/fm-properties-window.c (create_basic_page): remove eel_gtk_button_set_standard_padding, add mnemonics to buttons * src/file-manager/fm-directory-view.c (copy_or_cut_files): remove use of eel_get_current_event_time() (paste_files_callback): ditto * Makefile.am (SUBDIRS): cut-n-paste-code seems to be required by libnautilus-private, so move it before libnautilus-private * libnautilus-private/nautilus-undo-manager.c: fix EEL_DEFINE_BONOBO_BOILERPLATE call * libnautilus-private/nautilus-undo-context.c: fix EEL_DEFINE_BONOBO_BOILERPLATE call * libnautilus-private/nautilus-program-chooser.c (nautilus_program_chooser_new): axe eel_gtk_button_set_standard_padding, add mnemonic to button (nautilus_program_chooser_new): axe eel_gtk_button_set_standard_padding, add mnemonic to button * libnautilus-private/nautilus-metafile.c: fix EEL_DEFINE_BONOBO_BOILERPLATE call * libnautilus-private/nautilus-metafile-factory.c: fix EEL_DEFINE_BONOBO_BOILERPLATE call * libnautilus-private/nautilus-icon-dnd.c (nautilus_icon_dnd_begin_drag): replace eel_drag_set_icon_pixbuf * libnautilus-private/nautilus-directory-metafile-monitor.c: fix EEL_DEFINE_BONOBO_BOILERPLATE call * libnautilus/nautilus-undo-transaction.c: fix EEL_DEFINE_BONOBO_BOILERPLATE call 2001-11-01 Louise Miller * Lots of files in components/help Intregation of scrollkeeper indexing capabilities into nautilus. 2001-10-31 Darin Adler * configure.in: * Makefile.am: Removed nautilus-config and nautilusConf.sh stuff. Get rid of applets, helper-scripts, and helper-utilities. Compile user-guide, help, and omf-install. * applets/ * helper-scripts/ * helper-utilities/ Removed. * src/Nautilus_shell.oaf.in: Renamed to .server.in. * src/.cvsignore: Ignore the new .server. * src/nautilus-view-frame.c: Add missing include. * src/nautilus-window.c: (nautilus_window_allow_stop): Put code in #if GNOME2_CONVERSION_COMPLETE. 2001-10-31 Darin Adler * README: Try to be kinda up to date. * configure.in: Fix dependencies. I removed too many last time so idl compiles all failed. 2001-10-30 Darin Adler * Lots of files: cut-n-paste-code now compiles, and we are a hair's breadth away from linking -- so far from running, though 2001-10-30 Darin Adler * Lots of files: src now compiles -- next problem is linking 2001-10-29 Darin Adler * Lots of files: libnautilus-private now compiles -- on to src 2001-10-29 Darin Adler * configure.in: Locate glib-genmarshal. * libnautilus-private/.cvsignore: * libnautilus-private/Makefile.am: * libnautilus-private/nautilus-marshal.list: * src/nautilus-view-frame.c: (nautilus_view_frame_class_init): * src/nautilus-zoom-control.c: (nautilus_zoom_control_class_init): Add marshalers used inside Nautilus only. * components/adapter/nautilus-adapter-load-strategy.c: (nautilus_adapter_load_strategy_class_init): * libnautilus-private/nautilus-horizontal-splitter.c: * libnautilus-private/nautilus-icon-canvas-item.c: * libnautilus-private/nautilus-icon-text-item.h: Put code in #if GNOME2_CONVERSION_COMPLETE. * libnautilus-private/nautilus-icon-container.c: (set_pending_icon_to_reveal), (nautilus_icon_container_class_init), (nautilus_icon_container_init), (set_pending_icon_to_rename): Convert signal-handling code. * libnautilus-private/nautilus-icon-dnd.c: (get_data_on_first_target_we_support): Update for GdkAtom changes. (confirm_switch_to_manual_layout): Switch to GtkDialog. 2001-10-28 Darin Adler * Lots of files: More GNOME 2 work. We now compile up to libnautilus-private and I'm working my way through the files in there. Also changed all the initialize_class and initialize to class_init and init. 2001-10-25 Thomas Canty * Lots of files: More work towards compiling under GNOME 2 2001-10-24 Darin Adler * Lots of files: First baby steps at compiling under GNOME 2. 2001-10-24 Anders Carlsson * libnautilus-private/nautilus-file.c (nautilus_file_get_activation_uri): If the file is a symbolic link, return the uri the file points at. Fixes bug #48353. The fix is not perfect though, so the bug is still open. 2001-10-21 Benedikt Roth * libnautilus-private/nautilus-link-desktop-file.c: (nautilus_link_desktop_file_get_link_name_from_desktop): Use the localized string === Gnome 1 Nautilus development continues on nautilus-gnome-1 stable branch === === nautilus 1.0.5 === 2001-10-19 Darin Adler * NEWS: Add mention of Mozilla 0.9.5. * THANKS: Thank Frank. * README: Make a little more up to date, but still needs work. 2001-10-18 Darin Adler Fixed a bunch of bugs that were causing directory display to be even slower than it ought to be. The hysteresis wasn't working at all because of the confusion about when files were ready for display. Also changed hysteresis to 1 second and file chunk to 300 files instead of 100. * libnautilus-private/nautilus-directory-async.c: (link_info_gmc_link_read_callback): Fix function so it uses the actual URI, not the thing that starts with URL. The old way it was always failing to read. There were some other backwards if statements in here too. * src/file-manager/fm-directory-view.h: * src/file-manager/fm-directory-view.c: (fm_directory_view_initialize): Create "non-ready files" hash. (fm_directory_view_destroy): Destroy it. (real_file_still_belongs): Move this here from FMListView. (still_should_show_file): New function, used to decide whether to keep a file in the window or not. (ready_to_load): New function, used to decide whether a file is ready enough to show in the window. (process_new_files): Move files from the "new files" lists to the "old files" lists, filtering out ones that are not ready to load and putting those into the "non-ready files" hash. Also sort the added files so the ones that show up at the top are the first to be added. (split_off_first_n): Renamed to eliminate the "g" namespace. (process_old_files): The guts of what used to be in display_pending_files. Now we use a separate signal for remove instead of just reusing the changed signal. (display_pending_files): We're not done loading until all the "non-ready files" are ready. Also reverse the sense of the return value, so it returns TRUE if there is more work to do. (display_pending_idle_callback): Don't zero out the idle ID if we are going to return TRUE. (display_pending_timeout_callback): If there are more files than we can handle, do the remainder at idle time, not in another timeout. (schedule_idle_display_of_pending_files): Lower the priority so we are more likely to get canvas updates between idles. (done_loading_callback): We're not done until there are no "non-ready files" left. (fm_directory_view_queue_file_change): Tiny optimization. (unref_key_and_remove): Helper function for clearing out the "non-ready files" hash. (fm_directory_view_stop): Clear out the 4 lists and the hash (it used to just be 2 lists). (real_sort_files): Default implementation, doesn't sort. (fm_directory_view_initialize_class): Various new methods. * src/file-manager/fm-icon-view.c: (fm_icon_view_add_file): Do less work, since the rules about which files should be shown and which files are ready to be seen are now in FMDirectoryView. (fm_icon_view_remove_file): New function. (fm_icon_view_file_changed): Do way less work, since FMDirectoryView does the heavy lifting now. (play_file), (preview_audio): Some rudimentary fixes, still seems to be broken. (compare_files): New function. (compare_files_cover): New function. (fm_icon_view_sort_files): If automatic layout is on, sort the files on their way in so the first ones displayed are the top left ones. (icon_container_compare_icons_callback): Share code by using the new compare_files function. (fm_icon_view_initialize_class): Various new methods. * src/file-manager/fm-list-view.h: * src/file-manager/fm-list-view.c: (fm_list_view_initialize_class): Various new methods. (fm_list_view_add_file): Do less work, since the rules about which files should be shown and which files are ready to be seen are now in FMDirectoryView. (fm_list_view_file_changed): Do way less work, since FMDirectoryView does the heavy lifting now. (fm_list_view_remove_file): New function. (fm_list_view_sort_files): This replaces the old override of display_pending_files. * src/file-manager/fm-search-list-view.c: (fm_search_list_view_initialize_class): The file_still_belongs method moved to FMDirectoryView. 2001-10-15 Darin Adler Switch to require Mozilla 0.9.5 -- sadly this means we are now incompatible with any older verion. Thanks to frb@ximian.com for his patch and help making it compile with 0.9.5. * README: Tell people 0.9.5 is needed. * configure.in: Various cleanup, and ask for 0.9.5. * components/mozilla/mozilla-events.cpp: * components/mozilla/nautilus-mozilla-embed-extensions.cpp: Work around gcc bug with the directory named string. Switch to use new calls in cases where the old ones are gone. 2001-10-13 Carlos Perelló Marín * configure.in (ALL_LINGUAS): Added pt 2001-10-12 Darin Adler * src/file-manager/fm-directory-view.c: Change hysteresis value from .1 second to 4 seconds. I think this will get rid of the slowness people have been reporting. 2001-10-12 Darin Adler * configure.in: Bumped gnome-vfs requirement to 1.0.3. 2001-10-11 Darin Adler * Makefile.am: Remove RPMs-README. * libnautilus/Makefile.am: -I$(builddir) * libnautilus/nautilus-undo-private.h: * libnautilus/nautilus-undo-transaction.h: Use #include rather than #include "x.h". * NEWS: Some refinement. 2001-10-11 Darin Adler * NEWS: Add a first cut at Nautilus 1.0.5 release notes. * THANKS: Updated to match change log better. * configure.in: Bumped version to 1.0.5 in preparation for the release. 2001-10-09 Alex Larsson * libnautilus-private/nautilus-find-icon-image.c: Include libgnomevfs/gnome-vfs-utils.h, needed for gnome_vfs_icon_path_from_filename(). * libnautilus-private/nautilus-volume-monitor.c (copy_volume): Copy is_read_only. 2001-10-09 Darin Adler * configure.in: Require newer versions of various libraries to cut down on the bug reports with people using newer nautilus and older versions of those libraries. Including bonobo 1.0.9, eel 1.0.2, librsvg 1.0.1. Remove the freetype stuff here, since that's all taken care of in librsvg. Remove old GNOME2_PATH thing that is definitely not needed. Remove gnome_canvas_set_dither check which is now in eel if needed at all. Remove ammonite configure flags. * nautilus.spec.in: Remove freetype dependencies. This is now handled in librsvg. * components/mozilla/Makefile.am: * components/mozilla/main.c: (main): * components/mozilla/nautilus-mozilla-content-view.c: (mozilla_location_callback), (mozilla_link_message_callback), (mozilla_dom_mouse_click_callback), (navigate_mozilla_to_nautilus_uri), (post_widget_initialize): * src/Makefile.am: Remove dependencies on ammonite and some more remnants of Eazel services code. 2001-10-09 Darin Adler * libnautilus-private/nautilus-find-icon-image.c: (get_themed_icon_file_path): Fix typo. 2001-10-09 Darin Adler * libnautilus-private/nautilus-find-icon-image.c: (get_themed_icon_file_path): Fix problem with NULL themes. 2001-10-08 Darin Adler * libnautilus-private/nautilus-file.c: (get_automatic_emblems_as_integer), (prepend_automatic_emblem_names): Bend to the forces of practicality and mediocrity and turn off the trash emblem until we can make the "in trash" check fast. * libnautilus-private/nautilus-icon-factory.c: Tweak formatting. 2001-10-08 Darin Adler Separate out the part of the code that locates icons. * libnautilus-private/Makefile.am: New source files. * libnautilus-private/nautilus-find-icon-image.h: New. * libnautilus-private/nautilus-find-icon-image.c: New. * libnautilus-private/nautilus-icon-factory.c: (cache_icon_new): Use new theme structure. (nautilus_icon_factory_destroy): Use new theme structure. (get_mime_type_icon_without_suffix): Use suffix remove function moved into new file by its new name. (set_theme_name): Helper function to keep the theme change code simpler. (icon_theme_changed_callback): Rewrote to get rid of confused juxtaposition of old and new theme concepts. (image_uri_to_name_or_uri): Use suffix remove function moved into new file by its new name. (nautilus_icon_factory_get_emblem_icon_by_name): Use emblem prefix by new name. (load_named_icon): Use nautilus_get_icon_file_name function in new source file. (load_specific_icon), (scale_icon), (load_icon_with_embedded_text): IconDetails is now NautilusIconDetails. 2001-10-07 Darin Adler * Makefile.am: * data/Makefile.am: * helper-scripts/Makefile.am: A few DESTDIR fixes. * libnautilus-private/nautilus-icon-factory.c: Cache more icons. The old number was arbitrary and way too small. 2001-10-05 Darin Adler * libnautilus-private/nautilus-icon-factory.c: Remove gratuitous suffixes from the icon file search. We now look only for .svg and .png and .jpg files. Lets use .png files most of the time. 2001-10-05 Darin Adler * eazel-logos: removed * libnautilus-private/nautilus-file-utilities.c: (nautilus_pixmap_file): Remove the code to look for Eazel logos. * configure.in: * Makefile.am: * nautilus.spec.in: Remove the code to include the Eazel logos in the tarball and the package. * HACKING: Remove the instructions on how to omit the Eazel logos. 2001-10-05 Benedikt Roth * src/file-manager/fm-properties-window.c: (uri_is_local_image), (fm_properties_window_drag_data_received), (create_image_widget_for_file): Implemented DnD for the icon in the file properties dialog 2001-10-04 Darin Adler A bit more renaming to be explicit about "display name". This is slightly gratuitious, because we don't really need to be explicit about which name in every case, but it does no harm and a tiny bit of good. * components/tree/nautilus-tree-view.c: (ctree_compare_rows): * libnautilus-private/nautilus-file.c: (compare_by_display_name), (compare_by_full_path), (nautilus_file_compare_for_sort_internal), (compare_by_display_name_cover), (nautilus_file_list_sort_by_display_name), (nautilus_self_check_file): * libnautilus-private/nautilus-file.h: * libnautilus-private/nautilus-global-preferences.c: (default_icon_view_sort_order_or_manual_layout_changed_callback): * src/file-manager/fm-desktop-icon-view.c: (desktop_icons_compare_callback): * src/file-manager/fm-directory-view.c: (update_directory_in_scripts_menu): * src/file-manager/fm-icon-view.c: (get_default_sort_order), (icon_container_compare_icons_by_name_callback): * src/file-manager/fm-list-view.c: (compare_rows_by_name), (get_attribute_from_sort_type), (real_get_column_specification): * src/file-manager/fm-search-list-view.c: (real_get_column_specification): Change NAUTILUS_FILE_SORT_BY_NAME to NAUTILUS_FILE_SORT_BY_DISPLAY_NAME and compare_by_name to compare_by_display_name and nautilus_file_list_sort_by_name to nautilus_file_list_sort_by_display_name. 2001-10-04 Maciej Stachowiak * libnautilus-private/nautilus-file-attributes.h, libnautilus-private/nautilus-file-private.h: Rename CUSTOM_NAME attribute to DISPLAY_NAME. * libnautilus-private/nautilus-file.h, libnautilus-private/nautilus-file.c: (nautilus_file_get_name): Always return the real name of the file. (nautilus_file_get_display_name): New function which returns the display name of the file, taking into account special names that may be set for .desktop files or gmc-style links, as nautilus_file_get_name formerly did. (nautilus_file_compare_display_name): Use display name and rename for clarity. (destroy, compare_by_name, nautilus_file_get_string_attribute, nautilus_file_get_all_attributes, nautilus_self_check_file): Adjust for custom_name->display_name change, use nautilus_file_get_display_name instead of nautilus_file_get_name where appropriate. * libnautilus-private/nautilus-directory-async.c: (nautilus_directory_set_up_request), (link_info_done, (link_info_gmc_link_read_callback): Adjust for custom_name->display_name change. In all the places below, use nautilus_file_get_display_name instead of nautilus_file_get_name: * components/text/nautilus-text-view.c: (file_read_callback): * components/tree/nautilus-tree-model.c: (nautilus_tree_model_monitor_add), (nautilus_tree_model_node_begin_monitoring_no_connect): * components/tree/nautilus-tree-view.c: (nautilus_tree_view_insert_model_node), (nautilus_tree_view_update_model_node): * libnautilus-private/nautilus-program-chooser.c: (get_file_name_for_display): * libnautilus-private/nautilus-program-choosing.c: (application_cannot_open_location): * src/file-manager/fm-directory-view.c: (fm_directory_view_display_selection_info), (real_file_limit_reached), (file_name_from_uri), (add_script_to_script_menus), (add_submenu_to_script_menus), (copy_or_cut_files), (get_executable_text_file_action), (fm_directory_view_activate_file), (finish_loading): * src/file-manager/fm-error-reporting.c: (fm_report_error_loading_directory), (fm_report_error_renaming_file), (fm_report_error_setting_group), (fm_report_error_setting_owner), (fm_report_error_setting_permissions), (fm_rename_file): * src/file-manager/fm-icon-view.c: (icon_container_preview_callback), (get_icon_text_callback): * src/file-manager/fm-list-view.c: (match_row_name): * src/file-manager/fm-properties-window.c: (name_field_update_to_match_file), (update_properties_window_title), (create_permissions_page), (create_properties_window): * src/file-manager/fm-search-list-view.c: (real_adding_file): * src/nautilus-window-manage-views.c: (compute_default_title): * src/nautilus-window.c: (nautilus_window_set_viewed_file): 2001-10-02 Darin Adler Fix the longstanding problem where the Notes and History sidebar panels failed to load. * libnautilus-private/nautilus-directory-metafile.c: (die_on_failed_activation): Give better error messages. (get_factory): Check the ev result from oaf_activate_from_id rather than relying on getting NIL when it fails. (open_metafile): New helper function. (get_metafile): Don't complain if the open call fails the first time, and re-get the factory and retry before doing a g_error. 2001-10-02 Darin Adler * src/nautilus-window.c: (nautilus_window_destroy), (nautilus_window_set_viewed_file): Fix bug where we would leave a file monitored when we closed the window. * libnautilus-private/nautilus-volume-monitor.c: (mount_unmount_callback): Formatting tweaks. 2001-10-02 Frederic Crozat * libnautilus-private/filesystem-attributes.xml: add support for JFS * libnautilus-private/nautilus-volume-monitor.c: (close_error_pipe), (mount_unmount_callback): Set locale to "C" before running mount/umoun to be able to parse mount message in english 2001-10-01 Darin Adler * libnautilus-private/nautilus-directory-async.c: (deep_count_start): Say that the deep count of a non-directory is "done" rather "not started". This was causing an infinite loop when doing the directory self-check. 2001-10-01 Benedikt Roth * libnautilus-private/nautilus-file-operations.c: (parse_previous_duplicate_name), (make_next_duplicate_name), (nautilus_self_check_file_operations): Fix #47701, Duplicate numbering scheme does not correctly number the 11th, 12th, and 13th copies 2001-10-01 Alex Larsson * data/Makefile.am (install-data-local): Move sysconfig and serverconfig out of starthere. That was a merge error. 2001-10-01 Darin Adler * README: Updated tags and build order in the README to match what Nautilus hackers really use. 2001-09-28 Darin Adler * configure.in: Bump gnome-vfs requirement to 1.0.2, since we use new APIs that aren't in 1.0.1. 2001-09-27 Benedikt Roth * components/hardware/nautilus-hardware-view.c: (get_CPU_description): i18n fixes for cpu speed and cache size (fixes #45298) * icons/gnome/gnome.xml: Fix #48322, Theme description for new Gnome theme lacks a dot 2001-09-27 Darin Adler * components/news/nautilus-news.c: (draw_rss_logo_image): Format time using eel_strdup_strftime so we don't have a fixed maximum buffer size and marked the time format for localization. 2001-09-26 Alex Larsson * components/mozilla/nautilus-mozilla-content-view.c: Allow the mozilla component to open Chrome windows. This is needed for simple dialogs when e.g. submitting forms. 2001-09-26 Alex Larsson Merged more patches from the Red Hat branch. 2001-09-20 Alex Larsson * libnautilus-private/nautilus-desktop-file-loader.c: Correct filename in header. (nautilus_desktop_file_new): Use g_new0 (nautilus_desktop_file_load): Don't initialize contents. Don't need to check contents for NULL. (nautilus_desktop_file_foreach_section): Coding style fix. * libnautilus-private/nautilus-link-desktop-file.c (nautilus_link_desktop_file_local_create): Use fputs instead of fwrite. 2001-09-19 Alex Larsson * libnautilus-private/nautilus-link-desktop-file.c (nautilus_link_desktop_file_get_link_uri_from_desktop): Handle broken .desktop file with type "URL". * libnautilus-private/nautilus-icon-factory.c: Load the default icon name even when we have a custom icon uri. It may be needed if the custom icon was not there. 2001-09-19 Alex Larsson * libnautilus-private/nautilus-directory-async.c (make_dot_directory_uri): gnome_vfs_uri_new() may fail. (link_info_start): Handle make_dot_directory_uri failing. * libnautilus-private/nautilus-icon-container.c: Remove fixed FIXME. * libnautilus-private/nautilus-link-desktop-file.c (slurp_key_string): Pass uris to nautilus_desktop_file_load (). (nautilus_link_desktop_file_local_create): Create files using FILE * instead of GnomeVFS. (nautilus_link_desktop_file_local_set_icon, nautilus_link_desktop_file_local_get_link_uri): The argument is a path, not a uri. (nautilus_link_desktop_file_local_set_type, nautilus_link_desktop_file_local_set_link_uri): Remove failing functions. (nautilus_link_desktop_file_local_get_additional_text): Comment out additional text for now. * libnautilus-private/nautilus-link-desktop-file.h (nautilus_link_desktop_file_local_set_type, nautilus_link_desktop_file_local_set_link_uri): Remove failing functions. * libnautilus-private/nautilus-link-historical.c: (local_get_root_property): Always use paths for the arguments. * libnautilus-private/nautilus-link.c: Make nautilus_link_local_set_link_uri and nautilus_link_local_set_type not be called for .desktop files. * src/file-manager/fm-directory-view.c: Remove unnecessary include * src/file-manager/fm-icon-view.c: Re-enable additional text. 2001-09-19 Alex Larsson * libnautilus-private/Makefile.am: * libnautilus-private/nautilus-desktop-file-loader.[ch]: * libnautilus-private/nautilus-link-historical.[ch]: Rename nautilus-link-impl to nautilus-link-historical and nauitlus-link-desktop to nautilus-link-desktop-file. * libnautilus-private/nautilus-link-impl-desktop.[ch]: * libnautilus-private/nautilus-link-impl.[ch]: Removed old files. * libnautilus-private/nautilus-link.c: * libnautilus-private/nautilus-file.c: * libnautilus-private/nautilus-icon-factory.c: Update for the renames. * libnautilus-private/nautilus-desktop-file-loader.c: Some coding style changes. 2001-09-18 Alex Larsson * libnautilus-private/desktop-file-loader.[ch], libnautilus-private/nautilus-desktop-file.[ch]: Removed files. * libnautilus-private/nautilus-desktop-file-loader.[ch], libnautilus-private/Makefile.am: New, cleaned up version of the desktop-file loader. * libnautilus-private/nautilus-link-impl-desktop.c: Update to the new desktop file parser names. 2001-09-13 Maciej Stachowiak * libnautilus-private/nautilus-file.c (nautilus_file_contains_text): Fix test for NULL mime type with reverse polarity; don't free the mime type string since we are not copying it. I could have sworn I fixed both of these problems before merging my changes to the RH branch! 2001-09-01 Maciej Stachowiak Merged changes from mjs-patches-to-redhat-patches branch to redhat-outstanding-patches: 2001-08-27 Maciej Stachowiak * libnautilus-private/nautilus-directory-async.c (nautilus_directory_invalidate_count_and_mime_list): Fix a reference count underflow. 2001-08-27 Maciej Stachowiak * libnautilus-private/nautilus-directory-async.c: (link_info_read_done, start_or_stop_io, file_needs_high_priority_work_done, file_needs_low_priority_work_done, file_needs_work_done, nautilus_directory_add_file_to_work_queue, nautilus_directory_remove_file_from_work_queue, move_file_to_low_priority_queue): Use two queues instead of one for file attributes. The high priority attributes are ones needed to display an icon at all (file_info and link_info), the rest are things that can be displayed later. This change makes directory counts and top left text generally get loaded after all the files appear, instead of slowing down the load. * libnautilus-private/nautilus-directory-private.h: Adjusted for the two queue change. libnautilus-private/nautilus-directory.c (nautilus_directory_initialize, nautilus_directory_destroy): Likewise. * libnautilus-private/nautilus-file-queue.h, libnautilus-private/nautilus-file-queue.c: (nautilus_file_queue_new, nautilus_file_queue_destroy, nautilus_file_queue_enqueue, nautilus_file_queue_dequeue, nautilus_file_queue_remove, nautilus_file_queue_head, nautilus_file_queue_is_empty): New data structure that provides a queue of NautilusFiles that allows constant time removal from an arbitrary point in the list and avoids storing duplicates (basically factored out this code from nautilus-direcvtory-async). * libnautilus-private/Makefile.am: Add nautilus-file-queue.[ch] to build. 2001-08-27 Maciej Stachowiak * libnautilus-private/nautilus-directory-async.c (lacks_link_info): If we can determine here that link info will not be applicable to this file, set the proper flags and say it's not wanted. This removes much of the chunky loading effect the previous changes were causing. (link_info_start): Make test for gmc link more efficient by using nutilus_file_is_mime_type for mime type checking. * libnautilus-private/nautilus-file.c: (nautilus_file_contains_text): Speed this check up by avoiding memory allocation. 2001-08-25 Maciej Stachowiak Reworked nautilus-directory-async to maintain a queue of files that need some async I/O done, to avoid n^2 behavior on large directory loads. * libnautilus-private/nautilus-directory-private.h: Added declarations of file queue data structures and functions. * libnautilus-private/nautilus-directory-async.c: (nautilus_directory_add_file_to_work_queue, add_all_files_to_work_queue, nautilus_directory_remove_file_from_work_queue): New functions for managing work queue. (file_needs_work_done): New function to determine when a file needs async I/O of any kind done. (nautilus_directory_monitor_add_internal, nautilus_directory_monitor_remove_internal, nautilus_directory_remove_file_monitors, nautilus_directory_add_file_monitors, nautilus_directory_call_when_ready_internal, nautilus_directory_force_reload_internal): Add files to work queue or remove files from work queue as appropriate. (nautilus_directory_invalidate_count_and_mime_list): Invalidate using the generic file attribute invalidation code, to make sure the right file is added to the work queue. (lacks_directory_count, lacks_deep_count, lacks_mime_list): Don't bother to check if it's a directory, since the relevant `_start' functions will check for that case and set the flag that says the data is up to date. (file_list_start_or_stop): Renamed to make effects more clear. (directory_count_callback): Set directory count info properly in the failure case. (link_info_done): Don't send a file changed notification here, since this might be called in cases where link info doesn't apply, and we don't want to send a notice in that case. (link_info_read_done): Instead, send it here, since cases where the link info applies all go through here. (top_left_read_done): Don't say we got the top left text when it failed. (directory_count_stop, directory_count_start, deep_count_stop, deep_count_start, mime_list_stop, mime_list_start, top_left_read_callback, top_left_stop, top_left_start), file_info_stop, file_info_start, link_info_stop, link_info_start): Split start and stop functions; make start functions take a file to start work on, if applicable, instead of searching the file list for a needy file. (start_or_stop_io): Revise algorithm as follows: stop all I/O that is no longer wanted; remove all files from the head of the queue that need no more I/O; and start any needed I/O for the file currently at the head of the queue. * libnautilus-private/nautilus-directory.c: (nautilus_directory_initialize, nautilus_directory_destroy): Create and destroy work queue hash table. (nautilus_directory_add_file, nautilus_directory_remove_file): Add file to or remove file from work queue. * libnautilus-private/nautilus-file.c (nautilus_file_invalidate_attributes): Add file to work queue. 2001-08-22 Maciej Stachowiak * libnautilus-private/nautilus-icon-factory.c: (image_uri_to_name_or_uri, nautilus_icon_factory_get_icon_for_file): Don't crash (oops). 2001-08-21 Maciej Stachowiak * libnautilus-private/nautilus-icon-factory.c (nautilus_icon_factory_get_icon_for_file): Fix slight merge problem. 2001-08-21 Maciej Stachowiak These changes are meant to fix some of the areas of slowness uncovered by getting the link info asynchronously. They don't do the job all the way though. * libnautilus-private/nautilus-directory-async.c: (lacks_top_left, lacks_link_info, top_left_start): Fix these up a bit to avoid doing the more expensive mime type comparing checks too frequently. * libnautilus-private/nautilus-icon-private.h, libnautilus-private/nautilus-icon-container.c: (destroy), (nautilus_icon_container_initialize), (nautilus_icon_container_clear), (icon_destroy), (nautilus_icon_container_add), (nautilus_icon_container_remove), (nautilus_icon_container_request_update), (nautilus_icon_container_reveal): Add a hashtable mapping from icon data to icons, to make some formerly linear operations constant time and so hopefully avoid N^2 behavior. Manage the hashtable properly. * libnautilus-private/nautilus-icon-factory.h, libnautilus-private/nautilus-icon-factory.c: (nautilus_icon_factory_get_icon_for_file, nautilus_icon_factory_get_required_file_attributes): Tweak a bit. (nautilus_icon_factory_get_basic_file_attributes, nautilus_icon_factory_is_basic_icon_ready_for_file): New functions that let you determine if most of the info needed to get an icon is ready - "most" being everything but top left text right now. * libnautilus-private/nautilus-link-impl-desktop.c (nautilus_link_impl_desktop_get_link_icon_from_desktop): Remove stray printf. 2001-08-21 Maciej Stachowiak * src/file-manager/fm-icon-view.c: (fm_icon_view_add_file, fm_icon_view_file_changed): Try to avoid displaying the generic icon before custom icon data is read. 2001-08-21 Maciej Stachowiak * libnautilus-private/nautilus-file-attributes.h: Add NAUTILUS_FILE_CUSTOM_NAME attribute. * libnautilus-private/nautilus-directory-private.h, libnautilus-private/nautilus-directory-async.c: (link_info_cancel), (nautilus_directory_set_up_request), (nautilus_async_destroying_file), (lacks_link_info), (wants_link_info), (request_is_satisfied), (link_info_done), (link_info_read_done), (link_info_nautilus_link_read_callback), (link_info_gmc_link_read_callback), (link_info_gmc_link_read_more_callback), (make_dot_directory_uri), (link_info_start), (start_or_stop_io), (nautilus_directory_cancel), (cancel_link_info_for_file), (cancel_loading_attributes), (nautilus_directory_cancel_loading_file_attributes): Changes to get the custom name and custom icon out of a link files and .directory files asynchronously and with caching. The I/O is shared with the fetching of the activation URI. * libnautilus-private/nautilus-file-private.h, libnautilus-private/nautilus-file.c: (destroy), (nautilus_file_get_name), (nautilus_file_get_activation_uri), (nautilus_file_get_custom_icon_uri), (invalidate_link_info), (nautilus_file_invalidate_attributes_internal), (nautilus_file_get_all_attributes): Handle new custom_name and custom_icon_uri attributes and link_info internal attribute properly. * libnautilus-private/nautilus-file.h: Prototype new nautilus_file_get_custom_icon_uri call. * libnautilus-private/nautilus-icon-factory.c (nautilus_icon_factory_get_icon_for_file): Remove code for reading icons from .directory files and various kinds of links. Instead rely on nautilus_file_get_custom_icon_uri. * libnautilus-private/nautilus-link.h, libnautilus-private/nautilus-link.c: (nautilus_link_get_link_uri_given_file_contents): Fix to work for classic nautilus links. (nautilus_link_get_link_name_given_file_contents): New call to get a custom name given link contents. (Actually does nothing for old-style nautilus links). (nautilus_link_get_link_icon_given_file_contents): New call to get a custom icon given link contents. (nautilus_link_local_set_icon, nautilus_link_local_set_link_uri): Invalidate the relevant file attributes. * libnautilus-private/nautilus-link-impl-desktop.h, libnautilus-private/nautilus-link-impl-desktop.c: * libnautilus-private/nautilus-link-impl-desktop.h, libnautilus-private/nautilus-link-impl-desktop.c: (nautilus_link_impl_desktop_local_set_icon): Remve attempt at notification (now done by generic layer). (nautilus_link_impl_desktop_get_link_name_from_desktop, nautilus_link_impl_desktop_get_link_name_given_file_contents): Implement getting the custom name. (nautilus_link_impl_desktop_get_link_icon_from_desktop, nautilus_link_impl_desktop_get_link_icon_given_file_contents): Implement getting the custom icon. This no longer attempts the hack of asynchronously downloading and caching remote icons. Nothing uses this feature and it should really be done in the icon factory, not here. * libnautilus-private/nautilus-link-impl.h, libnautilus-private/nautilus-link-impl.c: (nautilus_link_impl_local_set_link_uri): Remove attempt at notification (done by generic layer now). (nautilus_link_impl_get_link_icon_given_file_contents): Implement getting the custom icon. This no longer attempts the hack of asynchronously downloading and caching remote icons. Nothing uses this feature and it should really be done in the icon factory, not here. * components/tree/nautilus-tree-model.c: (nautilus_tree_model_monitor_add, nautilus_tree_model_node_begin_monitoring_no_connect): Monitor custom_name and attributes required by icon factory. * src/file-manager/fm-directory-view.c (finish_loading): Monitor custom name attribute. * src/file-manager/fm-properties-window.c (create_properties_window): Monitor custom name attribute. * src/file-manager/fm-search-list-view.c (real_adding_file): Monitor custom name attribute. * src/nautilus-window-manage-views.c (viewed_file_changed_callback): Always update title even if URI did not change because custom name may have changed or just been retrieved. * src/nautilus-window.c: (nautilus_window_set_viewed_file): Monitor custom name attribute. 2001-08-20 Havoc Pennington * libnautilus-private/nautilus-icon-factory.c (nautilus_icon_factory_get_icon_for_file): add a nautilus_file_is_local() before loading desktop files; this breaks Nautilus links, which are actually async. We lost the is_local() check on .desktop files because the .desktop files were added as a nautilus link backend, and nautilus links were async, so people were using them in nonlocal cases, but we deleted the .desktop codepath in favor of the nautilus link codepath. (nautilus_icon_factory_get_icon_for_file): Do same processing for .directory image URI that we do for .desktop image URI, allowing us to handle X-Nautilus-Icon in .directory (image_uri_to_name_or_uri): function with the common processing Wed Aug 8 21:02:33 2001 Jonathan Blandford * libnautilus-private/nautilus-link-impl-desktop.c (nautilus_link_impl_desktop_local_create): fix to really work with gnome_vfs. Mon Aug 6 15:04:14 2001 Jonathan Blandford * libnautilus-private/nautilus-link-impl-desktop.c (nautilus_link_impl_desktop_local_create): write nautilus files using gnome-vfs instead of FILE. 2001-08-01 Havoc Pennington * libnautilus-private/nautilus-link-impl-desktop.c: use desktop_file_get_locale_string() instead of desktop_file_get_string() to get the names from the desktop files. Wed Aug 1 04:58:35 2001 Jonathan Blandford * libnautilus-private/nautilus-link.c: Fix a crash when some files could return NULL as a mime-type. * src/file-manager/fm-icon-view.c (get_icon_text_callback): Disable additional_text for .desktop files. 2001-07-31 Alex Larsson * libnautilus-private/nautilus-link-impl-desktop.c (nautilus_link_impl_desktop_get_link_uri_from_desktop): Handle FSType desktop files here to. To allow unmounts. 2001-07-31 Havoc Pennington * libnautilus-private/nautilus-file.c (nautilus_file_get_name): get_text, not get_additional_text, for .directory files. fixes sidebar names hopefully. Fri Jul 27 16:03:12 2001 Jonathan Blandford * libnautilus-private/nautilus-link.c (get_uri_mime_type_full): check the file for the mime-type rather then just the file name. Grabs old nautilus-link files. Thu Jul 26 19:09:48 2001 Jonathan Blandford * src/file-manager/fm-desktop-icon-view.c (update_trash_link_and_delete_copies): fix Trash.desktop file. * libnautilus-private/nautilus-link-impl-desktop.c (slurp_uri_contents): '\000' terminate buffer read in. (nautilus_link_impl_desktop_local_set_icon): Implement. 2001-07-26 Havoc Pennington * src/file-manager/fm-directory-view.c (activate_callback): remove the hack for .desktop files, we now do them the same way as Nautilus link files * libnautilus-private/nautilus-icon-factory.c (nautilus_icon_factory_get_icon_for_file): get icons for .desktop files and .directory files * libnautilus-private/nautilus-file.c (nautilus_file_get_name): handle .desktop files using the desktop loader that works on non-file: URIs * libnautilus-private/desktop-file-loader.h, libnautilus-private/desktop-file-loader.c: lame desktop file parser to be used temporarily until George finishes the Ultimate Desktop File Loader. * libnautilus-private/Makefile.am: Add files for link file abstraction, intended to allow use of .desktop files in place of Nautilus link files. 2001-09-25 Darin Adler * components/adapter/nautilus-adapter.c: (nautilus_adapter_initialize): Ref and sink the new adapter. (nautilus_adapter_new): Remove unused CORBA_Environment. * components/adapter/nautilus-adapter.h: Whitespace tweak. * libnautilus-private/nautilus-directory-metafile.c: (nautilus_directory_get_integer_file_metadata): * libnautilus-private/nautilus-file.c: (get_id_from_digit_string): * libnautilus-private/nautilus-icon-factory.c: (parse_attach_points): * libnautilus-private/nautilus-thumbnails.c: (nautilus_thumbnail_load_framed_image): * src/file-manager/fm-icon-view.c: (get_stored_icon_position_callback): A bunch of places were trying to use %*s to detect whether there were stray characters at the end of a string when doing an sscanf. I wrote that code. But it doesn't work. A similar technique that does work is to use %c, and ignore the parsed character. * src/nautilus-search-bar-criterion.c: (nautilus_search_uri_get_first_criterion): This place wasn't using the %*s at all, so just remove it. 2001-09-24 Fabrice Bellet * Reviewed by Darin Adler (Bug 44402) * components/adapter/bonobo-stream-vfs.c: vfs_get_info() needs to be implemented to make the EOG component happy. 2001-09-21 Philip Langdale * Reviewed by John Fleck (Bug 60511) * components/help/converters/gnome-info2html2/html.c * components/help/converters/gnome-info2html2/html.h * components/help/converters/gnome-info2html2/main.c: Added optional "galeon mode" invoked with -g command line param. This involves writing fully qualified info: hrefs instead of just the #nodename target, which appears to me to be a bug, but might have negative effects on nautilus. It also uses ? queries instead of # refs when forming hrefs. 2001-09-20 Darin Adler * components/help/hyperbola-nav-index.c: * components/help/hyperbola-nav-search.c: * components/news/nautilus-news.c: * components/text/nautilus-text-view.c: * libnautilus-private/nautilus-customization-data.c: * libnautilus-private/nautilus-directory-async.c: * libnautilus-private/nautilus-directory-private.h: * libnautilus-private/nautilus-file.c: * libnautilus-private/nautilus-icon-factory.c: * libnautilus-private/nautilus-link-set.c: * libnautilus-private/nautilus-link.c: * libnautilus-private/nautilus-metafile.c: * libnautilus-private/nautilus-metafile.h: * libnautilus-private/nautilus-theme.c: * libnautilus-private/nautilus-volume-monitor.c: * src/nautilus-bookmark-list.c: * src/nautilus-bookmark-parsing.c: * src/nautilus-bookmark-parsing.h: * src/nautilus-link-set-window.c: * src/nautilus-main.c: * src/nautilus-property-browser.c: * src/nautilus-sidebar.c: * src/nautilus-window-menus.c: Change all libxml includes to use #include instead of #include . 2001-09-15 Darin Adler Updated bugzilla.eazel.com references to refer to the corresponding bugzilla.gnome.org bug. Also updated my email address. 2001-09-14 Darin Adler * libnautilus-private/nautilus-monitor.c: (path_is_on_readonly_volume): Move inside #ifdef HAVE_FAM. 2001-09-05 Alex Larsson Merge some stuff from the redhat-outstanding-patches branch * eazel-logos/default.xml: * icons/default.xml: don't hardcode the title, title info, and shadow colors; this prevented the auto-color-selection stuff in nautilus-sidebar-title.c from working properly. And the hardcoded values were the same thing the autoselector would have chosen anyhow. * libnautilus-private/nautilus-monitor.c: Don't monitor files on read only volumes, they never change, and will keep cdroms from being unmounted because fam has open file descriptors on them. * libnautilus-private/nautilus-thumbnails.c: Always look for local thumbnails first. * libnautilus-private/nautilus-volume-monitor.[ch]: Add nautilus_volume_is_read_only() and nautilus_volume_monitor_get_volume_for_path() * src/nautilus-desktop-window.c: (set_wmspec_desktop_hint): function to set _NET_WM_WINDOW_TYPE, to avoid confusing kwin so badly, and also to go ahead and support the Window Manager Hints Of The Future. (set_gdk_window_background): only set root background to a pixel if we retrieved a pixel property (map): Set background of our child widgets in addition to our own background. This gets rid of the last of the ugliness during Nautilus startup, I believe. * src/file-manager/fm-icon-view.c: Don't read GMC position meta data -- it is never right for nautilus, due to different size icons, additional icons, different placement policies, so falling back to normal automatic placement works better. 2001-09-07 Darin Adler * .cvsignore: * data/.cvsignore: Ignore .desktop and .directory files generated by the xml-18n-merge process. 2001-09-07 Darin Adler * libnautilus-private/nautilus-volume-monitor.c: (verify_current_mount_state): Remove unused variable. 2001-09-06 Owen Taylor * libnautilus-private/nautilus-volume-monitor.c (verify_current_mount_state): Fix bug where the mount list was stored without full mount names. Don't call mount_volume_make_name() on volumes that might not be on the system any more. Remove code that (unsuccesfully) tried to fix the old volume names up, since we now have the correct old volume names. Effect of these changes is to fix a race condition where 'unmount /mnt/cdrom; eject /dev/cdrom' would leave a left-over icon on the deskop. 2001-09-05 Maciej Stachowiak * libnautilus-private/nautilus-authn-manager.c: (construct_password_dialog, present_authentication_dialog_blocking, mark_callback_completed, authentication_dialog_button_clicked, present_authentication_dialog_nonblocking, vfs_async_authentication_callback, vfs_authentication_callback, nautilus_authentication_manager_initialize): Converted to use the new module callback API. Use async callbacks instead of our own mechanism to achieve the same effect. 2001-09-04 Alex Larsson Merge some stuff from the redhat-outstanding-patches branch * libnautilus-private/nautilus-file-utilities.[ch] (nautilus_user_main_directory_exists, nautilus_get_user_main_directory): Get rid of these. No more ~/Nautilus * libnautilus-private/nautilus-global-preferences.c: (default_home_location_callback): Always use your normal homedir as the home dir. * src/nautilus-application.c (check_required_directories): Don't create ~/Nautilus. (create_starthere_link_callback, nautilus_application_startup): Create a start here icon on the desktop. Turn of first time druid (by setting first time flag). (nautilus_application_startup, check_for_kdesktop, look_for_kdesktop_recursive, has_wm_state, get_self_typed_prop) Don't manage the desktop if kdesktop is running. * src/nautilus-first-time-druid.[ch]: Remove ~/Nautilus handling. s/druid_set_first_time_file_flag/nautilus_set_first_time_file_flag/ * src/nautilus-shell-ui.xml: * src/nautilus-window-menus.c: Add start here to the go menu. Remove leftovers of the "support" menu item. * src/file-manager/fm-directory-view.c: Move scripts to ~/.gnome/nautilus-scripts * Makefile.am: Add starthere icons * data/Makefile.am: * data/*.desktop.in: * data/*.directory.in: Add starthere desktop files. 2001-09-04 Alex Larsson Merge some stuff from the redhat-outstanding-patches branch * libnautilus-private/nautilus-icon-container.c: * libnautilus-private/nautilus-icon-dnd.c: Change signature of the "handle_uri_list" callback to include the drag action. * src/file-manager/fm-icon-view.c (icon_view_handle_uri_list): Handle uri's more gracefully. * src/file-manager/fm-desktop-icon-view.c: (icon_view_handle_uri_list): Remove. Now handled in the parent class. 2001-09-03 Alex Larsson Merge some stuff from the redhat-outstanding-patches branch * components/mozilla/nautilus-mozilla-embed-extensions.cpp (mozilla_get_document_title): add this from Galeon * components/mozilla/nautilus-mozilla-embed-extensions.cpp (mozilla_unicode_to_locale): copy code from Galeon to use Mozilla conversion features to convert unicode to locale encoding * components/mozilla/nautilus-mozilla-content-view.c (mozilla_title_changed_callback): set title in locale encoding * libnautilus-private/nautilus-directory-metafile.c (get_metafile): print error and exit if we fail to open the metafile factory; somewhat cleaner than segfaulting. * libnautilus-private/nautilus-file.c: Cache user information to avoid many getpwuid calls etc. * src/nautilus-complex-search-bar.c (load_find_them_pixmap_widget): Don't leak pixmap and mask. * libnautilus-private/nautilus-icon-container.c (lay_down_icons_tblr): 64bit clean. Use sizeof (int *), not sizeof (int). * Makefile.am, nautilus-help.desktop.in: Add a help icon that uses Nautilus * components/help/help-method.c (help_name_to_local_path): handle ghelp:toc to go to the default page gnome-help-browser used to go to. kind of a lame hack, but so is this whole vfs module ;-) 2001-09-01 Maciej Stachowiak * libnautilus-private/nautilus-authn-manager.h, libnautilus-private/nautilus-authn-manager.c: (construct_password_dialog), (present_authentication_dialog_blocking), (authentication_dialog_button_clicked), (authentication_dialog_closed), (authentication_dialog_destroyed), (present_authentication_dialog_nonblocking), (run_authentication_dialog_on_main_thread), (vfs_authentication_callback), (nautilus_authentication_manager_initialize): Replace authn with authentication throughout. * src/nautilus-application.c (finish_startup): Adjust to rename. * RENAMING: Suggest renaming nautilus-authn-manager to nautillus-authentication-manager.c 2001-08-31 Darin Adler * components/adapter/Makefile.am: * components/image-viewer/Makefile.am: * components/loser/content/Makefile.am: * components/loser/sidebar/Makefile.am: Don't link in the libnautilus-private library for components that don't use it. * components/sample/Makefile.am: Pretty up the sample a bit. Don't link with GConf since we're not using it directly. * components/shell/shell.oafinfo: Remove this obsolete file. * components/news/nautilus-news.c: (draw_rss_items): Fix a leak by unref'ing the text layout object instead of just destroying it. * src/nautilus-complex-search-bar.c: (search_bar_criterion_type_changed_callback): Fix leak of the criterion object by sinking it instead of destroying it. The criterion object seems to be a widget that's never used as one. It should be a GtkObject instead. * src/nautilus-location-bar.c: (nautilus_location_bar_set_location): Simplified code a bit by getting rid of special cases for NULL. 2001-09-01 Wang Jian * configure.in: zh_CN (Simplified Chinese) added in ALL_LINGUAS 2001-08-31 Abel Cheung * configure.in (ALL_LINGUAS): zh_TW.Big5 -> zh_TW 2001-08-30 Darin Adler * src/nautilus-main.c: (main): Add workaround for gnome-metadata bug that was causing a stat and mkdir of NULL. (Yoann helped me find this). * src/nautilus-window-manage-views.c: (update_title): Fix code that was freeing the title and then using it afterward. (Yoann helped me find this). * src/nautilus-window.c: (refresh_stored_viewers): Fix code so that it uses g_list_prepend and g_list_reverse instead of using g_list_append, which is a bad habit. 2001-08-30 Darin Adler * src/nautilus-search-bar-criterion.c: (nautilus_search_bar_criterion_new_from_values): Fix a storage leak that Yoann helped me find. 2001-08-28 Darin Adler * components/help/hyperbola-filefmt.c: (get_locale_score), (locale_score): Fix unused variable and expression warnings, and fix to match Nautilus coding style. 2001-08-27 Yoann Vandoorselaere * libnautilus-private/nautilus-link.c (nautilus_link_local_get_image_uri): avoid un-needed string copy. * components/help/hyperbola-filefmt.c (locale_score): free return of xmlGetProp on return. Do not use a char pointer to point on the returned value, use an xmlChar pointer. * libnautilus-private/nautilus-link.c (nautilus_link_local_get_link_type): Free the value returned by local_get_root_property. 2001-08-27 Seth Nickell reviewed by: Maciej * libnautilus-private/nautilus-link.c: (local_set_root_property): change a const char * to an xmlChar *, since its being assigned a newly allocated xml property and promptly freed (and hence isn't being treated as a const at all). 2001-08-27 Yoann Vandoorselaere * src/nautilus-switchable-search-bar.c (nautilus_switchable_search_bar_new): Don't leak a GtkBox. * src/nautilus-complex-search-bar.c (load_find_them_pixmap_widget): Do not check pixmap, check pixbuf. This also fix a leak. * libnautilus-private/nautilus-link.c (local_set_root_property): Fix a leak of the xmlProp returned data. 2001-08-27 Darin Adler * helper-utilities/error-dialog/Makefile.am: Define VERSION for the preprocessor. 2001-08-26 Darin Adler Some makefile cleanup. * Makefile.am: Don't build intl since we don't need it the way we use gettext. * applets/launcher/Makefile.am: Remove redundant -I$(srcdir). * applets/preferences-applet/Makefile.am: Remove redundant -I$(srcdir). * components/adapter/Makefile.am: Remove redundant -I. * components/mozilla/Makefile.am: Mark private headers as SOURCES, not noinst_HEADERS, as suggested by automake book and manual. * components/news/Makefile.am: Remove unneeded -I$(top_srcdir)/components/news. * configure.in: Don't build intl since we don't need it the way we use gettext. * libnautilus-adapter/Makefile.am: Remove redundant -I. * libnautilus-private/Makefile.am: Change -I for new cut-n-paste-code scheme. Also mark private headers as SOURCES, not noinst_HEADERS, as suggested by automake book and manual. * libnautilus/Makefile.am: Remove redundant -I. * src/Makefile.am: Change -I for new cut-n-paste-code scheme. Also mark private headers as SOURCES, not noinst_HEADERS, as suggested by automake book and manual. * src/file-manager/Makefile.am: Mark private headers as SOURCES, not noinst_HEADERS, as suggested by automake book and manual. * check-THANKS.pl: Change Seth's preferred email address. * cut-n-paste-code/widgets/e-paned/Makefile.am: * cut-n-paste-code/widgets/gimphwrapbox/Makefile.am: Don't use -static, since we plan to link Remove unneeded -I directives now that we handle includes differently. Also mark private headers as SOURCES, not noinst_HEADERS, as suggested by automake book and manual. * cut-n-paste-code/widgets/e-paned/e-hpaned.h: * cut-n-paste-code/widgets/e-paned/e-vpaned.h: * libnautilus-private/nautilus-horizontal-splitter.h: * src/nautilus-complex-search-bar.c: * src/nautilus-search-bar-criterion.c: Simpler include scheme for cut-n-paste code. 2001-08-24 Darin Adler * libnautilus-private/nautilus-file.c: (is_special_desktop_gmc_file), (nautilus_file_get_name): Some new FIXMEs for I/O that's done at bad times -- these could contribute to the performance problems that Alan Cox reported. 2001-08-24 Darin Adler * src/file-manager/fm-directory-view.c: (set_up_scripts_directory_global): Separate this from the code to create the scripts directory. (create_scripts_directory): New function. (fm_directory_view_initialize): Use set_up_scripts_directory_global. (open_scripts_folder_callback): Use create_scripts_directory. 2001-08-24 Darin Adler Added support for nested directories inside the scripts directory, starting with a patch by David Emory Watson . * src/file-manager/fm-directory-view.c: (get_scripts_directory): Keep the scripts directory URI and string length in a global variable. (add_scripts_directory): New function, replaces connect_script_handlers. Refs the directory, puts it on the scripts directory list, and monitors more attributes than before. (fm_directory_view_initialize): Use add_scripts_directory instead of connect_script_handlers. (fm_directory_view_destroy): Use remove_scripts_directory on the entire list instead of disconnect_script_handlers. (add_submenu): New function. (add_script_to_script_menus): Change name, pass in path. (add_submenu_to_script_menus): New function. (directory_belongs_in_scripts_menu): New function. (add_directory_to_scripts_directory_list): New function, high level call used to turn a NautilusFile into a NautilusDirectory and call add_scripts_directory. (update_directory_in_scripts_menu): New function. (update_scripts_menu): New function, replaces reset_scripts_menu and uses new nautilus_directory_get_files_list rather than nautilus_directory_call_when_ready. (open_scripts_folder_callback): Use new global variable instead of calling get_scripts_directory. (real_update_menus): Call update_scripts_menu instead of schedule_reset_scripts_menu. (remove_scripts_directory): New function, replaces disconnect_script_handlers. Removes the directory from the scripts directory list and unrefs it after disconnecting handlers. * libnautilus-private/nautilus-directory.h: * libnautilus-private/nautilus-directory.c: (is_tentative): Moved from nautilus-directory-async.c. (nautilus_directory_get_file_list): New, made from formerly- private get_non_tentative_file_list in nautilus-directory-async.c. (nautilus_directory_list_ref): New. (nautilus_directory_list_unref): New. (nautilus_directory_list_free): New. (nautilus_directory_list_copy): New. (compare_by_uri), (compare_by_uri_cover), (nautilus_directory_list_sort_by_uri): New. Sorrts directories by URI, parents before children, and children sorted as if by nautilus_file_list_sort_by_name. * libnautilus-private/nautilus-directory-async.c: (nautilus_directory_monitor_add_internal), (ready_callback_call): Use nautilus_directory_get_file_list instead of get_non_tentative_file_list. 2001-08-23 Anders Carlsson * nautilus.spec.in: Remove CONTROL_CENTER_REQUIRED since nautilus doesn't require control-center anymore. * configure.in: Remove CONTROL_CENTER_REQUIRED since nautilus doesn't require control-center anymore. * src/nautilus-window.c (nautilus_window_constructed): Set shrink to TRUE when adding the sidebar since it'll look better when the splitter is collapsed. (nautilus_window_destroy): Free the window title. * src/nautilus-window-manage-views.c (begin_location_change): Unref the directory when we're done using it. * src/nautilus-sidebar.c (nautilus_sidebar_destroy): Sink the title tab so it'll destroyed even if it hasn't got a parent. * libnautilus-private/nautilus-vfs-file.c (vfs_destroy): Free details struct. * libnautilus-private/nautilus-vfs-directory.c (vfs_destroy): Free details struct. * libnautilus-private/nautilus-mime-actions.c (nautilus_mime_get_short_list_applications_for_file): Free uri_scheme. (make_oaf_query_with_uri_scheme_only): Free explicit_iid_query. * libnautilus-private/nautilus-metafile.c (destroy): Unref the private vfs uri, and free the directory uri. * libnautilus-private/nautilus-file.c (nautilus_file_get_internal): Free the string returned by nautilus_directory_get_name_for_self_as_new_file. * libnautilus-private/nautilus-file-changes-queue.c (nautilus_file_changes_consume_changes): Free the change struct. * libnautilus-private/nautilus-directory-async.c (nautilus_directory_invalidate_count_and_mime_list): Unref the file after using it. * libnautilus/nautilus-idle-queue.c (execute_queued_functions): Free each list node. (nautilus_idle_queue_destroy): Likewise. 2001-08-22 Ramiro Estrugo * src/nautilus-main.c: (main): No longer need to check that we want to kill the nautilus shell before initializing preferences. I used to do this because of the way visibilities and defaults were stored using gconf - which led to problems about too early initialization for gconf. It also happens that some desktop prefernece checking code was just added for a situation when the nautilus shell is about to be killed. That was causing criticals, so thats the end of this now uneeded check. 2001-08-22 Christian Meyer * src/nautilus-window.c: Removes header includes for eazel services. (nautilus_window_constructed): Services part removed. * src/nautilus-window-menus.c: Removed header includes for eazel services. (services_button_callback): Removed. (nautilus_window_initialize_menus_part_1): Removed eazel services. * src/nautilus-window-toolbars.c: Rmoved header includes for eazel services. (set_up_toolbar_images): Services removed. * src/Makefile.am: Removal of: nautilus-services.[ch], nautilus-window-services-ui.[ch], nautilus-servics-ui.xml * src/nautilus-services.[ch], src/nautilus-window-services-ui.[ch], nautilus-services-ui.xml: Removed, since they aren't necessary anymore. 2001-08-22 Christian Meyer * data/static_bookmarks.xml: Removed Eazel related bookmarks and ad's. Added SuSE and Ximian. 2001-08-22 Christian Meyer * src/nautilus-shell-ui.xml: Removed "Community Support" entry from file. Removed "Eazel" from feedback tip. * src/nautilus-shell.c: In function display_caveat(): s/"http://www.eazel.com/feedback.html"/ s/Eazel does not/We do not Removed eazel-install stuff in function save_window_states. 2001-08-21 Darin Adler * docs/nautilus-io.txt: Add a new document. 2001-08-19 Maciej Stachowiak * components/music/nautilus-music-view.c: (get_cell_text), (nautilus_music_view_initialize), (get_song_text), (music_view_set_selected_song_title), (selection_callback), (value_changed_callback), (compare_song_numbers), (compare_song_titles), (compare_song_artists), (compare_song_times), (compare_song_bitrates), (sort_list), (click_column_callback), (list_move_vertical), (list_moveto), (list_reveal_row), (play_current_file), (go_to_next_track), (nautilus_music_view_update), (nautilus_music_view_load_uri): Ported to use EelList instead of GtkCList. This looks better and allows for future drag and drop support. 2001-08-18 Darin Adler * libnautilus-private/nautilus-directory-background.c: (nautilus_file_background_receive_root_window_changes), (set_root_pixmap): Trap errors when doing the XKillClient call inside set_root_pixmap. I don't know why it would fail, exactly, but we have reports from the field that it is failing. 2001-08-16 Darin Adler * libnautilus-private/nautilus-volume-monitor.c: (nautilus_volume_monitor_get_mount_name_for_display): Corrected a backwards g_return_if_fail! 2001-08-15 Darin Adler A pass at cleaning up the volume monitor. Made all the details of NautilusVolume private. * libnautilus-private/filesystem-attributes.xml: Changed the "description" string to be named "default_volume_name" and also marked it to be localized. * libnautilus-private/nautilus-file-utilities.h: * libnautilus-private/nautilus-file-utilities.c: (nautilus_get_data_file_path): Added a new utility function to locate a file that's either in the user's directory or in the Nautilus datadir. * src/nautilus-property-browser.c: (read_browser_xml): Use nautilus_get_data_file_path. * libnautilus-private/nautilus-trash-directory.c: (get_trash_volume): * libnautilus-private/nautilus-trash-monitor.c: (add_one_volume_trash): * src/file-manager/fm-desktop-icon-view.c: (volume_in_black_list), (create_unique_volume_name), (create_mount_link), (volume_unmounted_callback), (update_disks_menu): * src/nautilus-application.c: (volume_mounted_callback), (volume_unmounted_callback): * src/nautilus-bookmark-list.c: (nautilus_bookmark_list_get_file_path): Use only calls from the NautilusVolume public API -- no getting at the structure directly. Also fix callers that were using nautilus_volume_monitor_get_volume_mount_uri to correctly understand that they get the mount path, not the mount URI. * libnautilus-private/nautilus-volume-monitor.h: * libnautilus-private/nautilus-volume-monitor.c: (load_file_system_table): Fix storage leaks. Use the new nautilus_get_data_file_path. Translate the default volume names as they are loaded. Check for duplicate entries while loading the table. Don't bother checking the name of the root node, since there are plenty of other things about the file that we don't check and there's no reason we particularly need to check that. Fix some storage leaks. Free the doc, since I'm not seeing a "nautilus --quit" segfault. (nautilus_volume_monitor_initialize): Only initialize stuff that g_new0 won't set up for us. (nautilus_volume_is_removable): Rename so it's a call on NautilusVolume, not the NautilusVolumeMonitor. (volume_is_removable): Fix logic so we don't have to have so many different calls to fclose. (nautilus_volume_get_name): Rename so it's a call on NautilusVolume, not the NautilusVolumeMonitor. (modify_volume_name_for_display): Don't bother supplying a name if passed NULL, since that won't ever be helpful the way this is used. (nautilus_volume_get_target_uri): Rename so it's a call on NautilusVolume, not the NautilusVolumeMonitor. (nautilus_volume_should_integrate_trash): Rename so it's a call on NautilusVolume, not the NautilusVolumeMonitor. Get the information from the file system type, so we don't have to copy it into each NautilusVolume object. (nautilus_volume_get_mount_path): Rename so it's a call on NautilusVolume, and don't call it a URI since it's really a path. (nautilus_volume_get_device_type): New call. (make_volume_name_from_path): Get the default from the file system type rather than passing it in. (free_mount_list): Get rid of some dumb extra code. (copy_volume), (nautilus_volume_free): Update for smaller set of fields. (create_volume), (finish_creating_volume), (finish_creating_volume_and_prepend): Restructure so we don't need to keep so much stuff around in the NautilusVolume object. * src/nautilus-first-time-druid.c: (druid_set_first_time_file_flag): Some tiny tweaking. 2001-08-15 Maciej Stachowiak * components/music/Makefile.am: Revert accidental commit of not quite done change. 2001-08-15 Darin Adler * components/image-viewer/nautilus-image-view.c: (load_image_from_stream): Use a 64K buffer size instead of a 4K buffer size. 2001-08-13 Maciej Stachowiak * components/music/nautilus-music-view.c: (nautilus_music_view_initialize), (get_song_text), (sort_list), (click_column_callback), (ensure_uri_is_image), (nautilus_music_view_update): A bunch of code cleanup; stop using hidden columns in the list view and try to pave the way for better model/view separation. * src/nautilus-main.c (main): set DISPLAY variable to canonicalized version; this is needed to make 2001-08-14 Seth Nickell Load filesystems from an XML file rather than hardcoding the various attributes and behaviors. Some properties, such as for CDDA and NFS, are still hardcoded because they require actual code. This also makes it easier to add new filesystems. * libnautilus-private/filesystem-attributes.xml Filesystem description file. * libnautilus-private/Makefile.am: Add filesystem-attribute.xml to the build. * libnautilus-private/nautilus-volume-monitor.c: (mount_volume_prepend_filesystem): Don't try to detect filesystem strings and associate them with an enumeration type...nix the enumeration altogether since its not compatible with dynamically loading the filesystems. (get_xml_path), (load_filesystem_attributes_table) Functions for reading in filesystem-attribute.xml and loading the various filesystems into a hashtable. (nautilus_volume_monitor_initialize) Read in the filesystem attributes table. (get_removable_volumes), (mount_volume_deactivate), (get_mount_list), (get_current_mount_list), (verify_current_mount_state) Take a file attributes hashtable, or pass one to a subfunction. (nautilus_volume_monitor_get_target_uri), CDDA is the only system we need to deal with in an unusual way. Take out a long list and just check for CDDA. (nautilus_volume_monitor_should_integrate_trash) Use information read from the file rather than hardcoding a list of filesystems that can use trash (should be the same for now). (make_volume_name_from_path), (mount_volume_make_name) Get name out of the filesystem table rather than hardcoding. (mount_volume_iso9660_add) We were deciding if a device was *really* a CDROM by doing an ioctl on it to determine the drive status. This is a good check...except that on systems using DevFS devices can be user mountable without being user readable by default. Also, on my system it fails if there's no disk in the drive itself. (mount_volume_auto_add) Continue setting the device if its a floppy drive (eventually this should probably be cleaned out too), but don't set the filesystem type since we don't use the enum anymore. (mount_volume_cdda_add) Set as a CDDA device, but not a CDDA volume (since we don't have hardcoded volume types anymore). (mount_volume_nfs_add) Don't set NFS type since the enum was blown away. (create_volume) Accept a filesystem table and set attributes read from filesystem-attributes.xml if a volume's filesystem is found in the table. Perhaps eventually we should just assign a reference to the volume entry, but this was simpler for now since some functions modify things like the description. (copy_volume) Deal with copying the new attributes. * libnautilus-private/nautilus-volume-monitor.h: Nix the filesystem enumeration. Change NAUTILUS_DEVICE_CD_ROM to NAUTILUS_DEVICE_CDROM * src/file-manager/fm-desktop-icon-view.c: (create_mount_link), (update_disks_menu): Deal with rename of NAUTILUS_DEVICE_CD_ROM * src/nautilus-application.c: (volume_mounted_callback): Deal with rename of NAUTILUS_DEVICE_CD_ROM * AUTHORS: Update E-mail address. * configure.in: Make "FAM not found" warning a little more serious and informative. We particularly want to encourage distributors to enable FAM support. 2001-08-11 Seth Nickell Trying to make nautilus volume monitor work more reliably. First step is to make the codebase more maintainable so I can start tracking down bugs in the volume monitor more easily. (I get complaints about this from friends, family, and coworkers all the time, so there must be some/one bugs). * libnautilus-private/nautilus-volume-monitor.h: * libnautilus-private/nautilus-volume-monitor.c: (nautilus_volume_monitor_initialize_class), (nautilus_volume_monitor_get_target_uri), (nautilus_volume_monitor_should_integrate_trash), (mount_volume_make_name), (mount_volume_deactivate), (mount_volume_generic_add), (mount_volume_prepend_filesystem): Remove mount_volume_*_add for filesystems that do effectively the same thing. This added a large amount of clutter to a module that already has a lot of similar functions. Add a generic function that accepts the filesystem type, and change calls to use this. Fix signal in initialize_class to be "nautilus_volume_unmount_failed" rather than "nautilus_volume_unmoun_failed" (nobody was assuming the broken behavior eithe, I checked, maybe this will fix something). Renamed NAUTILUS_VOLUME_REISER to NAUTILUS_VOLUME_REISERFS to maintain the naming convention the other filesystems use. Changed "unsdos" to "umsdos" everywhere. I don't think a unsdos filesystem exists, after web searches, and umsdos *is* one of the basic Linux filesystems. I suspect somebody misread a filesystem name browsing the kernel compilation menu or somesuch. Removed redundant (and erroneous) check for "ufs" type filesystems (the check was already listed in the if then statement above). 2001-08-07 Darin Adler * components/mozilla/mozilla-events.cpp: * components/mozilla/nautilus-mozilla-embed-extensions.cpp: Add an include of nsIContentView.h in the hopes that this will make it work with newer Mozilla sources. 2001-08-06 Darin Adler * libnautilus-private/nautilus-thumbnails.c: (pixel_matches_value): Simplify logic. (pixbuf_is_framed): Do size and format reality checks on pixbuf before reading the pixels. (nautilus_thumbnail_load_framed_image): Handle case where the pixbuf loading failed. Handle case where there's no frame. Handle case where the frame offsets in the theme data is improperly formatted. 2001-08-02 Maciej Stachowiak * libnautilus/nautilus-view-standard-main.c: (nautilus_view_standard_main_multi): Get display name in a better way suggested by Havoc Pennington. 2001-08-01 Mike Fleming Added gnome-vfs authentication dialog support. Currently works with HTTP basic and proxy authentication. A bug causes the dialog to appear more than once in quick succession in some cases. Separate processes (eg sidebar components) that need to access a protected URL will also pop open their own individual dialogs at this point There's also no integration with Mozilla at this point, so Mozilla too will prompt separately. This code works against gnome-vfs head and the gnome-vfs-1-0 branch, as well as the soon-to-be-released gnome-vfs 1.0.2 * libnautilus-private/Makefile.am: * libnautilus-private/nautilus-authn-manager.c: (construct_password_dialog), (present_authn_dialog_blocking), (mark_callback_completed), (authn_dialog_button_clicked), (authn_dialog_closed), (authn_dialog_destroyed), (present_authn_dialog_nonblocking), (run_authn_dialog_on_main_thread), (vfs_authn_callback), (nautilus_authn_manager_initialize): * libnautilus-private/nautilus-authn-manager.h: * src/nautilus-application.c: (finish_startup): 2001-08-01 Darin Adler * THANKS: More people to thank. 2001-07-31 Yanko Kaneti * components/help/topleveldocs.xml: remove the extra bg_BG(.cp1251) references, part of the gnome cvs wide move from bg_BG to bg 2001-07-27 Darin Adler Fixed bug 8438 (changing desktop between $HOME and .gnome-desktop breaks desktop DnD from other apps). * src/file-manager/fm-desktop-icon-view.c: (desktop_directory_changed_callback): New function to update the local variable when the desktop directory changes. (fm_desktop_icon_view_initialize): Set up the callback rather than just setting up the global variable. * configure.in: Fixed code to set up compile-time options. It was putting the options into VFS_CFLAGS. 2001-07-25 Maciej Stachowiak Fixed bug 6776 (In-place file rename allowed (but doesn't occur) at 25% zoom level): * src/file-manager/fm-icon-view.c: (fm_icon_view_set_zoom_level): Update menus since the sensitivity of "Rename" now depends on the zoom level. (fm_icon_view_update_menus): Disable the "Rename" item when at smallest zoom level, since renaming won't happen anyway. 2001-07-24 Darin Adler * libnautilus-private/nautilus-directory-background.c: (background_is_desktop): Remove eel_ prefix from name. (background_get_desktop_background_window): Remove eel_ prefix from name. * libnautilus-private/nautilus-icon-factory.c: (should_display_image_file_as_itself), (nautilus_icon_factory_get_icon_for_file), (load_icon_from_path): * libnautilus-private/nautilus-thumbnails.h: * libnautilus-private/nautilus-thumbnails.c: (make_thumbnail_uri), (nautilus_thumbnail_has_invalid_thumbnail), (nautilus_get_thumbnail_uri), (nautilus_update_thumbnail_file_renamed), (nautilus_remove_thumbnail_for_file), (check_for_thumbnails), (make_thumbnails), (nautilus_thumbnail_load_framed_image): Remove anti-aliased parameter from most functions, since the thumbnails are now the same either way. * THANKS: * check-THANKS.pl: Some more THANKS updates. * RPMs-README: No need for this any more. 2001-07-24 Jens Finke * components/news/news_channels.xml: Updated KDE rdf location. 2001-07-23 Andy Hertzfeld changed thumbnailing to not draw the frame into the thumbnail images themselves anymore; instead, draw it at the time they're loaded. This makes anti-aliased thumbnail variants no longer necessary, so they're no longer used. There's a cheap test so old thumbnails aren't framed twice. * libnautilus-private/nautilus-thumbnails.c: (make_thumbnail_uri), (make_thumbnails), (pixel_matches_value), (pixbuf_is_framed), (nautilus_thumbnail_load_framed_image): don't frame the thumbnails at creation time; instead, provide a routine to frame them at load time if necessary. * libnautilus-private/nautilus-thumbnails.h: added nautilus_thumbnail_load_framed_image * libnautilus-private/nautilus-icon-factory-private.h: added nautilus_icon_factory_get_thumbnail_frame * libnautilus-private/nautilus-icon-factory.c: (load_thumbnail_frames), (nautilus_icon_factory_initialize), (nautilus_icon_factory_destroy), (icon_theme_changed_callback), (load_icon_from_path), (load_named_icon), (load_specific_icon), (nautilus_icon_factory_get_thumbnail_frame): made it call nautilus_thumbnail_load_framed_image to load thumbnails; made the icon factory load the thumbnail frames so it doesn't have to be done repeatedly; changed how the aa flag is passed around a little, although this could be cleaned up more now. 2001-07-23 Benedikt Roth * src/file-manager/fm-directory-view.c: (real_update_menus): Fix the tip for the "Delete from Trash" item in the right-click menu 2001-07-22 Maciej Stachowiak * src/file-manager/fm-desktop-icon-view.c (update_trash_link_and_delete_copies): Update the icon even when newly creating it, in case the trash state changed while the desktop was off. This fixes bug 7956 (improper Trash icon state after desktop toggle ) 2001-07-22 Maciej Stachowiak * libnautilus-private/nautilus-directory-async.c (nautilus_file_invalidate_count_and_mime_list): Avoid a ref underflow. This was causing a crash noticed by Anders Carlsson. I'm so embarassed! * src/file-manager/fm-desktop-icon-view.c (fm_desktop_icon_view_destroy, delayed_init): Make sure to disconnect signals on destroy to avoid a possible crash when turning the desktop off and back on, and not using fam. 2001-07-22 Maciej Stachowiak * components/music/nautilus-music-view.c (click_column_callback): Fix bug 5242 (Selection not kept on-screen after column resort) by scrolling the selected item into view on a resort if it's not in view already. 2001-07-22 Maciej Stachowiak * components/music/nautilus-music-view.c: (get_song_text): Fix the remainer of bug 3769 (Music View window redraws upon clicking a different song) by making songs with no title show up with "-" for the title (I have quite a collection of broken mp3s). 2001-07-22 Maciej Stachowiak * components/music/nautilus-music-view.c: (read_id_tag): Fix bug 5175 (Music View displays year fields of '0'.) by filtering out years that are all zeros or all spaces. (filter_out_unset_year): New helper function. 2001-07-22 Dan Mueth Updating doc build stuff so it works properly on RH7.1 and any other newer distributions which have the updated docbook tools where db2html doesn't work with GNOME's modified DTD. For these systems, we use jw instead of db2html. * configure.in: * help/sgmldocs.make: 2001-07-22 Maciej Stachowiak * components/music/nautilus-music-view.c: (string_non_empty), (get_song_text), (play_current_file): Add artist to the info displayed about the currently selected song. Also, fix a bug where a song entry does not get scrolled into view when the player switches to it sometimes. This happened because the song list would resize depending on whether or not there was an album name. Now if there is no album name (or artist) `-' is displayed in the second line. 2001-07-21 Darin Adler * README: Update cvs tags for gnome-vfs, librsvg, eel. 2001-07-21 Anders Carlsson * components/help/Makefile.am: * components/sample/Makefile.am: * libnautilus-adapter/Makefile.am: * libnautilus-private/Makefile.am: * libnautilus/Makefile.am: Remove multiple references to $(NAUTILUS_PRIVATE_LIBS) since having multiple references makes linking very slow with libtool 1.4. 2001-07-20 Maciej Stachowiak Fixed bugzilla.eazel.com bug 7015 (Item count not updated when copying an empty folder to another). * libnautilus-private/nautilus-directory-async.c: (nautilus_file_invalidate_count_and_mime_list): New function to invalidate a directory's item count and item mime list given it's corresponding NautilusFile object. (nautilus_directory_invalidate_count_and_mime_list): Reimplemented in terms of the above. * libnautilus-private/nautilus-file-private.h: Prototype the new function. * libnautilus-private/nautilus-directory.c: (nautilus_directory_notify_files_added): If the NautilusDirectory for a directory into which files are being moved is not being monitored but the NautilusFile is, make sure to invalidate it's item count and mime list. This is the corner case that bug 7015 was tickling. 2001-07-20 Andy Hertzfeld fixed problem that the reset property was not localizable, since it used an image that contained text. Fixed, by removing the text from the image and compositing it on the fly, from a localizable string. * data/patterns/reset.png: new version of reset tile without text. * libnautilus-private/nautilus-customization-data.c: (nautilus_customization_data_get_next_element_for_display), (add_reset_text), (nautilus_customization_make_pattern_chit): composite the reset text on the fly when necessary * libnautilus-private/nautilus-customization-data.h: added a parameter to make_pattern_chit to tell it to draw the reset text when necessary * src/nautilus-property-browser.c: (make_drag_image), (make_color_drag_image), (add_reset_property): set the reset parameter properly when calling make_pattern_chit. 2001-07-20 Andy Hertzfeld removed the bad hack of attributing special meaning to the "reset.png" filename; instead, use a newly defined drop type of "x-special/gnome-reset-background". * libnautilus-private/nautilus-icon-dnd.c: (drag_data_received_callback), (nautilus_icon_container_get_drop_action), (drag_drop_callback): make the icon view handle the new drop type. * src/nautilus-property-browser.c: (element_clicked_callback): make the property browser emit the new drop type for the reset property * src/nautilus-sidebar.c: (reset_background_callback), (nautilus_sidebar_drag_data_received): make the sidebar handle the new drop type. 2001-07-19 Darin Adler More fixes like the one Alex just did. * libnautilus-private/nautilus-icon-container.c: (destroy): Move the call to unschedule_keyboard_icon_reveal into nautilus_icon_container_clear. (nautilus_icon_container_clear): Cancel both of the pending icon reveals, since all the icons are gone. (icon_destroy): Cancel a pending icon to reveal if the icon being destroyed is that icon. * libnautilus-private/nautilus-icon-private.h: Remove some unused fields. 2001-07-19 Alex Larsson * libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_clear): Clear details->drop_target. This should fix a hard to trigger DnD segfault. 2001-07-16 Darin Adler * THANKS: * check-THANKS.pl: Updated thanks for recent changes in ChangeLog. * libnautilus-private/nautilus-file-operations.c: (build_error_string): * libnautilus-private/nautilus-file.c: (get_description): Updated the people to tell about various warnings. 2001-07-15 Anders Carlsson * src/file-manager/fm-icon-view.c (icon_container_preview_callback): Check that the file mime type is correct (that the files is a music file) before calling nautilus_sound_can_play_sound () since that function launches esd which we don't want to do unless we have a music file. 2001-07-15 Andy Hertzfeld allowed components to specify their sidebar icons and text info through the property bag interface. Removed the special cases from the sidebar and icon factory, and added the relevant properties to the hardware and mozilla views. made the modification date in the sidebar adapt itself gracefully to the available space like the list view does, by calling nautilus_file_fit_modified_data_as_string. added an "uptime" display to the hardware view. * components/hardware/nautilus-hardware-view.c: (get_bonobo_properties), (set_bonobo_properties), (nautilus_hardware_view_initialize), (nautilus_hardware_view_destroy), (update_uptime_text), (setup_overview_form), (nautilus_hardware_view_load_uri), (make_summary_string): added a property bag interface for the icon_name and summary_info properties. added a field to display the update, and periodically updated it. * components/mozilla/nautilus-mozilla-content-view.c: (get_bonobo_properties), (set_bonobo_properties), (nautilus_mozilla_content_view_initialize), (nautilus_mozilla_content_view_destroy): added a property bag inteface for the icon_name and summary_info properties made it handle the "man:" protocol with a custom icon made it use the file icon for local files. * src/nautilus-sidebar-title.c: (get_property_from_component), (update_icon), (measure_width_callback), (update_more_info), (nautilus_sidebar_title_size_allocate), (sidebar_title_create_more_info_label): made it ask the components for custom icons and info text (through the property bags) and use them if available. made it call nautilus_file_filt modified_data_as_string for an optimal modification date format, and made it reconsider when the sidebar size changes. * libnautilus-private/nautilus-icon-factory.c: (get_icon_name_for_regular_file): removed special cases, since they're handled by the components now * components/news/nautilus-news.c: (do_destroy), (make_news_view): fixed leak where it wasn't releasing the property bag 2001-07-14 John Fleck reviewed by Laszlo Kovacs * components/help/converters/gnome-db2html3/gnome-db2html3.c change logic for testing whether a file is sgml or xml 2001-07-12 Alex Larsson * libnautilus-private/nautilus-monitor.c: Use a GIOChannel instead of gdk_input_add. This fixes the bug where when the fam connection dies it did gdk_input_remove (fd) instead of gdk_input_remove (tag) 2001-07-11 Alex Larsson * libnautilus-private/nautilus-volume-monitor.[ch]: Add support for ext3. 2001-07-11 Darin Adler * components/help/converters/gnome-info2html2/html.c: (write_menu_entry_html): * components/help/converters/gnome-man2html2/gnome-man2html.c: (add_links), (scan_escape), (scan_format), (scan_table), (scan_expression), (scan_request), (scan_troff), (scan_troff_mandoc), (main): * src/nautilus-first-time-druid.c: (load_netscape_proxy_settings): * src/nautilus-property-browser.c: (emblem_keyword_valid): Fix code that was using functions and passing char's rather than int's (using the standard "cast to unsigned char" trick). * libnautilus-private/nautilus-file.c: (nautilus_file_denies_access_permission), (nautilus_file_can_set_permissions), (nautilus_file_set_owner), (nautilus_file_get_group_name), (nautilus_file_can_set_group), (nautilus_file_get_settable_group_names), (nautilus_file_set_group): Get rid of the assumption that GnomeVFSFileInfo field types match the platform-specific uid_t and gid_t. This involves doing a few more type casts. (nautilus_extract_top_left_text): Fix a use of isprint on a char rather than an int. * libnautilus-private/nautilus-volume-monitor.c: Added ifdefs so this file can compile for Solaris without warnings. * test/test.c: (test_window_set_title_with_pid): Don't assume that getpid() returns an int. Instead cast it to unsigned long for printing. 2001-07-11 Alex Larsson * acconfig.h: Add HAVE_LIBFAM * configure.in: Check for libfam, not only header. * libnautilus-private/Makefile.am: Link to libfam * libnautilus-private/nautilus-monitor.c: Use normal fam library calls. 2001-07-11 Benedikt Roth * components/text/nautilus-text-view-ui.xml: * components/text/nautilus-text-view.c: Created a 'Text view' menu to hold the 'Fonts' menu and services items * components/text/services/google.xml * components/text/services/webster.xml: Removed references to http://services.eazel.com 2001-07-10 Jonathan Blandford * src/nautilus-desktop-window.c (realize): remove flash when starting up. 2001-07-10 Darin Adler * libnautilus-private/nautilus-sound.c: (kill_sound_if_necessary), (nautilus_sound_kill_sound): Change the kill function to not set the GConf value to 0 if it's already 0. This may help with a minor performance problem Yoann found in the directory view. 2001-07-09 Darin Adler * cut-n-paste-code/widgets/gimphwrapbox/gtkwrapbox.c: (gtk_wrap_box_expose): Fix a cast so that 64-bit systems won't warn. This is similar to the e-paned.c fix I did already. 2001-07-08 John Gotts * data/static_bookmarks.xml: Made the bookmarks work again. 2001-07-07 Seth Nickell * libnautilus-private/nautilus-directory-private.h: * libnautilus-private/nautilus-metafile.c: * libnautilus-private/nautilus-thumbnails.c: * src/nautilus-window-menus.c: Add includes that were inadevertently pulled in by the older kinder GnomeVFS include heirarchy but aren't anymore (people forgot to include some headers because the compiler never complained). 2001-07-05 Darin Adler * AUTHORS: * THANKS: * check-THANKS.pl: Some credits updates based on recent ChangeLog entries. 2001-07-05 Darin Adler * configure.in: Bump version to 1.0.4.1 * cut-n-paste-code/widgets/e-paned/e-paned.c: (e_paned_expose): Fix type cast that was causing Ben trouble compiling on Solaris. Take a cut at removing the problem where opening a new window causes all the old windows to act as if all items were re-added. * libnautilus-private/nautilus-directory.h: * libnautilus-private/nautilus-directory.c: (nautilus_directory_file_monitor_add), (nautilus_self_check_directory): * libnautilus-private/nautilus-directory-async.c: (nautilus_directory_monitor_add_internal): * libnautilus-private/nautilus-directory-private.h: * libnautilus-private/nautilus-merged-directory.c: (build_merged_callback_list), (merged_file_monitor_add), (forward_files_added_cover), (forward_files_changed_cover), (monitor_add_directory), (merged_add_real_directory): * libnautilus-private/nautilus-trash-file.c: (real_monitor_add): * libnautilus-private/nautilus-trash-monitor.c: (nautilus_trash_monitor_initialize): * libnautilus-private/nautilus-vfs-directory.c: (vfs_file_monitor_add): * libnautilus-private/nautilus-vfs-file.c: (vfs_file_monitor_add): Change monitor_add to take a parameter for a callback function, and call that instead of sending out a files_added message when someone starts monitoring files. * components/tree/nautilus-tree-model.c: (nautilus_tree_model_node_begin_monitoring_no_connect), (nautilus_tree_model_node_begin_monitoring), (nautilus_tree_model_directory_files_changed_callback): * src/file-manager/fm-directory-view.c: (connect_script_handlers), (finish_loading): Pass in a callback function to monitor_add, and don't hook up the files_added and files_changed signals until after the monitor is added. === Nautilus 1.0.4 === 2001-07-05 Darin Adler Preparation for the 1.0.4 release. * configure.in: Bump version to 1.0.4. * NEWS: Update for recent changes. 2001-07-05 Benedikt Roth * src/nautilus-sidebar.c: (nautilus_sidebar_initialize), (nautilus_sidebar_destroy), (nautilus_sidebar_theme_changed), (nautilus_sidebar_confirm_trash_changed): Fix bug #8133 where changing of the NAUTILUS_PREFERENCES_CONFIRM_TRASH value led to inconsistent menu descriptions by adding a eel_preferences callback. 2001-07-05 Benedikt Roth * src/file-manager/fm-directory-view.c: (fm_directory_view_display_selection_info): Made the statusbar messages when selecting several folders clearer and fixed i18n problems 2001-07-03 Benedikt Roth * src/file-manager/fm-directory-view.c: (real_update_menus): Fix bug #6202, "'Show Trash' menu item should be greyed when viewing trash" 2001-07-03 Zbigniew Chyla * libnautilus/nautilus-view-standard-main.c (struct CallbackData, delayed_quit_timeout_callback, object_destroyed, make_object, nautilus_view_standard_main_multi): Changed behaviour of view processes, now every process using nautilus_view_standard_main/nautilus_view_standard_main_multi will be destroyed after 30 seconds of inactivity, not immediately. 2001-06-28 Havoc Pennington * src/nautilus-first-time-druid.c (druid_finished): Don't create a desktop link to Eazel services or open Eazel home page. 2001-07-02 Cody Russell * libnautilus-private/nautilus-volume-monitor.[ch]: Added NAUTILUS_VOLUME_PROC. nautilus_volume_monitor_should_integrate_trash() now returns FALSE for this volume type. This solves the broken trash can on XFS (and probably other non-ext2) filesystems. 2001-07-01 Pablo Saratxaga * libnautilus-private/nautilus-global-preferences.c: added no-c-format comments to make gettext not complain 2001-06-29 Ettore Perazzoli * libnautilus-private/nautilus-directory-metafile.c (get_metafile): Avoid initializing the exception and getting the URI if we already have a CORBA object, as they are not needed in that case. 2001-06-29 Darin Adler * src/run-nautilus: Get rid of all the "smarts" in this script and made it just call Nautilus. The things it was doing (disable bug buddy, work around MOZILLA_FIVE_HOME for Debian users, call nautilus-verify-rpm.sh) are all obsolete now. 2001-06-29 Darin Adler * configure.in: Fix minor problem in DB2HTML3 part that was causing trouble for some people. 2001-06-26 Darin Adler * src/nautilus-window-manage-views.c: (begin_location_change): Don't force a reload if file monitoring will work properly for the location. * components/throbber/Makefile.am: * icons/sierra/Makefile.am: * icons/tahoe/Makefile.am: Remove use of empty SUBDIRS. At least some versions of automake have trouble with that. * src/file-manager/fm-directory-view.c: Formatting tweak. 2001-06-25 Ramiro Estrugo Patch from Miguel Rodríguez Pérez * libnautilus-private/nautilus-thumbnails.c (obfuscate_password): New function to look for a password in una uri and change it for 6 asterisks. (make_thumbnail_uri): Call obfuscate_passwd before generating the final uri. This prevents the password to be saved in cleartext in ~/.nautilus/thumbnails if the user accesses some remote server. 2001-06-25 Ramiro Estrugo * configure.in: Patch from David Sainty . Tidy up the mozilla-component option. Now both --enable-mozilla-component and --disable-mozilla component do as they should. 2001-06-18 Ramiro Estrugo * nautilus.spec.in: Put the idl files in the main package, not the devel package because the perl corba bindings can use the .idl files at run time. Thanks to jacob berkman for pointing this out. 2001-06-17 Maciej Stachowiak * components/tree/nautilus-tree-view.c (select_current_location): Fix bug 6801 (FIXME ... strcmp should be nautilus_uris_match). 2001-06-15 Fatih Demir * components/help/converters/gnome-db2html3/*: Added cvsignore files where needed. 2001-06-14 Marius Andreiana * configure.in: Added ro (Romanian) to ALL_LINGUAS 2001-06-11 John Fleck * reviewed to Laszlo Kovacs * components/help/converters/gnome/db2html3/ docbook/Makefile.am to include file VERSION in DocBook stylesheet 2001-06-11 John Fleck * components/help/converters/gnome-db2html3/gnome-customization gnome-customization.xsl updating path to including docbook stylesheets 2001-06-11 Darin Adler * configure.in: Updated version to 1.0.3.2 for the 1.0.4 candidate build. * icons/gnome/Makefile.am: Added missing backslash character. Without it, many icons didn't get installed. * src/nautilus-application.c: (need_to_show_first_time_druid): Fix some code that was building a URL by sticking a file:// onto the front of a file name. I just changed it to use the path directly and do a plain unlink instead of gnome_vfs_unlink. * src/nautilus-profiler.c: (nautilus_profiler_bonobo_ui_report_callback): Use gnome_vfs_get_uri_from_local_path instead of just sticking a file:// on the front of a path name. 2001-06-10 John Fleck * components/help/converters/gnome-db2html3/Makefile.am: fix segfault caused by the fact that we were linking to both libxml1 and 2 2001-06-09 Dan Mueth Updated Nautilus User Manual for 1.0.4. * help/nautilus-user-manual/C/nautilus-user-manual.sgml: 2001-06-09 Dan Mueth Fixing bug#8327. (Thanks to John Fleck.) * help/nautilus-user-manual/es/nautilus-user-manual.sgml: 2001-06-08 Laszlo Kovacs reviewed by Seth Nickell patch containing the build environment for gnome-db2html3, the new stylesheet based XML->HTML converter, it all can be activated only by a manual change in configure.in, this patch is not active by default * components/help/converters/gnome-db2html3/docbook/common/Makefile.am: * components/help/converters/gnome-db2html3/docbook/html/Makefile.am: * components/help/converters/gnome-db2html3/docbook/lib/Makefile.am: * components/help/converters/gnome-db2html3/docbook/Makefile.am: * components/help/converters/gnome-db2html3/Makefile.am: * components/help/converters/gnome-db2html3/gnome-customization/Makefile.am: added * components/help/converters/gnome-db2html3/docbook/gnome-db2html3.c: * components/help/Makefile.am: conditional build flag added * components/help/converters/Makefile.am: gnome-db2html3 added * components/help/help-method.c: gnome-db2html3 called depending on build flag * configure.in: conditional dependencies for gnome-db2html3 added 2001-06-08 Dan Mueth Updating Release Notes to contain new Mozilla version compatibility information based on Ramiro's updates to the README. * help/nautilus-release-notes/C/nautilus-release-notes.sgml: 2001-06-08 Ramiro Estrugo * README: Update Mozilla for latest Mozilla 0.9.1 release which is the recommended one from now onwards. 2001-06-08 Andy Hertzfeld * icons/gnome/Makefile.am: The "i-regular.xml" file that is needed to make embedded text work properly was missing, so I added it. * src/nautilus-sidebar-tabs.c: (draw_or_layout_all_tabs): fixed bug where the names of the rightmost tabs cound get cut off by tweaking the layout code. 2001-06-08 Dan Mueth Updating Nautilus Release Notes for 1.0.4. Note that we probably still need to modify the Mozilla compatibility section. * help/nautilus-release-notes/C/nautilus-release-notes.sgml: 2001-06-07 Dan Mueth Updating Nautilus Quick Reference for 1.0.4 release. * help/nautilus-quick-reference/C/index.html: 2001-06-06 Darin Adler * NEWS: Made a list of changes since 1.0.3 to get ready for the 1.0.4 release. 2001-06-06 Darin Adler * components/music/nautilus-music-view.c: (play_current_file): * libnautilus-private/nautilus-icon-factory.c: (get_cache_time): * src/nautilus-window-menus.c: (get_static_bookmarks_file_path): Oops, a few of my changes were still in the editor. More places where we should follow links. 2001-06-06 Darin Adler Frederic Devernay pointed out that the icon factory wasn't following links. I found similar problems elsewhere. * components/music/nautilus-music-view.c: (nautilus_music_view_update): * libnautilus-private/nautilus-customization-data.c: (nautilus_customization_data_new), (nautilus_customization_data_get_next_element_for_display): * libnautilus-private/nautilus-icon-factory.c: (path_represents_svg_image): * libnautilus-private/nautilus-metafile.c: (metafile_read_check_for_directory): * libnautilus-private/nautilus-thumbnails.c: (first_file_more_recent): * src/nautilus-link-set-window.c: (get_link_set_names), (nautilus_link_set_configure_window): * src/nautilus-property-browser.c: (ensure_uri_is_image): Updated all places where we were using the gnome-vfs file info calls and not following links. 2001-06-03 Seth Nickell Added Ben FrantzDale's revisions of the classic GNOME theme as well as his slightly revised classic icons for mime types (where they replace something that wasn't modified since GMC). Basically these add drop shadows and some higher resolution versions, as well as an attractive sidebar. I've made some alterations to his theme to make it sit better with our original and added the build stuff. * configure.in: Update configure.in to add a Makefile for the new sidebar tabs directory in the GNOME theme. * icons/gnome-application-encapsulated_postscript.png: * icons/gnome-application-pdf-192.png: * icons/gnome-application-pdf.png: * icons/gnome-application-pgp-192.png: * icons/gnome-application-pgp.png: * icons/gnome-application-postscript-192.png: * icons/gnome-application-postscript-72.png: * icons/gnome-application-postscript-96.png: * icons/gnome-application-postscript.png: * icons/gnome-application-x-c-header.png: * icons/gnome-application-x-c-source.png: * icons/gnome-application-x-cc-source.png: * icons/gnome-application-x-e-theme.png: * icons/gnome-application-x-generic-spreadsheet.png: * icons/gnome-application-x-gnome-app-info.png: * icons/gnome-application-x-java-source.png: * icons/gnome-application-x-kde-app-info.png: * icons/gnome-application-x-php.png: * icons/gnome-application-x-reject.png: * icons/gnome-application-x-scheme-source.png: * icons/gnome-application-x-sql.png: * icons/gnome-audio-basic.png: * icons/gnome-audio-midi.png: * icons/gnome-audio-ulaw.png: * icons/gnome-audio-x-aiff.png: * icons/gnome-audio-x-mod-192.png: * icons/gnome-audio-x-mod.png: * icons/gnome-audio-x-mp3-192.png: * icons/gnome-audio-x-mp3.png: * icons/gnome-audio-x-ogg-192.png: * icons/gnome-audio-x-ogg.png: * icons/gnome-audio-x-pn-realaudio.png: * icons/gnome-audio-x-real-192.png: * icons/gnome-audio-x-s3m-192.png: * icons/gnome-audio-x-s3m.png: * icons/gnome-audio-x-stm-192.png: * icons/gnome-audio-x-stm.png: * icons/gnome-audio-x-voc.png: * icons/gnome-audio-x-wav.png: * icons/gnome-audio-x-xi-192.png: * icons/gnome-audio-x-xi.png: * icons/gnome-audio-x-xm.png: * icons/gnome-compressed-192.png: * icons/gnome-compressed.png: * icons/gnome-core.png: * icons/gnome-emacs-192.png: * icons/gnome-font-afm.png: * icons/gnome-font-ttf.png: * icons/gnome-font-x-pcf.png: * icons/gnome-http-url.png: * icons/gnome-image-bmp.png: * icons/gnome-image-generic.png: * icons/gnome-image-gif.png: * icons/gnome-image-ief.png: * icons/gnome-image-jpeg.png: * icons/gnome-image-pbm.png: * icons/gnome-image-pgm.png: * icons/gnome-image-png.png: * icons/gnome-image-pnm.png: * icons/gnome-image-ppm.png: * icons/gnome-image-psd.png: * icons/gnome-image-ras.png: * icons/gnome-image-rgb.png: * icons/gnome-image-tga.png: * icons/gnome-image-tiff.png: * icons/gnome-image-x-xfig.png: * icons/gnome-image-xbm.png: * icons/gnome-image-xcf.png: * icons/gnome-image-xpm.png: * icons/gnome-image-xwd.png: * icons/gnome-library.png: * icons/gnome-manpage.png: * icons/gnome-objectfile.png: * icons/gnome-pack-deb.png: * icons/gnome-pack-rpm.png: * icons/gnome-package.png: * icons/gnome-tex-192.png: * icons/gnome-tex.png: * icons/gnome-text-html-192.png: * icons/gnome-text-html.png: * icons/gnome-text-x-authors.png: * icons/gnome-text-x-copying.png: * icons/gnome-text-x-credits.png: * icons/gnome-text-x-install.png: * icons/gnome-text-x-makefile-192.png: * icons/gnome-text-x-makefile.png: * icons/gnome-text-x-readme.png: * icons/gnome-textfile.png: * icons/gnome-video-mpeg.png: * icons/gnome-video-quicktime.png: * icons/gnome-video-x-msvideo.png: * icons/gnome-word-192.png: Ben's revisions of classic mime type icons that we didn't modify (basically he added alpha blended drop shadows), and some high res versions. * icons/gnome/Makefile.am: * icons/gnome/application-x-e-cfg.png: * icons/gnome/audio-192.png: * icons/gnome/emblem-nowrite-72.png: * icons/gnome/emblem-nowrite-96.png: * icons/gnome/emblem-nowrite.png: * icons/gnome/gnome.xml: * icons/gnome/i-core.png: * icons/gnome/i-dirclosed.png: * icons/gnome/i-directory-12-aa.png: * icons/gnome/i-directory-192-aa.png: * icons/gnome/i-directory-20-aa.png: * icons/gnome/i-directory-20.png: * icons/gnome/i-directory-24-aa.png: * icons/gnome/i-directory-36-aa.png: * icons/gnome/i-directory-72-aa.png: * icons/gnome/i-directory-96-aa.png: * icons/gnome/i-directory-aa.png: * icons/gnome/i-directory-accept-12-aa.png: * icons/gnome/i-directory-accept-12.png: * icons/gnome/i-directory-accept-192-aa.png: * icons/gnome/i-directory-accept-192.png: * icons/gnome/i-directory-accept-20-aa.png: * icons/gnome/i-directory-accept-20.png: * icons/gnome/i-directory-accept-24-aa.png: * icons/gnome/i-directory-accept-24.png: * icons/gnome/i-directory-accept-36-aa.png: * icons/gnome/i-directory-accept-36.png: * icons/gnome/i-directory-accept-72-aa.png: * icons/gnome/i-directory-accept-72.png: * icons/gnome/i-directory-accept-96-aa.png: * icons/gnome/i-directory-accept-96.png: * icons/gnome/i-directory-accept-aa.png: * icons/gnome/i-directory-accept.png: * icons/gnome/i-executable.png: * icons/gnome/i-music-192.png: * icons/gnome/i-music.png: * icons/gnome/i-nfs.png: * icons/gnome/i-regular-12.png: * icons/gnome/i-regular-192.png: * icons/gnome/i-regular-24.png: * icons/gnome/i-regular-36.png: * icons/gnome/i-regular-72.png: * icons/gnome/i-regular-96-aa.png: * icons/gnome/i-regular.png: * icons/gnome/i-regular.xml: * icons/gnome/i-stalled.png: * icons/gnome/linux-penguin.png: * icons/gnome/rpm-directory.png: * icons/gnome/sidebar_tab_pieces/.cvsignore: * icons/gnome/sidebar_tab_pieces/Makefile.am: * icons/gnome/sidebar_tab_pieces/fill-active-prelight.png: * icons/gnome/sidebar_tab_pieces/fill-active.png: * icons/gnome/sidebar_tab_pieces/fill-empty-space.png: * icons/gnome/sidebar_tab_pieces/fill-prelight.png: * icons/gnome/sidebar_tab_pieces/fill.png: * icons/gnome/sidebar_tab_pieces/left-bumper-active-prelight.png: * icons/gnome/sidebar_tab_pieces/left-bumper-active.png: * icons/gnome/sidebar_tab_pieces/left-bumper-prelight.png: * icons/gnome/sidebar_tab_pieces/left-bumper.png: * icons/gnome/sidebar_tab_pieces/middle-normal-normal.png: * icons/gnome/sidebar_tab_pieces/middle-normal-prelight.png: * icons/gnome/sidebar_tab_pieces/middle-prelight-normal.png: * icons/gnome/sidebar_tab_pieces/right-bumper-prelight.png: * icons/gnome/sidebar_tab_pieces/right-bumper.png: * icons/gnome/sidebar_tab_pieces/right-empty-space.png: * icons/gnome/sidebar_tab_pieces/right-top-active-prelight.png: * icons/gnome/sidebar_tab_pieces/right-top-active.png: * icons/gnome/sidebar_tab_pieces/right-top-prelight.png: * icons/gnome/sidebar_tab_pieces/right-top.png: * icons/gnome/theme_preview.png: * icons/gnome/throbber/001.png: * icons/gnome/throbber/002.png: * icons/gnome/throbber/003.png: * icons/gnome/throbber/004.png: * icons/gnome/throbber/005.png: * icons/gnome/throbber/006.png: * icons/gnome/throbber/007.png: * icons/gnome/throbber/008.png: * icons/gnome/throbber/009.png: * icons/gnome/throbber/010.png: * icons/gnome/throbber/011.png: * icons/gnome/throbber/012.png: * icons/gnome/throbber/013.png: * icons/gnome/throbber/014.png: * icons/gnome/throbber/015.png: * icons/gnome/throbber/Makefile.am: * icons/gnome/throbber/rest.png: * icons/gnome/trash-empty-192.png: * icons/gnome/trash-empty-accept-192.png: * icons/gnome/trash-empty-accept.png: * icons/gnome/trash-empty.png: * icons/gnome/trash-full-192.png: * icons/gnome/trash-full.png: * icons/i-cdrom-192.png: * icons/i-cdrom.png: * icons/i-chardev.png: * icons/i-floppy.png: * icons/i-printer.png: * icons/i-sock.png: * icons/i-zip.png: Revision of the classic GNOME theme. 2001-06-02 Darin Adler * src/nautilus-window-manage-views.c: (update_for_new_location), (handle_view_failure), (nautilus_window_set_sidebar_panels): Check the sidebar for NULL in a few more places. 2001-06-02 Darin Adler * libnautilus-private/nautilus-volume-monitor.c: (modify_volume_name_for_display), (nautilus_volume_monitor_get_target_uri), (mount_volume_make_cdrom_name), (make_volume_name_from_path), (mount_volume_make_name), (mount_volume_activate), (mount_volume_deactivate), (get_current_mount_list), (update_modifed_volume_name), (verify_current_mount_state), (nautilus_volume_monitor_set_volume_name), (get_iso9660_volume_name), (load_additional_mount_list_info): Change volume name logic to be simpler. Also fixed some assert problems with the last check-in. 2001-06-01 Darin Adler Started with patch by Caleb "J." Land and added XFS support so that trash will work on XFS volumes. * libnautilus-private/nautilus-volume-monitor.h: * libnautilus-private/nautilus-volume-monitor.c: (nautilus_volume_monitor_should_integrate_trash), (make_volume_name_from_path), (mount_volume_get_name), (do_volume_activate), (mount_volume_activate), (verify_current_mount_state), (mount_volume_ext2_add), (mount_volume_udf_add), (mount_volume_vfat_add), (mount_volume_msdos_add), (mount_volume_affs_add), (mount_volume_auto_add), (mount_volume_fat_add), (mount_volume_hpfs_add), (mount_volume_hsfs_add), (mount_volume_minix_add), (mount_volume_proc_add), (mount_volume_reiserfs_add), (mount_volume_ufs_add), (mount_volume_smb_add), (mount_volume_unsdos_add), (mount_volume_xenix_add), (mount_volume_xfs_add), (mount_volume_xiafs_add), (copy_volume), (load_additional_mount_list_info), (mount_volume_prepend_filesystem): Added an XFS case and crunched code a bit. Rolled in patch by Johan Dahlin to install the public IDL files in $(datadir)/idl so that non-C programmers can use them. * libnautilus/Makefile.am: Install the IDL files. Also added them to the .spec file. * nautilus.spec.in: Install the IDL files as part of nautilus-devel. 2001-06-01 Darin Adler Rolled in patch by Juan Pablo Mendoza to make the file dialog show up in the right position instead of showing up in one place and then moving right away. * libnautilus-private/nautilus-file-operations.c: (create_transfer_dialog): Move gtk_show_widget until after the center_dialog_over_window call. 2001-06-01 Darin Adler Fixed mistakes in my MIME type change from yesterday. * libnautilus-private/nautilus-mime-actions.c: (build_joined_string): Correct variable so we build the string from all the elements in the list, not just the first element repeated over and over again. (nautilus_mime_get_short_list_components_for_file): Remove stray single-quote character so we build a legal query. The queries were all failing due to this typo. * src/nautilus-window.c: Spacing tweak. * NEWS: Remove lack-of-tinderbox lament. 2001-06-01 Darin Adler Integrated revised version of patch by zilch.am@home.se to fix problems typing characters with values > 127 on some systems. * libnautilus-private/nautilus-icon-container.c: (match_best_name): Cast the result of tolower to a (char) before comparing it with another char. 2001-05-31 Darin Adler Integrated patch by limval@yahoo.com to make typing and clicking faster by sending fewer "selection_changed" signals. This may fix bug 5010. * libnautilus-private/nautilus-entry.c: (nautilus_entry_key_press), (nautilus_entry_motion_notify): Only send the "selection_changed" signal when a selection was there to change. 2001-05-31 Darin Adler * src/nautilus-window-manage-views.c: (update_title): Missed a place that required a non-NULL sidebar. Thanks to Miguel Rodriguez Perez for pointing it out. 2001-05-31 Darin Adler Fixed a bug where the MIME type components short list query was not sorted. This could result in the wrong default component being selected, and may be the problem that caused some users to get the text component instead of the Mozilla web page component. * libnautilus-private/nautilus-mime-actions.c: (nautilus_mime_get_default_component_for_file_internal): Update since nautilus_do_component_query no longer takes an &ev. (nautilus_mime_get_short_list_applications_for_file): Remove unused ev variable. Fix problem where the user's added items would be added in reverse order. (build_joined_string): New helper function. (nautilus_mime_get_short_list_components_for_file): Update since nautilus_do_component_query no longer takes an &ev. Pass in a sorting order to the query so we don't lose the order of the short list. (nautilus_mime_actions_file_needs_full_file_attributes): Update since nautilus_do_component_query no longer takes an &ev. (nautilus_mime_get_all_components_for_file): Update since nautilus_do_component_query no longer takes an &ev. (mime_get_all_components_for_uri_scheme): Update since nautilus_do_component_query no longer takes an &ev. (nautilus_do_component_query): Update to use its own &ev instead of take one passed in. None of the callers were looking at the &ev. * libnautilus-private/nautilus-directory-async.c: Bumped the number of items per call back up. Now that we've done other bug fixes, this makes things faster overall, not slower, although it does make the time until the first icon shows up a bit longer. * src/nautilus-sidebar-title.c: (nautilus_sidebar_title_set_file): Don't monitor the directory item count. If the main view monitors it we'll display it. If the main view doesn't, we'll show the old "last known" value or nothing. It's better to do less I/O and sometimes be wrong than do more I/O to always be right in this case. * src/nautilus-window.c: (add_sidebar_panel_callback), (nautilus_window_initialize), (nautilus_window_constructed), (nautilus_window_add_sidebar_panel), (update_sidebar_panels_from_preferences), (nautilus_window_hide_sidebar), (nautilus_window_show_sidebar), (nautilus_window_sidebar_showing): Simplify sidebar logic. Among other things, we no longer create an invisible sidebar for the desktop. * libnautilus-private/nautilus-icon-canvas-item.c: (in_single_click_mode): Use "(void)", not "()". * libnautilus-private/nautilus-icon-container.c: (nautilus_icon_container_did_not_drag): Coding style tweak. 2001-05-29 John Fleck Initial checkin of gnome-db2html3, the new DocBook xml->html converter * components/help/converters/gnome-db2html3/ gnome-db2html3.c, README, AUTHORS * components/help/converters/gnome-db2html3/gnome-customization, which contains GNOME customization stylesheet * components/help/converters/gnome-db2html3/docbook/, which contains Norman Walsh's xsl stylesheet extravaganza (the actual checkin was done the 29th, but there was a lock on the ChangeLog, which is why this is being checked in a day later) 2001-05-23 Darin Adler * libnautilus-private/nautilus-global-preferences.c: Added a default for the ADD_TO_SESSION preference. This should fix the problem where some people don't get any session management. Miguel's patch removed the code to set this preference in the first time druid so we need to default to TRUE. * libnautilus-private/nautilus-file.c: (nautilus_file_get_string_attribute_with_default): Used return statements to simplify the logic a bit. 2001-05-22 John Harper Fallout from fixing bug 8220 (Having Ctrl as default "modifier key used for default WM shortcuts" breaks everything...): * libnautilus-private/nautilus-icon-container.c (keyboard_space, keyboard_move_to): changed to use Control modifier instead of Alt 2001-05-22 Darin Adler Fixed problem compiling with new gettext: * hack-macros/gnome.m4: Add BUILD_INCLUDED_LIBINTL for compatibility with the new gettext. Fixed a problem with the throbber detecting that its X window is gone. Based on suggestions from Owen Taylor. * libnautilus/nautilus-bonobo-workarounds.h: * libnautilus/nautilus-bonobo-workarounds.c: (destroy_later_callback), (destroyed_before_timeout_callback), (nautilus_bonobo_object_force_destroy_later): Changed to "destroy later" instead of "destroy at idle". This makes us less likely to experience race conditions. * src/nautilus-window.c: (nautilus_window_initialize_class), (nautilus_window_unrealize), (nautilus_window_destroy): Moved the throbber destruction to unrealize so we destroy the throbber before we destroy its X window. Starting with patch by Anders Carlsson , added both prelighting and tracking to the throbber, also making it take action on release, not press. * components/throbber/nautilus-throbber.c: (nautilus_throbber_initialize_class): Add handlers for enter, leave, and release. (nautilus_throbber_initialize): Set flags so we get enter and leave events. (select_throbber_image): Ref the image that's returned. (draw_throbber_image): Make the image be prelit if the mouse is over the throbber but it wasn't clicked, and darkened if the mouse is over the throbber and it was clicked. (nautilus_throbber_enter_notify_event): Set flag and request redraw to prelight. (nautilus_throbber_leave_notify_event): Set flag and request redraw to un-prelight. (nautilus_throbber_button_press_event): Set flag to indicate we hit the button in the throbber. Also, respond only to left clicks. (nautilus_throbber_button_release_event): Look at flag set in press event. Do the work here now instead of at press time since we are more like a real button. Rolled in change by Miguel Rodríguez Pérez to fix volume mounting problems: * configure.in: Check for hasmntopt. * libnautilus-private/nautilus-volume-monitor.c: (get_removable_volumes): Fix typo (HAVE_MNTTENT_H -> HAVE_MNTENT_H). Integrated patch by Miguel Rodríguez Pérez to make Nautilus not try to preview MPEG lists: * src/file-manager/fm-icon-view.c: (icon_container_preview_callback): Made audio/x-mpegurl another exception to the list of audio types we can preview. Rolled in change by Dennis Smit : * THANKS: added more translators that were missing from the THANKS file (names from all the .po files in ./po). Other updates to THANKS: * THANKS: Added Jon K Hellan. * check-THANKS.pl: Fixed logic so you can be credited as both an author and translator. Other changes: * src/file-manager/fm-list-view.c: (get_default_zoom_level): Fix typo (storaged -> storage). * src/nautilus-shell-ui.xml: * src/file-manager/nautilus-directory-view-ui.xml: Fixed keybindings entries to use the correct tags as described by ui-xml.txt. 2001-05-21 Andy Hertzfeld made the news panel flash less by defering async updates with a timer task, so ones that fire close together are coalesced. * components/news/nautilus-news.c: (do_destroy), (rss_logo_callback), (update_timeout_callback), (queue_update_size_and_redraw), (rss_read_done_callback), (make_remove_widgets), (make_news_view): 2001-05-18 Yoann Vandoorselaere Code reviewed by Darin Adler . * src/file-manager/fm-directory-view.c (display_pending_idle_callback): return TRUE if real_display_pending_files() return FALSE which mean that there is other icon to be drawn (the idle won't be removed until the idle callback return FALSE). return FALSE if real_display_pending_files() return TRUE, which mean all files were drawn. 2001-05-18 Jon K Hellan Code reviewed by Darin Adler * components/music/mpg123.h (struct id3v1tag_t): Fix track info. (struct id3tag_t): Fix track info. Not tested for v2, but big enough for what can be represented in v1.1. * components/music/mpg123.c (mpg123_id3v1_to_id3v2): Fix track info. Track in id3v1.1 is an 8 bit integer, not a string. Track is still unimplemented for id3v2. I did not fix it, as I don't have examples to test with. 2001-05-18 Yoann Vandoorselaere Code reviewed by Darin Adler , also, thanks for the help solving this issue. * src/file-manager/fm-directory-view.c (g_list_split_off_first_n): moved from fm-list-view.c. (real_display_pending_files): move the fm-list-view.c function to display pending file, but remove the clist sorting code. (FILES_TO_PROCESS_AT_ONCE): new constant, appear to be a better name than LIST_VIEW_DISPLAY_PENDING_FILES_GROUP_SIZE. * src/file-manager/fm-list-view.c (LIST_VIEW_DISPLAY_PENDING_FILES_GROUP_SIZE): removed this constant. (fm_list_view_display_pending_files): just sort the list by the clist criteria then call the parent function to display_pending_file. (g_list_split_off_first_n): removed. This should fix the issue where UI response (icon drawing) would take a long time because the directory loaded was cached by the kernel. We now draw with a fixed maximum number of files at once. The list view code was already doing that, so the code was just moved, and adaptated for use in directory view, so list view has the same behavior as before without any code being duplicated. 2001-05-17 Darin Adler Yoann and I did some more debugging and analysis and we stumbled over a bug that was responsible for some big slowdowns. * libnautilus-private/nautilus-directory-async.c: (activation_uri_start): Fixed bug that was causing activation URI reads to work strangely. * src/file-manager/nautilus-directory-view-ui.xml: * src/file-manager/fm-directory-view.c: (delete_callback), (bonobo_control_activate_callback), (fm_directory_view_destroy): * src/nautilus-shell-ui.xml: * src/nautilus-window.c: (nautilus_window_initialize_class), (nautilus_window_realize): Rip out keybinding hack and use Bonobo's (undocumented as far as I can tell) keybinding machinery instead. * libnautilus-private/nautilus-metafile.c: (schedule_next_read): Use (void), not (). 2001-05-17 Darin Adler * configure.in: * nautilus.spec.in: Don't require ammonite any more in the default Nautilus RPM. I left the ability to compile ammonite support in for now. That can be removed at any time, but it doesn't hurt anybody. * libnautilus-private/nautilus-global-preferences.c: Change default web search to use google instead of the defunct Eazel search page. 2001-05-16 Darin Adler * configure.in: Up version to 1.0.3.1 so we don't confuse cvs builds with the release. * libnautilus-private/nautilus-file.c: (nautilus_file_fit_date_as_string): Fix i18n problem by calling _() on strings before using. * src/file-manager/fm-directory-view.c: (key_press_event_callback), (bonobo_control_activate_callback), (fm_directory_view_destroy): * src/nautilus-window.c: (nautilus_window_key_press_event): Change key press event callbacks to run only after the parent class. This makes keys go to the focused text field first, so hitting delete while editing a file name doesn't delete the file. 2001-05-16 Darin Adler * src/file-manager/fm-directory-view.c: (fm_directory_view_destroy), (activate_callback), (cancel_activate_callback), (fm_directory_view_activate_file), Got rid of monitor_file_for_activation, another example of this same loose end as last time. * src/nautilus-window-manage-views.c: (set_to_pending_location_and_selection): There was an overzealous assert in here. Looked into why it fired, and fixed it up. 2001-05-16 Darin Adler * src/nautilus-window-private.h: * src/nautilus-window-manage-views.c: (free_location_change), (begin_location_change): Finished up a loose end from when I made the change to determine_initial_view to not get full attributes. This leftover code was causing an extra directory load. * THANKS: Added Yoann. 2001-05-15 Andy Hertzfeld * src/nautilus-sidebar.c: (notify_current_sidebar_view), (nautilus_sidebar_activate_panel), (nautilus_sidebar_deactivate_panel): at Darin's urging, coalesced the open and closed properties into a single one with a value. * components/news/nautilus-news.c: (get_bonobo_properties), (set_bonobo_properties), (nautilus_news_load_location): made it maintain the closed state and made load_location only redraw when opened. 2001-05-13 Yoann Vandoorselaere * libnautilus-private/nautilus-directory-async.c (DIRECTORY_LOAD_ITEMS_PER_CALLBACK): Change from 32 item by callback to 10. This is much better for UI response time and will prevent having too much latency time when loading the directory. * src/file-manager/fm-directory-view.c (DISPLAY_TIMEOUT_INTERVAL_MSECS): Change from 700 ms to 100 ms, this is much better for the user as he won't see any latency time before drawing start. Theses are the better experienced setting for now. 2001-05-13 Maciej Stachowiak Integrated patch from Yoann Vandoorselaere . Yoann found that double-clicking on on a directory would wait for all the files to be read in before displaying anything, while typing the path in the location bar would should proper progressive loading. This checkin solves that problem. * src/file-manager/fm-directory-view.c: (fm_directory_view_activate_file): Only call_when_ready on the minimum attributes, not full. All the checks in activate_callback only depend on the minimum attributes, and do not need the extra directory item mime types attribute. 2001-05-11 Darin Adler reviewed by: Yoann Vandoorselaere Yoann Vandoorselaere discovered that the code to load a directory was accidentally waiting for all the files to be read in before displaying anything. This fixes the two problems that caused that, but there are remaining loose ends (it's not entirely clear why View As Music is still showing properly in the View menu). * libnautilus-private/nautilus-directory-private.h: * libnautilus-private/nautilus-directory-async.c: (nautilus_directory_call_when_ready_internal): Take a parameter to say whether to wait for all the files in the file list, instead of deducing it from other parameters. * libnautilus-private/nautilus-directory.h: * libnautilus-private/nautilus-directory.c: (nautilus_directory_call_when_ready): Take a parameter to say whether to wait for all the files in the file list, instead of deducing it from other parameters. (nautilus_self_check_directory): Pass TRUE so we wait for the file list. * libnautilus-private/nautilus-merged-directory.c: (merged_call_when_ready): Pass through the new boolean. * libnautilus-private/nautilus-trash-file.c: (real_call_when_ready): Pass FALSE since there is no file list for a single file. * libnautilus-private/nautilus-vfs-directory.c: (vfs_call_when_ready): Pass through the new boolean. * libnautilus-private/nautilus-vfs-file.c: (vfs_file_call_when_ready): Pass FALSE since there is no file list for a single file. * src/nautilus-applicable-views.c: (nautilus_determine_initial_view), (nautilus_determine_initial_view_cancel): Removed the code to get full file attributes after getting the minimum required if nautilus_mime_actions_file_needs_full_file_attributes return TRUE. We want to make the choice fast, and it's OK if we choose poorly as a result. The question is whether this will cause any real end-user problems. * src/file-manager/fm-directory-view.c: (call_when_ready_on_scripts_directory): Pass TRUE so we read the entire scripts directory. (load_directory): Pass FALSE so we don't wait for all the files to be loaded before starting to display them. This is the core of the fix. * components/tree/nautilus-tree-change-queue.c: (nautilus_tree_change_queue_enqueue): A place where we can use g_slist_prepend instead of g_slist_append. * src/nautilus-complex-search-bar.c: (nautilus_complex_search_bar_initialize): A place where we can use g_slist_prepend instead of g_slist_append. 2001-05-10 John Sullivan Made the thumbnail mechanism respect the "PUBLIC_METADATA" preference, so if you change "Make Folder Appearance Details Public" to Never (in Speed Tradeoffs at Advanced user level), thumbnails will always be created in ~/.nautilus/thumbnails, instead of in a .thumbnails subdirectory in each directory. Thanks to Michael Rothwell for the idea and a first pass at the code. * libnautilus-private/nautilus-thumbnails.h: * libnautilus-private/nautilus-thumbnails.c: (uri_is_local): New convenience function, calls gnome_vfs_uri_is_local (prefer_global_thumbnails_location): New function that checks preference value. (make_thumbnail_uri): Call preference-checking function. (first_file_more_recent), (nautilus_thumbnail_has_invalid_thumbnail), (nautilus_get_thumbnail_uri), (nautilus_update_thumbnail_file_renamed_one), (nautilus_update_thumbnail_file_renamed), (nautilus_remove_thumbnail_for_file_one), (nautilus_remove_thumbnail_for_file): Use uri_is_local () to reduce duplicated code; change some parameter names for clarity. 2001-05-10 Darin Adler * components/help/hyperbola-filefmt.c: (prepend_help_dir_if_exists), (fmt_help_populate_tree): * components/mozilla/nautilus-mozilla-content-view.c: (mozilla_view_create_charset_encoding_submenu), (mozilla_new_window_callback), (should_uri_navigate_bypass_nautilus), (should_mozilla_load_uri_directly): * components/music/fileinfo.c: (mpg123_file_info_box): * components/music/nautilus-music-view.c: (nautilus_music_view_update): * components/notes/nautilus-notes.c: (notes_load_metainfo): * components/throbber/nautilus-throbber.c: (nautilus_throbber_load_images): * components/tree/nautilus-tree-node.c: (nautilus_tree_node_set_parent): * libnautilus-private/nautilus-directory-background.c: (nautilus_connect_background_to_file_metadata): * libnautilus-private/nautilus-directory.c: (nautilus_self_check_directory): * libnautilus-private/nautilus-file-changes-queue.c: (nautilus_file_changes_consume_changes): * libnautilus-private/nautilus-file-dnd.c: (nautilus_drag_file_receive_dropped_keyword): * libnautilus-private/nautilus-file-operations.c: (handle_transfer_ok), (nautilus_file_operations_new_folder): * libnautilus-private/nautilus-file.c: (nautilus_self_check_file): * libnautilus-private/nautilus-icon-container.c: (lay_down_icons_tblr): * libnautilus-private/nautilus-mime-actions.c: (nautilus_do_component_query): * libnautilus-private/nautilus-search-uri.c: (tokenize_uri): * libnautilus-private/nautilus-theme.c: (theme_list_prepend), (theme_get_themes_for_location), (theme_get_default_themes), (nautilus_theme_remove_user_theme): * libnautilus-private/nautilus-thumbnails.c: (nautilus_get_thumbnail_uri): * libnautilus-private/nautilus-trash-monitor.c: (nautilus_trash_monitor_initialize), (add_one_volume_trash): * libnautilus-private/nautilus-volume-monitor.c: (get_removable_volumes), (build_volume_list_delta), (get_mount_list), (get_current_mount_list), (mount_volume_prepend_filesystem): * src/file-manager/fm-directory-view.c: (prepend_uri_one), (fm_directory_view_create_links_for_files), (fm_directory_view_duplicate_selection): * src/file-manager/fm-properties-window.c: (property_button_toggled): * src/nautilus-window-manage-views.c: (determined_initial_view_callback): Changed code that uses g_list_append to use g_list_prepend in all the cases where it was simple enough. 2001-05-10 Darin Adler Integrated a patch from peter@ximian.com to move the MOZILLA_FIVE_HOME-setting code from the main Nautilus program (where it does no good) to the Mozilla component (which is a nicer place for it anyway). While integrating the patch I made some other small cleanups to the Mozilla component and the patch itself. I removed the code to set up LD_LIBRARY_PATH, since it's not needed, and changed the name of some things and simplified others. * components/mozilla/Makefile.am: Define PREFIX. * components/mozilla/main.c: (is_good_mozilla_path), (get_mozilla_path), (set_up_MOZILLA_FIVE_HOME), (main): Add the new code to set up MOZILLA_FIVE_HOME. * src/nautilus-application.c: (finish_startup): Remove the code from the old place. * check-THANKS.pl: Updated. 2001-05-09 Darin Adler * libnautilus-private/nautilus-metafile-factory.c: * libnautilus-private/nautilus-vfs-directory.c: * libnautilus-private/nautilus-vfs-file.c: Added dummy members so we have no illegal empty structures. * src/nautilus-sidebar-title.c: (update_emblems): Get rid of some dead code. 2001-05-09 Darin Adler * README: Updated required versions of packages. 2001-05-08 Darin Adler Started with patch by Yoann Vandoorselaere to not re-open /proc/mounts each time, but to simply rewind it instead. The patch had a lot of problems on Solaris and when HAVE_CDDA is true, but I reworked it so it should be OK. * libnautilus-private/nautilus-volume-monitor.c: (get_mount_list), (get_current_mount_list): Use rewind. 2001-05-08 Darin Adler Integrated a fixed version of Gene's patch to compile under FreeBSD. * libnautilus-private/nautilus-volume-monitor.c: (has_removable_mntent_options), (get_removable_volumes), (volume_is_removable), (volume_is_read_only), (nautilus_volume_monitor_mount_unmount_removable), (nautilus_volume_monitor_get_mount_name_for_display): Added more ifdefs all over the place. This could be done more elegantly some day. 2001-05-08 Darin Adler Integrated patch by Yoann Vandoorselaere to fix a problem where we would try to get metadata for all files in the home directory if it was set to be used as the desktop directory. * libnautilus-private/nautilus-file-utilities.h: * libnautilus-private/nautilus-file-utilities.c: (nautilus_get_desktop_directory): Changed this to not bother with the call to create the directory when the home directory is used as the desktop. (nautilus_get_gmc_desktop_directory): New function. * libnautilus-private/nautilus-icon-factory.c: (nautilus_icon_factory_get_icon_for_file): Use nautilus_get_gmc_desktop_directory for the check when deciding to look for old-fashioned gmc metadata. === Nautilus 1.0.3 === 2001-05-08 Ramiro Estrugo * components/mozilla/Makefile.am: * configure.in: * README: Remove some Mozilla Milestone cruft. Make the Mozilla component build with the newly released Mozilla 0.9. Update the README with the latest Mozilla 0.9 support. 2001-05-07 John Sullivan reviewed by: Darin Adler Fixed bug 8122 (Folders opened from the desktop should not reuse frontmost window). The previous behavior was intended to match the behavior of web browsers, but user feedback made it clear that it was confusing and annoying people too much. * src/nautilus-window-manage-views.c: (get_topmost_nautilus_window_in_current_workspace_and_area): Removed this no-longer-needed function. (open_location): Always create a new window in the desktop case. 2001-05-07 Darin Adler reviewed by: John Sullivan Fix bug 8251 (Mozilla component crashes every time I try to view a web page) by putting the same logic for locating Mozilla that is used by galeon into Nautilus. * src/nautilus-application.c: (is_mozilla_path_good), (get_mozilla_path), (find_mozilla): Code to find Mozilla and set up some environment variables that matches the code in galeon's startup script. (finish_startup): New function for initialization code that should be done only in the main Nautilus, not in clients that are going to contact the main Nautilus. More initialization should be moved in here over time. Calls find_mozilla among other things. (nautilus_application_startup): Moved the sound initialization and the code to migrate desktop directory contents inside the new initialization function. 2001-05-07 Robin * Slomkowski * src/nautilus-first-time-druid.c: (make_title_page_icon_box): changed "arlo/i-directory-aa.png" to "crux_eggplant/i-directory-aa.png" as the arlo directory has been renamed. 2001-05-04 Jonathan Blandford * src/file-manager/fm-icon-view.c (icon_container_preview_callback): Possibly play the file if it's an ogg. * src/file-manager/fm-icon-view.c (play_file): Check for ogg file. 2001-05-04 Darin Adler * nautilus-installer.spec.in: Removed this obsolete file. 2001-05-04 Darin Adler * THANKS: Add an entry for Bart. * indent.sh: Update switches (one was wrong for Nautilus style). 2001-05-04 Darin Adler * libnautilus-private/.cvsignore: Update for name change. 2001-05-04 Darin Adler * libnautilus-private/nautilus-mime-actions.c: (is_known_mime_type): Fix mistake where we put quotes around GNOME_VFS_MIME_TYPE_UNKNOWN. Use g_strcasecmp. (nautilus_mime_get_default_action_type_for_file), (application_supports_uri_scheme): Use g_strcasecmp. 2001-05-04 Robin * Slomkowski * configure.in: upped version required of eel to 1.0 and librsvg to 1.0.0 2001-05-04 Robin * Slomkowski * configure.in: upped versions required, medusa >= 0.5.1 ammonite >= 1.0.2, gnome-vfs >= 1.0.1 2001-05-04 Robin * Slomkowski * configure.in: requires eel 0.1 2001-05-04 Ramiro Estrugo * configure.in: No need to set gconf flags here since eel will have already done so. * nautilus.spec.in: Change the BuildRequires entries for eel and librsvg to be eel-devel and librsvg-devel. * libnautilus-private/nautilus-dateedit-extensions.c: * libnautilus-private/nautilus-dateedit-extensions.h: * libnautilus-private/nautilus-generous-bin.c: * libnautilus-private/nautilus-generous-bin.h: * libnautilus-private/nautilus-gconf-extensions.c: * libnautilus-private/nautilus-gconf-extensions.h: * libnautilus-private/nautilus-preferences-box.c: * libnautilus-private/nautilus-preferences-box.h: * libnautilus-private/nautilus-preferences-group.c: * libnautilus-private/nautilus-preferences-group.h: * libnautilus-private/nautilus-preferences-item.c: * libnautilus-private/nautilus-preferences-item.h: * libnautilus-private/nautilus-preferences-pane.c: * libnautilus-private/nautilus-preferences-pane.h: * libnautilus-private/nautilus-preferences.c: * libnautilus-private/nautilus-preferences.h: Moved to Eel. * applets/preferences-applet/nautilus-preferences-applet.c: * components/adapter/nautilus-adapter.c: * components/news/nautilus-news.c: * components/text/nautilus-text-view.c: * components/throbber/nautilus-throbber.c: * components/tree/nautilus-tree-expansion-state.c: * components/tree/nautilus-tree-view.c: * libnautilus-private/Makefile.am: * libnautilus-private/nautilus-directory-async.c: * libnautilus-private/nautilus-directory-background.c: * libnautilus-private/nautilus-directory.c: * libnautilus-private/nautilus-entry.c: * libnautilus-private/nautilus-file-operations.c: * libnautilus-private/nautilus-file-utilities.c: * libnautilus-private/nautilus-file.c: * libnautilus-private/nautilus-font-factory.c: * libnautilus-private/nautilus-global-preferences.c: * libnautilus-private/nautilus-global-preferences.h: * libnautilus-private/nautilus-icon-canvas-item.c: * libnautilus-private/nautilus-icon-container.c: * libnautilus-private/nautilus-icon-factory.c: * libnautilus-private/nautilus-lib-self-check-functions.h: * libnautilus-private/nautilus-link-set.c: * libnautilus-private/nautilus-metafile.c: * libnautilus-private/nautilus-sidebar-functions.c: * libnautilus-private/nautilus-sound.c: * libnautilus-private/nautilus-theme.c: * src/file-manager/fm-desktop-icon-view.c: * src/file-manager/fm-directory-view.c: * src/file-manager/fm-icon-view.c: * src/file-manager/fm-list-view.c: * src/file-manager/fm-properties-window.c: * src/file-manager/nautilus-indexing-info.c: * src/nautilus-application.c: * src/nautilus-first-time-druid.c: * src/nautilus-link-set-window.c: * src/nautilus-main.c: * src/nautilus-navigation-bar.c: * src/nautilus-navigation-bar.h: * src/nautilus-preferences-dialog.c: * src/nautilus-property-browser.c: * src/nautilus-search-bar-criterion.c: * src/nautilus-shell.c: * src/nautilus-sidebar-tabs.c: * src/nautilus-sidebar-title.c: * src/nautilus-sidebar.c: * src/nautilus-switchable-search-bar.c: * src/nautilus-theme-selector.c: * src/nautilus-view-frame.c: * src/nautilus-view-frame.h: * src/nautilus-window-manage-views.c: * src/nautilus-window-menus.c: * src/nautilus-window-toolbars.c: * src/nautilus-window.c: * src/nautilus-zoom-control.c: * test/test-nautilus-preferences-change.c: * test/test-nautilus-preferences-display.c: * test/test-nautilus-smooth-graphics.c: * test/test.c: Update for latest round of stuff moving into Eel. 2001-05-03 Andy Hertzfeld * components/news/nautilus-news.c: (ellipsize_string), (extract_items): made the news panel ellipsize long items. I hope this can make it into 1.0.3, but it's not worth making new rpms unless we have other reasons to do so. 2001-05-03 Robin * Slomkowski * configure.in: upped version to 1.0.3 2001-05-03 Ramiro Estrugo * RENAMING: Remove libnautilus-extensions -> libnautilus-private entry since its done now. 2001-05-03 Ramiro Estrugo * Makefile.am: * applets/launcher/Makefile.am: * applets/preferences-applet/Makefile.am: * applets/preferences-applet/nautilus-preferences-applet.c: * components/adapter/Makefile.am: * components/adapter/nautilus-adapter.c: * components/hardware/Makefile.am: * components/hardware/nautilus-hardware-view.c: * components/help/Makefile.am: * components/help/hyperbola-main.c: * components/help/hyperbola-nav-tree.c: * components/history/Makefile.am: * components/history/nautilus-history-view.c: * components/image-viewer/Makefile.am: * components/loser/content/Makefile.am: * components/loser/sidebar/Makefile.am: * components/mozilla/bonobo-extensions.c: * components/mozilla/bonobo-extensions.h: * components/music/Makefile.am: * components/music/main.c: * components/music/nautilus-music-view.c: * components/news/Makefile.am: * components/news/nautilus-news.c: * components/notes/Makefile.am: * components/notes/nautilus-notes.c: * components/text/Makefile.am: * components/text/main.c: * components/text/nautilus-text-view.c: * components/throbber/Makefile.am: * components/throbber/main.c: * components/throbber/nautilus-throbber.c: * components/tree/nautilus-tree-expansion-state.c: * components/tree/nautilus-tree-model.c: * components/tree/nautilus-tree-node.c: * components/tree/nautilus-tree-node.h: * components/tree/nautilus-tree-view-dnd.c: * components/tree/nautilus-tree-view.c: * configure.in: * helper-utilities/error-dialog/nautilus-error-dialog.c: * libnautilus-extensions/.cvsignore: * libnautilus-extensions/Makefile.am: * libnautilus-extensions/README: * libnautilus-extensions/nautilus-audio-player.c: * libnautilus-extensions/nautilus-audio-player.h: * libnautilus-extensions/nautilus-bonobo-extensions.c: * libnautilus-extensions/nautilus-bonobo-extensions.h: * libnautilus-extensions/nautilus-bookmark.c: * libnautilus-extensions/nautilus-bookmark.h: * libnautilus-extensions/nautilus-cdrom-extensions.h: * libnautilus-extensions/nautilus-customization-data.c: * libnautilus-extensions/nautilus-customization-data.h: * libnautilus-extensions/nautilus-dateedit-extensions.c: * libnautilus-extensions/nautilus-dateedit-extensions.h: * libnautilus-extensions/nautilus-default-file-icon.c: * libnautilus-extensions/nautilus-default-file-icon.h: * libnautilus-extensions/nautilus-directory-async.c: * libnautilus-extensions/nautilus-directory-background.c: * libnautilus-extensions/nautilus-directory-background.h: * libnautilus-extensions/nautilus-directory-metafile-monitor.c: * libnautilus-extensions/nautilus-directory-metafile-monitor.h: * libnautilus-extensions/nautilus-directory-metafile.c: * libnautilus-extensions/nautilus-directory-metafile.h: * libnautilus-extensions/nautilus-directory-notify.h: * libnautilus-extensions/nautilus-directory-private.h: * libnautilus-extensions/nautilus-directory.c: * libnautilus-extensions/nautilus-directory.h: * libnautilus-extensions/nautilus-drag-window.c: * libnautilus-extensions/nautilus-drag-window.h: * libnautilus-extensions/nautilus-druid-page-eazel.c: * libnautilus-extensions/nautilus-druid-page-eazel.h: * libnautilus-extensions/nautilus-druid.c: * libnautilus-extensions/nautilus-druid.h: * libnautilus-extensions/nautilus-entry.c: * libnautilus-extensions/nautilus-entry.h: * libnautilus-extensions/nautilus-file-attributes.h: * libnautilus-extensions/nautilus-file-changes-queue.c: * libnautilus-extensions/nautilus-file-changes-queue.h: * libnautilus-extensions/nautilus-file-dnd.c: * libnautilus-extensions/nautilus-file-dnd.h: * libnautilus-extensions/nautilus-file-operations-progress.c: * libnautilus-extensions/nautilus-file-operations-progress.h: * libnautilus-extensions/nautilus-file-operations.c: * libnautilus-extensions/nautilus-file-operations.h: * libnautilus-extensions/nautilus-file-private.h: * libnautilus-extensions/nautilus-file-utilities.c: * libnautilus-extensions/nautilus-file-utilities.h: * libnautilus-extensions/nautilus-file.c: * libnautilus-extensions/nautilus-file.h: * libnautilus-extensions/nautilus-font-factory.c: * libnautilus-extensions/nautilus-font-factory.h: * libnautilus-extensions/nautilus-gconf-extensions.c: * libnautilus-extensions/nautilus-gconf-extensions.h: * libnautilus-extensions/nautilus-generous-bin.c: * libnautilus-extensions/nautilus-generous-bin.h: * libnautilus-extensions/nautilus-global-preferences.c: * libnautilus-extensions/nautilus-global-preferences.h: * libnautilus-extensions/nautilus-horizontal-splitter.c: * libnautilus-extensions/nautilus-horizontal-splitter.h: * libnautilus-extensions/nautilus-icon-canvas-item.c: * libnautilus-extensions/nautilus-icon-canvas-item.h: * libnautilus-extensions/nautilus-icon-container.c: * libnautilus-extensions/nautilus-icon-container.h: * libnautilus-extensions/nautilus-icon-dnd.c: * libnautilus-extensions/nautilus-icon-dnd.h: * libnautilus-extensions/nautilus-icon-factory-private.h: * libnautilus-extensions/nautilus-icon-factory.c: * libnautilus-extensions/nautilus-icon-factory.h: * libnautilus-extensions/nautilus-icon-private.h: * libnautilus-extensions/nautilus-icon-text-item.c: * libnautilus-extensions/nautilus-icon-text-item.h: * libnautilus-extensions/nautilus-iso9660.h: * libnautilus-extensions/nautilus-keep-last-vertical-box.c: * libnautilus-extensions/nautilus-keep-last-vertical-box.h: * libnautilus-extensions/nautilus-lib-self-check-functions.c: * libnautilus-extensions/nautilus-lib-self-check-functions.h: * libnautilus-extensions/nautilus-link-set.c: * libnautilus-extensions/nautilus-link-set.h: * libnautilus-extensions/nautilus-link.c: * libnautilus-extensions/nautilus-link.h: * libnautilus-extensions/nautilus-medusa-support.c: * libnautilus-extensions/nautilus-medusa-support.h: * libnautilus-extensions/nautilus-merged-directory.c: * libnautilus-extensions/nautilus-merged-directory.h: * libnautilus-extensions/nautilus-metadata.h: * libnautilus-extensions/nautilus-metafile-factory.c: * libnautilus-extensions/nautilus-metafile-factory.h: * libnautilus-extensions/nautilus-metafile-server.idl: * libnautilus-extensions/nautilus-metafile.c: * libnautilus-extensions/nautilus-metafile.h: * libnautilus-extensions/nautilus-mime-actions.c: * libnautilus-extensions/nautilus-mime-actions.h: * libnautilus-extensions/nautilus-monitor.c: * libnautilus-extensions/nautilus-monitor.h: * libnautilus-extensions/nautilus-preferences-box.c: * libnautilus-extensions/nautilus-preferences-box.h: * libnautilus-extensions/nautilus-preferences-group.c: * libnautilus-extensions/nautilus-preferences-group.h: * libnautilus-extensions/nautilus-preferences-item.c: * libnautilus-extensions/nautilus-preferences-item.h: * libnautilus-extensions/nautilus-preferences-pane.c: * libnautilus-extensions/nautilus-preferences-pane.h: * libnautilus-extensions/nautilus-preferences.c: * libnautilus-extensions/nautilus-preferences.h: * libnautilus-extensions/nautilus-program-chooser.c: * libnautilus-extensions/nautilus-program-chooser.h: * libnautilus-extensions/nautilus-program-choosing.c: * libnautilus-extensions/nautilus-program-choosing.h: * libnautilus-extensions/nautilus-search-uri.c: * libnautilus-extensions/nautilus-search-uri.h: * libnautilus-extensions/nautilus-sidebar-functions.c: * libnautilus-extensions/nautilus-sidebar-functions.h: * libnautilus-extensions/nautilus-sound.c: * libnautilus-extensions/nautilus-sound.h: * libnautilus-extensions/nautilus-theme.c: * libnautilus-extensions/nautilus-theme.h: * libnautilus-extensions/nautilus-thumbnails-jpeg.c: * libnautilus-extensions/nautilus-thumbnails-jpeg.h: * libnautilus-extensions/nautilus-thumbnails.c: * libnautilus-extensions/nautilus-thumbnails.h: * libnautilus-extensions/nautilus-trash-directory.c: * libnautilus-extensions/nautilus-trash-directory.h: * libnautilus-extensions/nautilus-trash-file.c: * libnautilus-extensions/nautilus-trash-file.h: * libnautilus-extensions/nautilus-trash-monitor.c: * libnautilus-extensions/nautilus-trash-monitor.h: * libnautilus-extensions/nautilus-undo-context.c: * libnautilus-extensions/nautilus-undo-context.h: * libnautilus-extensions/nautilus-undo-manager.c: * libnautilus-extensions/nautilus-undo-manager.h: * libnautilus-extensions/nautilus-undo-signal-handlers.c: * libnautilus-extensions/nautilus-undo-signal-handlers.h: * libnautilus-extensions/nautilus-vfs-directory.c: * libnautilus-extensions/nautilus-vfs-directory.h: * libnautilus-extensions/nautilus-vfs-file.c: * libnautilus-extensions/nautilus-vfs-file.h: * libnautilus-extensions/nautilus-view-identifier.c: * libnautilus-extensions/nautilus-view-identifier.h: * libnautilus-extensions/nautilus-volume-monitor.c: * libnautilus-extensions/nautilus-volume-monitor.h: * libnautilus-private/Makefile.am: * libnautilus-private/README: * libnautilus-private/nautilus-directory-background.h: * libnautilus-private/nautilus-directory-metafile-monitor.c: * libnautilus-private/nautilus-directory-metafile-monitor.h: * libnautilus-private/nautilus-directory-metafile.c: * libnautilus-private/nautilus-directory-notify.h: * libnautilus-private/nautilus-druid-page-eazel.c: * libnautilus-private/nautilus-entry.c: * libnautilus-private/nautilus-file-dnd.h: * libnautilus-private/nautilus-file-operations.c: * libnautilus-private/nautilus-global-preferences.h: * libnautilus-private/nautilus-icon-factory.h: * libnautilus-private/nautilus-metafile-factory.c: * libnautilus-private/nautilus-metafile-factory.h: * libnautilus-private/nautilus-mime-actions.h: * libnautilus-private/nautilus-preferences-box.h: * libnautilus-private/nautilus-preferences-group.h: * libnautilus-private/nautilus-preferences-item.h: * libnautilus-private/nautilus-preferences-pane.h: * libnautilus-private/nautilus-undo-signal-handlers.h: * libnautilus/nautilus-view.c: * nautilus.spec.in: * po/POTFILES.in: * src/Makefile.am: * src/file-manager/fm-desktop-icon-view.c: * src/file-manager/fm-directory-view.c: * src/file-manager/fm-directory-view.h: * src/file-manager/fm-error-reporting.c: * src/file-manager/fm-error-reporting.h: * src/file-manager/fm-icon-view.c: * src/file-manager/fm-list-view.c: * src/file-manager/fm-properties-window.c: * src/file-manager/fm-properties-window.h: * src/file-manager/fm-search-list-view.c: * src/file-manager/nautilus-indexing-info.c: * src/nautilus-about.c: * src/nautilus-applicable-views.c: * src/nautilus-applicable-views.h: * src/nautilus-application.c: * src/nautilus-application.h: * src/nautilus-bookmark-list.c: * src/nautilus-bookmark-list.h: * src/nautilus-bookmark-parsing.c: * src/nautilus-bookmark-parsing.h: * src/nautilus-bookmarks-window.c: * src/nautilus-complex-search-bar.c: * src/nautilus-complex-search-bar.h: * src/nautilus-desktop-window.c: * src/nautilus-first-time-druid.c: * src/nautilus-link-set-window.c: * src/nautilus-link-set-window.h: * src/nautilus-location-bar.c: * src/nautilus-main.c: (main): * src/nautilus-navigation-bar.h: * src/nautilus-preferences-dialog.c: * src/nautilus-preferences-dialog.h: * src/nautilus-profiler.h: * src/nautilus-property-browser.c: * src/nautilus-search-bar-criterion.c: * src/nautilus-search-bar-criterion.h: * src/nautilus-search-bar.h: * src/nautilus-services.c: * src/nautilus-shell.c: * src/nautilus-sidebar-tabs.c: * src/nautilus-sidebar-title.c: * src/nautilus-sidebar-title.h: * src/nautilus-sidebar.c: * src/nautilus-simple-search-bar.c: * src/nautilus-switchable-navigation-bar.c: * src/nautilus-switchable-search-bar.c: * src/nautilus-theme-selector.c: * src/nautilus-view-frame.c: * src/nautilus-view-frame.h: * src/nautilus-window-manage-views.c: * src/nautilus-window-menus.c: * src/nautilus-window-private.h: * src/nautilus-window-toolbars.c: * src/nautilus-window.c: * src/nautilus-window.h: * src/nautilus-zoom-control.c: * test/Makefile.am: * test/test-nautilus-async-activation.c: * test/test-nautilus-mime-actions-set.c: * test/test-nautilus-mime-actions.c: * test/test-nautilus-preferences-change.c: * test/test-nautilus-preferences-display.c: * test/test-nautilus-smooth-graphics.c: * test/test-nautilus-wrap-table.c: * test/test.c: * test/test.h: Rename libnautilus-extensions to libnautilus-private. 2001-05-03 Ramiro Estrugo * icons/arlo/throbber/.cvsignore: * icons/arlo/throbber/001.png: * icons/arlo/throbber/002.png: * icons/arlo/throbber/003.png: * icons/arlo/throbber/004.png: * icons/arlo/throbber/005.png: * icons/arlo/throbber/006.png: * icons/arlo/throbber/007.png: * icons/arlo/throbber/008.png: * icons/arlo/throbber/009.png: * icons/arlo/throbber/010.png: * icons/arlo/throbber/011.png: * icons/arlo/throbber/012.png: * icons/arlo/throbber/013.png: * icons/arlo/throbber/014.png: * icons/arlo/throbber/015.png: * icons/arlo/throbber/016.png: * icons/arlo/throbber/017.png: * icons/arlo/throbber/018.png: * icons/arlo/throbber/019.png: * icons/arlo/throbber/020.png: * icons/arlo/throbber/021.png: * icons/arlo/throbber/022.png: * icons/arlo/throbber/023.png: * icons/arlo/throbber/024.png: * icons/arlo/throbber/025.png: * icons/arlo/throbber/026.png: * icons/arlo/throbber/027.png: * icons/arlo/throbber/028.png: * icons/arlo/throbber/029.png: * icons/arlo/throbber/030.png: * icons/arlo/throbber/Makefile.am: * icons/arlo/throbber/rest.png: Remove old unused icons. 2001-05-03 Darin Adler * cut-n-paste-code/freetype/.cvsignore: Removing this file so that this empty directory will become completely empty. * cut-n-paste-code/.cvsignore: Tweak. * cut-n-paste-code/widgets/.cvsignore: Tweak. 2001-05-03 Darin Adler * libnautilus-extensions/nautilus-icon-factory.c: (nautilus_icon_factory_get_icon_for_file): Fix Nautilus Link support so it works for links that have paths instead of URIs in their custom icon field. 2001-05-03 Dan Mueth Added information about configuration files. * help/nautilus-user-manual/C/nautilus-user-manual.sgml: 2001-05-03 Andy Hertzfeld * components/news/nautilus-news.c: (add_site_from_fields): fixed a memory trashing bug that Bart found in the news panel. 2001-05-03 John Sullivan reviewed by: Darin Adler Fixed bug 8239 ("Zoom In" keyboard shortcut (Control-=) is untypable on many non-US keyboards) * src/nautilus-shell-ui.xml: Changed Zoom In shortcut to Control-+, so the more-mnemonic + appears in the menu. * src/nautilus-window.c: (nautilus_window_initialize_class), (nautilus_window_key_press_event): Make Control-+ and Control-= both activate Zoom In. 2001-05-03 Bart Decrem Added more RSS feeds: - Appwatch - Barrapunto - Barrapunto-Gnome - Security Focus - Linux.com - Mozilla Zine Fixed alphabetization error. * components/news/news_channels.xml 2001-05-03 Darin Adler * RENAMING: Removed some obsolete name changes. * src/nautilus-property-browser.h: Got rid of one last NTL. 2001-05-03 Darin Adler Fixed bug that was preventing custom icons from working in many cases. * libnautilus-extensions/nautilus-icon-factory.c: (load_icon_with_embedded_text): Pass in the URI for the custom icon. 2001-05-03 Darin Adler reviewed by: John Sullivan More tweaking on keyboard shortcuts for deleting and trashing. * src/file-manager/fm-directory-view.c: (ALL_NON_LOCK_MODIFIER_KEYS): Don't include MOD2, because it is "num lock". Don't include MOD3-5 because I don't know for sure if they are lock modifiers or not. (trash_or_delete_selected_files), (trash_callback): Separated out the Move To Trash command into a non-callback function. (delete_selected_files), (delete_callback): Separated out the Delete command into a non-callback function. (key_press_event_callback): Shift-Delete now means "Delete" if that command is turned on. Control-Backspace now means "Move To Trash". 2001-05-03 Bart Decrem reviewed by: no one :( Updated list of RSS feeds for the News sidebar. * components/news/news_channels.xml Removed: - Marihuana News - Macintosh News Added: - BSD Today - Dictionary.Com - Internet.com - Segfault - Web Reference 2001-05-03 Darin Adler reviewed by: John Sullivan Fixed bug 8232 (Trash.gmc and home directory link files made by gmc show on Desktop): * libnautilus-extensions/nautilus-file.c: (nautilus_file_should_show): Moved special case for gmc files in here. (filter_hidden_and_backup_partition_callback): Removed special case for gmc files, since it's now in the lower level. Also fixed code that was casting a pointer to an int without using GPOINTER_TO_INT. * src/nautilus-application.c: Fix typo. 2001-05-03 Darin Adler reviewed by: John Sullivan Fixed bug 8230 (launchers dragged from panel don't get icons as they did in Ximian's Nautilus 1.0.2): * libnautilus-extensions/nautilus-link.c: (nautilus_link_local_create_from_gnome_entry): Changed to use eel_make_uri_from_half_baked_uri so we can handle the kind of "URI"s that are in most .desktop files. Also did a lot of code cleanup. * src/file-manager/fm-desktop-icon-view.c: (icon_view_handle_uri_list): Changed to use eel_make_uri_from_half_baked_uri so we can handle the kind of "URI"s that are passed when dragging from old programs. Also did a lot of code cleanup. 2001-05-03 Darin Adler Fixed bug 8228 (http://www.yahoo.com shows plain document icon, not HTML icon). * src/nautilus-sidebar-title.c: (update_icon): Changed code to pass in icon names to nautilus_icon_factory_get_pixbuf_by_name, instead of passing icon paths (no reason to do that). 2001-05-03 John Fleck * components/help/converters/gnome-db2html2/sect-elements.c improve support for tag to proporly support role="bold" and role="strong" attributes with but *no* tags 2001-05-03 Dan Mueth Updating Nautilus Release Notes to mention that anybody who builds or repackages Nautilus should make sure Medusa support isn't built in by accident. * help/nautilus-release-notes/C/nautilus-release-notes.sgml: 2001-05-03 Dan Mueth Updates to Nautilus User Manual, including two new screenshots. * help/nautilus-user-manual/C/Makefile.am: * help/nautilus-user-manual/C/figures/help_num.png: * help/nautilus-user-manual/C/figures/news_num.png: * help/nautilus-user-manual/C/nautilus-user-manual.sgml: 2001-05-03 Zbigniew Chyla * src/nautilus-theme-selector.c (install_theme_button_clicked_callback): Destroy fileselector after pressing escape key. 2001-05-02 Darin Adler * src/file-manager/fm-directory-view.c: (key_press_event_callback), (bonobo_control_activate_callback): Hook up the delete key to move files to trash. Another feature requested by Miguel. * src/file-manager/nautilus-icon-view-ui.xml: Only show the F2 in the menu bar, not the right-click menu. * libnautilus-extensions/nautilus-icon-factory.c: (cache_icon_new), (load_specific_icon), (load_icon_for_scaling), (scale_icon), (get_icon_from_cache), (nautilus_icon_factory_get_pixbuf_for_icon), (load_icon_with_embedded_text): Tried to fix bug 8228, but failed. I still want to keep my changes. I'll get back to this tomorrow. 2001-05-02 Ramiro Estrugo * nautilus.spec.in: Add ammonite requires dependency. 2001-05-02 Darin Adler * src/file-manager/nautilus-icon-view-ui.xml: Added an F2 key equivalent for the Rename command because: 1) we didn't have a key equivalent here before, 2) F2 is what you use to do this on Windows, and 3) Miguel asked me to. 2001-05-02 John Sullivan * src/file-manager/fm-directory-view.c: (open_scripts_folder_callback), (disconnect_script_handlers): Made the dialog explaining how scripts work always show up when you choose "Open Scripts Folder", not just the first time. 2001-05-02 Darin Adler reviewed by: John Sullivan Fixed bug 8200 (News Sidebar panel crash on startup): * components/news/nautilus-news.c: (draw_rss_items): Use eel_strlen so it works with NULL titles. * configure.in: * nautilus.spec.in: Removed dependency on ghttp. Trilobite needs it, but not Nautilus. 2001-05-02 Darin Adler Fix bug where most files weren't getting their MIME type icons. * libnautilus-extensions/nautilus-icon-factory.c: (load_icon_given_two_names), (is_generic_icon_name), (load_specific_icon): Made the two generic icons lose out if there's a MIME type icon. We can't always prefer the MIME type icon, since that would break things like the "thumbnail in progress" icon. 2001-05-02 Darin Adler Fix bug where icon for Nautilus links were not appearing if they were icon names rather than complete URIs. * libnautilus-extensions/nautilus-icon-factory.c: (remove_icon_name_suffix): Separate out this function. (get_mime_type_icon_without_suffix): Use the new remove_icon_name_suffix function. (nautilus_icon_factory_get_icon_for_file): When getting a custom icon name from a file, call remove_icon_name_suffix. * src/file-manager/fm-desktop-icon-view.c: (create_mount_link), (fm_desktop_icon_view_trash_state_changed_callback), (icon_view_handle_uri_list), (update_home_link_and_delete_copies), (update_trash_link_and_delete_copies): Leave the ".png" suffixes out of the icon names. They never did any good. * components/help/help-method.c: (help_uri_to_string): Fix name of info2html2 and disallow parameters that start with "-" (for a slight bit less security vulnerability). 2001-05-02 Ramiro Estrugo * configure.in: Lots of improvement. Make dealing with dependency libs/cflags simpler. * applets/launcher/Makefile.am: * applets/preferences-applet/Makefile.am: * components/adapter/Makefile.am: * components/hardware/Makefile.am: * components/help/Makefile.am: * components/history/Makefile.am: * components/image-viewer/Makefile.am: * components/loser/content/Makefile.am: * components/loser/sidebar/Makefile.am: * components/mozilla/Makefile.am: * components/music/Makefile.am: * components/news/Makefile.am: * components/notes/Makefile.am: * components/sample/Makefile.am: * components/text/Makefile.am: * components/throbber/Makefile.am: * components/tree/Makefile.am: * helper-utilities/error-dialog/Makefile.am: * icons/arlo/throbber/Makefile.am: * icons/crux_eggplant/backgrounds/Makefile.am: * icons/crux_eggplant/sidebar_tab_pieces/Makefile.am: * icons/crux_eggplant/throbber/Makefile.am: * icons/gnome/throbber/Makefile.am: * icons/sidebar_tab_pieces/Makefile.am: * libnautilus-adapter/Makefile.am: * libnautilus-extensions/Makefile.am: * libnautilus/Makefile.am: * src/Makefile.am: * src/file-manager/Makefile.am: * test/Makefile.am: Eliminate cut-n-paste disease by using dependency macros defined in configure.in. 2001-05-02 Ramiro Estrugo * autogen.sh: Detect whether the invocation of configure failed and print a message accordingly. We used to always assume that configure was successful and print misleading "now type make to build $PROJECT" messages. 2001-05-01 Ramiro Estrugo * configure.in: Use NAUTILUS_VERSION_INSIST from hack-macros instead of EAZEL_VERSION_INSIST. 2001-05-01 Ramiro Estrugo * applets/launcher/Makefile.am: * applets/preferences-applet/Makefile.am: * components/adapter/Makefile.am: * components/hardware/Makefile.am: * components/help/Makefile.am: * components/history/Makefile.am: * components/image-viewer/Makefile.am: * components/loser/content/Makefile.am: * components/loser/sidebar/Makefile.am: * components/mozilla/Makefile.am: * components/music/Makefile.am: * components/notes/Makefile.am: * components/sample/Makefile.am: * components/text/Makefile.am: * components/throbber/Makefile.am: * components/tree/Makefile.am: * configure.in: * libnautilus-extensions/Makefile.am: * libnautilus/Makefile.am: * src/Makefile.am: * src/file-manager/Makefile.am: * test/Makefile.am: Patch from Christopher Lahey . Use EEL_CFLAGS, LIBRSVG_CFLAGS instead of EEL_INCLUDEDIR, and EEL_CFLAGS. Thanks Chris. 2001-05-01 Andy Hertzfeld * components/news/nautilus-news.c: (draw_rss_title): made the titles prelight when appropriate. Also, tweaked the channel gap size. 2001-05-01 Ramiro Estrugo * configure.in: Simplify the freetype2 detection insanity by using autoconf macro technology. The new test should work with both FreeType2 RPMS as well as freetype built from source in any prefix. 2001-05-01 Dan Mueth More updates to the User Manual for 1.0.3. * help/nautilus-user-manual/C/nautilus-user-manual.sgml: 2001-05-01 Andy Hertzfeld * components/news/nautilus-news.c: (do_destroy), (rss_read_done_callback), (nautilus_news_load_channel), (check_for_updates): fixed bug 8216, removing the news panel when loading channels hangs Nautilus. Fixed by making sure we don't launch multiple I/O request for a single channel. I suspect there are still some problems lurking, but the reported bug is no longer reproducible. 2001-05-01 Andy Hertzfeld * components/news/nautilus-news.c: (has_matching_uri), (mark_new_items): fixed problem where the new flag wasn't being maintained properly after updating, since it was using a whole new item list. Fixed by propogating the new flag from the corresponding old item. 2001-05-01 Darin Adler reviewed by: John Sullivan Some enhancements to icon lookup. * libnautilus-extensions/nautilus-icon-factory.h: * libnautilus-extensions/nautilus-icon-factory.c: (get_mime_type_icon_without_suffix): Function used to strip suffixes out so we can have file suffixes in the gnome-vfs icon database, but can ignore them and look at all suffixes for the named icon. (make_icon_name_from_mime_type): Construct an icon name for types that don't specify a particular icon. This allows theme designers to make icons for any MIME type. (get_icon_name_for_regular_file): Use the new "without suffix" call. This requires changing this function to return a strdup'd name. (get_icon_name_for_directory), (get_icon_name_for_file): Change to return a strdup'd name. (make_full_icon_path): Do the file exists check in here (was already doing it in some cases) and also call gnome_vfs_icon_path_from_filename. (get_themed_icon_file_path): Get rid of redundant g_file_exists checks and gnome_vfs_icon_path_from_filename call, since both are now handled inside make_full_icon_path. (nautilus_scalable_icon_get_text_pieces), (nautilus_scalable_icon_new_from_text_pieces), (nautilus_scalable_icon_unref), (nautilus_scalable_icon_hash), (nautilus_scalable_icon_equal): Add MIME type to the scalable icons. (nautilus_icon_factory_get_icon_for_file): Pass in the MIME type. (nautilus_icon_factory_get_emblem_icon_by_name): Pass NULL for MIME type. (load_pixbuf_svg): Change to pass in boolean for emblem hack since we don't always have an icon name. (load_icon_from_path): New function, share common code. (load_named_icon): New function, share common code. (load_specific_icon): Try icon based on MIME type first, then fall back on the name specified. (nautilus_icon_factory_get_pixbuf_from_name): Pass NULL for MIME type. (load_icon_with_embedded_text): Pass in the MIME type. * src/nautilus-bookmark-list.c: (append_bookmark_node): * src/nautilus-bookmark-parsing.c: (nautilus_bookmark_new_from_node): * libnautilus-extensions/nautilus-bookmark.c: (nautilus_bookmark_icon_is_different), (nautilus_bookmark_set_icon_to_default): Update to deal with MIME types in scalable icons. * components/help/hyperbola-filefmt.c: (fmt_scrollkeeper_parse_toc_section), (fmt_scrollkeeper_parse_doc_toc), (fmt_scrollkeeper_parse_document), (fmt_scrollkeeper_parse_section), (fmt_scrollkeeper_parse_xml), (fmt_scrollkeeper_trim_empty_branches), (fmt_scrollkeeper_tree_empty), (fmt_scrollkeeper_populate_tree), (remove_leading_and_trailing_white_spaces), (fmt_toplevel_add_doc), (get_path_from_node), (has_content), (fmt_toplevel_parse_xml_tree): Made more compatible with libxml by not using the content field directly and using xmlChildrenNode and xmlRootNode. * libnautilus-extensions/nautilus-trash-monitor.c: (nautilus_trash_monitor_get): Fixed NautilusDirectory leak. * THANKS: Added some more translator credits. * check-THANKS.pl: Fixed some email addresses and such. * icons/ardmore/.cvsignore: * icons/arlo/.cvsignore, * icons/arlo/backgrounds/.cvsignore: * icons/arlo/sidebar_tab_pieces/.cvsignore: * icons/villanova/.cvsignore: Removed these again. 2001-05-01 Andy Hertzfeld * components/news/nautilus-news.c: (mark_new_items), (empty_message_size_allocate): fixed bug where it would inadvertently clear the new flag on items after refetching. fixed bug 8211, criticals when opening the news panel with no selected sites by making sure not to set the wrap width to a negative number. * components/news/news_channels.xml: added some new channels suggested by Joshua K. 2001-05-01 Zbigniew Chyla * components/news/nautilus-news.c: Marked two strings for translation. * icons/ardmore/.cvsignore, icons/arlo/.cvsignore, icons/arlo/backgrounds/.cvsignore, icons/arlo/sidebar_tab_pieces/.cvsignore, icons/villanova/.cvsignore: New files, ignore Makefile.in and Makefile. 2001-05-01 Ramiro Estrugo * components/news/nautilus-news.c: * libnautilus-extensions/nautilus-icon-canvas-item.c: * src/nautilus-about.c: * src/nautilus-sidebar-tabs.c: More work on changing parameters for functions that accept and return ArtIRect, EelArtIPoint, ArtDRect, EelDimensions to pass by value instead of by pointer. 2001-05-01 Ramiro Estrugo * components/mozilla/main.c: (main): Make warnings and criticals stop in the debugger to make this beast easier to debug. * components/mozilla/nautilus-mozilla-content-view.c: Use Eel gtk boilerplate and method invocation macros. 2001-05-01 Ramiro Estrugo * README: Add Mozilla 0.8.1 blurb. 2001-05-01 Dan Mueth Updates to the header and first section of the User Manual. * help/nautilus-user-manual/C/nautilus-user-manual.sgml: 2001-04-30 Ramiro Estrugo * icons/crux_teal/backgrounds/Makefile.am: * icons/crux_teal/sidebar_tab_pieces/Makefile.am: * icons/crux_teal/throbber/Makefile.am: Forgot to change arlo to crux_teal in these 3. 2001-04-30 Ramiro Estrugo * configure.in: * icons/Makefile.am: * nautilus.spec.in: Rename the theme directories to match their displayed name. * icons/arlo * icons/villanova * icons/ardmore Old theme directory names. * icons/crux_teal * icons/sierra * icons/tahoe New theme directory names. 2001-04-30 Pavel Cisler reviewed by: Darin Adler Fixed 4964 (Files dragged to Trash from floppy don't appear in Trash Can) Fixed 7406 (Trash doesn't work until first restart of Nautilus) Fixed 7976 (some files that you can't leave in the Trash just silently go away instead of showing the dialog as they should) New trash directories are created lazily, when someone tries to delete an item on the respective disk for the first time. The problem was that these new trash directories do not get integrated into the unified trash directory. Added logic to do that. * libnautilus-extensions/nautilus-file-operations.c: (nautilus_file_operations_copy_move): Before a move to trash operation is started check for any new trash directories and integrate them if needed. * libnautilus-extensions/nautilus-trash-directory.c: (check_trash_created), (check_trash_directory_added_callback), (volume_mounted_callback) Add calls to allow adding a new physical trash directory to the unified trash. * libnautilus-extensions/nautilus-trash-directory.h: * libnautilus-extensions/nautilus-trash-monitor.c: (nautilus_trash_monitor_initialize_class), (nautilus_trash_monitor_get), * libnautilus-extensions/nautilus-trash-directory.c: (nautilus_trash_directory_initialize), (nautilus_trash_directory_finish_initializing): Rearrange to allow initializing the nautilus trash directory and nautilus trash monitor properly, dodging a cyclic dependency. * libnautilus-extensions/nautilus-trash-monitor.c: * libnautilus-extensions/nautilus-trash-monitor.h: (nautilus_trash_monitor_get_trash_directories), (add_one_trash_directory_if_needed), (nautilus_trash_monitor_add_new_trash_directories): Add a new signal to allow clients get notified when a new trash directory might get added to the unified trash. 2001-04-30 Dan Mueth Updating screenshots for Nautilus User Manual for Nautilus 1.0.3. * help/nautilus-user-manual/C/Makefile.am: * help/nautilus-user-manual/C/figures/custicon.png: * help/nautilus-user-manual/C/figures/custom_icon_num.png: * help/nautilus-user-manual/C/figures/full.png: * help/nautilus-user-manual/C/figures/home_folder_num.png: * help/nautilus-user-manual/C/figures/locationbar_nqr.png: * help/nautilus-user-manual/C/figures/locbar.png: * help/nautilus-user-manual/C/figures/nautilus_window_full_num.png: * help/nautilus-user-manual/C/figures/part-1.png: * help/nautilus-user-manual/C/figures/part-2.png: * help/nautilus-user-manual/C/figures/part-3.png: * help/nautilus-user-manual/C/figures/part.png: * help/nautilus-user-manual/C/figures/preferences_menu_num.png: * help/nautilus-user-manual/C/figures/prefmenu.png: * help/nautilus-user-manual/C/figures/sidebar.png: * help/nautilus-user-manual/C/figures/sidebar_num.png: * help/nautilus-user-manual/C/figures/xcf/custom_icon_num.xcf: * help/nautilus-user-manual/C/figures/xcf/home_folder_num.xcf: * help/nautilus-user-manual/C/figures/xcf/nautilus_window_full_num. xcf: * help/nautilus-user-manual/C/nautilus-user-manual.sgml: 2001-04-30 Andy Hertzfeld * components/news/nautilus-news.c: (draw_rss_items), (nautilus_news_update_display), (nautilus_news_motion_notify_event), (rss_read_done_callback), (news_label_new), (make_add_widgets), (set_up_edit_widgets), (set_up_configure_widgets): fixed bug where things wouldn't prelight properly; fixed by not hit-testing channels that aren't visible in motion_notify made a bunch of layout changes at Arlo's request, including no longer using aa text for widgets. * components/news/changed_bullet.png: * components/news/nautilus-news-pixmaps.h: * components/news/news_bullet.png: new images from Arlo 2001-04-30 Ramiro Estrugo * NEWS: Add blurb about Nautilus Themes moving to preferences dialog. 2001-04-30 Darin Adler Worked on bug 8206 (xalf problems): * libnautilus-extensions/nautilus-program-choosing.c: (get_xalf_prefix): Don't use xalf unless a NAUTILUS_USE_XALF environment variable is defined. * NEWS: Updated with the features added since last time I edited the NEWS file. Since we are mostly doing bug fixes, there aren't too many. 2001-04-30 Darin Adler * help/nautilus-screenshot-guidelines/C/.cvsignore: Ignore the .junk directory. 2001-04-30 Darin Adler reviewed by: John Sullivan Updated for eel changes needed to fix bug 8198 ("New Terminal" does not use GNOME default applications): * libnautilus-extensions/nautilus-link.c: (nautilus_link_local_create_from_gnome_entry): Use the new eel_gnome_make_terminal_command instead of the obsolete eel_gnome_get_terminal_path. * libnautilus-extensions/nautilus-program-choosing.c: (nautilus_launch_application_from_command): Let eel do the /bin/sh -c trick. Get rid of it from here. 2001-04-30 Andy Hertzfeld * components/news/nautilus-news.c: (extract_items), (has_matching_uri), (rss_read_error), (extract_rss_title), (extract_scripting_news_title), (extract_rss_image), (extract_scripting_news_image), (rss_read_done_callback): added support for "Scripting News" style rss files, which are quite a bit different from standard ones. Also, restructured the rss_read_done routine by breaking it into smaller routines, plus other small cleanups. * components/news/news_channels.xml: added a few more channels 2001-04-30 Andy Hertzfeld * components/news/news_channels.xml: added Eazel, GNOME and CNET news channels 2001-04-30 Ramiro Estrugo * components/news/nautilus-news.c: * libnautilus-extensions/nautilus-icon-canvas-item.c: * libnautilus-extensions/nautilus-icon-canvas-item.h: * libnautilus-extensions/nautilus-icon-container.c: * libnautilus-extensions/nautilus-icon-dnd.c: * libnautilus-extensions/nautilus-icon-factory.c: * src/file-manager/fm-list-view.c: * src/nautilus-about.c: * test/test.c: Change parameters for functions that accept and return ArtIRect, EelArtIPoint, ArtDRect, EelDimensions to pass by value instead of by pointer. 2001-04-30 Dan Mueth Updating Nautilus Quick Reference, both content and many new screenshots. Removing old screenshots which have been replaced. * help/nautilus-quick-reference/C/Makefile.am: * help/nautilus-quick-reference/C/figures/backgrounds_nqr.png: * help/nautilus-quick-reference/C/figures/emblems.png: * help/nautilus-quick-reference/C/figures/emblems_nqr.png: * help/nautilus-quick-reference/C/figures/full.png: * help/nautilus-quick-reference/C/figures/locationbar_nqr.png: * help/nautilus-quick-reference/C/figures/locbar.png: * help/nautilus-quick-reference/C/figures/menubar.png: * help/nautilus-quick-reference/C/figures/menus_nqr.png: * help/nautilus-quick-reference/C/figures/music.png: * help/nautilus-quick-reference/C/figures/music_nqr.png: * help/nautilus-quick-reference/C/figures/nautilus_window_full_nqr.png: * help/nautilus-quick-reference/C/figures/navbar.png: * help/nautilus-quick-reference/C/figures/patterns.png: * help/nautilus-quick-reference/C/figures/sidebar.png: * help/nautilus-quick-reference/C/figures/sidebar_nqr.png: * help/nautilus-quick-reference/C/figures/themes.png: * help/nautilus-quick-reference/C/figures/themes_nqr.png: * help/nautilus-quick-reference/C/figures/toolbar_nqr.png: * help/nautilus-quick-reference/C/figures/xcf/nautilus_window_full_nqr.xcf: * help/nautilus-quick-reference/C/index.html: 2001-04-30 Ramiro Estrugo * libnautilus-extensions/nautilus-global-preferences.h: Add preferences for default manual layout support. * libnautilus-extensions/nautilus-global-preferences.c: (default_icon_view_sort_order_or_manual_layout_changed_callback), (nautilus_global_preferences_initialize): Use different enumerations for icon view and list view default sort order since only icon view supports manual layout. Add entries for default manual layout preference. Add proxy preference for both icon view sort order and manual layout so that it can be presented to the user as one choice and thus just one menu. This also matches the view menu. * libnautilus-extensions/nautilus-preferences-item.c: (preferences_item_create_enumeration_list), (preferences_item_create_enumeration_menu): Add support for separators in string pickers. * src/file-manager/fm-icon-view.c: (get_default_directory_manual_layout), (fm_icon_view_real_get_directory_auto_layout), (fm_icon_view_real_set_directory_auto_layout), (fm_icon_view_reset_to_defaults), (default_use_manual_layout_changed_callback), (fm_icon_view_initialize): Add support for a default "use manual layout" preference. * src/nautilus-preferences-dialog.c: Make the default sort order preference use the proxy prefernece instead of the real one. 2001-04-29 Dan Mueth Fixing some markup errors. * help/nautilus-user-manual/ko/nautilus-user-manual.sgml: 2001-04-29 Ramiro Estrugo * components/help/converters/gnome-info2html2/main.c: (main): Remove the cast, its not needed and it breaks the build. You probably need a newer popt if your build breaks without the cast. 2001-04-29 Fatih Demir * components/help/converters/gnome-info2html2/main.c: Cast argv to (const char **) to avoid a compiling error. * src/nautilus-window-menus.c: Include . 2001-04-28 Dan Mueth Small updates to a couple docs. * help/nautilus-screenshot-guidelines/C/nautilus-screenshot-guideli nes.sgml: * help/nautilus-user-manual/C/nautilus-user-manual.sgml: 2001-04-27 Andy Hertzfeld * components/news/nautilus-news.c: (nautilus_news_load_channel), (update_remove_button), (add_site_from_fields), (remove_selected_site), (make_news_view): fixed bug 8192, remove button left enabled when all sites are removed, by making the button insensitive when necessary. Also, display the site name instead of the url when loading, since it's much more understandable. 2001-04-27 Darin Adler reviewed by: Robin Slomkowski Update FAM support so it works fine on systems with and without libfam installed. So if you build Nautilus with FAM, then you can run it on a system with or without FAM. * configure.in: * libnautilus-extensions/Makefile.am: Remove the FAM_LIBS part. * libnautilus-extensions/nautilus-monitor.c: (get_fam_connection): Load the module before the FAMOpen2 call, and get all the function pointers. (get_event_uri), (process_fam_notifications), (nautilus_monitor_file), (nautilus_monitor_directory), (nautilus_monitor_cancel): Use the new CALL_FAM macro so we can use the function pointers when we call FAM. 2001-04-27 Andy Hertzfeld * components/news/nautilus-news.c: (go_to_uri): fixed bug 8186, clicking on a title while it's loading crashes the news panel; fixed by checking for NULL. * components/news/news_channels.xml: removed the Dan Gillmor channel since it just moved and I can't find where the rss file is on the new site. 2001-04-27 John Harper reviewed by: Darin Adler Fixed bug 7732 (opening window from prompt spawns endless process cycle): * src/nautilus-application.c (desktop_changed_callback): call update_session () directly (update_session): don't check the SHOW_DESKTOP preference to see if we should add ourselves to the session, check that the current process has actually _created_ a desktop window (init_session): don't register a listener for the SHOW_DESKTOP preference since it's called by desktop_changed_callback () 2001-04-27 Ramiro Estrugo * libnautilus-extensions/nautilus-preferences.c: (nautilus_self_check_preferences): Disabled preferences self checks until I can debug why these seemingly harmless tests dont work. 2001-04-27 Ramiro Estrugo * components/help/hyperbola-main.c: (main): Fix bug 8172 - Nautilus spews GConf error upon repeated clicking of "help" Intiialize preferences before creating the factory in case code in the factory needs to use prefernces. * src/nautilus-application.c: (nautilus_application_startup): Dont do the GMC migration if we are about to kill the nautilus shell. Fixes criticals when 'nautilus --quit' is used. 2001-04-27 Andy Hertzfeld * components/news/Makefile.am: * components/news/changed_bullet.png: added a placed holder "new article" bullet; hopefully, Arlo will provide us with a real one soon. * components/news/nautilus-news.c: (do_destroy), (draw_rss_items), (toggle_open_state), (nautilus_news_make_new_channel), (check_for_updates), (nautilus_news_load_images), (update_interval_changed), (make_news_view): made it use the changed bullet when appropriate; also, completed the preferences work by making it watch the update interval preference. 2001-04-27 Darin Adler * libnautilus-extensions/nautilus-thumbnails-jpeg.c: (fatal_error_handler), (output_message_handler), (nautilus_thumbnail_load_scaled_jpeg): Added error handling based on Alex Larsson's revised patch. Needs more testing. 2001-04-27 Darin Adler Fixed bug 7818 (Duplicating a link to a file on a different partition gives "You can't copy a file over itself" error). * libnautilus-extensions/nautilus-file-operations.c: (nautilus_file_operations_copy_move): There was a bug in the call to check_same_fs in here (it was passing in the target URI, which is often a file that doesn't even exist), so I removed that check. Did some other cleanups too. 2001-04-27 John Sullivan Fixed bug 3214 (Confusing how to make bookmark changes "stick") Fixed bug 6277 (Bookmarks window should close with Escape key) * src/nautilus-bookmarks-window.c: (create_bookmarks_window): Made bookmarks window a GnomeDialog, giving it the single button "Done". 2001-04-27 Andy Hertzfeld added preferences for the maximum numder of items per site and the update interval. It's not quite finished, as the news view isn't watching the update interval preference yet. * components/news/nautilus-news.c: (do_destroy), (draw_rss_items), (nautilus_news_make_new_channel), (max_items_changed), (make_news_view): use the preference for max items and update interval * libnautilus-extensions/nautilus-global-preferences.c: define defaults for news panel preferences * libnautilus-extensions/nautilus-global-preferences.h: define news panel preferences * src/nautilus-preferences-dialog.c: add a news panel pane to the preferences dialog 2001-04-26 Andy Hertzfeld changed the news panel not to display any sites by default, since it's obnoxious to be doing periodic I/O to sites that weren't explicitly enabled. Added an instructive message about the news panel that is displayed when no sites are enabled. Also, made it immediately test new rss urls when they are input, and display an error dialog instead of adding them if they fail. Also, make it always display the main news display (not configuration stuff) when the panel is opened, even if it was in configure mode when closed. Plus a few smaller tweaks. * components/news/nautilus-news.c: (set_bonobo_properties), (toggle_open_state), (count_visible_channels), (set_views_for_mode), (configure_button_clicked), (add_site_from_fields), (make_add_widgets), (set_up_main_widgets), (make_news_view): * components/news/news_channels.xml: turn off all the channels by default 2001-04-26 Ramiro Estrugo * configure.in: Make the control-center (capplet module) check properly decode the version number. Awk wasn't being fed the right delimiter. 2001-04-26 Dan Mueth Bringing three more images over from the 1.0.1/1.0.2 branch. The dimensional size of these are smaller, although they are not all smaller in bytes. I think this difference is why John didn't originally bring these over from the branch. * help/nautilus-quick-reference/C/figures/find.png: * help/nautilus-quick-reference/C/figures/full.png: * help/nautilus-quick-reference/C/figures/music.png: 2001-04-26 Darin Adler * THANKS: Give Alex Larsson credit for his contribution. * configure.in: Added the screenshot directory. Updated the check for control center to check for libcapplet instead. Chris Lahey told me that Ximian did this in the version they released, so I figured I should do it here too. * help/nautilus-screenshot-guidelines/.cvsignore: * help/nautilus-screenshot-guidelines/C/.cvsignore: Ignore more generated files. 2001-04-26 Darin Adler Integrated a patch by Alexander Larsson that adds a JPEG-specific thumbnailing function that's faster than the exiting thumbnail code. This new code is only included if the libjpeg library is present at configure time. We still need RPM spec file changes to require this library if we are going to build RPMs on systems that have libjpeg. I fixed a few bugs in Alex's original patch and made some coding style tweaks as well. * acconfig.h: * configure.in: Added a check for libjpeg. * libnautilus-extensions/Makefile.am: * libnautilus-extensions/nautilus-thumbnails-jpeg.c: * libnautilus-extensions/nautilus-thumbnails-jpeg.h: Add new source files with JPEG thumbnailer. * libnautilus-extensions/nautilus-thumbnails.c: (make_thumbnails): Call the new function for JPEG files. Other changes. * libnautilus-extensions/nautilus-volume-monitor.c: Change interval back to 2 seconds. * libnautilus-extensions/nautilus-preferences.c: (preferences_set_storage_path): Fix storage leak. (nautilus_self_check_preferences): Added more checks. * libnautilus-extensions/nautilus-icon-factory.c: (nautilus_icon_factory_get_icon_for_file): Tiny code tweak. 2001-04-26 Rebecca Schulman Fix bugzilla.eazel.com bug 7934, to remove the ability to make an index using Nautilus. reviewed by: Darin Adler * src/file-manager/fm-list-view.c: (get_cell_text): * src/file-manager/fm-search-list-view.c: (real_load_error), (display_indexed_search_problems_dialog), (real_get_link_column), (real_get_emblems_column): Simplify the dialog that allows a Nautilus user to request a new index. Tell the user instead how to create an index if the user has root access in this dialog instead. * src/file-manager/nautilus-indexing-info.c: (show_last_index_time_dialog), (last_index_time_dialog_new), (index_progress_dialog_new), (show_indexing_info_dialog): * src/file-manager/nautilus-indexing-info.h: Remove the request reindex function. Remove option to create a new index. Keep dialogs to show either the time of the last index creation, or the progress of the current indexing task, depending on whether an index is in progress or not. 2001-04-26 Dan Mueth Committing first draft of the screenshot guidelines for Nautilus documentation. It isn't completely done, but it will be safer in CVS than on my hard drive. * help/Makefile.am: * help/nautilus-screenshot-guidelines/C/Makefile.am: * help/nautilus-screenshot-guidelines/C/figures/callout_after.png: * help/nautilus-screenshot-guidelines/C/figures/callout_before.png: * help/nautilus-screenshot-guidelines/C/figures/circle_callout_after.png: * help/nautilus-screenshot-guidelines/C/figures/circle_callout_before.png: * help/nautilus-screenshot-guidelines/C/figures/dropshadow_after.png: * help/nautilus-screenshot-guidelines/C/figures/dropshadow_before.png: * help/nautilus-screenshot-guidelines/C/nautilus-screenshot-guidelines-C.omf: * help/nautilus-screenshot-guidelines/C/nautilus-screenshot-guidelines.sgml: * help/nautilus-screenshot-guidelines/Makefile.am: 2001-04-26 Darin Adler Integrated Miguel's patches that he included in Ximian's version of Nautilus 1.0 after fixing some bugs, fixing all warnings, and adding code to not do the reload of the desktop every 4 seconds if FAM is working. The patch does a lot of things, mostly so that people can switch back and forth between gmc and nautilus more easily. * components/news/nautilus-news.c: Tweaked includes. * src/nautilus-view-frame.c: Tweaked a comment. Here are notes Miguel included in the patch about the changes he made: - 2001-04-19 Miguel de Icaza * libnautilus-extensions/nautilus-file.c (nautilus_file_get_name): Only return name when we actually loaded the name from the desktop entry. * libnautilus-extensions/nautilus-icon-factory.c (nautilus_icon_factory_get_icon_for_file): Compute file_path from file_uri, it was missing in this code path. - 2001-04-16 Miguel de Icaza * libnautilus-extensions/nautilus-file.c (is_special_desktop_gmc_file): Use strcmp not strncmp here. * src/nautilus-window.c (nautilus_window_realize): Use gnome-logo here. * src/file-manager/fm-directory-view.c (activate_callback): Launch desktop entries here. - 2001-04-11 Miguel de Icaza * src/file-manager/fm-icon-view.c (get_stored_icon_position_callback): Try to load position information from GNOME metadata as well. (icon_position_changed_callback): Store metadata changes to the desktop as well. * src/nautilus-first-time-druid.c (nautilus_first_time_druid_show): Disable GMC transition page, as we now share the desktop directory and the data files. (druid_finished): Remove desktop link to Eazel services. * libnautilus-extensions/nautilus-file.c (nautilus_file_can_rename): Do not allow to rename x-gnome-apps. (nautilus_file_get_name): Return the translated name of a desktop file instead of the file name. Handle URL files in .gnome-desktop directories. (is_special_desktop_gmc_file): New function: Returns true if a file should be hidden from the desktop-directory display (for sharing the directory with gmc). (filter_hidden_and_backup_partition_callback): If we are scanning the desktop directory, hide gmc metadata files or legacy files. * libnautilus-extensions/nautilus-directory-async.c (activation_uri_gmc_link_read_callback): Handle GMC link files correctly (skip the prefix "URL: ") * libnautilus-extensions/nautilus-icon-factory.c (nautilus_icon_factory_get_icon_for_file): Load icons from the gnome-metadata for files on the ~/.gnome-desktop directory. (nautilus_icon_factory_get_icon_for_file): Load icons for GNOME .desktop files. - 2001-04-11 Miguel de Icaza * libnautilus-extensions/nautilus-directory-async.c (activation_uri_gmc_link_read_callback): Handle gmc URL links correctly. - 2001-04-10 Miguel de Icaza * libnautilus-extensions/nautilus-file-utilities.c (DESKTOP_DIRECTORY_NAME): Make it .gnome-desktop. (nautilus_get_desktop_directory): Modified to make the nautilus home directory be the normal one. - 2001-04-09 Miguel de Icaza * src/file-manager/fm-desktop-icon-view.c: Eliminated all over the place the loading of the desktop_directory directory from the nautilus api call, and instead just load this value once. Here are changes that Miguel made, but did not mention in his notes: * libnautilus-extensions/nautilus-volume-monitor.c: Changed the interval for polling to every 4 seconds instead of every 2. * libnautilus-extensions/nautilus-file.c: (nautilus_file_rename): Rename GMC URLs by changing their metadata only. This leaves no way to change the real name of the GMC URL file. (nautilus_file_is_in_desktop): New function. Returns TRUE if a file seems to be in the desktop. Uses a simple rule that might give some false positives, but works even for other people's desktop. * src/file-manager/fm-desktop-icon-view.c: (fm_desktop_icon_view_destroy), (do_desktop_rescan), (done_loading), (delayed_init), (fm_desktop_icon_view_initialize): Set up a callback to reload the desktop every 4 seconds. * src/nautilus-application.c: (migrate_gmc_trash), (migrate_old_nautilus_files), (nautilus_application_startup): Rename ~/.gnome-desktop/Trash to ~/.gnome-desktop/Trash-gmc if it's a directory. Move files from ~/.nautilus/desktop to ~/.gnome-desktop. 2001-04-26 Dan Mueth Updated Nautilus Release Notes for Nautilus 1.0.3. It still will need some work and additions, but I have most of the boilerplate stuff and new features added. * help/nautilus-release-notes/C/nautilus-release-notes.sgml: 2001-04-26 Ramiro Estrugo * libnautilus-extensions/nautilus-preferences-group.c: * libnautilus-extensions/nautilus-preferences-group.h: Add support for custom preferences items. * libnautilus-extensions/nautilus-preferences-item.h: * libnautilus-extensions/nautilus-preferences-item.c: Add support for custom preferences items. For now only the theme selector uses this powerful technology. Fix bug 8167 - Crash boinking on single-click mode. It was a dumb mistake left over from a previous fix. Wrong number of arguments to a signal. Fix bug where strings in enumeration menus would show up untranslated in the preferences dialog, even in locales where translations exist. * libnautilus-extensions/nautilus-theme.h: * libnautilus-extensions/nautilus-theme.c: (load_theme_document), (nautilus_pixmap_file_may_be_local), (nautilus_theme_get_image_path_from_theme), (nautilus_theme_make_preview_pixbuf): Rename this function from nautilus_theme_make_selector for greater clarity. (has_image_file), (theme_get_property), (theme_get_name_property), (theme_get_description_property), (theme_list_insert), (theme_get_themes_for_location): Replace some cut-n-paste code by a shared function. Add some FIXMEs for the funky handling of the "default" theme. (theme_get_builtin_themes), (theme_get_user_themes), (theme_get_default_themes): Functions for reaping the different types of themes available to Nautilus. (nautilus_theme_for_each_theme), (theme_list_invoke_callback): New function to iterate all the themese available to Nautilus. Makes Nautilus code that needs to operate on themes (like the theme selector) easier to write. (nautilus_theme_get_user_themes_directory), (nautilus_theme_remove_user_theme), (nautilus_theme_install_user_theme): Functions for reaping the different types of themes available to Nautilus. * src/nautilus-preferences-dialog.c: (preferences_dialog_populate_sidebar_tabs_group), (theme_changed_callback), (update_theme_selector_displayed_value_callback), (preferences_dialog_populate_themes_group): Add a custom preference item for the theme chooser. * src/nautilus-theme-selector.h: * src/nautilus-theme-selector.c: Use regular Gtk widgets in the list so that all the things that are expect to work do indeed work. This includes Gtk+ theme changes and custom tweaks made in the code to satisfy the design. Larger and bolder labels for example. Simplify this code alot by using iterators for the available themes. Also maintain two lists instead of managing a remove_mode boolean. Makes the code simpler. * src/nautilus-window-menus.c: (nautilus_window_initialize_menus_part_1): Remove the standalone theme selector handling code. * src/nautilus-shell-ui.xml: Remove the standalone theme selector ui. 2001-04-26 John Sullivan Made the emblems column wider to fit the title "Emblems" (in English, in the default font). Made the emblems column in the search results view match the one in the standard list view. Pavel wants to implement images as column titles, but this is passable if that doesn't get done. * src/file-manager/fm-list-view.c: (real_get_column_specification): Widen the emblems column. * src/file-manager/fm-search-list-view.c: (real_get_emblems_column), (real_get_link_column): Swap positions of name/emblems columns. (real_get_column_specification): Widen the emblems column. 2001-04-26 John Sullivan Search results view has been broken for awhile without anyone noticing. Between these changes and a NULL-handling fix I checked into eel-list.c, it works again. (Soon I will move the Emblems column for search list view also, but first I wanted to make it work.) * src/file-manager/fm-list-view.h: * src/file-manager/fm-list-view.c: (fm_list_view_initialize_class), (add_to_list), (install_row_images), (get_emblems_column), (real_get_emblems_column): Replaced #define for emblems column with overridable function. * src/file-manager/fm-search-list-view.c: (fm_search_list_view_initialize_class), (real_get_emblem_names_to_exclude), (real_get_emblems_column): Override get_emblems_column to return correct value. 2001-04-26 John Sullivan Moved over a few changes from the nautilus-1 branch. I've reviewed all the changes in the branch ChangeLog now, so I think we can kiss it goodbye. * configure.in: Bumped a bunch of version numbers to match branch. Robin may have to do some more bumping before shipping 1.0.3. * help/nautilus-user-manual/C/figures/custicon.png: * help/nautilus-user-manual/C/figures/full.png: * help/nautilus-user-manual/C/figures/part.png: Smaller versions of screenshots which were too big to fit in the Nautilus main panel, by Arlo. (For some reason nautilus-quick-reference on HEAD had smaller figures than on nautilus-1, but vice-versa for nautilus-user-manual.) * src/nautilus-preferences-dialog.c: * src/nautilus-shell-ui.xml: * src/nautilus-window-menus.c: (nautilus_window_initialize_menus_part_1): Made Medusa stuff not appear when HAVE_MEDUSA is not defined. Other changes: * libnautilus-extensions/nautilus-program-choosing.c: (get_xalf_prefix): Bug fix from Darin (!= -> ==) that was breaking launching applications unless you had xalf installed (not from branch) 2001-04-26 Dan Mueth Cleaning up documentation build system. Now there should be no or few warnings spit out about the docs. * help/Makefile.am: * help/docs.make: * help/htmldocs.make: * help/nautilus-quick-reference/es/Makefile.am: * help/nautilus-quick-reference/no/Makefile.am: * help/nautilus-release-notes/C/Makefile.am: * help/nautilus-user-manual/C/Makefile.am: * help/nautilus-user-manual/es/Makefile.am: * help/nautilus-user-manual/ko/Makefile.am: * help/sgmldocs.make: 2001-04-25 Andy Hertzfeld * components/news/nautilus-news.c: (nautilus_news_update_display): reversed decision about not drawing while the channel was loading since it's important to give feedback right away when a channel is enabled, and they sometimes takes a long time to load. * libnautilus-extensions/nautilus-global-preferences.c: * libnautilus-extensions/nautilus-sidebar-functions.c: * libnautilus-extensions/nautilus-sidebar-functions.h: enabled the news panel by default. Also, while I was in here, I made the "home as desktop" feature only available at the advanced user level like Bud suggested. 2001-04-25 Andy Hertzfeld * components/news/nautilus-news.c: (draw_rss_items), (nautilus_news_draw_channel), (nautilus_news_size_allocate): fixed measuring bug caused by the size of the scroll bar affecting the layout. Fixed by calculating the line width at size_allocate time, instead of on the spur of the moment. 2001-04-25 Andy Hertzfeld * components/news/nautilus-news.c: (draw_rss_logo_image), (draw_rss_items), (nautilus_news_configure_event), (nautilus_news_button_release_event), (update_size_and_redraw), (nautilus_news_size_allocate), (make_news_view): attach to size_allocate signal to properly resize the panel when the width changes, as well as for the first time when the size isn't allocated yet; don't draw the time when it overlaps the logo, plus other clean-ups. * nautilus-clean.sh: fixed recently introduced problem in nautilus-clean by replacing '==' with '=' as suggested by Darin. 2001-04-25 Robin * Slomkowski * nautilus.spec.in: removed mozilla-mail and mozilla-psm dependency http://bugzilla.eazel.com/show_bug.cgi?id=8020 2001-04-25 Dan Mueth Adding versions from 1_0_1_BRANCH, which are more up-to-date. * help/nautilus-release-notes/C/nautilus-release-notes.sgml: * help/nautilus-user-manual/C/nautilus-user-manual.sgml: Adding version for 1.0.1 and 1.0.2. * help/nautilus-quick-reference/C/index.html: 2001-04-25 Andy Hertzfeld * components/news/nautilus-news.c: (nautilus_news_button_release_event) fixed bug 8153, scroll wheel crashes news panel, by only taking action when button 1 is clicked. (add_site_from_fields): added error handling for when the fields are empty; also, use http as the protocol if no protocol is specified. 2001-04-25 Darin Adler * src/nautilus-window-menus.c: (help_menu_about_nautilus_callback): Made the Copyright string translatable again, by popular demand. 2001-04-24 Dan Mueth Left-justifying the labels in the help sidebar. Also changed strings to remove colons ":". Bug#: 8123 * components/help/hyperbola-nav-tree.c: (hyperbola_navigation_tree_new): Updating so that 'make install' works right and users building RPM's don't get lots of warnings. Bug#: 8125 * omf-install/Makefile.am: Changing from "Customer Support" to "Community Support". Bug#: 7837 * src/nautilus-shell-ui.xml: 2001-04-24 Darin Adler Fix bug 8152 (Opening Help sidebar crashes Nautilus): * src/nautilus-sidebar.c: (notify_current_sidebar_view): Add check for NIL control. * nautilus-clean.sh: Change egrep args so we get fewer false positives. * src/nautilus-view-frame.c: (nautilus_view_frame_get_control): Formatting tweaks. 2001-04-24 Darin Adler reviewed by: Maciej Stachowiak Fix bug 7963 (exiting Nautilus [with Ctrl-C for example] leaves nautilus-adapter behind): * src/nautilus-component-adapter-factory.c: (activate_factory), (unref_factory), (release_factory), (get_corba_factory), (nautilus_component_adapter_factory_initialize), (nautilus_component_adapter_factory_destroy), (nautilus_component_adapter_factory_initialize_class), (component_adapter_factory_at_exit_destructor), (nautilus_component_adapter_factory_get), (nautilus_component_adapter_factory_create_adapter): Redo so it creates the factory as needed, and doesn't keep a Bonobo reference to the factory so it will die if Nautilus goes away. * nautilus-clean.sh: Redo option parsing to use loop. * components/throbber/main.c: (main): Fix main function to match standard main. Tweak formatting. 2001-04-24 John Sullivan Fixed bug 8418 (two more underline-accelerator conflicts) * src/file-manager/nautilus-directory-view-ui.xml: Changed "Make _Link" to "_Make Link" to avoid conflict with sometimes- present "De_lete" * src/file-manager/nautilus-icon-view-ui.xml: Changed "_Tighter Layout" to "Tighter _Layout" to avoid conflict with "By _Type". 2001-04-24 John Sullivan Fixed part of bug 7649 (sidebar font doesn't update when font changed in non-smooth mode) and various other small problems with fonts in sidebar. The font in the tabs is still always the smooth font. Also, made both default smooth and default non-smooth fonts visible simultaneously in the Preferences dialog since they are both used in different places at the same time. Maybe if we fix the sidebar tabs to not insist on using a smooth font we can turn these two controls back into one. * src/nautilus-preferences-dialog.c: Changed labels from "Font for elsewhere in Nautilus", which had become context-free, to "Default smooth font" and "Default non-smooth font". Made both of these always visible. * src/nautilus-sidebar-title.c: (nautilus_sidebar_title_initialize_class): Set up auto-variable to get default non-smooth font name so we don't have to call get_preferences repeatedly. (get_non_smooth_font): New helper function to get a non-smooth font of a specified size. (non_smooth_font_changed_callback): New function, updates the non-smooth font for the title and "more info" text. (update_all_cover): Removed this function. (nautilus_sidebar_title_initialize): Call new callback instead of update_all when non-smooth font changes. update_all was bailing out without doing any work since the text hadn't changed. Also call callback once to set the initial non-smooth font info. (update_title_font): Changed name from update_font for clarity; moved some consts to become #defines instead; fixed bug where this routine wasn't using bold font for either smooth or non-smooth font (2 unrelated bugs); removed unnecessary font-setting call (smooth font is already set elsewhere and doesn't change here); remove unnecessary callback for NAUTILUS_PREFERENCES_SMOOTH_GRAPHICS_MODE since each label piece already handles this separately. (update_title), (nautilus_sidebar_title_size_allocate): Updated for name change. 2001-04-24 Darin Adler reviewed by: John Sullivan Fix bug where theme selector would not show themes when the theme directory is a symlink. * src/nautilus-theme-selector.c: (nautilus_theme_selector_destroy): Small code cleanup. (vfs_file_exists): Pass GNOME_VFS_FILE_INFO_FOLLOW_LINKS. (populate_list_with_themes_from_directory): Pass GNOME_VFS_FILE_INFO_FOLLOW_LINKS. More work on making components go away if Nautilus is prematurely terminated. * src/nautilus-window-toolbars.c: (nautilus_window_initialize_toolbars): Don't create a throbber for the desktop, since it doesn't get killed reliably since it never gets an X window. * src/nautilus-window.c: (nautilus_window_constructed), (nautilus_window_destroy), (nautilus_window_allow_stop): Do some minor cleanup of throbber code. * nautilus-clean.sh: Add an option to just display the processes and not kill them. Useful for me when I'm writing code that's designed to make the processes go away. Also remove the gconfd saved state file if we kill gconfd (only nautilus-clean.sh -x) for maximum cleanliness (but also maximum unhappiness for any remaining gconf clients). 2001-04-24 John Sullivan reviewed by: Darin Adler Fixed bug 7650 (Display flashes forever when Text viewer used in FTP) * components/text/nautilus-text-view.c: (file_read_callback): Bail out when bytes_read is 0, instead of trying again forever. This happens at EOF. 2001-04-23 Andy Hertzfeld * components/news/nautilus-news.c: (mark_new_items), (rss_read_done_callback): when updating, only redraw if something changed 2001-04-23 Ramiro Estrugo * src/nautilus-first-time-druid.c: (nautilus_first_time_druid_show): Remove extra argument to update_draw_desktop_checkbox_state() which was declared as () (instead of (void)) before the last change and so the build broke. 2001-04-23 Darin Adler reviewed by: John Sullivan Add a new command-line option "--no-desktop" as requested by fcrozat on behalf of people who want to run Nautilus under KDE as well as under GNOME. The option has no effect if Nautilus is already running, but if it's the first invocation of Nautilus, then no desktop-related preferences show up and the desktop is not shown regardless of the setting of those preferences. * src/nautilus-main.c: (main): Add the no-desktop option. Make the desktop-related preferences invisible if it's on, and pass it down to the NautilusApplication. * src/nautilus-application.h: * src/nautilus-application.c: (nautilus_application_startup): Don't start the desktop if no_desktop is passed in. Otherwise decide based on the preference. * libnautilus-extensions/nautilus-preferences-box.c: (preferences_box_find_row): Mark this private function static. (preferences_box_populate_pane): Get rid of code that would translate the pane_name twice. (nautilus_preferences_dialog_new): Simplified this code a bit. * libnautilus-extensions/nautilus-preferences.h: * libnautilus-extensions/nautilus-preferences.c: (preferences_make_user_level_filtered_key), (nautilus_preferences_get_is_invisible), (nautilus_preferences_set_is_invisible), (preferences_key_make_for_getter), (nautilus_preferences_visible_in_current_user_level), (nautilus_preferences_is_visible): Added new flag to make a preference invisible. * src/nautilus-first-time-druid.h: * src/nautilus-first-time-druid.c: (set_up_gmc_transition_page), (nautilus_first_time_druid_show): Removed code that used to make the druid default based on the desktop preference. Fixed the Tinderbox. * libnautilus-extensions/nautilus-global-preferences.c: (default_default_folder_viewer_callback): Allow NULL because that happens during self-check. 2001-04-23 Andy Hertzfeld * components/news/nautilus-news.c: (has_matching_uri), (compare_channel_names), (nautilus_news_add_channels), (add_site_from_fields), (determine_sort_position), (add_channel_entry), (make_remove_widgets): made it maintain the channel lists in alphabetical order, and improved uri matching by canonicalizing them before comparison. * components/news/news_channels.xml: added some new channels * nautilus-spec.in: added news panel to spec file. 2001-04-23 Andy Hertzfeld made the disclosure triangles reflect the changed state by using different images when the channel changed; currently, I'm using placeholder images, but Arlo will give me the real ones soon. * components/news/nautilus-news-pixmaps.h: added images for triangles to reflect the changed state * components/news/nautilus-news.c: (do_destroy), (draw_triangle), (rss_logo_callback), (nautilus_news_load_images): load the new images, release on destroy, and display when appropriate 2001-04-23 John Sullivan reviewed by: Darin Adler Fixed bug 8024 (Default folder viewer chosen from "View As..." window is not reflected in Preferences dialog) * libnautilus-extensions/nautilus-global-preferences.h: Put iids for Icon and List view here since they must be accessed from multiple places now. Add NAUTILUS_DEFAULT_FOLDER_VIEWER_OTHER enum case. Add prototype for nautilus_global_preferences_set_default_folder_viewer. * libnautilus-extensions/nautilus-global-preferences.c: (get_default_folder_viewer_preference_from_iid): New helper function, returns appropriate NAUTILUS_DEFAULT_FOLDER_VIEWER preference value based on folder-viewing iid. (default_default_folder_viewer_callback): New function to determine default value of NAUTILUS_DEFAULT_FOLDER_VIEWER preference; uses gnome_vfs_mime (name is not a typo). (set_default_folder_viewer_in_gnome_vfs): New function, updates gnome-vfs mime database properly for new folder-viewing iid. (default_folder_viewer_changed_callback): New function, reacts to change in NAUTILUS_DEFAULT_FOLDER_VIEWER preference by updating gnome-vfs mime database (moved here from nautilus-application.c). (nautilus_global_preferences_set_default_folder_viewer): New public function to set the default folder viewer with an iid; handles setting both gnome-vfs and gconf's values. (nautilus_global_preferences_initialize): Add callback for when default folder viewer changes (moved here from nautilus-application.c). * libnautilus-extensions/nautilus-program-chooser.c: (set_default_for_type): Special-case folder viewer to call nautilus_global_preferences_set_default_folder_viewer. * src/file-manager/nautilus-directory-view-ui.xml: Changed "Reset to View Preferences" to "Reset View to Match Preferences". It's really long, but the former was very unclear. Improvements to wording are hereby solicited. * src/nautilus-application.c: (manufactures), (create_object), (default_folder_viewer_changed_callback): Updated for #define name changes. (nautilus_application_startup): Moved code that reacted to default folder viewer preference to nautilus-global-preferences.c. 2001-04-23 John Harper * nautilus-clean.sh: added `nautilus-news' to list of auxiliary programs 2001-04-23 Darin Adler * src/nautilus-window-manage-views.c: (open_location): Handle NULL case that can happen now that we check the workspace and area -- the desktop is no longer guaranteed to be in the list considered when looking for the topmost window. 2001-04-23 John Harper * components/news/nautilus-news.c (set_up_edit_widgets): when packing the remove list into its container, use `TRUE, TRUE' instead of `FALSE, FALSE'. This makes the `Remove a site' list expand properly 2001-04-23 Ramiro Estrugo * libnautilus-extensions/nautilus-preferences-box.c: (preferences_box_populate_pane): Make sure we use the translated strings for pane and group names. 2001-04-23 Darin Adler Fix bug 7830 (Nautilus should launch programs with code that has xalf support [like the panel does]). * libnautilus-extensions/nautilus-program-choosing.c: (get_xalf_prefix): Implemented, but not tested with xalf. 2001-04-23 John Harper * components/news/nautilus-news.c (set_up_configure_widgets): don't set the shadow type of the viewport to no shadow. This causes a drawing bug to occur, where vestiges of the checkbox prelight aren't erased 2001-04-23 Darin Adler Prep for xalf feature. Add name of program to all code that uses the launch_application_from_command function. * libnautilus-extensions/nautilus-program-chooser.c: (launch_mime_capplet): Pass the file name of the files and programs capplet when starting it up. (Is there a better name to use for this case?) * src/file-manager/fm-desktop-icon-view.c: (change_background_callback): Pass "Background" as the name when starting the Background capplet. * src/file-manager/fm-directory-view.c: (run_script_callback): Pass the file name of the script as the name when starting a script. (activate_callback): Pass the file name of an executable file when starting an executable file by opening it. * libnautilus-extensions/nautilus-program-choosing.h: * libnautilus-extensions/nautilus-program-choosing.c: (nautilus_launch_application): Pass the application name from the gnome-vfs MIME database when starting an application. (get_xalf_prefix): Placeholder for code to figure out the right set of parameters to pass to xalf. (nautilus_launch_application_from_command): Change to take a name for the application. It's ignored when xalf is not used, but used as the title when xalf is used. 2001-04-23 Darin Adler Fix bug 8027 (Viewer preferences are not respected). * src/nautilus-window.c: (nautilus_window_handle_ui_event_callback): Check updating_bonobo_state and ignore any callbacks while it's true. 2001-04-23 Ramiro Estrugo * test/test-nautilus-preferences-display.c: (main): Need to initialize preferences. 2001-04-23 Ramiro Estrugo * components/news/Makefile.am: Make sure the nautilus-news-pixmaps.h header is exported to the dist tarball. 2001-04-23 Ramiro Estrugo Part of bug 7601 - FreeBSD portability fixes. * components/music/esd-audio.c: (esdout_loop): Add return NULL to make gcc happy. * components/music/mpg123.c: (decode_loop): Add return NULL to make gcc happy. * libnautilus-extensions/nautilus-customization-data.c: Add missing include of * libnautilus-extensions/nautilus-file.c: (group_includes_user): Cast the gid to (gid_t) * libnautilus-extensions/nautilus-sound.c: Include only if we have it. Otherwise try . * src/nautilus-bookmark-parsing.c: Add missing include of 2001-04-23 Ramiro Estrugo * components/news/Makefile.am: Add include flags for for pixmaps in header file included from the source directory - which is different from the build directory for the tinderbox build. * components/news/nautilus-news.c: * components/news/nautilus-news-pixmaps.h: * components/news/pixmaps.h: Rename pixmaps.h to nautilus-news-pixmaps.h to prevent confusion in the future. 2001-04-22 Andy Hertzfeld * components/Makefile.am: Josh pointed out that I forgot to add the news component here. 2001-04-22 Andy Hertzfeld implemented change tracking and made the sidebar tab get an notification image whenever there's anything new. Also, improved updating and other tweaks. The news view is pretty much done now except for some images from Arlo and lots of testing/debugging. * components/news/nautilus-news.c: (get_bonobo_properties), (set_bonobo_properties), (nautilus_news_expose_event), (nautilus_news_set_prelight_index), (nautilus_news_set_news_changed), (clear_channel_changed_flags), (nautilus_news_clear_changed_flags), (update_size_and_redraw), (has_matching_uri), (mark_new_items), (rss_read_done_callback), (nautilus_news_load_channel), (news_get_indicator_image), (add_command_buttons), (make_news_view): * src/nautilus-sidebar.c: (notify_current_sidebar_view), (nautilus_sidebar_activate_panel), (nautilus_sidebar_deactivate_panel): added open/close notifications for sidebar views using the bonobo propery bag mechanism 2001-04-21 Andy Hertzfeld implemented the remove command for the news panel, plus other clean-ups. * components/news/nautilus-news.c: (configure_button_clicked), (add_site_button_clicked), (add_channel_to_remove_list), (add_site_from_fields), (remove_selected_site), (add_command_buttons), (add_channel_entry), (add_channels_to_lists), (news_label_new), (select_row_in_remove_list), (make_remove_widgets), (make_add_widgets), (set_up_edit_widgets), (set_up_configure_widgets), (make_news_view): 2001-04-21 Andy Hertzfeld * components/news/nautilus-news.c: (do_destroy), (draw_triangle), (draw_rss_logo_image), (is_current_uri), (draw_rss_items), (nautilus_news_motion_notify_event), (rss_read_done_callback), (make_news_view): various improvements to the news view, including Arlofied item positioning, prelighting of logos and disclosure triangle, and using bold text to indicate the current item instead of a different color. 2001-04-20 Gene Z. Ragan reviewed by: Darin Adler Fixed bug 8073, roll over Red Hat patches for their "plug-n-play" feature to Nautilus. The code does not use magicdev, but instead uses our distribution agnostic volume monitor to achieve identical, and in some cases superior, results. * libnautilus-extensions/nautilus-volume-monitor.c: (floppy_sort), (nautilus_volume_monitor_get_target_uri), (nautilus_volume_monitor_should_integrate_trash), (mount_volume_get_name), (mount_volume_activate), (mount_volume_deactivate), (mount_volume_floppy_add), (mount_volume_ext2_add), (mount_volume_udf_add), (mount_volume_vfat_add), (mount_volume_msdos_add), (mount_volume_iso9660_add), (mount_volume_affs_add), (mount_volume_auto_add), (mount_volume_cdda_add), (mount_volume_fat_add), (mount_volume_hpfs_add), (mount_volume_hsfs_add), (mount_volume_minix_add), (mount_volume_nfs_add), (mount_volume_proc_add), (mount_volume_reiserfs_add), (mount_volume_ufs_add), (mount_volume_smb_add), (mount_volume_unsdos_add), (mount_volume_xenix_add), (mount_volume_xiafs_add), (find_volumes), (create_volume), (copy_volume), (mount_volume_add_filesystem): Determine device type when performing volume type specific mount tasks. * libnautilus-extensions/nautilus-volume-monitor.h: Add new device type enumeration. * src/file-manager/fm-desktop-icon-view.c: (create_mount_link): * src/nautilus-application.c: (volume_mounted_callback): Check for cdroms being mounted and open a window to the cdrom mount point if the user has specified that behavior in the gnome preferences. 2001-04-20 Ramiro Estrugo * src/nautilus-theme-selector.c: Trim down the includes a little bit to only those that are needed. 2001-04-20 Ramiro Estrugo * README: Update the Mozilla information to point to Taska's support FAQ instead of the Nautilus mailing list post. 2001-04-20 Andy Hertzfeld first check-in of "news" sidebar view to display news from selected sites that support an rss feed. It's around 80% completed now, and should be quite usable; I just need to finish the remaining 80%. * components/news/.cvsignore: * components/news/Makefile.am: * components/news/Nautilus_View_news.oaf.in: * components/news/nautilus-news.c: (get_bonobo_properties), (set_bonobo_properties), (do_destroy), (pixbuf_composite), (draw_triangle), (draw_rss_logo_image), (draw_rss_title), (draw_rss_items), (nautilus_news_draw_channel), (nautilus_news_update_display), (nautilus_news_configure_event), (nautilus_news_expose_event), (nautilus_news_set_prelight_index), (go_to_uri), (toggle_open_state), (item_hit_test), (nautilus_news_button_release_event), (nautilus_news_motion_notify_event), (nautilus_news_leave_notify_event), (nautilus_news_set_title), (free_rss_data_item), (free_rss_channel_items), (free_channel), (nautilus_news_free_channel_list), (bool_to_text), (nautilus_news_make_channel_document), (nautilus_news_save_channel_state), (rss_logo_callback), (extract_items), (update_size_and_redraw), (rss_read_done_callback), (nautilus_news_load_channel), (nautilus_news_make_new_channel), (nautilus_news_add_channels), (get_xml_path), (read_channel_list), (check_for_updates), (news_get_indicator_image), (load_xpm_image), (nautilus_news_load_images), (configure_button_clicked), (add_site_button_clicked), (add_site_from_fields), (add_command_buttons), (get_channel_from_name), (check_button_toggled_callback), (nautilus_news_load_location), (add_channel_entry), (add_channels_to_configure_list), (set_up_add_widgets), (set_up_configure_widgets), (set_up_main_widgets), (make_news_view), (main): * components/news/news_bullet.png: * components/news/news_channels.xml: * components/news/pixmaps.h: * configure.in: 2001-04-20 Ramiro Estrugo * ChangeLog: rolled over to ChangeLog-20010420.