* libnautilus-extensions/nautilus-undo-signal-handlers.c:
* libnautilus-extensions/nautilus-undo-signal-handlers.h:
(nautilus_entry_user_changed_callback),
(nautilus_undo_setup_nautilus_entry_for_undo),
(nautilus_undo_teardown_nautilus_entry_for_undo),
(free_editable_undo_data), (free_editable_object_data),
(editable_insert_text_callback), (editable_delete_text_callback),
(editable_register_edit_undo),
(nautilus_undo_setup_editable_for_undo),
(nautilus_undo_teardown_editable_for_undo),
(restore_editable_from_undo_snapshot_callback),
(editable_key_press_event), (nautilus_undo_editable_set_undo_key):
New file and functions to handle undo in NautilusEntry and
GtkEditables. This file is intended to contain signal handlers
that enable undo for a variety of GTK widgets. Calling a
setup_for_undo function will prepare the widget to handle
undo functionality.
* libnautilus-extensions/Makefile.am:
Added entries for new files nautilus-undo-signal-handlers.c
and nautilus-undo-signal-handlers.h
* components/notes/nautilus-notes.c: (make_notes_view):
Fixed bug #973. Add undo to notes component.
* components/websearch/ntl-web-search.c: (make_obj):
Changed to use new undo signal handlers.
* libnautilus-extensions/nautilus-entry.c:
(nautilus_entry_initialize), (nautilus_entry_key_press),
(nautilus_entry_set_text), (nautilus_entry_delete_text):
Removed old undo code that had been rendered obsolete by the
new signal handlers mentioned above.
* src/nautilus-bookmarks-window.c: (create_bookmarks_window):
Changed to use new undo signal handlers.
----------------------------------
sensible things)
* libnautilus-extensions/nautilus-gnome-extensions.h,
* libnautilus-extensions/nautilus-gnome-extensions.c:
(nautilus_info_dialog),
(nautilus_info_dialog_parented): New functions for showing
a one-button informational dialog.
(nautilus_yes_no_dialog),
(nautilus_yes_no_dialog_parented): New functions for
showing a two-button question dialog.
(show_yes_no_box): Helper function used to implement
yes_no_dialog routines.
* src/nautilus-bookmark-list.h,
* src/nautilus-bookmark-list.c:
(nautilus_bookmark_list_delete_items_with_uri):
New function for deleting all bookmarks with a given uri.
* src/nautilus-window-menus.c:
(bookmark_holder_new), (bookmark_holder_free): New helper
functions for dealing with BookmarkHolder structs.
(remove_bookmarks_for_uri),
(show_bogus_bookmark_window),
(uri_known_not_to_exist): New helper functions for dealing
with bookmarks for missing (local) files. In the Go menu
case, the user is just told that the location doesn't exist;
in the Bookmarks menu case, the user has the option of
removing bookmarks with this URI from their list.
(activate_bookmark_in_menu_item): Added a parameter to
distinguish Go menu case from Bookmarks menu case.
(append_bookmark_to_menu): Added this parameter here also,
where it's stored in a BookmarkHolder; deploy
bookmark_holder_new and _free.
(refresh_bookmarks_in_bookmarks_menu),
(refresh_bookmarks_in_go_menu): Pass the new parameter to
append_bookmark_to_menu.
corrected scale factor used for vector icons, and updated the
icons in the vector them to be the proper size. Also, some work
on link set configurations that isn't completed yet, and allowed
the sidebar to be reduced to a very small width to get started with
the upcoming rework.
* components/services/trilobite/libtrilobite/Makefile.am:
* components/services/trilobite/libtrilobite/helixcode-utils.c:
* components/services/trilobite/libtrilobite/helixcode-utils.h:
*
components/services/trilobite/libtrilobite/trilobite-core-distribut
ion.c: (determine_turbolinux_version),
(determine_mandrake_version), (determine_suse_version),
(determine_debian_version), (determine_redhat_version),
(trilobite_get_distribution), (trilobite_get_distribution_name):
*
components/services/trilobite/libtrilobite/trilobite-core-distribut
ion.h:
As bug 908 said, the helixcode installers way of indentifying
distro sucked (Red Hat 6.099999 ?!), so I revamped it and moved
the code into trilobite-core-distribution. Only wrote the redhat
version check, not the other ones (see bug 908). Instead of only
using a enum for the distro, it's now a struct, containing an enum
identifying the distroname and two ints for the version.
* components/services/install/command-line/eazel-alt-install.c:
(create_package):
* components/services/install/lib/eazel-install-protocols.c:
(http_fetch_remote_file), (eazel_install_fetch_package),
(add_to_url), (get_url_for_package), (get_search_url_for_package):
* components/services/install/lib/eazel-install-protocols.h:
* components/services/install/lib/eazel-install-rpm-glue.c:
(download_all_packages), (install_all_packages):
* components/services/install/lib/eazel-install-types.c:
(packagedata_new):
* components/services/install/lib/eazel-install-types.h:
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_package):
Updated to use the new get_distribution call. Also worked on the
rpmsearch stuff. It generates url's like
http://vorlon.eazel.com/rpmsearch.cgi?name=jade&arch=i386&version>=1.2.1&protocol=http&distro="Red Hat Linux 6.1"
Hat Linux 6.1" and should get a url pointing to an appropriate rpm
returned, which should then be fetched.
* nautilus-installer/src/Makefile:
* nautilus-installer/src/Makefile.am:
Updated so it still links.
* libnautilus-extensions/nautilus-mime-actions.c
(make_oaf_query_with_known_mime_type,
make_oaf_query_with_uri_scheme_only): Support new
bonobo:additional_uri_schemes attribute needed for Rebecca's
stuff.
* src/nautilus-window.c: (nautilus_window_connect_view):
%$#$@! state machine. I discovered that my last attempt
to fix the "set_sensitive called on bad GTK_WIDGET" bug
introduced a harmless but annoying warning when switching
locations in the same window. This change (taking the
"while_alive" off a signal handler) gets rid of that
warning, but reintroduces the set_sensitive bug in certain
cases. The good news is that I know how to reproduce the
set_sensitive bug every time. I don't know the best fix
for it though, so I'll just write a bug report.
fixed problem where vector icons were only being rendered at the
nominal size and were pixmap scaled from there; now they are
rendered at the appropriate size.
* src/nautilus-applicable-views.c (got_file_info_callback): Do not
add default to short list; instead, make sure we don't fail if
there is a default but not short list.
*
components/services/install/lib/trilobite-eazel-install-service.oaf
info:
Eskil should stop putting ":"'s at the end of
"bonobo:supported-uri-schemes" entries
occasional "set_sensitive called on bad GTK_WIDGET"
errors. I think.
* src/nautilus-window-private.h: Swapped parameters
of nautilus_window_view_destroyed so the window is first.
* src/nautilus-window-manage-views.c:
(nautilus_window_free_load_info): Remove pending
action_id function before setting field to 0.
(nautilus_window_view_destroyed): Swapped the parameters
to match prototype.
* src/nautilus-window.c: (nautilus_window_connect_view): Use
gtk_signal_connect_object_while_alive instead of just
gtk_signal_connect so the window won't be notified of its
view's demise after the window's own demise.
* src/nautilus-window.c: (nautilus_window_destroy):
Changed the way the window->action_tag is destroyed.
I think this actually fixes the occasional "set_sensitive
called on bad GTK_WIDGET" errors that Darin tried to
fix yesterday.
views, including 881 (right-click on selected item in list
view shouldn't change selection), 918 (mouse activation
in list view shouldn't affect only clicked item), and some
others I found while in this code. Redefined the behavior
of activation and multiple selection to some extent. Now
double-clicking on a selected item always opens all selected
items, and always opens them in new windows. If in single-click
mode, single-clicking in list view when there's a multiple
selection still opens only the clicked-on item, since the UI
makes it pretty clear that you're clicking on a link for this
one item. In icon view, single-clicking on a selected item in
a multiple selection opens all selected items in new windows,
since this feels to me more like "activate selected items"
than "follow link", but I'm not really sure which is better.
I changed the old behavior where single-clicking in icon view
with a multiple selection would open the clicked item in the
same window (if your preference was for "open in same window")
and all others in new windows. In practice this seemed wrong,
and opening all of the items in new windows is equivalent to
the "Open in n New Windows" menu item. Please argue with me
if you disagree.
* libnautilus-extensions/nautilus-icon-container.c:
(remember_selected_files), (forget_selected_files): Removed these
functions, which were part of an earlier incomplete selection
behavior fix.
(destroy): Removed call to forget_selected_files.
(nautilus_icon_container_almost_drag): Changed name to
somewhat less misleading "nautilus_icon_container_did_not_drag";
fixed bug where clicking on selected item (in double-click mode)
would deselect other selected items; replaced remember/forget
pair with call to activate_selected_items.
(handle_icon_button_press): replaced remember/forget pair with
call to activate_selected_items.
(activate_selected_items): Reimplemented to use nautilus_icon_
container_get_selection instead of remember/forget.
* libnautilus-extensions/nautilus-icon-private.h: Removed
last_selected_files field, formerly used by remember_ and
forget_selected_files.
* libnautilus-extensions/nautilus-list.h: Changed "activate"
signal to pass a list of items to activate instead of just one.
* libnautilus-extensions/nautilus-list.c:
(event_state_modifies_selection): New helper function, checks
for control or shift key mask.
(activate_row_data_list): New function, emits activate signal
on a list of row_data elements.
(activate_selected_rows): New function.
(activate_row): Reimplemented to use activate_row_data_list.
(nautilus_list_button_press): Deployed
event_state_modifies_selection; fixed 881 by not deselecting
other items when right-clicking on a selected item; fixed 918
by making double-click activate all selected rows.
(nautilus_list_button_release): Deployed
event_state_modifies_selection; fixed bug where (left-)
clicking on a selected item would unselect others
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-directory-view.c:
(fm_directory_view_activate_file): Renamed from
fm_directory_view_activate_files; now takes a list
of files to activate and opens them all in new windows
if there are more than one (otherwise respects preference).
(fm_directory_view_activate_file_internal): Renamed to
fm_directory_view_activate_file now that this name was
available.
* src/file-manager/fm-icon-view.c:
(icon_container_activate_callback): Now calls
fm_directory_view_activate_files instead of iterating here.
* src/file-manager/fm-list-view.c:
(list_activate_callback): Changed to take list parameter and
call fm_directory_view_activate_files.
2000-06-09 Martin Baulig <martin@home-of-linux.org>
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_get_local_path_from_uri): New function. Returns
a local path for a file:// URI.
* acconfig.h:
* configure.in:
Added NAUTILUS_PREFIX so we can locate our installed files
correctly instead of assuming they are in the gnome-libs prefix.
* components/help/hyperbola-filefmt.c: (fmt_map_entry):
* components/websearch/ntl-web-search.c:
(web_search_populate_engines):
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_get_user_main_directory):
* libnautilus-extensions/nautilus-link-set.c:
(get_link_set_document):
* src/file-manager/fm-properties-window.c: (get_property_names):
* src/nautilus-property-browser.c:
(nautilus_property_browser_drag_data_get), (make_drag_image),
(get_xml_path), (make_properties_from_directory):
Use NAUTILUS_PREFIX instead of gnome_datadir_file so we get the
files from the right directory. Since gnome_datadir_file does a
check to see if the file exists, had to add some explicit checks
in various places.
* components/html/glib-www-callbacks.c:
Got rid of some warnings.
* components/services/time/command-line/.cvsignore:
* components/services/time/nautilus-view/.cvsignore:
* components/services/time/service/.cvsignore:
Ignore the new time stamp files.
* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h:
Fixed formatting.
* RENAMING:
* src/nautilus-sidebar-tabs.c:
* src/nautilus-sidebar-tabs.h:
* src/nautilus-sidebar-title.c:
* src/nautilus-sidebar-title.h:
* src/nautilus-sidebar.c:
Renamed IndexTabs and IndexTitle to SidebarTabs
and SidebarTitle as planned.
* libnautilus-extensions/nautilus-view-identifier.h,
libnautilus-extensions/nautilus-view-identifier.c
(nautilus_view_identifier_compare): New function to use when
searching view identifier lists.
* src/nautilus-applicable-views.c (got_file_info_callback): Merge
the default view into the menu.
* components/services/docs/installer-dep-check:
(set_parameters_from_command_line), (eazel_progress_signal),
(download_failed), (install_failed), (dep_check), (create_package),
(main):
* components/services/install/lib/Makefile.am:
* components/services/install/lib/eazel-install-object.c:
(eazel_install_set_arg), (eazel_install_class_initialize),
(eazel_install_initialize),
(eazel_install_fetch_remote_package_list),
(eazel_install_emit_install_failed),
(eazel_install_emit_dependency_check),
(eazel_install_install_packages), (eazel_install_uninstall):
* components/services/install/lib/eazel-install-private.h:
* components/services/install/lib/eazel-install-protocols.c:
(http_fetch_remote_file), (ftp_fetch_remote_file),
(local_fetch_remote_file), (eazel_install_fetch_file),
(eazel_install_fetch_package):
* components/services/install/lib/eazel-install-protocols.h:
* components/services/install/lib/eazel-install-public.h:
* components/services/install/lib/eazel-install-rpm-glue.c:
(install_new_packages), (download_all_packages),
(install_all_packages), (uninstall_packages),
(uninstall_a_package), (build_packagedata_list_from_deps),
(do_rpm_install), (do_rpm_uninstall),
(eazel_install_prune_packages_helper),
(eazel_install_prune_packages), (eazel_install_load_rpm_headers),
(eazel_install_load_headers), (eazel_install_free_rpm_system),
(eazel_install_prepare_rpm_system),
(eazel_install_prepare_package_system),
(eazel_install_free_package_system),
(eazel_install_add_headers_to_rpm_set),
(eazel_install_add_headers_to_set),
(eazel_install_package_name_compare),
(eazel_install_package_conflict_compare),
(eazel_install_add_to_extras_foreach),
(eazel_install_fetch_rpm_dependencies),
(eazel_install_fetch_dependencies), (print_package_list),
(eazel_install_ensure_deps), (rpm_install):
* components/services/install/lib/eazel-install-rpm-glue.h:
* components/services/install/lib/eazel-install-types.c:
(protocol_as_string), (packagedata_new),
(packagedata_new_from_rpm_conflict),
(packagedata_new_from_rpm_conflict_reversed),
(packagedata_new_from_rpm_header),
(packagedata_fill_from_rpm_header), (packagedata_destroy_foreach),
(packagedata_destroy), (rpmfilename_from_packagedata),
(packagedata_hash), (packagedata_equal):
* components/services/install/lib/eazel-install-types.h:
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_package), (parse_local_xml_package_list):
* components/services/trilobite/libtrilobite/helixcode-utils.c:
(xml_get_value):
Too much to list it all. Basically it now tries to do what apt-get
has done for ages. Given a list of packages to install, it
recursively traverses the packagelist, fetches missing
dependencies (no remote fetch yet, requires a search script on the
server side) untill all deps are satisfies. If deps failed, it
prunes the tree and emit signals.
I've tried to do it modular enough to add support for other
package systems then rpm, but rpm calls are still strewm about.
* components/services/install/command-line/Makefile.am:
* components/services/install/command-line/eazel-alt-install.c:
Now takes random package names at commandline and should
ideally try to download them from the server.
* nautilus-installer/src/Makefile:
* nautilus-installer/src/Makefile.am:
* nautilus-installer/src/installer.c: (eazel_download_progress),
(install_failed_helper), (install_failed), (installer):
Fixed to work the new stuff in libinstall. Also generates
prettier (but still ugly) error reports.
partially offscreen)
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_popup_menu_position_func): Made the menu-positioning
function take screen size into account.
Fixed bug 541 (unusably wide dialog when trying to
rename a file to a gigantically long name)
* src/file-manager/fm-error-reporting.c:
(fm_report_error_renaming_file),
(fm_report_error_setting_permissions):
Used nautilus_error_dialog (which does word wrapping)
instead of GnomeMessageBox directly.
Fixed bug 1242 (Possibly unnecessary widget resizing when
content view swapped)
* src/nautilus-window.c: (nautilus_window_real_set_content_view):
Scientists proved that it was unnecessary. Removed it.
2000-06-08 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-entry.c:
(nautilus_entry_initialize_class),
(nautilus_entry_initialize):
Fixed bug 983. Added user_changed signal.
(nautilus_entry_destroy), (nautilus_entry_set_text),
(nautilus_entry_insert_text), (nautilus_entry_delete_text),
(free_undo_data), (register_edit_undo),
(restore_from_undo_snapshot_callback),
(nautilus_entry_set_undo_key):
Cleanups in the way undo was being registered. Created
local undo data structure and removed cached undo text
from class. Localized checking of undo registered
boolean to a single location.
(user_changed_callback):
Added callback coonected to user changed signal.
Undo registering is handled here.
* src/nautilus-bookmarks-window.c: (create_bookmarks_window),
(on_select_row), (on_text_field_focus_in_event),
(on_text_field_focus_out_event), (repopulate):
Updated code to properly handle undo.
* src/nautilus-location-bar.c:
(nautilus_location_bar_set_location):
Updated code to properly handle undo.
"Choose" button in View as Other dialog)
* libnautilus-extensions/nautilus-gnome-extensions.h:
* libnautilus-extensions/nautilus-gnome-extensions.c:
(nautilus_gnome_dialog_get_button_by_index): New
function, returns one of the bottom-of-the-dialog buttons
specified by index.
* libnautilus-extensions/nautilus-gtk-extensions.h,
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_gtk_button_auto_click): New function,
acts as if invisible finger had clicked the specified
button.
(finish_button_activation): New idle function used by
auto_click.
(nautilus_gtk_clist_set_double_click_button):
New function, specifies a button to be auto-clicked
when a clist gets a double-click.
(activate_button_on_double_click): New signal handler
function used by set_double_click_button.
* libnautilus-extensions/nautilus-program-chooser.c:
(nautilus_program_chooser_new): Wire up the "Choose"
button with nautilus_gtk_clist_set_double_click_button.
* src/nautilus-window-manage-views.c:
(nautilus_window_end_location_change_callback),
(nautilus_window_begin_location_change):
* src/nautilus-window.h:
Fixed the bug where bogus URIs would cause a seg fault.
Unfortunately doing this in a simple clean way required
adding a field to the already-packed NautilusWindow.
2000-06-08 Pavel <pavel@eazel.com>
* components/services/time/command-line/Makefile.am:
* components/services/time/nautilus-view/Makefile.am:
* components/services/time/service/Makefile.am:
Ooops, my previous makefile fixes, weren't right -- they
caused trilobite to get rebuild again each time.
Replaced a phony rule with a timestamp file to fix
the problem.
* libnautilus-extensions/nautilus-directory-async.c:
(dequeue_pending_idle_callback), (directory_load_done):
Moved a state changed call in for the case where we discover
new items in a directory. This fixes bugs 1066 and 1068.
* src/nautilus-window.c: (nautilus_window_destroy):
Fixed problem where we get occasional stray calls to
"set_sensitive". The problem is that we must remove the
idle call used by the window state machine when the window
in question is destroyed.
2000-06-08 Pavel Cisler <pavel@eazel.com>
* nautilus-widgets/Makefile.am:
Fix dependencies to make parallel make on MP machines work.
* components/services/time/command-line/Makefile.am:
* components/services/time/nautilus-view/Makefile.am:
* components/services/time/service/Makefile.am:
Fix dependencies to make parallel make work.
Fix clean target to delete all the autogenerated files.
* libnautilus-extensions/nautilus-file.c: (destroy):
Fixed another storage leak, we forgot to call through
to the parent destroy.
(nautilus_self_check_file): Fixed a leak in the test.
* libnautilus-extensions/nautilus-string-list.c:
(nautilus_string_list_new_from_tokens): Fixed a leak
by calling g_strfreev instead of g_free.
* libnautilus-extensions/nautilus-mime-actions.h,
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_has_any_applications_for_uri),
(nautilus_mime_has_any_components_for_uri): New functions,
return a gboolean. Currently they just get the whole list
and check if it's non-NULL, but perhaps this can be
optimized later.
* src/nautilus-sidebar.c: (nautilus_sidebar_update_buttons):
Deploy nautilus_mime_has_any_applications_for_uri where it
was already doing this kind of check.
* src/nautilus-applicable-views.c:
(set_initial_content_id): removed an obsolete assert.
(got_file_info_callback): Don't report no handler just because
preferred list is empty; if any component is available use it.
* src/nautilus-window.c: (nautilus_window_load_content_view_menu):
Leave out the divider below the preferred list if the preferred
list is empty.
* libnautilus-extensions/nautilus-file.c: (destroy):
Fixed a storage leak (we weren't freeing file->details).
* libnautilus-extensions/nautilus-self-checks.c:
(nautilus_check_string_result): Fixed a storage leak.
* libnautilus-extensions/nautilus-directory-async.c:
(metafile_read_done), (metafile_read_failed),
(metafile_read_complete): Added some asserts.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_self_check_directory): Added one more "assert".
* libnautilus-extensions/nautilus-lib-self-check-functions.c:
(nautilus_run_lib_self_checks): Formatting tweaks.
* nautilus-widgets/nautilus-widgets-self-check-functions.c:
(nautilus_widgets_run_self_checks): Formatting tweaks.
* nautilus-widgets/nautilus-preference.c:
(nautilus_widgets_self_check_preference): Made the test
not repeat things so many times. It doesn't help find the
leaks, it actually hurts :-)
* src/nautilus-application.c: (nautilus_app_quit):
* src/nautilus-main.c: (main):
Moved the gnome_vfs_shutdown out to the main loop instead of
putting it inside nautilus-application.c since that matches
how we do the initializing.
2000-06-07 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-list.c: (nautilus_list_destroy):
Fix a memory thrasher Darin and John were running into.
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_get_default_component_for_uri_internal),
(nautilus_mime_get_short_list_components_for_uri),
(nautilus_mime_get_all_components_for_uri):
Fix more leaks.
There's still a bug outstanding (1053) about doing this a more
reliable way.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_switch_location): New helper function to
switch location, specifying whether or not a new window
should be used.
(switch_location_and_view): Set the default component for this
uri and then switch location.
(fm_directory_view_activate_file_internal): Use
fm_directory_view_switch_location to consolidate code.
to use application when appropriate)
* src/file-manager/fm-directory-view.c:
(fm_directory_view_activate_file_internal):
Check default_action_type_for_uri and launch default application
or switch location depending on result.
2000-06-07 Gene Z. Ragan <gzr@eazel.com>
* libnautilus-extensions/nautilus-icon-container.c:
(key_press_event):
Fixed bug #1154. The Enter key was getting checking
for improperly. A check was being performed for
being in editing mode after a check for not being in editing mode
had occured. Moved the check to the proper code block.
Updated code affected by destroy-notify addition to bonobo.
Requires new bonobo.
* libnautilus-extensions/nautilus-bonobo-extensions.c:
(nautilus_bonobo_ui_handler_menu_set_toggle_appearance):
Save and restore the destroy notify function as well as the
callback. This requires using the new function
bonobo_ui_handler_menu_remove_callback_no_notify to do right.
* src/file-manager/fm-directory-view.c:
(application_launch_parameters_new),
(application_launch_parameters_free): Ref and unref the directory
view object now that we correctly free this as needed.
(viewer_launch_parameters_new), (viewer_launch_parameters_free):
Ref and unref the directory view object now that we correctly free
this as needed.
(add_open_with_bonobo_menu_item): Add a destroy-notify function
parameters and apply it using bonobo_ui_handler_menu_set_callback.
(add_application_to_bonobo_menu): Free the launch parmaeters using
a destroy-notify function.
(add_component_to_bonobo_menu): Free the launch parmaeters using
a destroy-notify function.
* src/nautilus-window-menus.c: (append_bookmark_to_menu): Use a
destroy-notify function to destroy the bookmark holder.
(clear_appended_bookmark_items): Get rid of the code that gets
the callback data and destroys it explicitly.
* libnautilus/nautilus-clipboard.c: (add_menu_item):
* src/file-manager/fm-directory-view.c: (insert_bonobo_menu_item),
(fm_directory_view_real_merge_menus):
* src/file-manager/fm-icon-view.c: (append_bonobo_menu_item),
(fm_icon_view_merge_menus):
Rename BonoboUIHandlerCallbackFunc -> BonoboUIHandlerCallback.
* HACKING: Some reformatting.
* libnautilus-extensions/nautilus-gtk-extensions.h,
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_gtk_button_set_padding): New function, puts some
padding around the label (or other contained widget) in a
button.
* src/nautilus-bookmarks-window.c: (create_bookmarks_window):
Use this new function where it was doing this the long way.
* libnautilus-extensions/nautilus-program-chooser.c:
(nautilus_program_chooser_new): Use this new function to make
the "Modify..." button not so squashed.
2000-06-07 Pavel <pavel@eazel.com>
* libnautilus-extensions/nautilus-file.c: (nautilus_file_get):
Added missing unrefs to three exit places.
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_get_default_action_type_for_uri),
(nautilus_mime_get_default_application_for_uri),
(nautilus_mime_get_default_component_for_uri_internal),
(nautilus_mime_get_short_list_applications_for_uri),
(nautilus_mime_set_short_list_applications_for_uri),
(nautilus_mime_set_short_list_components_for_uri),
(nautilus_do_component_query):
Fixed a ton of leaked mime type strings.
2000-06-06 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_get_short_list_applications_for_uri),
(nautilus_mime_get_short_list_components_for_uri),
(nautilus_mime_get_all_applications_for_uri),
(nautilus_mime_get_all_components_for_uri):
Fixed leaked uris in each of the above.
* nautilus-widgets/nautilus-preferences-item.c:
(preferences_item_create_editable_string):
Fix a leaked string.
* nautilus-widgets/nautilus-preferences-item.c:
(has_image_file):
Add a missing gnome_vfs_file_info_init that will make
gnome_vfs_get_file_info not leak.
* src/nautilus-window-menus.c:
(update_user_level_menu_items):
Fix a leaked string.
* src/nautilus-window-menus.c:
(update_preferences_dialog_title):
Fix a leaked title string.
To get a complete check-out you might have to delete
the file named libnautilus/nautilus-undo.h that used
to be a generated file and is now checked-in.
* components/help/help-method.c: (vfs_module_transform):
Removed a bogus extraneous FIXME.
* libnautilus-extensions/Makefile.am:
Moved the undo manager into libnautilus-extensions
since it's not needed by Nautilus components.
* libnautilus-extensions/nautilus-entry.c:
* libnautilus-extensions/nautilus-icon-text-item.c:
* libnautilus/nautilus-view.c:
* src/nautilus-application.c:
* src/nautilus-bookmarks-window.c: (create_bookmarks_window):
* src/nautilus-view-frame.c:
* src/nautilus-window-private.h:
* src/nautilus-window.c:
Updated includes and a few small function name changes.
* libnautilus-extensions/nautilus-gtk-extensions.h:
* libnautilus-extensions/nautilus-gtk-extensions.c:
(alive_disconnecter),
(nautilus_gtk_signal_connect_full_while_alive):
Added a new function that combines the features of
gtk_signal_connect_full with gtk_signal_connect_while_alive.
* libnautilus/nautilus-undo-context.h: [removed]
* libnautilus/nautilus-undo-context.c: [removed]
* libnautilus-extensions/nautilus-undo-context.h:
* libnautilus-extensions/nautilus-undo-context.c:
(impl_Nautilus_Undo_Context__destroy),
(impl_Nautilus_Undo_Context__create),
(impl_Nautilus_Undo_Context__get_undo_manager),
(nautilus_undo_context_new), (destroy),
(nautilus_undo_context_initialize_class):
Rewrote this class to simplify it (after moving it here).
* libnautilus/nautilus-undo-manager.h: [removed]
* libnautilus/nautilus-undo-manager.c: [removed]
* libnautilus/nautilus-undo-manager-private.h: [removed]
* libnautilus-extensions/nautilus-undo-manager.h:
* libnautilus-extensions/nautilus-undo-manager.c:
(impl_Nautilus_Undo_Manager__destroy),
(impl_Nautilus_Undo_Manager__create),
(impl_Nautilus_Undo_Manager__append),
(impl_Nautilus_Undo_Manager__forget),
(nautilus_undo_manager_initialize),
(nautilus_undo_manager_initialize_class),
(nautilus_undo_manager_undo),
(nautilus_undo_manager_add_transaction),
(nautilus_undo_manager_forget_transaction),
(nautilus_undo_manager_set_queue_depth),
(nautilus_undo_manager_attach),
(nautilus_undo_manager_add_interface), (update_undo_menu_item),
(undo_menu_handler_connection_free),
(undo_menu_handler_connection_free_cover),
(nautilus_undo_manager_set_up_bonobo_ui_handler_undo_item):
Rewrote this class to simplify it. Got rid of many old
interfaces and added some new ones.
* libnautilus/.cvsignore:
* libnautilus/Makefile.am:
Renamed the old nautilus-undo.idl to
nautilus-distributed-undo.idl. The IDL is only about the internal
part of the undo framework. Clients use calls that are in
nautilus-undo.h. The part that's public needs the prettier name.
* libnautilus/nautilus-undo.idl: [removed]
* libnautilus/nautilus-distributed-undo.idl:
Updated the names of menu-item-related things to better match the
standard terminology.
* libnautilus/nautilus-undo-private.h:
Added this new header for things needed by the undo manager that
are in libnautilus. Maybe we can eliminate this later.
* libnautilus/nautilus-undo-transaction.h:
* libnautilus/nautilus-undo-transaction.c:
(impl_Nautilus_Undo_Transaction__destroy),
(impl_Nautilus_Undo_Transaction__create),
(impl_Nautilus_Undo_Transaction__get_undo_menu_item),
(impl_Nautilus_Undo_Transaction__get_redo_menu_item),
(impl_Nautilus_Undo_Transaction__get_operation_name),
(impl_Nautilus_Undo_Transaction__undo),
(nautilus_undo_transaction_new),
(nautilus_undo_transaction_initialize),
(remove_transaction_from_object),
(nautilus_undo_transaction_destroy),
(nautilus_undo_transaction_initialize_class),
(nautilus_undo_transaction_add_atom),
(nautilus_undo_transaction_undo),
(nautilus_undo_transaction_add_to_undo_manager), (remove_atoms),
(remove_atoms_cover),
(nautilus_undo_transaction_unregister_object), (undo_atom_free),
(undo_atom_undo_and_free), (undo_atom_free_cover),
(undo_atom_undo_and_free_cover), (undo_atom_list_free),
(undo_atom_list_undo_and_free):
Rewrote and simplified this class and got rid of all uses of
NautilusUndoable.
* libnautilus/nautilus-undoable.h: [removed]
* libnautilus/nautilus-undoable.c: [removed]
* libnautilus/nautilus-undo.h:
* libnautilus/nautilus-undo.c: (nautilus_undo_register),
(nautilus_undo_register_full), (nautilus_undo_unregister),
(nautilus_undo), (nautilus_undo_get_undo_manager),
(undo_manager_ref), (undo_manager_unref),
(undo_manager_unref_cover), (nautilus_undo_attach_undo_manager),
(nautilus_undo_share_undo_manager), (set_up_bonobo_control),
(nautilus_undo_set_up_bonobo_control):
Added this new file with the public interface of the undo code and
most of the basic implementation. Most of this was previously in
nautilus-undoable.c.
* nautilus-widgets/nautilus-preferences.c:
(preferences_hash_node_free), (preferences_hash_node_add_callback),
(preferences_hash_node_remove_callback),
(preferences_hash_node_check_changes_func),
(preferences_callback_node_alloc),
(preferences_callback_node_free),
(preferences_callback_node_free_func),
(preferences_callback_node_invoke_func),
(preferences_gconf_callback):
Fixed a repeated spelling error in this file.
* src/nautilus-application.c: (nautilus_app_init):
* src/nautilus-view-frame.c: (nautilus_view_frame_load_client):
* src/nautilus-window-menus.c: (edit_menu_undo_callback),
(nautilus_window_initialize_menus):
* src/nautilus-window.c: (nautilus_window_constructed):
Changed to use public parts of the undo API instead of the old
stuff that used private secret stuff. Many places use nice new
convenient calls that do a lot of the work for you.
2000-06-06 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-icon-factory.c:
(get_themed_icon_file_path),
(nautilus_icon_factory_get_icon_for_file):
Fix leaks.
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_get_default_component_for_uri_internal):
Add an assert to augument a funny if statement and trap
a potential leak case.
* src/file-manager/fm-icon-view.c: (get_icon_text_callback):
Fix a leak
* libnautilus-extensions/nautilus-glib-extensions.c:
(nautilus_test_predicate), (nautilus_self_check_glib_extensions):
Un #if-0'd out, and replaced the free that was killing things with
a comment explaining why it is not necessary.
* libnautilus-extensions/nautilus-glib-extensions.c:
(nautilus_self_check_glib_extensions):
Comment out broken nautilus_g_list_paritition tests and adeed
FIXME blurb with bug number.
* components/music/nautilus-music-view.c:
* components/services/trilobite/libtrilobite/trilobite-service.c:
* src/nautilus-window-menus.c: (update_user_level_menu_items):
* src/nautilus-window.c: (nautilus_window_constructed),
(nautilus_window_real_set_content_view):
Added bug numbers to FIXMEs, and removed a few stale ones.
* libnautilus-extensions/nautilus-metadata.h:
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_get_default_action_type_for_uri),
(nautilus_mime_get_default_application_for_uri),
(nautilus_mime_get_default_component_for_uri_internal),
(nautilus_mime_get_short_list_applications_for_uri),
(nautilus_mime_get_short_list_components_for_uri),
(nautilus_mime_get_all_applications_for_uri),
(nautilus_mime_set_default_action_type_for_uri),
(nautilus_mime_set_default_application_for_uri),
(nautilus_mime_set_default_component_for_uri),
(nautilus_mime_set_short_list_applications_for_uri),
(nautilus_mime_set_short_list_components_for_uri),
(nautilus_mime_extend_all_applications_for_uri),
(nautilus_mime_remove_from_all_applications_for_uri),
(get_explicit_content_view_iids_from_metafile):
Made all the metadata keys in this file be #defines
instead of in-line strings.
* libnautilus-extensions/nautilus-metadata.h:
Removed NAUTILUS_METADATA_KEY_INITIAL_VIEW 'cuz it's not needed
anymore.
* libnautilus-extensions/nautilus-mime-actions.h:
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_get_default_component_for_uri_internal):
New private function, returns both the default component
and whether it was user-chosen (as opposed to just inherited
from the value for this MIME type).
(nautilus_mime_get_default_component_for_uri): Now calls
this new function. Also fixed a bug where it was using a
different metadata string than _set_default_, and thus
never retrieving the stored value.
(nautilus_mime_is_default_component_for_uri_user_chosen):
New public function, reports whether the default component
was chosen by the user or just inherited.
* src/nautilus-window.c: (nautilus_window_switch_views):
Call nautilus_mime_set_default_component_for_uri when the
user explicitly chooses a view, rather than setting the
now-obsolete "INITIAL_VIEW" metadata.
* src/nautilus-applicable-views.c:
(got_file_info_callback): Rename "fallback_id" to "default_id"
and eliminate code that adds default component to menu here.
The current view is always added to the menu in a special way
if required later.
(set_initial_content_id): Don't get remembered value, instead
use nautilus_mime_is_default_component_for_uri_user_chosen to
choose priority between default component and referring component.
And don't require that the initial component is in the preferred
list.
* nautilus-widgets/nautilus-preferences-item.c:
(preferences_item_construct),
(preferences_item_create_editable_string),
(preferences_item_create_font_family),
(preferences_item_create_icon_theme),
(preferences_item_create_toolbar_icon_theme),
(text_item_changed_callback), (editable_string_changed_callback):
* nautilus-widgets/nautilus-preferences-item.h:
New type of preference, EDITABLE_STRING.
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_create_dialog):
Add a new pane, navigation pane.
Add support for manually keying in a home page. Needs some more
work to work better.
* nautilus-widgets/Makefile.am:
* nautilus-widgets/nautilus-caption.c:
(nautilus_caption_initialize_class), (nautilus_caption_initialize),
(nautilus_caption_destroy), (nautilus_caption_new),
(nautilus_caption_set_title_label),
(nautilus_caption_get_title_label), (nautilus_caption_set_child):
* nautilus-widgets/nautilus-caption.h:
New class. Common stuff for caption widgets.
* nautilus-widgets/nautilus-string-picker.c:
(nautilus_string_picker_initialize_class),
(nautilus_string_picker_initialize), (entry_changed_callback),
(nautilus_string_picker_set_string_list):
* nautilus-widgets/nautilus-string-picker.h:
Subclass from caption class.
* nautilus-widgets/nautilus-text-caption.h:
* nautilus-widgets/nautilus-text-caption.c:
(nautilus_text_caption_initialize_class),
(nautilus_text_caption_initialize),
(nautilus_text_caption_destroy), (entry_changed_callback),
(nautilus_text_caption_new), (nautilus_text_caption_get_text),
(nautilus_text_caption_set_text):
New caption sublcass that manages an text widget.
* nautilus-widgets/test-nautilus-widgets.c: (main),
(test_string_picker), (test_text_caption),
(string_picker_changed_callback), (text_caption_changed_callback):
Update for new class and caption changes.
or switches to viewers so that when bugs 1053 and 1072 are
fixed it will be trivial to finish this code.
* libnautilus-extensions/nautilus-gtk-extensions.h,
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_gtk_signal_connect_free_data_custom): New function
to specify a GtkDestroyNotify function when connecting to a
signal, without having to specify everything else in
gtk_signal_connect_full.
(nautilus_gtk_signal_connect_free_data): Changed to call
nautilus_gtk_signal_connect_free_data_custom.
* libnautilus-extensions/nautilus-view-identifier.c:
(nautilus_view_identifier_copy): Made it handle NULL parameter.
* src/file-manager/fm-directory-view.c:
(application_launch_parameters_new),
(application_launch_parameters_free),
(viewer_launch_parameters_new),
(viewer_launch_parameters_free): New helper functions for
dealing with the structs needed to launch an app or viewer.
(fm_directory_view_launch_application): New wrapper for
nautilus_launch_application that will let us handle
errors in a single place.
(switch_location_and_view): New bottleneck function or going
to a particular location with a particular viewer. This
doesn't work yet (bug 1053) and it currently puts up a
message box telling the user so.
(fm_directory_view_chose_application_callback),
(fm_directory_view_chose_component_callback), (choose_program),
(choose_application), (choose_component),
(launch_application_from_menu_item), (view_uri_from_menu_item),
(add_application_to_gtk_menu), (add_component_to_gtk_menu),
(create_open_with_gtk_menu), (bonobo_launch_application_callback),
(add_application_to_bonobo_menu),
(bonobo_open_location_with_viewer_callback),
(add_component_to_bonobo_menu):
Reworked to pass around launch_parameters structs instead of other
bits and pieces of info. Darin will be happy to know that info
needed for menu item callbacks is now bundled up and passed as
the callback data instead of sneaking in as gtk_object_data.
* src/nautilus-applicable-views.h:
Added NAUTILUS_NAVIGATION_RESULT_UNDEFINED to enum.
* src/nautilus-applicable-views.c: (got_file_info_callback):
Used this new value to fix bug where early goto was not
setting result code. Goto considered evil.
* src/nautilus-window-manage-views.c:
(nautilus_window_end_location_change_callback):
Added "complain to sullivan@eazel.com" message when an
unhandled result code is stumbled across.
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_get_user_directory), (nautilus_get_desktop_directory),
(nautilus_get_user_main_directory):
Fixed uninitialized static pointers. Remove FIXME blurbs are
error checking happens "above" in nautilus-application now.
* src/nautilus-application.c:
(nautilus_app_check_user_directories), (nautilus_app_startup):
Add error checking for missing user directories with appropiate
FIXME for current bad names for these dirs.
* libnautilus-extensions/nautilus-string-list.c:
(nautilus_string_list_as_concatenated_string),
(nautilus_self_check_string_list):
* libnautilus-extensions/nautilus-string-list.h:
New function. Return the string list items concatenated into a
single string delimited by a given delimeter.
generalized toolbar icon themes to support any number, and
reorganized appearance preference panel to group the icon theme
selectors together. Also, added a cleaner version of the zoom icon.
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_get_default_action_type_for_uri):
Tiny tweak.
(nautilus_mime_get_short_list_components_for_uri):
Fixed a double destroy and a storage leak.
* data/linksets/desktop.xml:
* icons/Makefile.am:
* icons/trash.png: [removed]
Changed to use the new trash icon Arlo checked in and removed
the old one.
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_add_application_to_short_list_for_uri),
(nautilus_mime_remove_application_from_short_list_for_uri),
(nautilus_mime_add_component_to_short_list_for_uri),
(nautilus_mime_remove_component_from_short_list_for_uri):
Provided implementations for these functions (formerly empty).
Unfortunately bad things happen when I invoke them. Will
debug now.
(id_list_from_application_list), (id_list_from_component_list),
(gnome_vfs_mime_application_matches_id),
(gnome_vfs_mime_component_matches_id), (component_has_id_in_list),
(gnome_vfs_mime_id_in_application_list),
(gnome_vfs_mime_id_in_component_list): New helper functions all
used to implement the add/remove functions.
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_create_dialog):
Add a boolean preference for toggling the display of hidden files.
In order to make space for this one, i moved the remote views one
to a new tradeoffs pane, which was commandeered by sullivan.
* libnautilus-extensions/nautilus-directory.c: (uri_get_basename):
Need to unencode the name here because it's used to compare with
file names that come from get_file_info.
* src/file-manager/dfos-xfer.c: (get_parent_make_name_list):
Unescape the result of get_basename to convert it to a plain old
file name, since that's why gnome_vfs_xfer wants in its file name
lists (for now, see bug 1107).
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-file-changes-queue-private.h:
Removed the private header since it's so private it can be in the
.c file :-)
* libnautilus-extensions/nautilus-file-changes-queue.h:
* libnautilus-extensions/nautilus-file-changes-queue.c:
(nautilus_file_changes_queue_new),
(nautilus_file_changes_queue_get), (nautilus_file_change_free),
(nautilus_file_changes_queue_free),
(nautilus_file_changes_queue_add_common),
(nautilus_file_changes_queue_get_change):
A little simplification and reformatting. Got rid of the details
indirection since the entire data structure is private.
* libnautilus-extensions/nautilus-mime-actions.h,
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_add_application_to_short_list_for_uri),
(nautilus_mime_remove_application_from_short_list_for_uri),
(nautilus_mime_add_component_to_short_list_for_uri),
(nautilus_mime_remove_component_from_short_list_for_uri):
New prototypes and empty function bodies, convenience
covers for modifying the short lists. Not yet implemented,
but callable.
* libnautilus-extensions/nautilus-program-chooser.c:
(add_to_short_list_for_file), (remove_from_short_list_for_file),
(add_to_short_list_for_type), (remove_from_short_list_for_type),
(run_program_configurator_callback): Wired up things so if
the user switches radio buttons in the "Modify details" dialog,
the right code is called when they hit OK. But this right code
doesn't yet do anything.
2000-06-02 Anders Carlsson <andersca@gnu.org>
* libnautilus-extensions/nautilus-icon-container.c (realize):
Reduce flicker by setting the back pixmap to NULL on realize.
menu temporarily)
* libnautilus-extensions/nautilus-view-identifier.h,
* libnautilus-extensions/nautilus-view-identifier.c:
(nautilus_view_identifier_copy): New function, does the obvious.
* src/nautilus-applicable-views.h: Made NautilusNavigationInfo
store a NautilusViewIdentifier instead of just the iid part
in initial_content_iid (now initial_content_id).
* src/nautilus-applicable-views.c: (set_initial_content_id),
(got_file_info_callback), (nautilus_navigation_info_free):
Reworked code to handle change from char *iid to NautilusViewIdentifier.
* src/nautilus-window.h: New field for content_view_id,
a NautilusViewIdentifier for the current view.
* src/nautilus-window-private.h,
* src/nautilus-window-manage-views.c:
(nautilus_window_load_content_view): Now takes a
NautilusViewIdentifier * instead of just a char *,
and resets content_view_id field.
(nautilus_window_update_state): Reworked code to handle
initial_content_iid change.
* src/nautilus-window.c:
(nautilus_window_destroy): Destroy content_view_id.
(nautilus_window_switch_views), (view_menu_switch_views_callback):
Reworked to take NautilusViewIdentifier * instead of just char *.
(create_content_view_menu_item): New helper function, extracted
from nautilus_window_load_content_view_menu.
(replace_special_current_view_in_content_view_menu): New
function, does the work of putting the current content view
as the initial item in the menu, followed by a separator.
(nautilus_window_synch_content_view_menu): Calls
replace_special_current_view_in_content_menu if the current view
is not found in the menu.
(chose_component_callback): Took out fixed FIXMEs.
(nautilus_window_load_content_view_menu): Now calls function
that was extracted from it.
* libnautilus-extensions/nautilus-font-factory.c:
(nautilus_get_current_font_factory), (nautilus_font_factory_get),
(nautilus_font_factory_new), (nautilus_font_factory_initialize),
(nautilus_font_factory_initialize_class), (font_hash_node_alloc),
(font_hash_node_free), (font_hash_node_lookup),
(font_hash_node_lookup_with_insertion),
(nautilus_font_factory_get_font_by_family),
(nautilus_font_factory_get_font_from_preferences),
(nautilus_font_factory_get_fallback_font), (make_font_name_string):
* libnautilus-extensions/nautilus-font-factory.h:
New class to obtain fonts either by family or from preferences. A
specific size can be requested.
Right now its a pretty dumb class, but it can be enhanced to do
smart things like looking at gtkstyles and/or smarted choosing of
fonts if the specifically requested size is not avialable.
* components/hardware/nautilus-hardware-view.c: (setup_form_title):
* components/music/nautilus-music-view.c:
(nautilus_music_view_initialize):
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_initialize):
* components/services/startup/nautilus-view/nautilus-service-startup-view.c:
(setup_form_title):
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_initialize):
* src/nautilus-property-browser.c:
(nautilus_property_browser_initialize):
* src/nautilus-sidebar-title.c: (nautilus_index_title_update_info):
Unhardcode xlfd font strings in all of these and use the font
factory instead.
2000-06-02 Pavel Cisler <pavel@eazel.com>
* src/file-manager/fm-list-view.c: (fm_list_handle_dropped_icons):
Fix a bug that caused a crash when dropping dragged items back
in their original location.
* libnautilus-extensions/nautilus-drag.c:
(nautilus_drag_drag_data_get):
Tweak whitespace.
* libnautilus-extensions/nautilus-drag.c:
(nautilus_drag_finalize): Fix typo that caused us to unref a NULL
GdkBitmap.
* libnautilus-extensions/nautilus-icon-dnd.c:
(nautilus_icon_dnd_fini): Fix double-free that caused everything
to go haywire.
* src/file-manager/fm-directory-view.c:
(add_component_to_gtk_menu), (add_component_to_bonobo_menu):
Marked a couple of strings for localization that were missed.
* components/services/install/idl/.cvsignore:
* components/services/time/idl/.cvsignore:
Ignore some Makefile and Makefile.in files.
* data/linksets/Makefile.am:
* data/linksets/desktop.xml:
Added a link set for the trash on the desktop.
* icons/Makefile.am:
Added a trash icon (actually a copy of the Nautilus icon right
now :-).
* libnautilus-extensions/nautilus-link-set.h:
* libnautilus-extensions/nautilus-link-set.c: (create_new_link),
(nautilus_link_set_install), (nautilus_link_set_remove):
Fixed some URI-related issues and added a special case for the ~
character so we can have link sets that are for the home directory.
* libnautilus-extensions/nautilus-string.c:
(nautilus_str_capitalize): Got rid of the unneeded call to strlen.
strlen == 0 is the slowest way I know to check for an empty string.
Also check islower before calling toupper for paranoia like the
calls in glib do (internally).
* src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
Install the desktop link set when we are created. For now this
installs the trash (in a fairly lame way).
* src/nautilus-property-browser.c: (remove_color),
(add_color_to_file), (make_properties_from_xml_node),
(nautilus_property_browser_update_contents):
Changed code to not reference "childs" directly so it's easy to
switch to a new version of gnome-xml.
* test/.cvsignore: Ignore test-nautilus-mime-actions-set.
within each confgurable user level.
* libnautilus-extensions/nautilus-global-preferences.h:
Change all preferences strings to not include the "/nautilus"
prefix. The prefix is not automatically computed by the prefences
api taking into account the user level.
Add (nautilus_global_preferences_dialog_update) to rebuild the
preferences dialog when the user level changes.
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_get_dialog),
(global_preferences_register_sidebar_panels_preferences_for_ui),
(global_preferences_register_with_defaults),
(global_preferences_register_boolean_with_defaults),
(global_preferences_register_string_with_defaults),
(global_preferences_register_enum_with_defaults),
(global_preferences_register_for_ui),
(global_preferences_initialize_if_needed),
(nautilus_global_preferences_show_dialog),
(nautilus_global_preferences_hide_dialog),
(nautilus_global_preferences_set_dialog_title),
(nautilus_global_preferences_dialog_update),
(nautilus_global_preferences_shutdown):
remove the user level tracking hack. We now set default values
for each of the user levels.
* libnautilus-extensions/nautilus-icon-container.c:
(nautilus_icon_container_initialize):
Simplified preference callback api by having a single add_callback
function. Use it here.
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_initialize):
Simplified preference callback api by having a single add_callback
function. Use it here.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize):
Simplified preference callback api by having a single add_callback
function. Use it here.
* nautilus-widgets/nautilus-preference.c:
(preference_initialize_if_needed), (preference_hash_node_alloc),
(preference_hash_node_free_func), (preference_hash_node_free),
(preference_register), (preference_hash_node_lookup),
(preference_hash_node_lookup_with_registration),
(nautilus_preference_shutdown), (nautilus_preference_find_by_name),
(nautilus_preference_set_info_by_name),
(nautilus_preference_enum_add_entry_by_name):
* nautilus-widgets/nautilus-preference.h:
Move the preference description hash table here from
nautilus-preferences. These are preferences that are expected to
have nice defaults as well as descriptions and possibly extra data
for the preferences widgets to use (like enumeration values)
I moved the tabulation and hashing stuff intactly even though it
contains many turds. I plan to fix these soon.
* nautilus-widgets/nautilus-preferences-group.c:
(nautilus_preferences_group_add_item):
* nautilus-widgets/nautilus-preferences-item.c:
(preferences_item_construct), (enum_radio_group_changed_callback):
Update for the above.
* nautilus-widgets/nautilus-preferences.c:
(preferences_hash_node_alloc), (preferences_hash_node_free),
(preferences_hash_node_add_callback),
(preferences_hash_node_remove_callback),
(preferences_hash_node_check_changes_func),
(preferneces_callback_node_invoke_func), (preferences_register),
(preferences_hash_node_lookup_with_registration),
(preferences_gconf_callback), (user_level_changed_callback),
(preferences_initialize_if_needed),
(nautilus_preferences_add_callback),
(nautilus_preferences_set_boolean),
(nautilus_preferences_get_boolean),
(nautilus_preferences_set_enum), (nautilus_preferences_get_enum),
(nautilus_preferences_set), (nautilus_preferences_get),
(nautilus_preferences_shutdown):
* nautilus-widgets/nautilus-preferences.h:
Move the tabulation of nice preferences to nautilus-preference.
Install one gconf notification for each user level. Remove all
the extra unused registration parameters.
Use generated keys that take into account the current user level
to communicato with GConf.
Keep track of user level changes so that we can compare
preferences between user levels and fire callbacks accordingly.
This simplifies the lifes of preferences callers as they can
continue to install one simple callback as before. They will get
notified when a preference changes for whatever reason. That
could be the user manaually tweaking it, or a sweeping user level
change.
Again, i tried to keep as much of the original hashing logic
intact. It needs cleaning up as well.
* nautilus-widgets/nautilus-user-level-manager.c:
(nautilus_user_level_manager_set_default_value_if_needed),
(nautilus_user_level_manager_compare_preference_between_user_levels
):
* nautilus-widgets/nautilus-user-level-manager.h:
Add a public function to determine whether a preference is the
same between 2 user levels.
* nautilus-widgets/test-nautilus-preferences.c:
(register_global_preferences):
Update to reflect api changes.
* src/nautilus-window-menus.c: (nautilus_window_initialize_menus),
(user_level_changed_callback),
(get_customize_user_level_setttings_menu_string),
(update_preferences_dialog_title):
Update the preferences dialog whenever the user level changes.
This is an easy way to have the dialog reflect reallity.
It would be a lot nicer it the contents updated on the fly instead
of rebuilding the whole thing. I can do that later.
2000-06-02 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_button_press), (nautilus_list_button_release),
(nautilus_list_motion):
Fixed a problem where gtk_drag_begin was being called repetitively.
Made it so that more than one item can be grabbed and dragged in
list view.
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_notify_files_moved):
Removed a forgotten g_message.
2000-06-02 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-drag.c:
* libnautilus-extensions/nautilus-drag.h:
(add_one_gnome_icon_list), (add_one_uri_list),
(nautilus_drag_drag_data_get):
Move more code from nautilus-icon-dnd.c to the common
nautilus-drag.c. Add a common nautilus_drag_drag_data_get
function that gets passed iterators and assembles selection
data.
* libnautilus-extensions/nautilus-gtk-extensions.c:
* libnautilus-extensions/nautilus-gtk-extensions.h:
(nautilus_gtk_marshal_NONE__POINTER_INT_INT_INT):
Added more marshalling glue. One day there will be enough
for everyone.
* libnautilus-extensions/nautilus-icon-dnd.c:
(nautilus_icon_container_each_selected_icon):
(icon_get_data_binder), (each_icon_get_data_binder),
(drag_data_get_callback):
Iterators and binders to support the NautilusIconContainer
flavor of nautilus_drag_drag_data_get.
* libnautilus-extensions/nautilus-list.c:
* libnautilus-extensions/nautilus-list.h:
* src/file-manager/fm-list-view.c:
(nautilus_list_initialize_class), (nautilus_list_initialize),
(nautilus_list_drag_begin), (nautilus_list_drag_end),
(nautilus_list_drag_leave), (nautilus_list_drag_motion),
(nautilus_list_drag_data_received), (nautilus_list_set_selection),
(nautilus_list_each_selected_row),
(row_get_data_binder), (each_icon_get_data_binder),
(fm_list_drag_data_get), (create_list):
Hookup fm_list_drag_data_get to support drags originating from the
list view. Connect the drag_data_get to fm_list_view and
handle it there.
* libnautilus-extensions/nautilus-list.c:
* src/file-manager/fm-list-view.c:
(nautilus_list_initialize_class), (fm_list_handle_dropped_icons):
Fix an improperly marshalled signal.
* nautilus-widgets/nautilus-user-level-manager.c:
(nautilus_user_level_manager_get_user_level),
(nautilus_user_level_manager_make_gconf_key),
(nautilus_user_level_manager_make_current_gconf_key),
(nautilus_user_level_manager_get_user_level_as_string):
* nautilus-widgets/nautilus-user-level-manager.h:
* src/nautilus-window-menus.c: (get_customize_user_level_string):
Some dumb fixes. Use proper guint type for user_level arguments.
Fix some cut-n-pasted code. Rename "get_user_level_string" to
"get_user_level_as_string"
* components/services/install/lib/eazel-install-rpm-glue.c:
(do_rpm_install):
* components/services/install/lib/eazel-install-types.c:
(packagedata_new_from_rpm_header):
* nautilus-installer/src/Makefile:
* nautilus-installer/src/prescript:
Ensured that the current stuff in cvs builds a working installer.
(closing bug#969)
* nautilus-widgets/nautilus-preferences.c:
(nautilus_preferences_initialize):
* nautilus-widgets/nautilus-user-level-manager.c:
* nautilus-widgets/nautilus-user-level-manager.h:
No longer need to retrieve the gconf_client from the user level
manager. The bug preventing multiple clients has been fixed in gconf.
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_create_dialog),
(global_preferences_close_dialog_callback),
(nautilus_global_preferences_show_dialog),
(nautilus_global_preferences_hide_dialog),
(nautilus_global_preferences_set_dialog_title):
* libnautilus-extensions/nautilus-global-preferences.h:
Add functions for hiding the preferences dialog and changing its
title. Also, connect a "closed" signal to prevent the dialog from
killing itself since its singleton and lives for the entire life
of the application.
* nautilus-widgets/nautilus-user-level-manager.c:
(nautilus_user_level_manager_get_user_level),
(nautilus_user_level_manager_make_current_gconf_key),
(nautilus_user_level_manager_get_user_level_string):
* nautilus-widgets/nautilus-user-level-manager.h:
Make nautilus_user_level_manager_get_user_level_string () public.
* src/nautilus-window-menus.c: (settings_menu_customize_callback),
(nautilus_window_initialize_menus), (user_level_changed_callback),
(update_user_level_menu_items), (get_customize_user_level_string),
(get_customize_user_level_setttings_menu_string):
Change the customize menu item's label based on the user level.
Make it insensitive for the novice user level. Close the
preferences dialog when the user level changes to novice.
* libnautilus-extensions/nautilus-string.c:
(nautilus_str_capitalize), (nautilus_self_check_string):
* libnautilus-extensions/nautilus-string.h:
Add a function to capitalize strings along with check tests.
* components/mozilla/nautilus-mozilla-content-view.c:
(mozilla_open_uri_callback), (mozilla_is_uri_handled_by_nautilus):
Add hook to check which uris are passed back to nautilus.
* components/services/docs/installer-dep-check:
Docs with my scetches on how to redo the rpm-glue to make
eazel-install-lib autofetch deps.
* components/services/install/command-line/eazel-alt-install.c:
(eazel_download_progress):
Borked, but compiles again. Will update when libinstall stabilizes.
* components/services/install/lib/eazel-install-object.c:
(gtk_marshal_NONE__POINTER_ENUM_POINTER),
(eazel_install_class_initialize),
(eazel_install_emit_download_failed),
(eazel_install_emit_install_failed),
(eazel_install_emit_uninstall_failed):
Revamped the install_failed signal to take a PackageData object
instead of char * name.
* components/services/install/lib/eazel-install-protocols.c:
(http_fetch_remote_file):
* components/services/install/lib/eazel-install-public.h:
* components/services/install/lib/eazel-install-rpm-glue.c:
(install_new_packages), (download_a_package),
(download_all_packages), (install_all_packages),
(uninstall_packages), (uninstall_a_package),
(build_packagedata_list_from_deps), (do_rpm_install),
(do_rpm_uninstall), (ensure_deps_are_fetched):
* components/services/install/lib/eazel-install-types.c:
(categorydata_destroy_foreach), (categorydata_destroy),
(packagedata_new_from_rpm_header), (packagedata_destroy_foreach),
(packagedata_destroy):
* components/services/install/lib/eazel-install-types.h:
Doing a lot of hacking to prepare for the autofetch stuff.
* nautilus-installer/src/prescript:
* nautilus-installer/src/HACKING:
* nautilus-installer/src/Makefile:
* nautilus-installer/src/Makefile.am:
* nautilus-installer/src/callbacks.c: (druid_cancel),
(begin_install), (druid_finish), (prep_install), (set_images):
* nautilus-installer/src/installer.c:
(append_string_to_window_list), (download_failed),
(install_failed_foreach), (requeue), (install_failed),
(gen_report), (installer):
* nautilus-installer/src/link.sh:
* nautilus-installer/src/main.c:
Hacking in the installer. This one is borked sine I'm trying to
figure out the right scheme of reported dep fails. Actually, I
want the lib to autofetch deps by option, instead of failing them
Also added stuff to link.sh, so it builds static from scratch,
strips gzips and adds prescript to the gzexe file. So if you build
using link.sh, you get a 644 binary which when executed using
sh ./nautilus-installer prompts for root password and does the
magic. Easier for newbies.
* components/services/time/idl/Makefile.am:
* components/services/install/idl//Makefile.am:
* components/services/time/Makefile.am:
* components/services/install/Makefile.am:
* components/services/install/lib/Makefile.am:
* components/services/time/service/Makefile.am:
* components/services/trilobite/idl/Makefile.am:
* components/services/trilobite/libtrilobite/Makefile.am:
* components/services/trilobite/sample/service/Makefile.am:
* configure.in:
* nautilus.spec.in:
* po/POTFILES.in:
* src/Makefile.am:
Loads of makefile fixing to make make dist and rpm -ta work.
made linksets actually work.
fixed audio previewing for filename with special characters
made links work for filenames with special characters
added some icons for the default link set
2000-06-01 Gene Z. Ragan <gzr@eazel.com>
* libnautilus/nautilus-undo-manager.c:
* libnautilus/nautilus-undo-manager.h:
(nautilus_undo_manager_get_current_undo_transaction):
New call to be used internally to get the current undo transaction.
An example of this call being used is in the menu code that displays
the current undo operation name.
* libnautilus/nautilus-undo-transaction.c:
(impl_Nautilus_Undo_Transaction__get_undo_description),
(impl_Nautilus_Undo_Transaction__get_redo_description),
(impl_Nautilus_Undo_Transaction__get_operation_name),
(impl_Nautilus_Undo_Transaction__undo),
Added actual functionlality to these calls. They now
work as advertised.
(nautilus_undo_transaction_new),
Made changed needed to actually use the operation
name and description that is passed in.
(nautilus_undo_transaction_destroy),
Clean up stored operation name and description strings.
* src/nautilus-window-menus.c:
(update_undo_menu_item):
The undo operation name is now displayed in the menu item.
2000-06-01 Pavel Cisler <pavel@eazel.com>
* src/file-manager/fm-icon-view.c: (play_file):
Fix call to gnome_vfs_unescape_string to match new prototype.
fixed problem where sounds with special characters in their filename
wouldn't preview properly; also, replace the computer link icon with
a more generic, vector-based one and upgraded the open folder to
one with gradients
* components/services/startup/nautilus-view/nautilus-service-startup-view.c:
(gather_config_button_cb), (register_button_cb):
Fixed callers that were using the escape and unescape calls from
gnome-vfs. My guess is that these callers don't want exactly what
they are getting, but at least this makes it compile.
* src/nautilus-window-manage-views.c:
(nautilus_window_request_location_change):
There was code here to just unescape. This is not a good idea,
since it will turn good URIs into bad URIs. On the other hand, we
may need to do something for basic characters like %20 for better
readability.
* nautilus-widgets/nautilus-user-level-manager.c:
(user_level_manager_new),
(nautilus_user_level_manager_get_user_level):
Added some FIXMEs.
* libnautilus-extensions/nautilus-program-chooser.c:
(nautilus_program_chooser_get_type), (compare_mime_applications),
(compare_component_with_view), (is_component_in_short_list),
(is_component_in_short_list_for_uri),
(is_application_in_short_list),
(is_application_in_short_list_for_uri),
(is_in_short_list_for_file_type), (is_in_short_list_for_file),
(update_selected_item_details),
(run_program_configurator_callback),
(nautilus_program_chooser_new),
(nautilus_program_chooser_get_application),
(nautilus_program_chooser_get_component): Provided real
implementation for checking whether a program is in the
file-specific list, just short list, or just full list,
as used in "View as Other" dialog. These values were
formerly all hardwired. Still need to add code to
react to user's changes. Also renamed "Change" button to
"Modify" when Josh rightly pointed out that "Change" is
a little ambiguous.
available components
* src/nautilus-applicable-views.c (got_file_info_callback):
Changed to use the mime APIs to determine the preferred list and
default for view components.
(view_identifier_has_iid, view_identifier_iids_compare): Some
utility functions.
Also removed many of the other functions in here that are no
longer necessary and have effectively moved to
nautilus-mime-actions.c
dialog from "View as" menu wouldn't update the menu
title.
* src/nautilus-window.c: (nautilus_window_synch_content_view_menu),
(view_menu_choose_view_callback),
(nautilus_window_load_content_view_menu): Renamed
"synch_view_as_menu" to "nautilus_window_synch_content_view_menu".
* src/nautilus-window-private.h: Put this function here so it
can be used in -manage-views.c.
* src/nautilus-window-manage-views.c:
(nautilus_window_has_really_changed): Call this function to
fix "View as" menu title when the view but not the location changes.
* src/file-manager/fm-directory-view.c:
(add_component_to_gtk_menu),
(add_component_to_bonobo_menu): Call viewers "xxx Viewer"
in "Open With" submenu.
(add_open_with_bonobo_menu_item): Use the double-underscore
trick to avoid getting underlined characters in program names.
* src/nautilus-window.c: (chose_component_callback):
Don't destroy identifier here; caller handles that. Now the
View as Other choice in the option menu works, with one bug:
the option menu label isn't updated properly.
* libnautilus-extensions/nautilus-directory-metafile.c:
(nautilus_directory_set_metadata_list): Added this function.
The guts was already there.
* test/.cvsignore: Ignore some newly generated files.
* libnautilus-extensions/nautilus-directory.h,
libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_wait_until_ready): Non-asynchronous equivalent
of `nautilus_directory_call_when_ready'. However, it doesn't block
the UI while waiting.
(nautilus_directory_wait_until_ready_callback): Helper function
for implementing the above.
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_get_default_action_type_for_uri,
nautilus_mime_get_default_action_for_uri,
nautilus_mime_get_default_application_for_uri,
nautilus_mime_get_default_component_for_uri): Implemented with
fully with proper metadata checking and interface querying, etc.
(nautilus_mime_get_short_list_applications_for_uri,
nautilus_mime_get_short_list_components_for_uri,
nautilus_mime_get_all_applications_for_uri,
nautilus_mime_get_all_components_for_uri): Adjusted to deal with
the mime type checking function changing names.
(OAF_ServerInfo__copy, extract_prefix_add_suffix,
mime_type_get_supertype, uri_string_get_scheme),
get_explicit_content_view_iids_from_metafile,
make_oaf_query_for_explicit_content_view_iids,
make_oaf_query_with_known_mime_type,
make_oaf_query_with_uri_scheme_only,
file_list_to_mime_type_hash_table, free_key,
mime_type_hash_table_destroy, server_matches_content_requirements,
nautilus_do_component_query): Oodles of helper functions, many cut
& pasted from elswhere and only slightly modified.
get_mime_type_from_uri: Removed `_hack' from the name.
* libnautilus-extensions/nautilus-mime-actions.h: Added prototype
for nautilus_mime_get_default_action_type_for_uri.
* test/test-nautilus-mime-actions.c (main): Call gnome_init.
* src/nautilus-applicable-views.c: Removed a stray comment that no
longer applies.
* test/test-nautilus-mime-actions.c: Simple test program to check
_for_uri nautilus metadata calls in nautilus.
* test/Makefile.am: Build test-nautilus-mime-actions
* Makefile.am, configure.in: add test directory to the build.
* libnautilus-extensions/nautilus-mime-actions.c
(nautilus_mime_get_default_action_for_uri,
nautilus_mime_get_default_application_for_uri,
nautilus_mime_get_default_component_for_uri): Implemented in the
same temporary stub way as the other calls.
* libnautilus-extensions/nautilus-mime-actions.c
(nautilus_mime_get_default_action_for_uri,
nautilus_mime_get_default_application_for_uri,
nautilus_mime_get_default_component_for_uri): Implemented in the
same temporary stub way as the other calls.
fixed bug 991, image files that are less than 16K are displayed
full-size, even if they're huge. Fixed by using a reasonable
max size based on the scale factor.
* src/file-manager/fm-directory-view.c:
(add_open_with_bonobo_menu_item): Now takes callback
and callback data and uses them for menu item construction.
(bonobo_launch_application_callback),
(add_application_to_bonobo_menu),
(bonobo_open_location_with_viewer_callback),
(add_component_to_bonobo_menu): Pass along structs containing
info necessary to launch app or switch viewers. Tragically
these are leaked due to the lack of DestroyNotify mechanism
in Bonobo (bug written).
(reset_bonobo_open_with_menu): Uncomment out list-freeing
lines now that API is in place.
(fm_directory_view_chose_component_callback),
(choose_component): Pass NautilusFile instead of view so we
can get at the uri in the future when we have API for
switching locations with specified viewer.
first checkin for link sets, which are incomplete and not hooked
up yet. Also, added a title to the property browser and improved
the default color choices to one's specified by Susan.
2000-05-31 Seth Nickell <snickell@stanford.edu>
* libnautilus-extensions/nautilus-directory.c:
(construct_alternate_metafile_uri), (nautilus_directory_new):
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_matches_uri), (nautilus_file_get_uri):
Changed calls to gnome_vfs_append_path to use the similar
but more specific gnome_vfs_append_file_name instead.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_denies_access_permission): Fixed a bug where I
accidentally treated root as "unable to access anything" instead
of "able to access everything".
* src/nautilus-sidebar-tabs.h: Fixed file name in include guard.
I'll probably need to write a script to find the broken ones.
* src/nautilus-window-manage-views.c: (handle_unreadable_location):
Fixed a bug where we unref's a file object before using it.
* src/nautilus-window-private.h: Got rid of a straggler prototype
for a nonexistent function.
* RENAMING: Some are done.
* src/nautilus-sidebar-tabs.c:
(nautilus_index_tabs_initialize_class), (draw_one_tab),
(draw_or_hit_test_all_tabs):
Honor the gtkstyle font instead of hacking in our own. Part of
bug 667.
* libnautilus-extensions/nautilus-mime-type.c,
* libnautilus-extensions/nautilus-mime-type.h:
Removed these files, which had contained the old stopgap
mime-type-to-application table.
* libnautilus-extensions/Makefile.am: Take removed files out
of build.
* src/nautilus-property-browser.c,
* src/nautilus-sidebar.c: Remove #includes for removed files.
* libnautilus-extensions/nautilus-program-chooser.c:
(populate_program_list): Change the way data from program lists
is freed; this clarifies the code and fixes a double-destroy.
* src/nautilus-sidebar.c: (nautilus_sidebar_update_buttons):
Don't display "Open With..." button if there are no available
choices. This fixes part of bug 1044 (need to do the same
kind of thing for menus).
* src/file-manager/fm-directory-view.c:
(compute_menu_item_info): Initialize *return_sensitivity to
TRUE; it was uninitialized in some cases.
(add_application_to_gtk_menu), (create_open_with_gtk_menu):
Cleaned up list-handling using new gnome-vfs API.
* src/nautilus-sidebar.c: Removed placeholder local implementation
of gnome_vfs_mime_application_list_free now that there's a real
one in gnome-vfs.
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-generous-bin.h:
* libnautilus-extensions/nautilus-generous-bin.c:
Added a new class NautilusGenerousBin. This is a GtkBin
subclass that gives its entire allocation to its child.
Used both in the widgetry for desktop windows and as a
base class for NautilusViewFrame for now.
* libnautilus-extensions/nautilus-gnome-extensions.c:
(turn_on_line_wrap_flag), (turn_on_line_wrap_flag_callback):
Changed to use gtk_container_foreach instead of the old
gtk_container_children, since I now understand that the
latter is just a convenience cover for the former.
* src/Makefile.am:
* src/nautilus-window-state.c: [removed]
* src/nautilus-window-state.h: [removed]
The only function in here was a wonky one that did goto_uri
of go_home depending on the parameter. Changed the callers
and things got clearer anyway.
* src/nautilus-application.h:
* src/nautilus-application.c: (display_caveat),
(nautilus_app_startup):
* src/nautilus-main.c: (main):
Changed rules about which windows are created on startup. This
puts us into a slightly bad state because it's now easy to
create a desktop window with no way to get rid of it.
* src/nautilus-desktop-window.h:
* src/nautilus-desktop-window.c:
(nautilus_desktop_window_initialize_class),
(nautilus_desktop_window_initialize), (destroy), (realize):
A better cut at the desktop window creation that now mostly works.
* src/nautilus-main.c: (main):
Changed the "--desktop" option's name to "--manage-desktop".
* src/nautilus-view-frame.h:
* src/nautilus-view-frame.c:
(nautilus_view_frame_initialize_class),
(nautilus_view_frame_initialize),
(nautilus_view_frame_destroy_client),
(nautilus_view_frame_destroy),
(nautilus_view_frame_construct_arg_set):
Changed to use NautilusGenerousBin as base class. Also use the
Nautilus boilerplate macros.
* src/nautilus-window-manage-views.c:
(nautilus_window_request_location_change):
Use goto_uri instead of set_initial_state.
* src/nautilus-window-private.h:
* src/nautilus-window.h:
* src/nautilus-window.c: (nautilus_window_go_home):
Make go_home public and move the actual code needed to go to the
home package into the function.
* src/nautilus-window.c: (nautilus_window_constructed):
Reduced the amount of hackery on behalf of the desktop window and
used the NautilusGenerousBin class.
* components/mozilla/nautilus-mozilla-content-view.c:
(nautilus_mozilla_content_view_load_uri),
(mozilla_content_view_request_location_change):
Exorcist the moz:// hack.
* components/mozilla/nautilus-mozilla-content-view.oafinfo:
Change the protocol from moz to http.
* src/nautilus-applicable-views.c:
Prefer the mozilla component over the ntl-web-browser.
* components/rpmview/nautilus-rpm-view.oafinfo:
"fix" bug 725 by changing the supported uri types of the rpm view
component to be only "file" since it doesnt grok remote uris.
Having the rpm view grok remote uris would be a cool, feature. I
have resummarized bug 725 to reflect this.
* RENAMING: Small updates.
* components/help/converters/gnome-info2html2/main.c: (main):
* components/html/glibwww-init.c: (glibwww_parse_proxy_env):
* components/html/ntl-web-browser.c: (main):
* components/loser/content/nautilus-content-loser.c:
(ensure_fail_env):
* components/loser/sidebar/nautilus-sidebar-loser.c:
(ensure_fail_env):
* components/notes/nautilus-notes.c: (main):
* libnautilus-extensions/nautilus-view-identifier.c:
(get_lang_list):
* src/nautilus-application.c: (nautilus_app_startup):
* src/nautilus-main.c: (main):
Changed from getenv to g_getenv, even though it makes no
difference right now, because it's "the right thing to do (tm)".
* components/services/time/nautilus-view/trilobite-eazel-time-view.h:
Fixed include (the build was broken for me or anyone who doesn't
have old .h files sitting around in their install directory).
* libnautilus-extensions/nautilus-directory.c:
(construct_alternate_metafile_uri):
Use nautilus_get_user_directory instead of hard-coding the name
of the user directory.
* libnautilus-extensions/nautilus-file-utilities.h:
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_get_user_directory), (nautilus_get_user_main_directory):
Use #defines instead of global constants since these are things
that do not change and this is not C++ :-) Added "get_" to the
names of these functions so they would be verbs instead of nouns.
(nautilus_get_desktop_directory): Added this new function for use
by the desktop code.
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_create_dialog),
(nautilus_global_preferences_get_enabled_sidebar_panel_view_identifiers),
(nautilus_global_preferences_get_disabled_sidebar_panel_view_identifiers),
(global_preferences_register_sidebar_panels_preferences_for_ui):
* libnautilus-extensions/nautilus-view-identifier.h:
* libnautilus-extensions/nautilus-view-identifier.c:
(nautilus_view_identifier_list_free):
* src/nautilus-applicable-views.c: (nautilus_navigation_info_free):
Changed nautilus_view_identifier_free_list to *_list_free to match
other calls with similar names.
* libnautilus-extensions/nautilus-global-preferences.c:
(user_level_changed_callback):
* libnautilus-extensions/nautilus-icon-factory.c:
(get_themed_icon_file_path):
* src/file-manager/fm-properties-window.c: (get_property_names):
* src/nautilus-bookmark-list.c:
(nautilus_bookmark_list_get_file_path):
* src/nautilus-property-browser.c:
(nautilus_property_browser_drag_data_get), (make_drag_image),
(remove_color), (remove_background), (remove_emblem),
(get_xml_path), (add_background_to_browser), (add_color_to_file),
(emblem_dialog_clicked), (make_properties_from_directory):
Change to use directory calls by new "get_" names.
* src/Makefile.am: Removed nautilus.h since it is long gone,
and fixed spelling of nautlus-window-state.h.
* src/file-manager/.cvsignore: Stop ignoring things that we
no longer generated.
* src/file-manager/desktop-item.c: [removed]
* src/file-manager/desktop-item.h: [removed]
* src/file-manager/desktop-layout.c: [removed]
* src/file-manager/desktop-layout.h: [removed]
* src/file-manager/desktop-window.c: [removed]
* src/file-manager/desktop-window.h: [removed]
The rest of the code has been harvested from the desktop
implementation. As I said before we can always recover it if we
decide we want to reuse it.
* src/file-manager/fm-main.c: [removed]
This was no longer used and was getting out of date. The file manager
is now compiled in rather than being a separate process.
* src/nautilus-desktop-window.c:
(nautilus_desktop_window_initialize_class),
(nautilus_desktop_window_initialize),
(nautilus_desktop_window_new), (realize):
Another cut at the desktop code. Still not working too well,
but way further along.
* src/nautilus-sidebar.h:
* src/nautilus-sidebar.c:
* src/nautilus-view-frame.c:
(nautilus_view_frame_handle_client_destroy_2):
* src/nautilus-window-manage-views.c:
* src/nautilus-window.h:
* src/nautilus-window.c:
* src/nautilus-window-private.h:
Changed the names to use Sidebar instead of IndexPanel.
Also changed to say sidebar panel instead of meta view in many
places.
* nautilus-widgets/nautilus-user-level-manager.c:
(nautilus_user_level_manager_make_gconf_key),
(nautilus_user_level_manager_make_current_gconf_key):
* nautilus-widgets/nautilus-user-level-manager.h:
New functions to generate keys for the current user level as well
as any other user level.
* nautilus-widgets/nautilus-preferences-pane.c:
(nautilus_preferences_pane_destroy), (prefs_pane_construct):
Fix bug 993. Some frames in the preferences dialog were too big
cause the parent vbox was erroneously marked homogenous.
user level choices directly in the settings menu.
Also uncouple user level from preferences. User level is no
longer a preference itself.
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_create_dialog),
(global_preferences_register_for_ui),
(user_level_changed_callback),
(nautilus_global_preferences_shutdown),
(nautilus_global_preferences_startup):
Remove all of the user level ui stuff.
* nautilus-widgets/nautilus-user-level-manager.c:
(user_level_manager_new), (nautilus_user_level_manager_initialize),
(nautilus_user_level_manager_initialize_class),
(user_level_manager_destroy), (gconf_get_user_level_string),
(user_level_set_default_if_needed),
(gconf_user_level_changed_callback),
(nautilus_user_level_manager_get),
(nautilus_user_level_manager_set_user_level),
(nautilus_user_level_manager_get_user_level):
Emit the the "user_level_changed" signal from a gconf callback
instead of "by hand". Otherwise we are out of whack because of
gconf asyncness.
* src/nautilus-window-menus.c:
(settings_menu_user_level_radio_group_callback),
(settings_menu_user_level_customize_callback),
(settings_menu_customize_callback),
(nautilus_window_initialize_menus),
(user_level_menu_path_to_user_level),
(user_level_user_level_to_menu_path):
* src/nautilus-window.h:
Remove the "General Settings" menu item. Replace it with a
user level chooser as well as current user level customizer.
2000-05-31 Pavel Cisler <pavel@eazel.com>
* src/file-manager/dfos-xfer.c: (fs_move_to_trash):
* src/file-manager/fm-directory-view.c: (fm_directory_is_trash),
(fm_directory_view_confirm_deletion),
(fm_directory_view_trash_or_delete_selection),
(duplicate_callback):
More work on fallback deletion when move to Trash is not available.
Display a warning dialog.
Get rid of commented out code that I'll no longer need.
Removed FIXMEs that are no longer true.
* nautilus-installer/Makefile.in:
* nautilus-installer/src/Makefile.am:
* nautilus-installer/src/Makefile.in:
Removed the Makefile.in's and added the .am instead.
2000-05-30 Pavel Cisler <pavel@eazel.com>
* src/file-manager/dfos-xfer.h:
* src/file-manager/dfos-xfer.c: (handle_xfer_ok),
(fs_delete):
Added delete calls that set up a gnome-vfs delete operation.
* src/file-manager/dfos-xfer.c:
(fs_xfer), (fs_move_to_trash), (fs_empty_trash):
Changed to use new xfer options making it a little
clearer which copy engine operation gets to run.
* src/file-manager/dfos-xfer.c:
(fs_xfer), (fs_move_to_trash):
Fixed a leak of the item_names list.
* src/file-manager/dfos-xfer.c:
(fs_new_folder):
Changed to use "untitled folder".
* src/file-manager/fm-directory-view.c:
(bonobo_menu_move_to_trash_callback),
(fm_directory_can_move_to_trash),
(fm_directory_view_trash_or_delete_selection), (trash_callback),
(compute_menu_item_info), (reset_bonobo_trash_delete_menu),
(fm_directory_view_real_merge_menus),
(fm_directory_view_real_update_menus),
(fm_directory_view_get_context_menu_index):
Add logic that picks the Delete/Move To Trash menu items depending
on whether selected items can be moved to Trash or not. Added code
that decides if items can be moved to Trash from a given folder.
* src/file-manager/dfos-corba.c: (convert_options):
Disabled some dead code.
* components/services/install/command-line/eazel-alt-install.c:
(main):
* components/services/install/lib/Makefile.am:
* components/services/install/lib/eazel-install-object.c:
(eazel_install_class_initialize), (fetch_remote_package_list),
(eazel_install_emit_download_progress),
(eazel_install_emit_download_failed),
(eazel_install_emit_install_failed),
(eazel_install_emit_uninstall_failed), (eazel_install_log),
(eazel_install_open_log):
Fixed a horribly cut'n'paste bug in the signal bindings. Also
doing some stuff on making the lib log properly
* components/services/install/lib/eazel-install-private.h:
* components/services/install/lib/eazel-install-protocols.c:
(http_fetch_remote_file):
* components/services/install/lib/eazel-install-public.h:
* components/services/install/lib/eazel-install-rpm-glue.c:
(download_all_packages), (install_all_packages),
(uninstall_packages):
More cleaning out of g_errors, g_asserts and such.
* components/services/trilobite/libtrilobite/Makefile.am:
* nautilus-installer/src/Banner_Left.xpm:
* nautilus-installer/src/Final_Inside.xpm:
* nautilus-installer/src/Final_Top.xpm:
* nautilus-installer/src/Makefile:
* nautilus-installer/src/Makefile.in:
* nautilus-installer/src/Step_3a_Inside.xpm:
* nautilus-installer/src/Step_3b_Inside.xpm:
* nautilus-installer/src/Step_One_Inside.xpm:
* nautilus-installer/src/Step_One_Top.xpm:
* nautilus-installer/src/Step_Three_Top.xpm:
* nautilus-installer/src/Step_Two_Inside.xpm:
* nautilus-installer/src/Step_Two_Top.xpm:
* nautilus-installer/src/callbacks.c: (set_images):
* nautilus-installer/src/installer.c: (append_name_to),
(download_failed), (install_failed), (gen_report),
(dump_failure_info), (installer):
* nautilus-installer/src/interface.c: (create_window):
* nautilus-installer/src/main.c: (main):
More work on the installer, especially making it
use Arlo's graphics and still be a static binary.
the new API, whose implementation awaits. This causes
us to temporarily lose the command-buttons-in-sidebar
feature until the new API's implementation happens.
Some of these changes are only partially done; I've
got a list of things to finish still. But feel free
to bug me about anything in particular that seems bad.
* libnautilus-extensions/nautilus-program-chooser.h:
* libnautilus-extensions/nautilus-program-chooser.c:
(populate_program_list): Use real API to add programs
to list in dialog.
(nautilus_program_chooser_new): Remember whether this
is an application-choosing or component-choosing dialog.
(nautilus_program_chooser_get_application),
(nautilus_program_chooser_get_component): New functions,
get the item in the list that the user selected.
* libnautilus-extensions/nautilus-program-choosing.h:
Change parameter in NautilusApplicationChoiceCallback
from char * to GnomeVFSMimeApplication.
* libnautilus-extensions/nautilus-program-choosing.c:
(nautilus_choose_application_for_file),
(nautilus_choose_component_for_file): Get the chosen
item from the dialog instead of returning a hardwired
value.
* src/file-manager/fm-directory-view.c:
(fm_directory_view_chose_application_callback): Take
GnomeVFSMimeApplication instead of char *.
(add_open_with_gtk_menu_item): Enable menu items now
that they work.
(launch_application_from_menu_item): New function, callback
used when user picks an app from context menu.
(view_uri_from_menu_item): New function, callback used
when user picks a viewer from context menu.
(add_application_to_gtk_menu),
(add_component_to_gtk_menu): New functions, set up menu items.
(create_open_with_gtk_menu): Use real API to populate
open_with context menu items.
(bonobo_menu_select_all_callback), (select_all_callback),
(fm_directory_view_real_merge_menus):
Fixed bug where context menu "Select All" didn't work by
separating bonobo and gtk callbacks.
* src/nautilus-sidebar.c:
(nautilus_index_panel_chose_application_callback),
(add_command_buttons), (gnome_vfs_mime_application_list_free),
(nautilus_index_panel_update_buttons): Use real API instead
of hardwired set of buttons for different MIME types. This
currently means you always get only the "Open with ..." button,
but the real buttons will reappear once we have our new
application-choosing scheme in place.
2000-05-30 Pavel Cisler <pavel@eazel.com>
* src/file-manager/dfos-xfer.h:
* src/file-manager/dfos-xfer.c: (sync_xfer_callback), (fs_xfer),
(new_folder_xfer_callback), (fs_new_folder), (fs_move_to_trash),
(fs_empty_trash):
New copy engine entry calls supporting New Folder creation.
Pass NULL to sync_xfer_callback because it doesn't use any pass-thru
state.
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-icon-view.c:
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize_class),
(bonobo_menu_new_folder_callback), (start_renaming_item),
(new_folder_rename_later), (new_folder_done),
(fm_directory_view_new_folder), (compute_menu_item_info),
(fm_directory_view_real_create_selection_context_menu_items),
(reset_bonobo_open_with_menu),
(fm_directory_view_real_merge_menus),
(fm_icon_view_start_renaming_item),
(fm_icon_view_initialize_class):
Add the "New Folder" command. Add a menu item that invokes it.
Add code to allow me to select the new folder once it was
created and start a rename on it.
* nautilus-widgets/nautilus-preferences.c:
(nautilus_preferences_initialize):
Instead of creating our own gconf client, share one with the user
level manager. Otherwise i get weird gconf connection errors.
* nautilus-widgets/nautilus-user-level-manager.c:
(user_level_manager_new),
(nautilus_user_level_manager_initialize_class),
(user_level_manager_ensure_global_manager),
(user_level_set_default_if_needed),
(nautilus_user_level_manager_get),
(nautilus_user_level_manager_get_user_level),
(nautilus_user_level_manager_get_user_level_names),
(nautilus_user_level_manager_get_gconf_client):
* nautilus-widgets/nautilus-user-level-manager.h:
Add method to expose a refed gconf client.
Change the global manager initialization code to prevent stoopid
infinite loop. Let gconf know about the ~/.gconf/nautilus
directory.
* nautilus-widgets/nautilus-user-level-manager.c:
(user_level_manager_new), (nautilus_user_level_manager_initialize),
(nautilus_user_level_manager_initialize_class),
(user_level_manager_destroy),
(user_level_manager_get_global_manager),
(user_level_manager_is_initialized), (get_gconf_user_level_string),
(user_level_set_default_if_needed),
(nautilus_user_level_manager_get),
(nautilus_user_level_manager_set_user_level),
(nautilus_user_level_manager_get_user_level),
(nautilus_user_level_manager_get_num_user_levels),
(nautilus_user_level_manager_get_user_level_names):
* nautilus-widgets/nautilus-user-level-manager.h:
New class to manager user level stuff.
* libnautilus-extensions/nautilus-global-preferences.c:
(nautilus_global_preferences_startup):
* nautilus-widgets/Makefile.am:
* nautilus-widgets/nautilus-preferences.c:
(nautilus_preferences_initialize):
* nautilus-widgets/nautilus-preferences.h:
* nautilus-widgets/test-nautilus-preferences.c: (main):
Undo the last stoopid change cuz the user level stuff is now
hidden in the NautilusUserLevelManager class.
2000-05-30 Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-drag.c:
* libnautilus-extensions/nautilus-drag.h:
(nautilus_drag_items_local), (nautilus_drag_can_accept_item),
(nautilus_drag_can_accept_items):
More drag&drop support calls shared between list and icon view.
* libnautilus-extensions/nautilus-icon-dnd.c:
(nautilus_icon_container_selection_items_local),
(receive_dropped_keyword),
(nautilus_icon_container_receive_dropped_icons),
(nautilus_icon_dnd_update_drop_target):
Remove calls that are replaced by nautilus-drag.c equivalents.
Tweak some whitespace.
* libnautilus-extensions/nautilus-gtk-extensions.c:
* libnautilus-extensions/nautilus-gtk-extensions.h:
(nautilus_gtk_marshal_NONE__INT_INT_INT):
Add some more signal glue.
* libnautilus-extensions/nautilus-list.h:
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_initialize_class), (nautilus_list_drag_drop),
(nautilus_list_row_at):
Add more drop handling. Add signal that sends of dropped data
and context to fm-list-view.c. Added nautilus_list_row_at
that fm-list-view.c needs to handle the drop.
* src/file-manager/fm-directory-view.c:
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-icon-view.c: (icon_view_can_accept_item),
(icon_view_get_container_uri), (icon_view_move_copy_items),
(create_icon_container), (fm_directory_view_get_uri),
(fm_directory_view_move_copy_items),
(fm_directory_view_can_accept_item):
Rework public calls to not take a container view as an argument
and can be used by both list and icon view classes.
Add new private signal handler callbacks that replace the
public calls.
* src/file-manager/fm-list-view.c: (fm_list_nautilus_file_at),
(fm_list_handle_dropped_icons), (create_list):
Drop handling code.
* nautilus-widgets/nautilus-preferences-group.c:
(nautilus_preferences_group_add_item):
* nautilus-widgets/nautilus-preferences-item.c:
(preferences_item_construct), (enum_radio_group_changed_callback):
* nautilus-widgets/nautilus-preferences.c:
(nautilus_preferences_find_preference):
* nautilus-widgets/nautilus-preferences.h:
Rename (nautilus_preferences_find_preference) to
(nautilus_preferences_find_preference) to avoid confusion with a
function ill add next.
* libnautilus-extensions/nautilus-global-preferences.c:
(nautilus_global_preferences_startup):
* nautilus-widgets/nautilus-preferences.c:
(preferences_hash_node_alloc), (preferences_hash_node_free),
(preferences_hash_node_add_callback),
(preferences_hash_node_remove_callback),
(preferences_hash_node_free_func),
(preferneces_callback_node_alloc),
(preferneces_callback_node_free),
(preferneces_callback_node_free_func),
(preferneces_callback_node_invoke_func), (preferences_register),
(nautilus_preferences_get_preference),
(nautilus_preferences_set_info), (set_default_value_if_needed),
(nautilus_preferences_enum_add_entry),
(preferences_hash_node_lookup),
(preferences_hash_node_lookup_with_registration),
(preferences_gconf_callback),
(nautilus_preferences_add_boolean_callback),
(nautilus_preferences_add_enum_callback),
(nautilus_preferences_add_callback),
(nautilus_preferences_remove_callback),
(nautilus_preferences_set_boolean),
(nautilus_preferences_get_boolean),
(nautilus_preferences_set_enum), (nautilus_preferences_get_enum),
(nautilus_preferences_set), (nautilus_preferences_get),
(nautilus_preferences_initialize),
(nautilus_preferences_is_initialized),
(nautilus_preferences_shutdown):
* nautilus-widgets/nautilus-preferences.h:
* nautilus-widgets/test-nautilus-preferences.c: (main):
Cleanup preferences to make the code easier to modify. Name
things more consistently. Put global variables in a struct to
make then clearly distiguishable from local ones.
Also, add change the initialize api to be fed the number of user
levels and their names. More on this later.
implemented task 259, simple UI for previewing sounds, by making the
icon container emit a preview signal when an icon is moused-over.
Connect the signal in fm-icon-view, where we inspect the type.
For now we just support mp3s, but more sound types are coming soon,
and the door's open for other types of previewing. Use a timeout
task to provide an adjustable delay before playing.
* libnautilus-extensions/nautilus-string-list.c:
(nautilus_string_list_get_index_for_string),
(nautilus_self_check_string_list):
* libnautilus-extensions/nautilus-string-list.h:
New function to access the index for a given string.
* nautilus-widgets/nautilus-string-picker.c,
* nautilus-widgets/nautilus-string-picker.h:
New widget to pick a string from a list.
* nautilus-widgets/test-nautilus-preferences.c:
New test program. Test prefrences things.
* nautilus-widgets/test-nautilus-widgets.c:
Remove preference tests. Test only non preference widgetry.
* nautilus-widgets/Makefile.am,
* nautilus-widgets/.cvsignore:
Add test-nautilus-preferences.
* libnautilus-extensions/nautilus-string-list.h,
* libnautilus-extensions/nautilus-string-list.c:
(nautilus_string_list_as_g_list): New function to return the
string list as a GList.
* libnautilus-extensions/nautilus-global-preferences.h:
Remove unneeded inclusion of nautilus-string-list.h
* libnautilus-extensions/nautilus-global-preferences.c:
Fix a user visible typo in appearance/graphics.
Add a better description for the sidebar panels pane (bug 304)
2000-05-27 Pavel Cisler <pavel@eazel.com>
* src/nautilus-application.c: (nautilus_app_quit):
Used the fixed-up gnome_vfs_shutdown to properly synchronize
with GnomeVFS threads that are still finishing up. Got rid of
nautilus_app_real_quit and the other hacky code that I used
to do this before gnome_vfs_shutdown was working properly.
Got rid of a bunch of FIXMEs that are now take care of.
* libnautilus-extensions/nautilus-directory-async.c:
(cancel_directory_counts), (top_left_read_close),
(cancel_top_left_read), (nautilus_metafile_read_cancel),
(start_getting_directory_counts), (start_getting_top_lefts):
Added cancel calls to the different GnomeVFS async tasks that
can be running when opening a Nautilus window, called them
from the NautilusDirectory destroy call.
Nautilus now shuts down GnomeVFS jobs cleanly during a quit.
There is still a problem where in some cases it will take a
while before the async jobs go away. This seems to be because
the corresponding NautilusDirectory doesn't get destroyed right
away when a window is closed. I need to get Darin to help me fix
this.
* components/services/install/lib/eazel-install-object.c:
(eazel_install_uninstall):
* components/services/install/lib/eazel-install-public.h:
Added eazel_install_uninstall call to the gtk+ object. This
opened a can of worms reg. error during uninstall, which is
also relevant to install. See bug#1024.
* components/services/install/lib/eazel-install-rpm-glue.c:
(install_new_packages), (download_a_package),
(download_all_packages), (install_all_packages),
(uninstall_packages), (uninstall_a_package), (do_rpm_uninstall),
(rpm_uninstall):
More passing around of a EazelService object. And more sane
errorhandling to avoid the lib causing an exit.
* nautilus-installer/src/installer.c: (installer):
Partial uninstall support.
* components/services/time/command-line/Makefile.am:
* components/services/time/service/trilobite-eazel-time-service.c:
(trilobite_eazel_time_service_initialize):
The eazel-time service cli binary is now called eazel-time.
Default maxdiff is now set to 180 secs.
* libnautilus-extensions/nautilus-scroll-frame.c,
libnautilus-extensions/nautilus-scroll-frame.h: Removed these
unused files.
* libnautilus-extensions/Makefile.am: Remove them from the build.
* nautilus-installer/Makefile:
* nautilus-installer/Makefile.am:
* nautilus-installer/Makefile.in:
* nautilus-installer/nautilus-installer.c:
* nautilus-installer/nautilus-installer.glade:
* nautilus-installer/src/HACKING:
* nautilus-installer/src/Makefile:
* nautilus-installer/src/Makefile.in:
* nautilus-installer/src/callbacks.c: (druid_cancel),
(begin_install), (druid_finish), (prep_install):
* nautilus-installer/src/installer.c: (eazel_install_progress),
(eazel_download_progress), (installer):
* nautilus-installer/src/installer.h:
* nautilus-installer/src/interface.c: (create_window):
* nautilus-installer/src/interface.h:
* nautilus-installer/src/main.c: (main):
Added the first pieces if the GUI installer. Since we don't want
it to be part of the built, I've committed the generated makefiles
as well. This also means you should be able to build it straigt
from cvs. It already has base functionality, and is almost 70% done.
* components/services/install/command-line/Makefile.am:
* components/services/install/command-line/eazel-alt-install.c:
(set_parameters_from_command_line), (eazel_install_progress),
(eazel_download_progress), (main):
Don't build eazel-install, only eazel-alt-install, which
uses the EazelInstall object.
* components/services/install/lib/eazel-install-object.c:
(impl_Eazel_Install_new_packages), (eazel_install_get_epv),
(eazel_install_destroy), (eazel_install_set_arg),
(eazel_install_class_initialize),
(eazel_install_create_corba_object), (eazel_install_initialize),
(eazel_install_get_type), (eazel_install_new),
(eazel_install_new_with_config), (create_temporary_directory),
(fetch_remote_package_list), (eazel_install_emit_install_progress),
(eazel_install_emit_download_progress),
(eazel_install_new_packages):
Implemented a GTK+ object for libinstall. It has the basic
functionality needed for the May 31st gui installer. This means it
can be instantiated, the install and transferoptions be set and it
can do the download of the packagelist, and download and install
the files mentioned there. Needs upgrade & uninstall, plus a lot
of errorchecking and memleaks (bug#982). This halfway completed bug#980.
* components/services/install/lib/eazel-install-private.h:
* components/services/install/lib/eazel-install-protocols.c:
(http_fetch_remote_file):
* components/services/install/lib/eazel-install-protocols.h:
* components/services/install/lib/eazel-install-public.h:
* components/services/install/lib/eazel-install-rpm-glue.c:
(install_new_packages), (download_a_package),
(download_all_packages), (install_all_packages),
(uninstall_packages), (rpm_show_progress), (do_rpm_install),
(rpm_install):
* components/services/install/lib/eazel-install-rpm-glue.h:
Did a lot of hacking and slashing to pass the EazelInstall object
downwards so progress signals can be emitted. Also a lot of
errorhandling was fixed so it doesn't just g_assert or such.
But a lot more of that is needed (bug#1014) and some major
slashing so the EazelInstall passing isn't so ugly (bug#980).
* src/nautilus-desktop-window.c:
(nautilus_desktop_window_initialize_class),
(nautilus_desktop_window_initialize),
(nautilus_desktop_window_new):
* src/nautilus-desktop-window.h:
* src/ntl-app.c: (nautilus_app_startup), (nautilus_app_quit),
(nautilus_app_create_window):
* src/ntl-app.h:
* src/ntl-main.c: (main):
Made a desktop window that's created when you start the program
if you pass the --desktop option. At the moment it's a normal
window and not set up to take over the desktop.
* libnautilus-extensions/nautilus-glib-extensions.c:
(nautilus_self_check_glib_extensions): Fixed some broken self-
checks. Now we have one really broken self-check in the
nautilus-directory.c file. I might turn that one off soon so we
can at least run the others.
* libnautilus-extensions/nautilus-gtk-macros.h:
Changed how some of the macros work. Few of these macros were used
in Nautilus. I hope they aren't used in the Mozilla component,
because then I broke it.
* libnautilus-extensions/nautilus-list-column-title.c:
(nautilus_list_column_title_motion),
(nautilus_list_column_title_button_press),
(nautilus_list_column_title_button_release):
Updated to use NAUTILUS_INVOKE_METHOD instead of NAUTILUS_KLASS,
because I renamed it to NAUTILUS_CLASS and had to change these
anyway.
A little sweep for code that should be using
CORBA_Object_is_nil instead of direct compares with
CORBA_OBJECT_NIL.
* components/html/main.c: (url_requested_cb):
* libnautilus-extensions/bonobo-stream-vfs.c:
(bonobo_stream_create):
* libnautilus/nautilus-undo-manager.c:
(set_up_bonobo_control):
* libnautilus/nautilus-undoable.c: (nautilus_undo_register_full),
(nautilus_undo_unregister), (nautilus_undo):
* src/file-manager/dfos.c: (dfos_new):
Switch to use CORBA_Object_is_nil.
* libnautilus/nautilus-undo-manager.c: (undo_manager_unref),
(nautilus_attach_undo_manager), (nautilus_share_undo_manager),
(set_up_bonobo_control):
Do some missing duplicate and release calls.
* libnautilus/nautilus-undoable.c: (nautilus_undo_unregister):
Fix a place where we'd keep a reference to a freed list.
Change O(n^2) walk of list by index to O(n) walk by pointer.
* src/ntl-index-panel.c: (nautilus_index_panel_remove_meta_view):
Changed g_warning to a g_return_if_fail, which was designed for
cases just like this one.
* src/ntl-view-bonobo-subdoc.c:
(bonobo_subdoc_notify_location_change):
Put in a better version of the FIXME.
* RENAMING: More updates.
preferences dialog.
Also moved function prototypes and macro definitions to top of
file.
* src/ntl-window.c: (impl_Nautilus_ViewWindow__create),
(nautilus_window_remove_meta_view):
Removed the *_real cruft. Cleaned this a tiny bit.
(window_find_sidebar_panel_by_identifier):
New function for finding panels given an identifiers.
(window_update_sidebar_panels_from_preferences):
New function to update the current list of sidebar panels from
preferences.
Disabled panels are removed if they are already in the list.
Enabled panels are added if they are not already in the list.
NOTE: It would be 'nice' if in the future all updates of the
sidebar panel occur in just one place - the above function for
example. This is in contrast to the current mess where both
ntl-window.c and ntl-window-msgs.c abuse the meta_views list at
random places. Ill look into this later.
(sidebar_panels_changed_callback):
Now actually responds to changes.
* src/ntl-window.h:
Style dumbness.
* libnautilus-extensions/nautilus-global-preferences.c:
(nautilus_global_preferences_get_enabled_sidebar_panel_view_identifiers),
(nautilus_global_preferences_get_disabled_sidebar_panel_view_identifiers):
* libnautilus-extensions/nautilus-global-preferences.h:
Add a function that returns the disabled sidebar panels. Needed
so that on-the-fly sidebar panel toggling can be smart about
adding and removing views.
Also rename some variabled to make it obvious which are the enabled
and disabled lists.
* src/ntl-index-panel.c: (nautilus_index_panel_remove_meta_view):
Remove the tab associated with meta view as well. Add a warning
for the case when the page_num is bogus. Perhaps this should be
an assertion. But at least this way it wont fail silently.
* src/ntl-view-bonobo-subdoc.c:
(bonobo_subdoc_notify_location_change):
Added a FIXME to the line that Dan Winship says should
be passing a MIME type but is currently passing "".
sensible preference). Note that before making the
quick wording fix Darin, Ian, and I came up with a
longer-term plan for handling this general kind of
thing well (bug 995).
* libnautilus-extensions/nautilus-global-preferences.h:
* libnautilus-extensions/nautilus-directory-async.c:
(state_changed):
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_create_dialog),
(global_preferences_register_for_ui):
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_for_file):
Changed "Fully Decorate Remote Views" to "Display text in
icons even for remote text files"
Changed NAUTILUS_PREFERENCES_REMOTE_VIEWS to
NAUTILUS_PREFERENCES_SHOW_TEXT_IN_REMOTE_ICONS
* src/ntl-view-bonobo-subdoc.c:
(bonobo_subdoc_notify_location_change):
Changed the NULL to a "", now text files work. I think
it's back to normal now.
* src/ntl-view-bonobo-subdoc.c:
(bonobo_subdoc_notify_location_change):
Added a NULL parameter to a Bonobo_PersistStream_load call
to get the build to finish. The API for this call changed.
I have no idea whether this is the correct change, but with it
I can build and run Nautilus. I noticed clicking on a text file
crashes, which might be related (maybe no Bonobo components will
work until we fix this properly)?
* src/ntl-window.c: (nautilus_window_init),
(nautilus_window_destroy), (nautilus_window_real_set_content_view),
(sidebar_panels_changed_callback):
Keep track of sidebar panel enabled/disabled toggling. Currently
the callback doesnt do nothing. Soon it will.
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_create_dialog),
(global_preferences_get_sidebar_panel_view_identifiers),
(nautilus_global_preferences_get_enabled_sidebar_panel_view_identifiers),
(global_preferences_register_sidebar_panels_preferences_for_ui),
(global_preferences_is_sidebar_panel_enabled),
(nautilus_global_preferences_shutdown):
* libnautilus-extensions/nautilus-global-preferences.h:
Expose only a single function to deal with sidebar panels. Return
a list of enabled view indentifiers, saving callers the work and
complication of figuring out which panels are on.
Make NAUTILUS_PREFERENCES_SIDEBAR_PANELS_NAMESPACE cause i need it
to later keep track of sidebar panel changes in NautilusWindow.
* src/ntl-uri-map.c: (got_file_info_callback),
(nautilus_navigation_info_free):
* src/ntl-uri-map.h:
* src/ntl-window-msgs.c: (nautilus_window_update_state):
Exorcise the 'sidebar_panel_identifiers' member. Instead of
complicating life by managing this list, simply obtain it when
needed from global preferences.
* src/nautilus-index-tabs.c: (nautilus_index_tabs_initialize),
(nautilus_index_tabs_size_request), (draw_one_tab),
(draw_or_hit_test_all_tabs), (tab_item_find_by_name),
(nautilus_index_tabs_add_view),
(nautilus_index_tabs_get_title_from_index),
(nautilus_index_tabs_remove_view),
(nautilus_index_tabs_prelight_tab),
(nautilus_index_tabs_select_tab), (nautilus_index_tabs_set_color),
(nautilus_index_tabs_receive_dropped_color),
(nautilus_index_tabs_set_title),
(nautilus_index_tabs_set_title_mode),
(nautilus_index_tabs_set_visible):
Some cleanup of index tabs.
Changed find_tab() to tab_item_find_by_name() which returns the
actual tab item instead of a list node.
Changed the GList append and remove operations to be more sane and
actually work in the latter case.
Print warnings on attempts to operate on non-existing tab items as
these indicate programming errors upstream.
Also add bulletproofing g_return_* macros.
* nautilus-widgets/nautilus-preferences.c: (pref_hash_node_alloc),
(pref_hash_node_free), (pref_hash_node_add_callback),
(pref_hash_node_remove_callback), (pref_callback_info_alloc),
(preferences_gconf_callback):
Install only ONE gconf notification for each preference or
namespace that we care about. Otherwise we get an exponential
number of notifications. Move the gconf_connection from the
callback list info to the preference hash node.
Remove lingering gconf notifications on destruction of hash
nodes.
* components/help/hyperbola-nav-index.c:
(hyperbola_navigation_index_new):
* components/help/hyperbola-nav-search.c:
(hyperbola_navigation_search_new):
Fix the annoying as hell assertions coming from these components.
Dont install the entry widgets as the titles for the clist. You
cant do this cause they have already be added to the vbox
container and thus the barfing in gtk_container_add() about the
widget already having a parent. There doesnt seem to be any
noticeable ui change because of this. The help search/index
continue to work as "good" as before.
* nautilus-widgets/nautilus-preferences.c:
(pref_hash_node_add_callback), (pref_hash_node_remove_callback),
(preferences_gconf_callback):
Add support for keeping track of changes within a whole preference
namespace.
Pass in the expected preference to the gconf callback. Do this so
that we can compare the expected prefrence name with the one that
gconf reports. If they dont match, then we have something that
changed within a namespace and not an individual key.
Also fix some memory leaks. Was forgetting to free a couple of
returned preference names.
* components/services/install/command-line/Makefile.am:
* components/services/install/command-line/eazel-alt-install.c:
Small program to test the gtk+ version of the installer.
(set_parameters_from_command_line), (main):
* components/services/install/idl/trilobite-eazel-install.idl:
* components/services/install/lib/Makefile.am:
* components/services/install/lib/eazel-install-object.c:
(impl_Trilobite_Eazel_Install_new_packages),
(trilobite_eazel_install_get_epv),
(trilobite_eazel_install_destroy),
(trilobite_eazel_install_set_arg),
(trilobite_eazel_install_class_initialize),
(trilobite_eazel_install_create_corba_object),
(trilobite_eazel_install_initialize),
(trilobite_eazel_install_get_type), (trilobite_eazel_install_new),
(trilobite_eazel_install_new_with_config),
(create_temporary_directory), (fetch_remote_package_list),
(trilobite_eazel_install_new_packages):
* components/services/install/lib/eazel-install-private.h:
* components/services/install/lib/eazel-install-public.h:
Created a gtk+ object for the installer. Will be needed for the ui
object to do callbacks for the progress bars
* components/services/install/lib/eazel-install-metadata.c:
(xml_doc_sanity_checks), (init_default_install_configuration),
(init_default_transfer_configuration):
* components/services/install/lib/eazel-install-xml-package-list.c:
(parse_local_xml_package_list):
Removed various g_errors and g_asserts and replaced them
with some sort of return code (boolean or NULL)
2000-05-25 John Sullivan <sullivan@eazel.com>
* src/ntl-app.c: (display_caveat): Added a missing space.
More work on the "Open with Other" dialogs. Most of
the UI features are present now, but they don't do
anything since there's no API to call yet.
* libnautilus-extensions/nautilus-gtk-extensions.h,
* libnautilus-extensions/nautilus-gtk-extensions.c:
(nautilus_gtk_clist_get_first_selected_row),
(nautilus_gtk_clist_get_last_selected_row):
Moved these functions to here from NautilusList, since
they only require a GtkCList and I needed to use one
of them outside of NautilusList.
* libnautilus-extensions/nautilus-list.c:
(nautilus_list_get_first_selected_row),
(nautilus_list_get_last_selected_row),
(nautilus_list_keyboard_navigation_key_press),
(nautilus_list_new_with_titles):
Removed get_first and get_last_selected_row, and updated
callers to call new nautilus_gtk_clist versions.
* libnautilus-extensions/nautilus-program-chooser.c:
(populate_program_list), (nautilus_program_chooser_get_file),
(nautilus_program_chooser_get_clist),
(nautilus_program_chooser_get_frame),
(nautilus_program_chooser_get_status_label),
(nautilus_program_chooser_set_file),
(nautilus_program_chooser_set_clist),
(nautilus_program_chooser_set_frame),
(nautilus_program_chooser_set_status_label), (is_in_short_list),
(is_in_metadata_list), (update_selected_item_details),
(program_list_selection_changed_callback), (pack_radio_button),
(run_program_configurator_callback),
(nautilus_program_chooser_new):
Whole bunch of changes to push the "Open with Other" dialogs
closer to reality.
* src/ntl-window.c:
(view_menu_choose_view_callback): Comment changes only.
(nautilus_window_load_content_view_menu): Changed menu item
text from "View as ..." to "View as Other..."
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_denies_access_permission): Fixed some checks
that I had reversed.
* src/ntl-app.c: (display_caveat): Took out some test code I
checked in.
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_denies_access_permission),
(nautilus_file_can_set_permissions): Made the permission check
match the Unix access model. Maciej points out that this is
still not good enough, and Pavel points out that bug 458 is
about just this problem.
* libnautilus-extensions/nautilus-gnome-extensions.c:
(turn_on_line_wrap_flag): Got rid of a bad g_free that was
trashing memory when locating the label for line wrapping.
* src/ntl-app.c: (display_caveat): Used line wrapping, now that
I know wrapping wasn't the cause of the bug before.
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_create_dialog),
(global_preferences_register_sidebar_panels_preferences_for_ui),
(global_preferences_get_sidebar_panel_key),
(nautilus_global_preferences_is_sidebar_panel_enabled),
(global_preferences_register_for_ui),
(user_level_changed_callback),
(nautilus_global_preferences_startup):
Added define for sidebar panels namespace.
Rename preference defines to make it clear whether they are keys
or namespaces.
Add function to obtain a sidebar panel key from an iid.
Use "sidebar panels" consistently in both code and preferences
dialog.
* libnautilus-extensions/nautilus-global-preferences.h:
New public function
nautilus_global_preferences_is_sidebar_panel_enabled () that
returns whether a sidebar panel is enabled.
* src/ntl-uri-map.c: (sidebar_panel_preference_is_on):
Use nautilus_global_preferences_is_sidebar_panel_enabled() instead
of hard-coding the namespace string.
* libnautilus/nautilus-clipboard.c:
(nautilus_clipboard_set_up_editable): Instead of ref'ing the
control we want to do a "while_alive". The old way could be
dangerous, so I'm glad I caught this.
* libnautilus/nautilus-view-frame.c:
(nautilus_view_get_bonobo_control):
Took out an extra bonobo_object_ref that was wreaking havoc.
If we want to make this ref the thing before returning it,
we'll have to get it right.
* RENAMING: Updated to reflect completed tasks.
* components/notes/ntl-notes.c: (make_notes_view):
* components/websearch/ntl-web-search.c: (make_obj):
Changed to use simplified clipboard API.
* components/services/trilobite/libtrilobite/.cvsignore:
Ignore generated files.
* libnautilus-extensions/gtkscrollframe.c:
* libnautilus-extensions/gtkscrollframe.h:
Renamed GtkScrollFrame to NautilusScrollFrame so we won't conflict
if a GtkScrollFrame actually gets added to gtk some day. The file
still needs renaming (mentioned in RENAMING).
* libnautilus/nautilus-clipboard.h:
* libnautilus/nautilus-clipboard.c: (cut_callback),
(copy_callback), (paste_callback), (clear_callback),
(add_menu_item), (add_menu_items_callback),
(remove_menu_items_callback), (nautilus_clipboard_set_up_editable):
Simplified clipboard implementation. Does the same thing the old
code did without needing a class and with a simpler API.
* nautilus-widgets/nautilus-preferences-item.c:
* src/file-manager/fm-icon-text-window.c:
* src/nautilus-zoom-control.c:
* src/ntl-window.c:
Renamed _cb to _callback. Some other (minor) cleanup.
* src/file-manager/Makefile.am:
* src/file-manager/desktop-canvas.c: [removed]
* src/file-manager/desktop-canvas.h: [removed]
* src/file-manager/desktop-menu.c: [removed]
* src/file-manager/desktop-menu.h: [removed]
* src/file-manager/gnome-desktop.c: [removed]
Now that I'm doing the desktop work, I know we don't need these.
I'll be deleting the desktop source files that Havoc added as I
harvest the useful code from them.
* src/file-manager/fm-directory-view.c:
(bonobo_control_activate_callback): Add comments.
* src/nautilus-zoom-control.h: Fixed problem where the zoom
control didn't know if it was an event box or a pixmap.
* src/ntl-index-panel.c: (nautilus_index_panel_add_meta_view):
Fixed bug that was trashing the sidebar panel names. I put
the g_free call in the wrong place.
* src/ntl-uri-map.c: (sidebar_panel_preference_is_on):
Fixed bug where the sidebar preference wasn't saved. I found
another place with another copy of the preference path. This
sort of thing really needs to go in a header file, I think.
* components/help/help-methods.c:
(transform_absolute_file): Fixed a bug to get it to really treat
URI's as 'absolute'. Also fixed another bug with trailing spaces.
Necessary because the URI holds the '\n' (when the user presses
enter.
Also added debugging statements in the functions (#define ALI_DEBUG
to turn them on). I will take them out once help actually starts
working
are downloaded before install. Tried to setup as many of the print
functions as possible to support internationalization. Removed old
gnet http groks of the package list and now grab the package list with
the async ghttp fetch functionality. Did alot of cleanups in the
rpm glue functions to make them more managable. Removed the prune_xml
function i swipped from helixcode since it is no longer needed.
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_create_dialog): Oops. Missed one case of
"metaview" -> "sidebar-view".
* libnautilus-extensions/nautilus-icon-canvas-item.c:
(draw_pixbuf_aa), (draw_label_text_aa),
(nautilus_icon_canvas_item_render): Some minor code tweaks.
* src/ntl-app.c: (display_caveat), (nautilus_app_startup):
Round one of caveat dialog improvement. I managed to get it
to be modeless and come up in front of the Nautilus window.
The word-wrapping had to be done by hand to work around
unsolved bug (963). The next round will involve using Arlo's
cool picture.
* libnautilus/Makefile.am:
* libnautilus/libnautilus.h:
* libnautilus/nautilus-meta-view-frame.c: [deleted]
* libnautilus/nautilus-meta-view-frame.h: [deleted]
* libnautilus/nautilus-view-component.idl:
* po/POTFILES.in:
* src/ntl-index-panel.c: (nautilus_index_panel_add_meta_view):
* src/ntl-window.c: (nautilus_window_add_meta_view):
Removed Nautilus::MetaView and all the related classes.
We still have Nautilus::MetaViewFrame (will go soon).
* components/help/hyperbola-nav-index.c:
(hyperbola_navigation_index_new):
* components/help/hyperbola-nav-search.c:
(hyperbola_navigation_search_new):
* components/help/hyperbola-nav-tree.c:
(hyperbola_navigation_tree_new):
* components/history/ntl-history-view.c: (make_obj):
* components/loser/sidebar/nautilus-sidebar-loser.c:
(nautilus_sidebar_loser_initialize),
(loser_notify_location_change_callback):
* components/loser/sidebar/nautilus-sidebar-loser.h:
* components/notes/ntl-notes.c: (make_notes_view):
* components/websearch/ntl-web-search.c: (make_obj):
Changed to use just plain view insetad of meta_view.
* libnautilus-extensions/nautilus-global-preferences.h:
* libnautilus-extensions/nautilus-global-preferences.c:
(global_preferences_create_dialog),
(nautilus_global_preferences_get_sidebar_panel_view_identifiers),
(nautilus_global_preferences_get_sidebar_view_iids),
(nautilus_preferences_register_sidebar_view_preferences_for_ui),
(global_preferences_register_for_ui):
Changed naming to call them sidebar views instead of meta views,
and got rid of code that depends on MetaView interface. We now
use the sidebar_panel_name to determine if a view should show
up in the sidebar.
* src/ntl-view.h: Fixed a comment to reflect the future
instead of the past.
* libnautilus-extensions/nautilus-program-chooser.c:
(populate_program_list), (nautilus_program_chooser_new):
Some work on the innards of the program-choosing dialogs.
Still not wired up to any actual data.
* configure.in:
* components/services/install/command-line/Makefile.am:
* components/services/install/lib/Makefile.am:
* components/services/startup/lib/Makefile.am:
* components/services/startup/nautilus-view/Makefile.am:
* components/services/time/command-line/Makefile.am:
* components/services/time/command-line/main.c:
* components/services/time/service/Makefile.am:
* components/services/time/service/main.c:
* components/services/time/service/trilobite-eazel-time-service.c:
* components/services/trilobite/Makefile.am (SUBDIRS):
* components/services/trilobite/sample/command-line/Makefile.am:
* components/services/trilobite/sample/command-line/main.c:
* components/services/trilobite/sample/nautilus-view/Makefile.am (SUBDIR):
* components/services/trilobite/sample/service/Makefile.am:
* components/services/trilobite/sample/service/main.c:
* components/services/trilobite/sample/service/sample-service-impl.c:
Major cvs gymnastics to move trilobite/lib into
trilobite/libtrilobite.
All files in components/services/trilobite/src and lib have been
deleted and are now in components/services/trilobite/libtrilobite.
* components/services/trilobite/Makefile.am:
Accidently removed the wrong subdir, reinserted lib and removed src.
* components/services/trilobite/sample/service/Makefile.am
* components/services/trilobite/sample/command-line/Makefile.am
* components/services/time/service/Makefile.am:
updated to use libtrilobite instead of libtrilobited
* components/services/time/command-line/Makefile.am:
Updated to only use libtrilobite