* libnautilus-extensions/nautilus-program-choosing.h,
libnautilus-extensions/nautilus-program-choosing.c:
(nautilus_launch_application): Take a GnomeVFSMimeApplication *
instead of a command string; add gnome-terminal -x
(nautilus_launch_application_from_command): Old version that takes
a command string renamed. Also, uses `system' instead of `execlp',
so command-line arguments in the command string work.
* libnautilus-extensions/nautilus-program-chooser.c
(launch_mime_capplet): Adjusted to conform.
* src/file-manager/fm-directory-view.c
(fm_directory_view_launch_application): Likewise.
* src/nautilus-sidebar.c: (command_button_callback,
nautilus_sidebar_chose_application_callback, add_command_buttons):
Likewise.
* test/test-nautilus-mime-actions.c (print_application): Show the
requires_terminal field for applications.
to default). Added "Reset Background" to Settings and
context menu.
* libnautilus-extensions/nautilus-background.h:
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_is_set), (nautilus_background_reset):
New functions for checking whether the background has
been set, and for resetting it to the uncustomized state.
* libnautilus-extensions/nautilus-directory-background.c:
(background_changed_callback), (directory_changed_callback):
Changed default metadata value from white to NULL.
* src/file-manager/fm-directory-view.h,
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize_class), (reset_background_callback),
(fm_directory_view_get_background_widget),
(fm_directory_view_get_background), (compute_menu_item_info),
(append_gtk_menu_item_with_view), (append_selection_menu_subtree),
(fm_directory_view_real_create_background_context_menu_items),
(create_open_with_gtk_menu),
(fm_directory_view_real_create_selection_context_menu_items),
(insert_bonobo_menu_item), (insert_bonobo_menu_subtree),
(reset_bonobo_trash_delete_menu), (reset_bonobo_open_with_menu),
(fm_directory_view_real_merge_menus), (update_one_menu_item),
(fm_directory_view_real_update_menus): Put "Reset Background"
menu item in Settings menu and context menu; keep its
sensitivity synched with background state.
* src/file-manager/fm-icon-view.c:
(fm_icon_view_get_background_widget): New function to let
superclass get at the NautilusBackground.
(fm_icon_view_initialize_class): Wire up new function.
(fm_icon_view_initialize), (create_icon_container): Remove
unused return value for create_icon_container.
* src/file-manager/fm-list-view.c:
(fm_list_view_get_background_widget): New function to let
superclass get at the NautilusBackground.
(fm_list_view_initialize_class): Wire up new function.
(create_list): Remove unused return value.
2000-06-14 Pavel Cisler <pavel@eazel.com>
* test/Makefile.am:
* test/nautilus-leak-checker.c: (detect_reentry),
(nautilus_leak_record_malloc), (nautilus_leak_record_realloc),
(nautilus_leak_record_free), (allocate_temporary_fallback_memory),
(__libc_malloc), (__libc_memalign), (__libc_realloc),
(__libc_free), (malloc), (realloc), (memalign), (calloc), (free),
(main):
Fix problems in the reentry detection code that caused malloc/frees
sometimes getting counted twice.
Add reentry detection for malloc getting reentered as a result of
calling realloc.
2000-06-13 Pavel Cisler <pavel@eazel.com>
* test/Makefile.am:
Couldn't figure out how to build the leakchecker shared library
with libtool, added a simple link rule instead.
* test/nautilus-leak-symbol-lookup.c:
(nautilus_leak_find_symbol_in_map),
(nautilus_leak_symbol_map_get_offsets),
(nautilus_leak_symbol_map_load),
(nautilus_leak_symbol_map_load_if_needed),
(nautilus_leak_find_symbol_address),
(nautilus_leak_print_symbol_address):
Redo symbol lookup to work better in some cases.
* test/nautilus-leak-checker.c: (allocate_lots), (leak_mem2),
(leak_mem), (main):
tweaks to testing code.
2000-06-13 Rebecca Schulman <rebecka@eazel.com>
Initial changes to implement search architecture.
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-directory-async.c:
Changed metafile reading to skip this for search directories
call a separate sync reader for search directories (the
async handle creates a thread but doesn't talk to medusa
yet)
Added
* libnautilus-extensions/nautilus-search-async.c:
* libnautilus-extensions/nautilus-search-async.h:
location of future async search calls
* libnautilus-extensions/nautilus-directory-private.h:
added is_search_directory boolean field to NautilusDirectoryDetails
* libnautilus-extensions/nautilus-directory.c:
* libnautilus-extensions/nautilus-directory.h:
nautilus_search_directory_new supplemnts nautilus_directory_new
and test functions nautilus_diretory_is_search_directory and
nautilus_uri_is_search_uri
* src/nautilus-window.c:
* src/nautilus-window-toolbars.c:
added search button (icon to come!)
* src/nautilus.oafinfo:
added search: to list of acceptable
content for list view
2000-06-13 Rebecca Schulman <rebecka@eazel.com>
Initial changes to implement search architecture.
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-directory-async.c:
Changed metafile reading to skip this for search directories
call a separate sync reader for search directories (the
async handle creates a thread but doesn't talk to medusa
yet)
Added
* libnautilus-extensions/nautilus-search-async.c:
* libnautilus-extensions/nautilus-search-async.h:
location of future async search calls
* libnautilus-extensions/nautilus-directory-private.h:
added is_search_directory boolean field to NautilusDirectoryDetails
* libnautilus-extensions/nautilus-directory.c:
* libnautilus-extensions/nautilus-directory.h:
nautilus_search_directory_new supplemnts nautilus_directory_new
and test functions nautilus_diretory_is_search_directory and
nautilus_uri_is_search_uri
* src/nautilus-window.c:
* src/nautilus-window-toolbars.c:
added search button (icon to come!)
* src/nautilus.oafinfo:
added search: to list of acceptable
content for list view
There's still a long way to go.
* components/music/nautilus-music-view.c: (fetch_play_time),
(format_play_time), (fetch_song_info), (play_status_display),
(play_current_file), (nautilus_music_view_update_from_uri):
Changed the music view so it doesn't use NautilusFile any more
since it already has what it needs from gnome-vfs. There's still
the issue of sync. vs. async. for this component.
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-stock-dialogs.c:
(nautilus_timed_wait_start), (nautilus_timed_wait_free),
(nautilus_timed_wait_stop):
* libnautilus-extensions/nautilus-stock-dialogs.h:
Started on something called nautilus_timed_wait that we need to
use when all our lines are busy. Checked it in since I'll be in
Palo Alto and don't want any non-checked-in changes.
* libnautilus-extensions/nautilus-background-canvas-group.c:
Added comments and removed some dead code.
* src/nautilus-window-menus.c: (uri_known_not_to_exist):
Rewrote this to use sync. I/O on local files instead of using
nautilus_file_get.
* test/.cvsignore: Ignore some of the new files in this directory.
* libnautilus-extensions/nautilus-program-choosing.h,
libnautilus-extensions/nautilus-program-choosing.c:
(nautilus_launch_application): Take a GnomeVFSMimeApplication *
instead of a command string; add gnome-terminal -x
(nautilus_launch_application_from_command): Old version that takes
a command string renamed. Also, uses `system' instead of `execlp',
so command-line arguments in the command string work.
* libnautilus-extensions/nautilus-program-chooser.c
(launch_mime_capplet): Adjusted to conform.
* src/file-manager/fm-directory-view.c
(fm_directory_view_launch_application): Likewise.
* src/nautilus-sidebar.c: (command_button_callback,
nautilus_sidebar_chose_application_callback, add_command_buttons):
Likewise.
* test/test-nautilus-mime-actions.c (print_application): Show the
requires_terminal field for applications.
when there are no programs available for this file), and
some related UI tweaking.
* libnautilus-extensions/nautilus-program-chooser.c:
(launch_mime_capplet), (launch_mime_capplet_and_close_dialog):
Split old launch_mime_capplet into these two parts, so I
could call the simpler one from two places.
(run_program_configurator_callback),
(nautilus_program_chooser_new): Moved the "Why not visit the
Control Center?" box from the sub-dialog into the main dialog.
Also created both a "Cancel" and "Done" button, only one of
which is shown at a time.
(nautilus_program_chooser_set_is_cancellable): New function,
determines which of the two buttons "Cancel" and "Done" to
display.
(nautilus_program_chooser_show_no_choices_message):
New function, puts up a modeless dialog telling user that
there are no applications/viewers for this file and asking
if they want to go to the File Types and Programs capplet.
* libnautilus-extensions/nautilus-program-chooser.h:
Prototype for nautilus_program_chooser_show_no_choices_message.
* libnautilus-extensions/nautilus-program-choosing.c:
(any_programs_available_for_file): New helper function.
(nautilus_choose_component_for_file),
(nautilus_choose_application_for_file): Reworked a bit to
call nautilus_program_chooser_show_no_choices_message
in the case where there are no choices at all.
2000-06-13 Pavel Cisler <pavel@eazel.com>
* test/nautilus-leak-checker-stubs.h:
* test/nautilus-leak-checker.c:
(nautilus_leak_allocation_record_init),
(nautilus_leak_allocation_record_copy),
(nautilus_leak_allocation_record_finalize),
(nautilus_leak_allocation_record_free),
(nautilus_leak_stack_crawl_compare), (nautilus_leak_initialize),
(get_stack_trace), (detect_reentry), (nautilus_leak_record_malloc),
(nautilus_leak_record_realloc), (nautilus_leak_record_free),
(nautilus_leak_initialize_if_needed), (__libc_malloc),
(__libc_memalign), (__libc_calloc), (__libc_realloc),
(__libc_free), (malloc), (realloc), (memalign), (calloc), (free),
(print_one_leak), (nautilus_leak_print_leaks),
(nautilus_leak_checker_init), (allocate_lots), (leak_mem2),
(leak_mem), (main):
* test/nautilus-leak-checker.h:
* test/nautilus-leak-hash-table.c:
(nautilus_leak_hash_element_finalize),
(nautilus_leak_hash_element_hash),
(nautilus_leak_hash_element_match),
(nautilus_leak_hash_element_vector_inititalize),
(nautilus_leak_hash_element_vector_finalize),
(nautilus_leak_hash_element_vector_at),
(nautilus_leak_hash_element_vector_add),
(nautilus_leak_hash_element_vector_remove),
(nautilus_leak_hash_table_optimal_size),
(nautilus_leak_hash_table_initialize),
(nautilus_leak_hash_table_finalize),
(nautilus_leak_hash_table_new), (nautilus_leak_hash_table_free),
(nautilus_leak_hash_table_hash), (nautilus_leak_hash_table_find),
(nautilus_leak_hash_table_add),
(nautilus_leak_hash_table_remove_element),
(nautilus_leak_hash_table_remove),
(nautilus_leak_table_new_entry_at),
(nautilus_leak_table_add_entry), (nautilus_leak_table_new),
(nautilus_leak_table_free), (sort_by_count),
(nautilus_leak_table_sort_by_count), (sort_by_size),
(nautilus_leak_table_sort_by_size),
(nautilus_leak_table_each_item):
* test/nautilus-leak-hash-table.h:
* test/nautilus-leak-symbol-lookup.c:
(nautilus_leak_find_symbol_in_map),
(nautilus_leak_symbol_map_load),
(nautilus_leak_symbol_map_load_if_needed),
(nautilus_leak_print_symbol_cleanup),
(nautilus_leak_find_symbol_address),
(nautilus_leak_print_symbol_address):
* test/nautilus-leak-symbol-lookup.h:
New small leakchecking library. It is a bit simpler than MemProf in that
it doesn't try to find leaks, just lists all the outstanding allocations
(which if done at application quit is a list of leaks). It borrows heavily
from MemProf.
* test/Makefile.am:
Currently broken makefile changes for the leakchecker library. Needs some
libtool wrestling that Ramiro kindly offered to help with.
* src/nautilus-main.c: (nautilus_leak_checker_init),
(nautilus_leak_print_leaks), (main):
Call the leakchecker. Noop unless the leakchecker lib is loaded with
Nautilus using the LD_PRELOAD variable (the only way of turning the
thing on/off).
2000-06-14 Anders Carlsson <andersca@gnu.org>
* libnautilus-extensions/nautilus-background-canvas-group.c
(nautilus_background_canvas_group_draw): Add a check to see if the
NautilusBackground is too complex which means we have do draw if ourselves.
* libnautilus-extensions/nautilus-background.c,
libnautilus-extensions/nautilus-background.h
(nautilus_background_is_too_complex_for_gtk_style): New function.
Checks if a NautilusBackground is too complex to be drawn by GtkStyle, forcing
us to draw it ourselves.
to default). Added "Reset Background" to Settings and
context menu.
* libnautilus-extensions/nautilus-background.h:
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_is_set), (nautilus_background_reset):
New functions for checking whether the background has
been set, and for resetting it to the uncustomized state.
* libnautilus-extensions/nautilus-directory-background.c:
(background_changed_callback), (directory_changed_callback):
Changed default metadata value from white to NULL.
* src/file-manager/fm-directory-view.h,
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize_class), (reset_background_callback),
(fm_directory_view_get_background_widget),
(fm_directory_view_get_background), (compute_menu_item_info),
(append_gtk_menu_item_with_view), (append_selection_menu_subtree),
(fm_directory_view_real_create_background_context_menu_items),
(create_open_with_gtk_menu),
(fm_directory_view_real_create_selection_context_menu_items),
(insert_bonobo_menu_item), (insert_bonobo_menu_subtree),
(reset_bonobo_trash_delete_menu), (reset_bonobo_open_with_menu),
(fm_directory_view_real_merge_menus), (update_one_menu_item),
(fm_directory_view_real_update_menus): Put "Reset Background"
menu item in Settings menu and context menu; keep its
sensitivity synched with background state.
* src/file-manager/fm-icon-view.c:
(fm_icon_view_get_background_widget): New function to let
superclass get at the NautilusBackground.
(fm_icon_view_initialize_class): Wire up new function.
(fm_icon_view_initialize), (create_icon_container): Remove
unused return value for create_icon_container.
* src/file-manager/fm-list-view.c:
(fm_list_view_get_background_widget): New function to let
superclass get at the NautilusBackground.
(fm_list_view_initialize_class): Wire up new function.
(create_list): Remove unused return value.
2000-06-14 Anders Carlsson <andersca@gnu.org>
* libnautilus-extensions/nautilus-background-canvas-group.c
(nautilus_background_canvas_group_draw): Add a check to see if the
NautilusBackground is too complex which means we have do draw if ourselves.
* libnautilus-extensions/nautilus-background.c,
libnautilus-extensions/nautilus-background.h
(nautilus_background_is_too_complex_for_gtk_style): New function.
Checks if a NautilusBackground is too complex to be drawn by GtkStyle, forcing
us to draw it ourselves.
2000-06-13 Seth Nickell <seth@eazel.com>
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_format_uri_for_display):
Fix stupid bug that clipped the inital '/' in many cases
caused by a #define.
* src/nautilus-location-bar.c: (drag_data_received_callback),
(drag_data_get_callback)
Add calls to nautilus_make_uri_from_input rather than reading
the input "raw" out of the location box.
(try_to_expand_path):
Add calls to nautilus_make_uri_from_input and make sure that
selection allignments etc are appropriate between actual uri
being completed and the user's display.
to crash on close.
* src/file-manager/fm-properties-window.c:
(name_field_done_editing): use gtk_editable_get_chars
instead of gtk_entry_get_text, since _get_text returns
the original text and is deprecated. This was being freed
twice.
(name_field_update_to_match_file): Made this function use
the safe call too, which required adding a local variable.
Fixed bug 1212 ("View as" menu doesn't update after user
modifies preferred list from "View as Other" dialog)
* src/nautilus-applicable-views.h: Eliminated
content_identifiers from NautilusNavigationInfo.
* src/nautilus-applicable-views.c: (got_file_info_callback):
Don't bother getting short list here since it's no longer
stored; just get default component.
(nautilus_navigation_info_free): Take out cleanup for
content_identifiers.
* src/nautilus-window.c:
(create_content_view_menu_item): Made this function take
ownership of a parameter instead of copying it, so that
one of the two callers wouldn't have to make extra copies.
Commented this.
(replace_special_current_view_in_content_view_menu):
This was caller #1, now it passes copy as parameter.
(nautilus_window_load_content_view_menu): This was caller
#2. Now it gets preferred list for uri here, instead of
examining NautilusNavigationInfo parameter. Eliminated
that parameter.
(chose_component_callback): Reload the content view menu
after the View as Other dialog closes.
* src/nautilus-window-private.h,
* src/nautilus-window-manage-views.c: Eliminated 2nd parameter
from nautilus_window_load_content_view.
* components/mozilla/nautilus-mozilla-content-view.c:
(mozilla_load_location_callback):
* libnautilus-extensions/Makefile.am:
Update for Darin's latest changes to the nautilus view interface.
* components/help/help-method.c: (help_uri_to_string,
convert_file_to_uri, transform_absolute_file, file_in_info_path):
Complete task 695 (Help component is missing a test for info
pages), also many general style fixes.
* libnautilus-extensions/nautilus-mime-actions.c
(nautilus_mime_get_default_component_for_uri_internal): Complete
task 1145 (Add fallback code to choose one of short list
components)
2000-06-13 Gene Z. Ragan <gzr@eazel.com>
Fixed bug #306, right click menu in zoom control doesn't work.
The menu now works.
* libnautilus/nautilus-view-component.idl:
Added zoom_to_level interface.
* libnautilus/nautilus-zoomable.c:
(impl_Nautilus_Zoomable_zoom_to_level):
(nautilus_zoomable_initialize_class):
Implimentation of zoom_to_level interface
* src/file-manager/fm-directory-view.c:
* src/file-manager/fm-directory-view.h:
(fm_directory_view_initialize_class),
(fm_directory_view_initialize), (zoomable_zoom_to_level_callback),
(fm_directory_view_zoom_to_level):
Added signal handling and callback for new ZOOM_TO_LEVEL signal.
* src/file-manager/fm-icon-view.c:
(fm_icon_view_zoom_to_level),
(fm_icon_view_initialize_class):
ZOOM_TO_LEVEL handling.
* src/file-manager/fm-list-view.c: (fm_list_view_initialize_class),
(fm_list_view_zoom_to_level),
(fm_list_view_restore_default_zoom_level):
ZOOM_TO_LEVEL handling.
* src/nautilus-view-frame.c:
* src/nautilus-view-frame.h:
(nautilus_view_frame_zoom_to_level):
New public function for zoom to level.
* src/nautilus-window.c:
(zoom_to_level_callback):
Yes, a zoom to level callback.
* src/nautilus-zoom-control.c:
* src/nautilus-zoom-control.h:
(nautilus_zoom_control_class_initialize), (zoom_menu_callback),
(create_zoom_menu), (set_zoom_level):
Enabled context zoom menu functionality.
to default). Added "Reset Background" to Settings and
context menu.
* libnautilus-extensions/nautilus-background.h:
* libnautilus-extensions/nautilus-background.c:
(nautilus_background_is_set), (nautilus_background_reset):
New functions for checking whether the background has
been set, and for resetting it to the uncustomized state.
* libnautilus-extensions/nautilus-directory-background.c:
(background_changed_callback), (directory_changed_callback):
Changed default metadata value from white to NULL.
* src/file-manager/fm-directory-view.h,
* src/file-manager/fm-directory-view.c:
(fm_directory_view_initialize_class), (reset_background_callback),
(fm_directory_view_get_background_widget),
(fm_directory_view_get_background), (compute_menu_item_info),
(append_gtk_menu_item_with_view), (append_selection_menu_subtree),
(fm_directory_view_real_create_background_context_menu_items),
(create_open_with_gtk_menu),
(fm_directory_view_real_create_selection_context_menu_items),
(insert_bonobo_menu_item), (insert_bonobo_menu_subtree),
(reset_bonobo_trash_delete_menu), (reset_bonobo_open_with_menu),
(fm_directory_view_real_merge_menus), (update_one_menu_item),
(fm_directory_view_real_update_menus): Put "Reset Background"
menu item in Settings menu and context menu; keep its
sensitivity synched with background state.
* src/file-manager/fm-icon-view.c:
(fm_icon_view_get_background_widget): New function to let
superclass get at the NautilusBackground.
(fm_icon_view_initialize_class): Wire up new function.
(fm_icon_view_initialize), (create_icon_container): Remove
unused return value for create_icon_container.
* src/file-manager/fm-list-view.c:
(fm_list_view_get_background_widget): New function to let
superclass get at the NautilusBackground.
(fm_list_view_initialize_class): Wire up new function.
(create_list): Remove unused return value.
2000-06-13 Gene Z. Ragan <gzr@eazel.com>
Fixed bug #306, right click menu in zoom control doesn't work.
The menu now works.
* libnautilus/nautilus-view-component.idl:
Added zoom_to_level interface.
* libnautilus/nautilus-zoomable.c:
(impl_Nautilus_Zoomable_zoom_to_level):
(nautilus_zoomable_initialize_class):
Implimentation of zoom_to_level interface
* src/file-manager/fm-directory-view.c:
* src/file-manager/fm-directory-view.h:
(fm_directory_view_initialize_class),
(fm_directory_view_initialize), (zoomable_zoom_to_level_callback),
(fm_directory_view_zoom_to_level):
Added signal handling and callback for new ZOOM_TO_LEVEL signal.
* src/file-manager/fm-icon-view.c:
(fm_icon_view_zoom_to_level),
(fm_icon_view_initialize_class):
ZOOM_TO_LEVEL handling.
* src/file-manager/fm-list-view.c: (fm_list_view_initialize_class),
(fm_list_view_zoom_to_level),
(fm_list_view_restore_default_zoom_level):
ZOOM_TO_LEVEL handling.
* src/nautilus-view-frame.c:
* src/nautilus-view-frame.h:
(nautilus_view_frame_zoom_to_level):
New public function for zoom to level.
* src/nautilus-window.c:
(zoom_to_level_callback):
Yes, a zoom to level callback.
* src/nautilus-zoom-control.c:
* src/nautilus-zoom-control.h:
(nautilus_zoom_control_class_initialize), (zoom_menu_callback),
(create_zoom_menu), (set_zoom_level):
Enabled context zoom menu functionality.
* acconfig.h:
* configure.in:
Removed the NAUTILUS_PREFIX that I added. I did it wrong.
* libnautilus-extensions/nautilus-file-utilities.h:
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_pixmap_file):
* components/hardware/nautilus-hardware-view.c:
(setup_overview_form):
* components/services/startup/nautilus-view/nautilus-service-startup-view.c:
(setup_form_title), (setup_signup_form), (setup_config_form):
* libnautilus-extensions/nautilus-icon-canvas-item.c: (map_pixbuf):
* libnautilus-extensions/nautilus-icon-factory.c:
(make_full_icon_path):
* src/nautilus-application.c: (display_caveat):
* src/nautilus-property-browser.c:
(nautilus_property_browser_initialize),
(nautilus_emblem_dialog_new), (make_category_link):
* src/nautilus-zoom-control.c: (nautilus_zoom_control_initialize):
Replaced most uses of gnome_pixmap_file on "nautilus/"
with a call to a new nautilus_pixmap_file in an attempt to
make installations where nautilus has a different prefix
from gnome-libs work. I now think this is a waste of time,
but Mathieu Lacage says this is still an improvement.
* components/help/Makefile.am:
* components/help/hyperbola-filefmt.c: (fmt_map_entry):
Use HYPERBOLA_DATADIR instead of NAUTILUS_PREFIX.
* components/websearch/ntl-web-search.c:
(web_search_populate_engines):
Use WEB_SEARCH_DATADIR instead of NAUTILUS_PREFIX.
* components/mozilla/nautilus-mozilla-content-view.c:
(nautilus_mozilla_content_view_initialize),
(mozilla_content_view_set_busy_cursor),
(mozilla_content_view_request_progress_change),
(mozilla_content_view_clear_busy_cursor),
(mozilla_load_location_callback), (bonobo_mozilla_callback),
(mozilla_merge_bonobo_items_callback),
(mozilla_title_changed_callback),
(mozilla_location_changed_callback), (mozilla_net_status_callback),
(mozilla_link_message_callback), (mozilla_progress_callback),
(mozilla_open_uri_callback):
Took a cut at fixing the Mozilla component for the new API.
Ramiro will have to take care of the rest.
* components/services/install/lib/Makefile.am:
* components/services/time/command-line/Makefile.am:
* components/services/time/nautilus-view/Makefile.am:
* components/services/time/service/Makefile.am:
* components/services/trilobite/libtrilobite/Makefile.am:
* components/services/trilobite/sample/command-line/Makefile.am:
* components/services/trilobite/sample/service/Makefile.am:
* libnautilus/Makefile.am:
Updated all ORBit IDL compiles to use IDL_CFLAGS as suggested
in the form of a patch by Martijn van Beers.
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_get_user_main_directory),
(nautilus_get_pixmap_directory):
* libnautilus-extensions/nautilus-link-set.c:
(get_link_set_document):
* src/Makefile.am:
* src/nautilus-property-browser.c:
(nautilus_property_browser_drag_data_get), (make_drag_image),
(get_xml_path), (make_properties_from_directory):
* src/nautilus-link-set-window.c: (get_link_set_names):
* src/file-manager/Makefile.am:
* src/file-manager/fm-properties-window.c: (get_property_names):
Used NAUTILUS_DATADIR and DATADIR instead of NAUTILUS_PREFIX.
* libnautilus-extensions/nautilus-file-utilities.h:
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_get_uri_from_local_path): Added a new helper function for
use when you have a path and need a URI. This does a better job
than just adding a "file://" on the front.
* libnautilus-extensions/nautilus-gtk-extensions.h:
* libnautilus-extensions/nautilus-gtk-extensions.c:
(get_first_callback), (nautilus_gtk_container_get_first_child):
* src/nautilus-window-toolbars.c: (setup_button):
* src/nautilus-window.c:
(replace_special_current_view_in_content_view_menu):
Implemented the first_child function and used it where appropriate.
* libnautilus-extensions/nautilus-preferences-item.c:
(add_icon_themes): Use nautilus_get_pixmap_directory intead of
misusing gnome_pixmap_file by calling it on a directory name.
* nautilus-installer/src/support.c: (create_pixmap),
(create_image): Added FIXMEs since it isn't clear if this code
will work with a Nautilus prefix that's not the same as the
gnome-libs prefix.
* Makefile.am: Tweaked white space.
* acconfig.h:
* configure.in:
Removed the NAUTILUS_PREFIX that I added. I did it wrong.
* libnautilus-extensions/nautilus-file-utilities.h:
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_pixmap_file):
* components/hardware/nautilus-hardware-view.c:
(setup_overview_form):
* components/services/startup/nautilus-view/nautilus-service-startup-view.c:
(setup_form_title), (setup_signup_form), (setup_config_form):
* libnautilus-extensions/nautilus-icon-canvas-item.c: (map_pixbuf):
* libnautilus-extensions/nautilus-icon-factory.c:
(make_full_icon_path):
* src/nautilus-application.c: (display_caveat):
* src/nautilus-property-browser.c:
(nautilus_property_browser_initialize),
(nautilus_emblem_dialog_new), (make_category_link):
* src/nautilus-zoom-control.c: (nautilus_zoom_control_initialize):
Replaced most uses of gnome_pixmap_file on "nautilus/"
with a call to a new nautilus_pixmap_file in an attempt to
make installations where nautilus has a different prefix
from gnome-libs work. I now think this is a waste of time,
but Mathieu Lacage says this is still an improvement.
* components/help/Makefile.am:
* components/help/hyperbola-filefmt.c: (fmt_map_entry):
Use HYPERBOLA_DATADIR instead of NAUTILUS_PREFIX.
* components/websearch/ntl-web-search.c:
(web_search_populate_engines):
Use WEB_SEARCH_DATADIR instead of NAUTILUS_PREFIX.
* components/mozilla/nautilus-mozilla-content-view.c:
(nautilus_mozilla_content_view_initialize),
(mozilla_content_view_set_busy_cursor),
(mozilla_content_view_request_progress_change),
(mozilla_content_view_clear_busy_cursor),
(mozilla_load_location_callback), (bonobo_mozilla_callback),
(mozilla_merge_bonobo_items_callback),
(mozilla_title_changed_callback),
(mozilla_location_changed_callback), (mozilla_net_status_callback),
(mozilla_link_message_callback), (mozilla_progress_callback),
(mozilla_open_uri_callback):
Took a cut at fixing the Mozilla component for the new API.
Ramiro will have to take care of the rest.
* components/services/install/lib/Makefile.am:
* components/services/time/command-line/Makefile.am:
* components/services/time/nautilus-view/Makefile.am:
* components/services/time/service/Makefile.am:
* components/services/trilobite/libtrilobite/Makefile.am:
* components/services/trilobite/sample/command-line/Makefile.am:
* components/services/trilobite/sample/service/Makefile.am:
* libnautilus/Makefile.am:
Updated all ORBit IDL compiles to use IDL_CFLAGS as suggested
in the form of a patch by Martijn van Beers.
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_get_user_main_directory),
(nautilus_get_pixmap_directory):
* libnautilus-extensions/nautilus-link-set.c:
(get_link_set_document):
* src/Makefile.am:
* src/nautilus-property-browser.c:
(nautilus_property_browser_drag_data_get), (make_drag_image),
(get_xml_path), (make_properties_from_directory):
* src/nautilus-link-set-window.c: (get_link_set_names):
* src/file-manager/Makefile.am:
* src/file-manager/fm-properties-window.c: (get_property_names):
Used NAUTILUS_DATADIR and DATADIR instead of NAUTILUS_PREFIX.
* libnautilus-extensions/nautilus-file-utilities.h:
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_get_uri_from_local_path): Added a new helper function for
use when you have a path and need a URI. This does a better job
than just adding a "file://" on the front.
* libnautilus-extensions/nautilus-gtk-extensions.h:
* libnautilus-extensions/nautilus-gtk-extensions.c:
(get_first_callback), (nautilus_gtk_container_get_first_child):
* src/nautilus-window-toolbars.c: (setup_button):
* src/nautilus-window.c:
(replace_special_current_view_in_content_view_menu):
Implemented the first_child function and used it where appropriate.
* libnautilus-extensions/nautilus-preferences-item.c:
(add_icon_themes): Use nautilus_get_pixmap_directory intead of
misusing gnome_pixmap_file by calling it on a directory name.
* nautilus-installer/src/support.c: (create_pixmap),
(create_image): Added FIXMEs since it isn't clear if this code
will work with a Nautilus prefix that's not the same as the
gnome-libs prefix.
* Makefile.am: Tweaked white space.
dialog with mime-type-configuring capplet.
* libnautilus-extensions/nautilus-program-chooser.c:
(launch_mime_capplet), (run_program_configurator_callback):
Added a button to go to the "File Types and Programs"
capplet from within the "View as Other" dialog (actually
from its sub-dialog).
* acconfig.h:
* configure.in:
Removed the NAUTILUS_PREFIX that I added. I did it wrong.
* libnautilus-extensions/nautilus-file-utilities.h:
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_pixmap_file):
* components/hardware/nautilus-hardware-view.c:
(setup_overview_form):
* components/services/startup/nautilus-view/nautilus-service-startup-view.c:
(setup_form_title), (setup_signup_form), (setup_config_form):
* libnautilus-extensions/nautilus-icon-canvas-item.c: (map_pixbuf):
* libnautilus-extensions/nautilus-icon-factory.c:
(make_full_icon_path):
* src/nautilus-application.c: (display_caveat):
* src/nautilus-property-browser.c:
(nautilus_property_browser_initialize),
(nautilus_emblem_dialog_new), (make_category_link):
* src/nautilus-zoom-control.c: (nautilus_zoom_control_initialize):
Replaced most uses of gnome_pixmap_file on "nautilus/"
with a call to a new nautilus_pixmap_file in an attempt to
make installations where nautilus has a different prefix
from gnome-libs work. I now think this is a waste of time,
but Mathieu Lacage says this is still an improvement.
* components/help/Makefile.am:
* components/help/hyperbola-filefmt.c: (fmt_map_entry):
Use HYPERBOLA_DATADIR instead of NAUTILUS_PREFIX.
* components/websearch/ntl-web-search.c:
(web_search_populate_engines):
Use WEB_SEARCH_DATADIR instead of NAUTILUS_PREFIX.
* components/mozilla/nautilus-mozilla-content-view.c:
(nautilus_mozilla_content_view_initialize),
(mozilla_content_view_set_busy_cursor),
(mozilla_content_view_request_progress_change),
(mozilla_content_view_clear_busy_cursor),
(mozilla_load_location_callback), (bonobo_mozilla_callback),
(mozilla_merge_bonobo_items_callback),
(mozilla_title_changed_callback),
(mozilla_location_changed_callback), (mozilla_net_status_callback),
(mozilla_link_message_callback), (mozilla_progress_callback),
(mozilla_open_uri_callback):
Took a cut at fixing the Mozilla component for the new API.
Ramiro will have to take care of the rest.
* components/services/install/lib/Makefile.am:
* components/services/time/command-line/Makefile.am:
* components/services/time/nautilus-view/Makefile.am:
* components/services/time/service/Makefile.am:
* components/services/trilobite/libtrilobite/Makefile.am:
* components/services/trilobite/sample/command-line/Makefile.am:
* components/services/trilobite/sample/service/Makefile.am:
* libnautilus/Makefile.am:
Updated all ORBit IDL compiles to use IDL_CFLAGS as suggested
in the form of a patch by Martijn van Beers.
* libnautilus-extensions/Makefile.am:
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_get_user_main_directory),
(nautilus_get_pixmap_directory):
* libnautilus-extensions/nautilus-link-set.c:
(get_link_set_document):
* src/Makefile.am:
* src/nautilus-property-browser.c:
(nautilus_property_browser_drag_data_get), (make_drag_image),
(get_xml_path), (make_properties_from_directory):
* src/nautilus-link-set-window.c: (get_link_set_names):
* src/file-manager/Makefile.am:
* src/file-manager/fm-properties-window.c: (get_property_names):
Used NAUTILUS_DATADIR and DATADIR instead of NAUTILUS_PREFIX.
* libnautilus-extensions/nautilus-file-utilities.h:
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_get_uri_from_local_path): Added a new helper function for
use when you have a path and need a URI. This does a better job
than just adding a "file://" on the front.
* libnautilus-extensions/nautilus-gtk-extensions.h:
* libnautilus-extensions/nautilus-gtk-extensions.c:
(get_first_callback), (nautilus_gtk_container_get_first_child):
* src/nautilus-window-toolbars.c: (setup_button):
* src/nautilus-window.c:
(replace_special_current_view_in_content_view_menu):
Implemented the first_child function and used it where appropriate.
* libnautilus-extensions/nautilus-preferences-item.c:
(add_icon_themes): Use nautilus_get_pixmap_directory intead of
misusing gnome_pixmap_file by calling it on a directory name.
* nautilus-installer/src/support.c: (create_pixmap),
(create_image): Added FIXMEs since it isn't clear if this code
will work with a Nautilus prefix that's not the same as the
gnome-libs prefix.
* Makefile.am: Tweaked white space.
2000-06-13 Seth Nickell <seth@eazel.com>
* libnautilus-extensions/nautilus-directory.c:
(nautilus_directory_get):
Minor assertion changes.
* libnautilus-extensions/nautilus-file-utilities.h:
* libnautilus-extensions/nautilus-file-utilities.c:
(nautilus_format_uri_for_display), (nautilus_make_uri_from_input):
Created two functions for preparing data to display to the user
(unescape, filter file://, probably more stuff later), and
dealing with URIs inputed by the user (currently tacks on a
file:// if the "uri" starts with a /)
* src/nautilus-location-bar.c: (editable_activated_callback),
(nautilus_location_bar_set_location):
Changed to use nautilus_format_uri_for_display and
nautilus_make_uri_from_input.
2000-06-13 Gene Z. Ragan <gzr@eazel.com>
Fixed bug #305. CLicking in center of zoom control
does not change zoom level.
Clicking in the center of the zoom control emits a ZOOM_DEFAULT
signal. It is up to each view that connects to this signal
to determine what is the default zoom setting. Right now, all
views are using NAUTILUS_ZOOM_LEVEL_STANDARD. This could be
changed to a zoom level better suited for the view.
* libnautilus/nautilus-view-component.idl:
Added zoom_default interface.
* libnautilus/nautilus-zoomable.c:
* libnautilus/nautilus-zoomable.h:
(impl_Nautilus_Zoomable_zoom_default)
Implimetation function of zoom_default interface
(nautilus_zoomable_initialize_class):
Set up new ZOOM_DEFAULT signal.
* src/file-manager/fm-directory-view.c:
* src/file-manager/fm-directory-view.h:
(fm_directory_view_initialize_class),
(fm_directory_view_initialize), (zoom_out_callback),
(zoom_default_callback), (zoomable_zoom_default_callback),
(fm_directory_view_restore_default_zoom_level):
New functions to enable zoom to default.
* src/file-manager/fm-icon-view.c:
(fm_icon_view_initialize_class):
Override zoom_default method.
(fm_icon_view_restore_default_zoom_level),
New function to enable zoom to default.
* src/file-manager/fm-list-view.c:
(fm_list_view_initialize_class):
Override zoom_default method.
(fm_list_view_restore_default_zoom_level):
New function to enable zoom to default.
* src/file-manager/fm-properties-window.c: (create_basic_page):
* src/nautilus-view-frame.c:
* src/nautilus-view-frame.h:
(nautilus_view_frame_zoom_default):
New signal handling callback
* src/nautilus-window.c:
(zoom_default_callback):
New signal handling callback
* src/nautilus-zoom-control.c:
* src/nautilus-zoom-control.h:
(nautilus_zoom_control_class_initialize),
(nautilus_zoom_control_button_press_event):
Work in progress on bug #971
* src/file-manager/fm-directory-view.c:
(open_one_properties_window),
* libnautilus-extensions/nautilus-undo-signal-handlers.c:
(nautilus_entry_user_changed_callback),
(editable_register_edit_undo),
(restore_editable_from_undo_snapshot_callback):
views to simplify and clarify Nautilus. Later we will be able to
clean up the state machine.
Some "theoretical" stuff may be lost in this process, but we can
easily re-add what we really need. The old stuff had many
unimplemented placeholders and half-baked ideas.
* libnautilus/nautilus-view-component.idl:
* libnautilus/nautilus-view.h:
* libnautilus/nautilus-view.c:
* libnautilus/nautilus-zoomable.c:
(nautilus_zoomable_ensure_zoomable_frame),
(nautilus_zoomable_set_zoom_level):
* src/nautilus-applicable-views.c: (got_file_info_callback),
(got_metadata_callback), (nautilus_navigation_info_new),
(nautilus_navigation_info_free):
* src/nautilus-applicable-views.h:
* src/nautilus-view-frame-bonobo-control.c:
(nautilus_view_frame_activate_uri),
(bonobo_control_try_load_client), (bonobo_control_load_location):
* src/nautilus-view-frame-bonobo-embeddable.c:
(bonobo_subdoc_notify_location_change),
(bonobo_subdoc_try_load_client):
* src/nautilus-view-frame-corba.c:
(impl_Nautilus_ViewFrame__destroy),
(impl_Nautilus_ViewFrame__create),
(impl_Nautilus_ViewFrame_open_location),
(impl_Nautilus_ViewFrame_open_location_in_new_window),
(impl_Nautilus_ViewFrame_report_location_change),
(impl_Nautilus_ViewFrame_report_selection_change),
(impl_Nautilus_ViewFrame_report_status),
(impl_Nautilus_ViewFrame_report_load_underway),
(impl_Nautilus_ViewFrame_report_load_progress),
(impl_Nautilus_ViewFrame_report_load_complete),
(impl_Nautilus_ViewFrame_report_load_failed),
(impl_Nautilus_ViewFrame_set_title):
* src/nautilus-view-frame-nautilus-view.c:
(nautilus_view_try_load_client), (load_location), (stop_loading),
(selection_changed):
* src/nautilus-view-frame-private.h:
* src/nautilus-view-frame.c:
(nautilus_view_frame_initialize_class),
(nautilus_view_frame_destroy_client),
(nautilus_view_frame_handle_client_destroy_2),
(nautilus_view_frame_new), (nautilus_view_frame_load_client),
(nautilus_view_frame_load_location),
(nautilus_view_frame_stop_loading),
(nautilus_view_frame_selection_changed),
(nautilus_view_frame_is_zoomable),
(nautilus_view_frame_open_location),
(nautilus_view_frame_open_location_in_new_window),
(nautilus_view_frame_report_location_change),
(nautilus_view_frame_report_selection_change),
(nautilus_view_frame_report_status),
(nautilus_view_frame_report_load_underway),
(nautilus_view_frame_report_load_progress),
(nautilus_view_frame_report_load_complete),
(nautilus_view_frame_report_load_failed),
(nautilus_view_frame_set_title),
(nautilus_view_frame_zoom_level_changed):
* src/nautilus-view-frame.h:
* src/nautilus-zoomable-frame-corba.c:
(impl_Nautilus_ZoomableFrame__destroy),
(impl_Nautilus_ZoomableFrame__create),
(impl_Nautilus_ZoomableFrame_zoom_level_changed):
Changed the API and added a ton of comments.
* components/hardware/nautilus-hardware-view.c:
(nautilus_hardware_view_initialize),
(hardware_view_load_location_callback):
* components/help/hyperbola-nav-index.c:
(hyperbola_navigation_index_select_row):
* components/help/hyperbola-nav-search.c:
(hyperbola_navigation_search_select_row):
* components/help/hyperbola-nav-tree.c:
(hyperbola_navigation_tree_new),
(hyperbola_navigation_tree_load_location),
(hyperbola_navigation_tree_select_row):
* components/history/nautilus-history-view.c:
(hyperbola_navigation_history_load_location),
(hyperbola_navigation_history_select_row), (make_obj):
* components/html/ntl-web-browser.c: (browser_url_load_done),
(browser_vfs_callback), (browser_goto_url_real),
(browser_goto_url), (browser_select_url), (browser_title_changed),
(browser_notify_location_change):
* components/loser/content/nautilus-content-loser.c:
(nautilus_content_loser_initialize),
(loser_load_location_callback):
* components/loser/sidebar/nautilus-sidebar-loser.c:
(nautilus_sidebar_loser_initialize),
(loser_load_location_callback):
* components/music/nautilus-music-view.c:
(nautilus_music_view_initialize),
(music_view_load_location_callback):
* components/notes/nautilus-notes.c: (notes_load_location),
(make_notes_view):
* components/rpmview/nautilus-rpm-view.c:
(nautilus_rpm_view_initialize), (go_to_button_callback),
(rpm_view_load_location_callback):
* components/sample/nautilus-sample-content-view.c:
(nautilus_sample_content_view_initialize),
(sample_load_location_callback):
* components/services/startup/nautilus-view/nautilus-service-startup-view.c:
(go_to_uri), (nautilus_service_startup_view_initialize),
(service_load_location_callback):
* components/services/time/nautilus-view/trilobite-eazel-time-view.c:
(trilobite_eazel_time_view_initialize), (load_location_callback):
* components/websearch/ntl-web-search.c: (do_search), (make_obj):
* src/file-manager/fm-directory-view.c:
(fm_directory_view_switch_location),
(fm_directory_view_initialize), (display_selection_info),
(fm_directory_view_send_selection_change),
(load_location_callback), (selection_changed_callback),
(stop_loading_callback), (done_loading), (finish_loading_uri):
Switch components to use the new API.
* libnautilus-extensions/nautilus-gtk-extensions.h:
Added a placeholder for a new operation to get the first child of a
container. This will be way more efficient than all the code that
gets a list of all the children and then looks at the first one.
* src/nautilus-application.c: (manufactures), (create_object),
(create_factory), (nautilus_application_initialize_class),
(nautilus_application_initialize), (nautilus_application_new),
(nautilus_application_destroy),
(nautilus_application_check_user_directories),
(nautilus_application_startup),
(nautilus_application_destroy_window), (nautilus_application_quit),
(nautilus_application_create_window):
* src/nautilus-application.h:
* src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
* src/nautilus-desktop-window.h:
* src/nautilus-main.c: (main):
Renamed NautilusApp -> NautilusApplication while changing it around.
* libnautilus-extensions/nautilus-undo-manager.h:
Add a blank line.
* src/nautilus-window-manage-views.h:
* src/nautilus-window-manage-views.c: (compare_strings),
(nautilus_window_report_selection_change): Changed code so that it
won't report the same selection change twice.
(nautilus_window_report_status),
(nautilus_window_report_load_underway),
(nautilus_window_report_load_progress),
(nautilus_window_report_load_complete),
(nautilus_window_report_load_failed), (compute_default_title),
(nautilus_window_set_title), (handle_go_back), (handle_go_forward),
(handle_go_elsewhere), (update_up_button),
(nautilus_window_update_internals), (nautilus_window_update_view),
(nautilus_window_view_destroyed),
(nautilus_window_has_really_changed),
(nautilus_window_load_sidebar_panel), (open_location),
(nautilus_window_open_location),
(nautilus_window_open_location_in_new_window),
(nautilus_window_report_location_change),
(nautilus_window_load_content_view),
(nautilus_window_update_state),
(nautilus_window_end_location_change_callback),
(nautilus_window_begin_location_change): Updated everything for the
new API.
* src/nautilus-window-menus.c: (file_menu_new_window_callback),
(edit_menu_undo_callback), (edit_menu_cut_callback),
(edit_menu_copy_callback), (edit_menu_paste_callback),
(edit_menu_clear_callback), (append_bookmark_to_menu),
(clear_appended_bookmark_items),
(nautilus_window_add_bookmark_for_current_location),
(append_separator), (new_top_level_menu),
(nautilus_window_initialize_menus), (update_user_level_menu_items):
* src/nautilus-window-private.h:
* src/nautilus-window-toolbars.c: (setup_button),
(nautilus_window_initialize_toolbars),
(nautilus_window_toolbar_remove_theme_callback):
* src/nautilus-window.c: (nautilus_window_class_init),
(nautilus_window_goto_uri), (nautilus_window_constructed),
(nautilus_window_set_arg), (nautilus_window_get_arg),
(nautilus_window_destroy), (nautilus_window_switch_views),
(view_menu_choose_view_callback),
(nautilus_window_load_content_view_menu),
(nautilus_window_back_or_forward), (nautilus_window_go_up),
(nautilus_window_allow_back), (nautilus_window_allow_forward),
(nautilus_window_allow_up),
(nautilus_window_open_location_callback),
(nautilus_window_open_location_in_new_window_callback),
(nautilus_window_report_location_change_callback),
(nautilus_window_report_selection_change_callback),
(nautilus_window_report_status_callback),
(nautilus_window_report_load_underway_callback),
(nautilus_window_report_load_progress_callback),
(nautilus_window_report_load_complete_callback),
(nautilus_window_report_load_failed_callback),
(nautilus_window_set_title_callback),
(nautilus_window_connect_view),
(nautilus_window_connect_content_view), (nautilus_window_reload),
(window_update_sidebar_panels_from_preferences):
* src/nautilus-window.h:
Other changes related to the API switchover.
* src/nautilus.oafinfo: Changed the ntl-xx iids to use the work
nautilus instead.
* components/loser/content/nautilus-content-loser.oafinfo,
components/sample/nautilus-sample-content-view.oafinfo: Fix so
these can be put in the short list for a type.
* libnautilus-extensions/nautilus-mime-actions.c
(nautilus_mime_get_short_list_components_for_uri): Fixed wording
of a FIXME.
* src/file-manager/fm-directory-view.c
(notify_selection_change_callback, display_pending_files,
start_renaming_item): Fix bugzilla bug #658 (fix memory management
in display_pending_files) and some related memory leaks.
* components/services/install/command-line/eazel-alt-install.c:
(set_parameters_from_command_line), (main):
* components/services/install/lib/eazel-install-object.c:
(eazel_install_new_with_config),
(eazel_install_fetch_remote_package_list),
(eazel_install_install_packages):
* components/services/install/lib/eazel-install-protocols.c:
(http_fetch_remote_file), (filename_from_url),
(eazel_install_fetch_package), (get_url_for_package),
(get_search_url_for_package):
* components/services/install/lib/eazel-install-rpm-glue.c:
(install_all_packages), (do_rpm_install),
(eazel_install_fetch_rpm_dependencies),
(eazel_install_ensure_deps):
* components/services/install/lib/eazel-install-types.c:
(packagedata_new), (packagedata_new_from_rpm_conflict),
(packagedata_new_from_rpm_conflict_reversed),
(packagedata_new_from_rpm_header), (packagedata_destroy_foreach),
(packagedata_destroy), (rpmfilename_from_packagedata),
(packagedata_hash):
* components/services/install/lib/eazel-install-types.h:
Did most of the work for bug 1300 & 1090. It now uses an
rpmsearch.cgi script on a server to query for packages as
dependency fails occur.
* components/services/install/lib/eazel-install-metadata.c:
(create_default_metadata):
Fixed bug 1310.
* components/services/install/lib/eazel-install-xml-package-list.c:
(generate_xml_package_list):
Fixed bug 1284.
* nautilus-installer/src/callbacks.c: (set_images),
(set_white_stuff):
* nautilus-installer/src/callbacks.h:
* nautilus-installer/src/installer.c: (create_package),
(create_categories), (installer):
* nautilus-installer/src/interface.c: (create_window):
Update to the new apt-get alike stuff in libinstall. Also make
things white to please Arlo.
* components/services/install/lib/Makefile.am:
* components/services/time/command-line/Makefile.am:
* components/services/time/nautilus-view/Makefile.am:
* components/services/time/service/Makefile.am:
* components/services/trilobite/libtrilobite/Makefile.am:
* components/services/trilobite/sample/command-line/Makefile.am:
* components/services/trilobite/sample/service/Makefile.am:
* libnautilus-extensions/Makefile.am:
* nautilus-installer/src/Makefile:
* nautilus.spec.in:
* po/POTFILES.in:
More patchine to make the rpm building succeed. Basically a
removed files that where no longer in existence (POTFILES), and
adding missing .h files to Makefile.am's.
* libnautilus-extensions/nautilus-program-choosing.h,
libnautilus-extensions/nautilus-program-choosing.c:
(nautilus_launch_application): Take a GnomeVFSMimeApplication *
instead of a command string; add gnome-terminal -x
(nautilus_launch_application_from_command): Old version that takes
a command string renamed. Also, uses `system' instead of `execlp',
so command-line arguments in the command string work.
* libnautilus-extensions/nautilus-program-chooser.c
(launch_mime_capplet): Adjusted to conform.
* src/file-manager/fm-directory-view.c
(fm_directory_view_launch_application): Likewise.
* src/nautilus-sidebar.c: (command_button_callback,
nautilus_sidebar_chose_application_callback, add_command_buttons):
Likewise.
* test/test-nautilus-mime-actions.c (print_application): Show the
requires_terminal field for applications.
viewer/application from "View/Open with Other" dialog)
* libnautilus-extensions/nautilus-mime-actions.h,
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_is_default_application_for_uri_user_chosen):
New public function, analogous to the component version
that already existed.
(nautilus_mime_get_default_application_for_uri_internal):
New private function used to implement the public function.
(nautilus_mime_get_default_application_for_uri):
Now calls the _internal version.
(nautilus_mime_is_default_component_for_uri_user_chosen):
Fixed a leak I noticed in here.
(nautilus_mime_set_default_application_for_uri),
(nautilus_mime_set_default_component_for_uri): Set the default
action type if it's unspecified.
* libnautilus-extensions/nautilus-program-chooser.c:
(is_application_default_for_type), (is_component_default_for_type),
(is_application_default_for_uri), (is_component_default_for_uri),
(is_default_for_file_type), (is_default_for_file),
(remove_default_for_type), (remove_default_for_item),
(set_default_for_type), (set_default_for_item): New helper
functions to check and set default program.
(update_selected_item_details),
(run_program_configurator_callback): Modify UI for
"View as" dialog and "Modify <program>" subdialog to include
setting default program for type or file. Various other
tweaks.
* src/nautilus-applicable-views.c:
(got_file_info_callback): Eliminated the logic about preferring
the viewer from the previous location over the default viewer.
Now that the UI lets users easily specify the default viewer
per type and file, preferring the previous viewer over the
user-specified default made no sense.
(check_iid), (set_initial_content_id): Removed these functions.
dialog with mime-type-configuring capplet.
* libnautilus-extensions/nautilus-program-chooser.c:
(launch_mime_capplet), (run_program_configurator_callback):
Added a button to go to the "File Types and Programs"
capplet from within the "View as Other" dialog (actually
from its sub-dialog).
viewer/application from "View/Open with Other" dialog)
* libnautilus-extensions/nautilus-mime-actions.h,
* libnautilus-extensions/nautilus-mime-actions.c:
(nautilus_mime_is_default_application_for_uri_user_chosen):
New public function, analogous to the component version
that already existed.
(nautilus_mime_get_default_application_for_uri_internal):
New private function used to implement the public function.
(nautilus_mime_get_default_application_for_uri):
Now calls the _internal version.
(nautilus_mime_is_default_component_for_uri_user_chosen):
Fixed a leak I noticed in here.
(nautilus_mime_set_default_application_for_uri),
(nautilus_mime_set_default_component_for_uri): Set the default
action type if it's unspecified.
* libnautilus-extensions/nautilus-program-chooser.c:
(is_application_default_for_type), (is_component_default_for_type),
(is_application_default_for_uri), (is_component_default_for_uri),
(is_default_for_file_type), (is_default_for_file),
(remove_default_for_type), (remove_default_for_item),
(set_default_for_type), (set_default_for_item): New helper
functions to check and set default program.
(update_selected_item_details),
(run_program_configurator_callback): Modify UI for
"View as" dialog and "Modify <program>" subdialog to include
setting default program for type or file. Various other
tweaks.
* src/nautilus-applicable-views.c:
(got_file_info_callback): Eliminated the logic about preferring
the viewer from the previous location over the default viewer.
Now that the UI lets users easily specify the default viewer
per type and file, preferring the previous viewer over the
user-specified default made no sense.
(check_iid), (set_initial_content_id): Removed these functions.