* libnautilus-extensions/nautilus-directory-async.c:
(call_ready_callbacks), (start_or_stop_io),
(nautilus_directory_async_state_changed):
Fixed bug that showed up as warnings on exit and fails of "make
check". The code needs to check for I/O that must be stopped after
calling "call_when_ready" callbacks. I improved the structure here
a bit too by making a new function.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_self_check_directory): Fixed a mistake in the self-check
that made it check the wrong thing.
* libnautilus-extensions/nautilus-link-set.c: (link_set_path_name):
Use nautilus_make_path instead of the hard-coded equivalent.
* libnautilus-extensions/nautilus-gtk-extensions.h: Reformatted.
* src/nautilus-property-browser.c: (remove_emblem): Formatting tweak.
menu causes problems).
Surprise, surprise, surprise -- separator menu items are
not treated as insensitive by default, so you can select
them. This makes no difference in pull-down menus, but
leads to trouble in option menus.
* src/nautilus-window.c:
(new_gtk_separator): New convenience function, makes
a separator item, sets it to be insensitive, and shows it.
(replace_special_current_view_in_content_view_menu),
(nautilus_window_load_content_view_menu): Deploy new_gtk_separator.
2000-08-29 Gene Z. Ragan <gzr@eazel.com>
Refactored function and fixed a bug.
* libnautilus-extensions/nautilus-drag.c:
(nautilus_drag_can_accept_item):
Fixed bug 1950, Trash icon on desktop should have
"Empty Trash" in its right click menu
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_initialize_class),
(new_folder_menu_item_callback), (empty_trash_callback),
(trash_link_is_selection),
(fm_desktop_icon_view_create_selection_context_menu_items),
(fm_desktop_icon_view_create_background_context_menu_items):
* src/file-manager/fm-directory-view.c:
(bonobo_menu_open_callback),
(fm_directory_trash_link_in_selection),
(real_create_background_context_menu_zoom_items),
(fm_directory_view_real_create_background_context_menu_items),
(fm_directory_view_real_create_selection_context_menu_items),
(create_selection_context_menu):
* src/file-manager/fm-directory-view.h:
2000-08-29 Mathieu Lacage <mathieu@eazel.com>
* libnautilus-extensions/nautilus-search-uri.c: (parse_uri),
(nautilus_self_check_search_uri): fix a checks. fix a space
added in the generated sentences.
* src/nautilus-window-manage-views.c:
(nautilus_window_end_location_change_callback): Replaced
a nautilus_navigation_bar_set_location call with a comment
explaining why not to call it there.
There's now a Forget History item in the Go menu which
(after confirmation) forgets the history items in the Go
menu and the back/forward chains of each Nautilus window.
Afterwards, the Go menu's history list contains only locations
currently being displayed.
* src/nautilus-window.h: Changed back_list and forward_list
from GSList * to GList * so I could use nautilus glist
convenience functions (there's no efficiency issue with these
small lists). Added prototypes for new functions
nautilus_clear_back_list, nautilus_clear_forward_list, and
nautilus_forget_history.
* src/nautilus-window.c:
(nautilus_window_clear_forward_list),
(nautilus_window_clear_back_list): New functions that free and
set to NULL the back & forward lists.
(nautilus_window_destroy): Use nautilus_window_clear_back_list
and nautilus_window_clear_forward_list instead of replicating code.
(nautilus_window_back_or_forward),
(nautilus_window_get_base_page_index): Replace "slist" with "list"
(free_history_list): Set history_list variable to NULL in addition
to freeing its contents.
(nautilus_forget_history): New function, walks through all windows
clearing out their back/forward lists, and throws away all of the
history list except currently-displayed locations.
* src/nautilus-window-manage-views.c: (handle_go_back),
(handle_go_forward), (handle_go_elsewhere): Changed "slist"
to "list" in various places; called new nautilus_clear_forward_list
instead of replicating code.
* src/nautilus-window-menus.c:
(forget_history_if_confirmed): New function, calls nautilus_history_forget
if user confirms via modeless dialog (because it would be a pain to
accidentally choose this menu item and erase your history).
(go_menu_forget_history_callback): New function used by new menu item,
calls forget_history_if_confirmed.
(nautilus_window_initialize_menus): Add "Forget History" item to Go menu.
* src/nautilus-window-toolbars.c: (create_back_or_forward_menu):
Replace "slist" with "list"
* src/file-manager/fm-directory-view.c:
(fm_directory_view_real_create_background_context_menu_items):
Just clarified a comment.
* src/nautilus-zoom-control.c:
(nautilus_zoom_control_button_press_event): Made the zoom
control use Ramiro's nifty nautilus_pop_up_context_menu code
to offset the menu position slightly.
into single "Reversed Order" menu item. Andy accidentally
clobbered my entire set of changes with a more recent check-in.
* src/file-manager/fm-icon-view.c: (tighter_layout_callback),
(update_layout_menus), (sort_callback), (sort_direction_callback),
(manual_layout_callback), (fm_icon_view_merge_menus),
(fm_icon_view_initialize_class):
* components/services/install/lib/eazel-install-object.c:
(eazel_install_fetch_remote_package_list):
Smarter package-list url generation.
* components/services/install/lib/eazel-install-public.h:
Expose fetch_remote_package_list call, used for the installer.
* components/services/install/lib/eazel-install-rpm-glue.c:
(eazel_uninstall_downward_traverse):
Removed FIXME that was in error.
* nautilus-installer/src/callbacks.c: (druid_cancel),
(begin_install), (druid_finish), (prep_install):
* nautilus-installer/src/callbacks.h:
* nautilus-installer/src/installer.c: (check_system),
(eazel_installer_do_install):
* nautilus-installer/src/installer.h:
* nautilus-installer/src/interface.c: (set_white_stuff),
(create_what_to_do_page), (create_window), (set_images),
(eazel_install_progress), (eazel_download_progress),
(install_failed_helper), (install_failed), (download_failed),
(eazel_install_preflight), (eazel_install_dep_check),
(eazel_install_delete_files), (eazel_installer_add_category),
(eazel_installer_finalize), (eazel_installer_unref),
(eazel_installer_class_initialize), (eazel_installer_initialize),
(eazel_installer_get_type), (eazel_installer_new):
* nautilus-installer/src/interface.h:
* nautilus-installer/src/main.c: (main):
Slaughtering and revamping the installer. It now loads the
packagelist as one of the first things (needs changing to support
proxies), then inserts a radiobutton pr. category (needs to be
togglebuttons instead).
2000-08-28 Mathieu Lacage <mathieu@eazel.com>
* NEWS: add news from latest PR1 release.
* components/tree/nautilus-tree-view.c: make dnd do real file operations
from tree view to other views. Dnd to tree view depends on the views code
which needs to be fixed (related to bug 2353).
* libnautilus-extensions/Makefile.am: add nautilus-fils-operations.
* libnautilus-extensions/nautilus-file-operations-progress.c:
(nautilus_file_operations_progress_update),
(nautilus_file_operations_progress_close),
(nautilus_file_operations_progress_destroy),
(nautilus_file_operations_progress_initialize),
(nautilus_file_operations_progress_initialize_class),
(nautilus_file_operations_progress_new),
(nautilus_file_operations_progress_set_total),
(nautilus_file_operations_progress_set_operation_string),
(nautilus_file_operations_progress_new_file),
(nautilus_file_operations_progress_clear),
(nautilus_file_operations_progress_update_sizes),
(nautilus_file_operations_progress_freeze),
(nautilus_file_operations_progress_thaw): modify API name.
* libnautilus-extensions/nautilus-file-operations-progress.h: idem
* libnautilus-extensions/nautilus-file-operations.c: idem
(xfer_dialog_clicked_callback), (create_xfer_dialog),
(progress_dialog_set_files_remaining_text),
(progress_dialog_set_to_from_item_text), (handle_xfer_ok),
(handle_xfer_vfs_error), (nautilus_file_operations_copy_move),
(nautilus_file_operations_new_folder),
(nautilus_file_operations_move_to_trash),
(nautilus_file_operations_delete),
(nautilus_file_operations_empty_trash):
* libnautilus-extensions/nautilus-file-operations.h: idem.
* src/file-manager/Makefile.am: remove dfos* from compilation.
* src/file-manager/fm-directory-view.c:
(bonobo_menu_empty_trash_callback),
(fm_directory_view_create_links_for_files),
(fm_directory_view_duplicate_selection),
(fm_directory_view_trash_or_delete_selection),
(fm_directory_view_new_folder),
(fm_directory_view_move_copy_items): make it call nautilus-file-operations
functions.
* libnautilus-extensions/nautilus-buffered-widget.c:
(nautilus_buffered_widget_initialize),
(nautilus_buffered_widget_destroy),
(buffered_widget_update_pixbuf),
(create_background_pixbuf_from_none),
(create_background_pixbuf_from_solid),
(create_background_pixbuf_from_ancestor),
(create_background_pixbuf),
(nautilus_buffered_widget_get_vertical_offset),
(nautilus_buffered_widget_set_background_type),
(nautilus_buffered_widget_get_background_type),
(nautilus_buffered_widget_set_background_color),
(nautilus_buffered_widget_get_background_color):
* libnautilus-extensions/nautilus-buffered-widget.h:
* libnautilus-extensions/nautilus-gdk-extensions.c:
(nautilus_gdk_gc_ref_if_not_null),
(nautilus_gdk_gc_unref_if_not_null):
* libnautilus-extensions/nautilus-gdk-extensions.h:
Add unref/ref functions for gcs that take NULL.
* libnautilus-extensions/nautilus-label.c: (nautilus_label_new):
* libnautilus-extensions/nautilus-label.h:
Make the constructor work just like GtkLabel by accepting a string.
* components/music/nautilus-music-view.c:
(nautilus_music_view_initialize), (add_play_controls):
Use the new NautilusLabel constructor.
* components/services/nautilus-dependent-shared/shared-service-widg
ets.c: (create_label_widget):
Use the new NautilusLabel constructor.
* src/nautilus-first-time-druid.c: (make_anti_aliased_label),
(set_up_update_feedback_page):
Use the new NautilusLabel constructor.
* src/nautilus-property-browser.c:
(nautilus_property_browser_initialize),
(make_properties_from_directory_path),
(make_properties_from_xml_node), (make_category_link):
Use the new NautilusLabel constructor.
Fix the tile names to be antialises by using the new buffered
widget SOLID background mode.
* src/nautilus-sidebar-title.c:
(sidebar_create_smooth_components_if_needed):
Use the new NautilusLabel constructor.
* src/nautilus-theme-selector.c:
(nautilus_theme_selector_initialize):
Use the new NautilusLabel constructor.
* test/test-nautilus-image.c: (main):
* test/test-nautilus-label.c: (main):
Use the new NautilusLabel constructor.
* components/services/install/command-line/Makefile.am:
Readded eazel-gen-xml
* components/services/install/command-line/eazel-alt-install-corba.c:
(done),
Check the result flag
(main):
Added revert to the commandline options.
* components/services/install/idl/trilobite-eazel-install.idl:
Added a boolean flag to the done signal
* components/services/install/lib/eazel-install-corba-callback.c:
(impl_done), (eazel_install_callback_class_initialize),
Added a boolean flag to the done signal
(eazel_install_callback_simple_query):
Removed a blank line!
* components/services/install/lib/eazel-install-corba-callback.h:
Added a boolean flag to the done signal
* components/services/install/lib/eazel-install-corba.c:
(impl_Eazel_Install_simple_query):
Corrected the parse of the root argument
* components/services/install/lib/eazel-install-object.c:
(eazel_install_class_initialize), (eazel_install_install_packages),
(eazel_install_uninstall_packages),
(eazel_install_revert_transaction_from_xmlstring),
(eazel_install_query_package_system),
Uses the enum return status from eazel-install-rpm-glue.c. The
delete_files signal now depend on this enum.
(eazel_install_emit_done), (eazel_install_emit_done_default):
Added a boolean flag to the done signal
* components/services/install/lib/eazel-install-public.h:
Added a boolean flag to the done signal
* components/services/install/lib/eazel-install-query.c:
(eazel_install_simple_rpm_query):
Added the root field to the packagedata
* components/services/install/lib/eazel-install-rpm-glue.c:
(install_new_packages), (download_all_packages),
(install_packages), (uninstall_all_packages), (uninstall_packages),
(hest), (revert_transaction),
(eazel_install_start_transaction_make_rpm_argument_list),
(eazel_install_do_transaction_save_report),
(eazel_install_monitor_rpm_propcess_pipe),
(eazel_install_monitor_subcommand_pipe),
(eazel_install_start_transaction),
(eazel_install_free_rpm_system_close_db_foreach),
(eazel_install_prepare_rpm_system),
(eazel_install_prepare_package_system),
(eazel_install_check_existing_packages), (print_package_list),
(eazel_uninstall_upward_traverse),
(eazel_uninstall_downward_traverse),
(eazel_uninstall_check_for_install), (eazel_uninstall_globber):
Uses the enum return status from eazel-install-rpm-glue.c. Also
added "D: " to all the debug output, so I can easily remove them
in the future.
* components/services/install/lib/eazel-install-rpm-glue.h:
Redefined the functions to return an enum status instead of bool.
* components/services/install/lib/eazel-install-types.h:
* components/services/install/lib/eazel-install-types.c:
(packagedata_new), (packagedata_destroy_foreach):
Added the root field to the packagedage (bug 2345)
* components/services/time/service/main.c:
(trilobite_service_factory_destroy):
Fixed the destruction of the factory object
* components/services/time/service/trilobite-eazel-time-service-publi
c.h:
* components/services/time/service/trilobite-eazel-time-service.c:
(impl_Trilobite_Eazel_Time_Service_check_time),
(trilobite_eazel_time_service_finalize),
(trilobite_eazel_time_service_unref),
(trilobite_eazel_time_service_class_initialize),
(trilobite_eazel_time_service_initialize_load_config),
(trilobite_eazel_time_service_initialize),
(trilobite_eazel_time_service_do_http_request):
Added "D: " to debug output. The service now reads config from a
xml config file (bug 945). Removed the _destroy call and added a
unref and finallize instead.
* components/services/trilobite/libtrilobite/helixcode-utils.h:
* components/services/trilobite/libtrilobite/helixcode-utils.c:
(xml_get_value):
Returns the string as a g_strdup'ed value instead. Added a bug
(2448) reg. making it return const char * instead.
* components/services/trilobite/libtrilobite/trilobite-core-utils.h:
*components/services/trilobite/libtrilobite/trilobite-core-utils.c:
(trilobite_get_config_dir_string):
Added this call, which returns the top dir for
* nautilus-installer/src/Makefile:
* nautilus-installer/src/callbacks.c:
* nautilus-installer/src/callbacks.h:
* nautilus-installer/src/installer.c: (installer):
* nautilus-installer/src/interface.c: (create_window):
* nautilus-installer/src/main.c:
Begun work on using the categories.
from creating bug reports, so the remaining ones will have
to wait until at least tomorrow.
* src/nautilus-complex-search-bar.c:
(nautilus_complex_search_bar_set_location),
(fewer_options_callback), (update_options_buttons_state):
* src/nautilus-search-bar.c:
* src/nautilus-sidebar-tabs.c: (draw_one_tab_themed),
(get_tab_width):
* src/nautilus-sidebar.c: (receive_dropped_uri_list),
(receive_dropped_keyword), (add_command_buttons):
* src/nautilus-simple-search-bar.c:
(nautilus_search_uri_to_simple_search_criteria),
(nautilus_simple_search_criteria_to_search_uri):
* src/nautilus-switchable-search-bar.c:
(search_bar_preference_changed_callback),
(nautilus_switchable_search_bar_set_location),
(nautilus_search_uri_is_displayable_by_mode):
2000-08-28 Ali Abdin <aliabdin@aucegypt.edu>
* components/help/converters/gnome-db2html2/TODO:
Updated.
* components/help/converters/gnome-db2html2/AUTHORS:
New file (to give credit where its due and to show who to contact
for maintainership purposes)
* components/help/converters/gnome-db2html2/sect-elements.c
(sect_table_with_border_start_element) Its a good idea to actually
The three zooming related items no longer appear in
the desktop's right click menu (bug 1737)
* src/file-manager/fm-desktop-icon-view.c:
(fm_desktop_icon_view_initialize_class),
(change_desktop_background_menu_item_callback),
(fm_desktop_icon_view_create_background_context_menu_zoom_items):
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize_class),
(real_create_background_context_menu_zoom_items),
(create_background_context_menu_zoom_items),
(fm_directory_view_real_create_background_context_menu_items):
* src/file-manager/fm-directory-view.h:
2000-08-28 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_is_in_trash):
* src/file-manager/fm-directory-view.c:
(fm_directory_view_can_move_file_to_trash):
Fix FIXME 2428 and 2389.
Made it so that the respective gnome_vfs_find_directory calls
won't do any I/O.