1. 24 May, 2000 3 commits
    • Gene Z. Ragan's avatar
      Added call to CORBA_Object_duplicate(). This fixed an explosive bug. · 539ae559
      Gene Z. Ragan authored
      2000-05-23  Gene Z. Ragan  <gzr@eazel.com>
      
      	* libnautilus/nautilus-undo-context.c:
      	(impl_Nautilus_Undo_Context__get_undo_manager):
      	Added call to CORBA_Object_duplicate().  This
      	fixed an explosive bug.
      
      	* libnautilus/nautilus-undo-manager.c:
      	* libnautilus/nautilus-undo-manager.h:
      	(nautilus_undo_manager_stash_global_undo),
      	(nautilus_undo_manager_get_global_undo):
      	New functions to save application global instance of Nautilus_Undo_Manager
      
      	* src/ntl-app.c: (nautilus_app_init):
      	Add call to nautilus_undo_manager_stash_global_undo.
      
      	* src/ntl-view.c:
      	(nautilus_view_frame_load_client):
      	Coonected Nautilus_Undo_Context interface to view frame.
      539ae559
    • Ramiro Estrugo's avatar
      Copy icons from gmc so that icon-association for mime type keys · 584b28c4
      Ramiro Estrugo authored
      work with nautilus.
      584b28c4
    • John Sullivan's avatar
      A few cleanup tweaks inspired by debugging session · e4d87678
      John Sullivan authored
      	with Darin.
      
      	* libnautilus-extensions/nautilus-program-choosing.h,
      	* libnautilus-extensions/nautilus-program-choosing.c:
      	(nautilus_choose_application_for_file): Make callback
      	take a const char * instead of a char *.
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_view_chose_application_callback): take
      	a const char * instead of a char *.
      	* src/ntl-index-panel.c:
      	(nautilus_index_panel_chose_application_callback):
      	take a const char * instead of a char *.
      	(open_with_callback): unref file
      	(add_command_buttons): Use gtk_signal_connect instead of
      	nautilus_gtk_signal_connect_free_data when passing NULL
      	as the data (Doh!).
      e4d87678
  2. 23 May, 2000 18 commits
    • Andy Hertzfeld's avatar
      made emblems draw properly in anti-aliased mode · 04bcb022
      Andy Hertzfeld authored
      
             made emblems draw properly in anti-aliased mode
      04bcb022
    • John Sullivan's avatar
      Some pieces of the application and component-choosing UI. · 08a71e32
      John Sullivan authored
      	They don't do anything useful yet.
      
      	* libnautilus-extensions/nautilus-program-chooser.h,
      	* libnautilus-extensions/nautilus-program-chooser.c:
      	New files with code for creating a program-choosing
      	dialog (which is really degenerate right now).
      
      	* libnautilus-extensions/nautilus-program-choosing.h,
      	* libnautilus-extensions/nautilus-program-choosing.c:
      	New files with functions for choosing a component or other
      	program to display or open a file with. This uses the
      	dialog in nautilus-program-chooser, but callers don't
      	need to know that.
      
      	* libnautilus-extensions/Makefile.am: add these new
      	files to the build.
      
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_view_chose_application_callback),
      	(fm_directory_view_chose_component_callback), (choose_application),
      	(choose_component), (bonobo_menu_other_program_callback),
      	(other_application_callback), (other_viewer_callback):
      	New functions that connect the program-choosing UI to the
      	menu items.
      	(compute_menu_item_info): Stop desensitizing the "Other ..." items.
      	(append_gtk_menu_item): Eliminated this function, made callers use
      	more elaborate append_gtk_menu_item_with_view instead.
      	(fm_directory_view_real_create_background_context_menu_items),
      	(create_open_with_gtk_menu):
      	Updated callers to append_gtk_menu_item.
      	(fm_directory_view_real_create_selection_context_menu_items):
      	Pass view to create_open_with_gtk_menu.
      	(reset_bonobo_open_with_menu): Now takes an FMDirectoryView and
      	uses it as callback data for "Other..." items.
      	(fm_directory_view_real_merge_menus),
      	(fm_directory_view_real_update_menus): Pass view to
      	reset_bonobo_open_with_menu.
      
      	* src/ntl-index-panel.c: (command_button_callback): Renamed from
      	command_button_cb, also broke out application-launching code and
      	moved it to libnautilus-extensions/nautilus-program-choosing.c.
      	(nautilus_index_panel_chose_application_callback),
      	(open_with_callback): New functions, used to wire up functionality
      	of "Open with ..." button.
      	(add_command_buttons): Stop desensitizing "Open with ..." button,
      	and wire it up to do something.
      
      	* src/ntl-window.h: Renamed field "option_cvtype" to "view_as_option_menu".
      	* src/ntl-window.c:
      	(nautilus_window_constructed): Updated to match field name change.
      	(nautilus_window_switch_views): New function, broken out of
      	view_menu_switch_views_callback; switches window to new content view.
      	(view_menu_switch_views_callback): Now calls nautilus_window_switch_views.
      	(synch_view_as_menu): New function, resets displayed name of "View as"
      	menu to match current content view.
      	(chose_component_callback), (view_menu_choose_view_callback): New
      	functions, used to implement "View as ..." menu item.
      	(nautilus_window_load_content_view_menu): Store iid in menu item;
      	call synch_view_as_menu; wire up "View as ..." menu item.
      
      
      	* src/ntl-window-msgs.c: (handle_unreadable_location):
      	Tweaked wording of an error message.
      
      	* src/file-manager/fm-error-reporting.c:
      	(fm_report_error_renaming_file): Tweaked wording of an error message.
      08a71e32
    • Darin Adler's avatar
      Some cleanup of the undo code, including a first cut of the · 9970b3cb
      Darin Adler authored
      	* libnautilus/nautilus-undo-manager.c:
      	(impl_Nautilus_Undo_Manager__append), (nautilus_undo_manager_undo),
      	(nautilus_undo_manager_redo),
      	(nautilus_undo_manager_add_transaction),
      	(nautilus_undo_manager_unregister_object), (destroy),
      	(nautilus_undo_manager_set_queue_depth), (free_undo_manager_list),
      	(prune_undo_manager_list), (nautilus_get_undo_manager),
      	(undo_manager_unref), (undo_manager_ref),
      	(nautilus_attach_undo_manager), (set_up_bonobo_control),
      	(nautilus_undo_set_up_bonobo_control):
      	Some cleanup of the undo code, including a first cut of the
      	set_up_bonobo_control function. Also got rid of all the excess
      	unrefs that we didn't need. I hope this is right now. Also fixed
      	bug where code was trying to bonobo_object_unref a CORBA object
      	directly.
      
      	* libnautilus/nautilus-undo-manager.c:
      	(nautilus_undo_set_up_bonobo_control):
      	* libnautilus/nautilus-undo-manager.h:
      	* libnautilus/nautilus-view-frame.c:
      	(nautilus_view_real_set_bonobo_control):
      	Change from setup to set_up. Setup is a noun, set up a verb phrase.
      
      	* libnautilus/nautilus-undoable.c: (nautilus_undo_register_full),
      	(nautilus_undo): Some minor cleanup and unrefing the transaction
      	after adding it to the undo manager.
      9970b3cb
    • Darin Adler's avatar
      The ViewFrame <-> View renaming. · 8ce35298
      Darin Adler authored
      	We still have to rename the files.
      
      	* RENAMING: Put in explicit cases for file name renaming.
      
      	* src/Makefile.am:
      	* src/nautilus-desktop-window.c:
      	* src/nautilus-desktop-window.h:
      	Added placeholders. I'll be putting code in here soon.
      
      	* src/ntl-app.c: (display_prototype_caveat):
      	Changed to use nautilus_simple_dialog again since otherwise it
      	comes up behind the main window. Perhaps someone will resolve
      	that issue and change it back.
      
      	* libnautilus-extensions/nautilus-gnome-extensions.h:
      	* libnautilus-extensions/nautilus-gnome-extensions.c:
      	(nautilus_warning_dialog), (nautilus_warning_dialog_parented):
      	Added centered version of the warning dialog as well, since
      	Eskil was using gnome_warning_dialog in a case where he really
      	wanted lines wrapped.
      
      	* components/loser/.cvsignore:
      	* components/loser/content/.cvsignore:
      	* components/loser/sidebar/.cvsignore:
      	Ignore some generated files.
      
      	* components/hardware/main.c: (hardware_view_make_object):
      	* components/hardware/nautilus-hardware-view.c:
      	(nautilus_hardware_view_initialize),
      	(nautilus_hardware_view_destroy),
      	(nautilus_hardware_view_get_nautilus_view),
      	(hardware_view_notify_location_change_callback):
      	* components/hardware/nautilus-hardware-view.h:
      	* components/help/hyperbola-nav-index.c:
      	(hyperbola_navigation_index_select_row),
      	(hyperbola_navigation_index_new):
      	* components/help/hyperbola-nav-search.c:
      	(hyperbola_navigation_search_select_row),
      	(hyperbola_navigation_search_new):
      	* components/help/hyperbola-nav-tree.c:
      	(hyperbola_navigation_tree_new),
      	(hyperbola_navigation_tree_notify_location_change),
      	(hyperbola_navigation_tree_select_row):
      	* components/history/ntl-history-view.c:
      	(hyperbola_navigation_history_notify_location_change),
      	(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), (make_obj):
      	* components/loser/content/main.c: (loser_make_object):
      	* components/loser/content/nautilus-content-loser.c:
      	(nautilus_content_loser_initialize),
      	(nautilus_content_loser_destroy),
      	(nautilus_content_loser_get_nautilus_view),
      	(nautilus_content_loser_load_uri),
      	(loser_notify_location_change_callback), (bonobo_loser_callback):
      	* components/loser/content/nautilus-content-loser.h:
      	* components/loser/sidebar/main.c: (loser_make_object):
      	* components/loser/sidebar/nautilus-sidebar-loser.c:
      	(nautilus_sidebar_loser_initialize),
      	(nautilus_sidebar_loser_destroy),
      	(nautilus_sidebar_loser_get_nautilus_view),
      	(loser_notify_location_change_callback):
      	* components/loser/sidebar/nautilus-sidebar-loser.h:
      	* components/music/main.c: (music_view_make_object):
      	* components/music/nautilus-music-view.c:
      	(nautilus_music_view_initialize), (nautilus_music_view_destroy),
      	(nautilus_music_view_get_nautilus_view),
      	(music_view_notify_location_change_callback):
      	* components/music/nautilus-music-view.h:
      	* components/notes/ntl-notes.c: (notes_notify_location_change),
      	(make_notes_view):
      	* components/rpmview/main.c: (rpm_view_make_object):
      	* components/rpmview/nautilus-rpm-view.c:
      	(nautilus_rpm_view_initialize), (nautilus_rpm_view_destroy),
      	(nautilus_rpm_view_get_nautilus_view),
      	(rpm_view_notify_location_change_callback):
      	* components/rpmview/nautilus-rpm-view.h:
      	* components/sample/main.c: (sample_make_object):
      	* components/sample/nautilus-sample-content-view.c:
      	(nautilus_sample_content_view_initialize),
      	(nautilus_sample_content_view_destroy),
      	(nautilus_sample_content_view_get_nautilus_view),
      	(sample_notify_location_change_callback):
      	* components/sample/nautilus-sample-content-view.h:
      	* components/services/startup/nautilus-view/main.c:
      	(services_make_object):
      	* components/services/startup/nautilus-view/nautilus-service-startup-view.c:
      	(go_to_uri), (nautilus_service_startup_view_initialize),
      	(nautilus_service_startup_view_get_nautilus_view),
      	(service_main_notify_location_change_cb):
      	* components/services/startup/nautilus-view/nautilus-service-startup-view.h:
      	* components/websearch/ntl-web-search.c:
      	(web_search_notify_location_change), (do_search), (make_obj):
      	* libnautilus/nautilus-clipboard.c:
      	(nautilus_clipboard_info_set_view),
      	(nautilus_clipboard_info_get_view),
      	(nautilus_clipboard_info_get_bonobo_control):
      	* libnautilus/nautilus-clipboard.h:
      	* src/file-manager/fm-directory-view.c:
      	(bonobo_menu_move_to_trash_callback), (get_bonobo_control),
      	(fm_directory_view_initialize), (display_selection_info),
      	(fm_directory_view_send_selection_change),
      	(notify_location_change_callback),
      	(notify_selection_change_callback),
      	(stop_location_change_callback), (done_loading),
      	(fm_directory_view_get_nautilus_view),
      	(fm_directory_view_activate_file_internal), (finish_loading_uri):
      	* src/file-manager/fm-directory-view.h:
      	Updated for new libnautilus where the NautilusViewFrame
      	classes are now named NautilusView.
      
      	* libnautilus/nautilus-content-view-frame.c:
      	(nautilus_content_view_initialize), (nautilus_content_view_new),
      	(nautilus_content_view_new_from_bonobo_control),
      	(nautilus_content_view_destroy),
      	(nautilus_content_view_initialize_class),
      	(nautilus_content_view_request_title_change):
      	* libnautilus/nautilus-content-view-frame.h:
      	* libnautilus/nautilus-meta-view-frame.c:
      	(nautilus_meta_view_initialize), (nautilus_meta_view_new),
      	(nautilus_meta_view_new_from_bonobo_control),
      	(nautilus_meta_view_destroy),
      	(nautilus_meta_view_initialize_class):
      	* libnautilus/nautilus-meta-view-frame.h:
      	Changed Nautilus*ViewFrame classes to Nautilus*View. This is
      	something we had in RENAMING for some time, and it's consistent
      	with Bonobo's naming of BonoboControl and BonoboControlFrame.
      	Also changed interfaces to use actual BonoboControl * instead of
      	using BonobObject * and query_interface.
      
      	* libnautilus/nautilus-undo-manager.c:
      	(nautilus_undo_setup_bonobo_control):
      	* libnautilus/nautilus-undo-manager.h:
      	Changed the BonoboControl parameter to actually be of type
      	BonoboControl * instead of BonoboObject *.
      
      	* libnautilus/nautilus-view-frame-private.h:
      	* libnautilus/nautilus-view-frame.c:
      	(impl_Nautilus_View_save_state), (impl_Nautilus_View_load_state),
      	(impl_Nautilus_View_notify_location_change),
      	(impl_Nautilus_View_show_properties),
      	(impl_Nautilus_View_notify_selection_change),
      	(impl_Nautilus_View_stop_location_change),
      	(impl_Nautilus_View__destroy), (impl_Nautilus_View__create),
      	(nautilus_view_initialize_class), (nautilus_view_set_arg),
      	(nautilus_view_get_arg), (nautilus_view_initialize),
      	(nautilus_view_new), (nautilus_view_new_from_bonobo_control),
      	(nautilus_view_destroy), (nautilus_view_ensure_view_frame),
      	(nautilus_view_request_location_change),
      	(nautilus_view_request_selection_change),
      	(nautilus_view_request_status_change),
      	(nautilus_view_request_progress_change),
      	(nautilus_view_get_bonobo_control),
      	(nautilus_view_get_main_window),
      	(nautilus_view_real_set_bonobo_control):
      	* libnautilus/nautilus-view-frame.h:
      	* libnautilus/nautilus-zoomable.c:
      	(impl_Nautilus_Zoomable__get_zoom_level),
      	(impl_Nautilus_Zoomable__set_zoom_level),
      	(impl_Nautilus_Zoomable__get_min_zoom_level),
      	(impl_Nautilus_Zoomable__get_max_zoom_level),
      	(impl_Nautilus_Zoomable__get_is_continuous),
      	(impl_Nautilus_Zoomable_zoom_in),
      	(impl_Nautilus_Zoomable_zoom_out),
      	(impl_Nautilus_Zoomable_zoom_to_fit),
      	(impl_Nautilus_Zoomable__destroy),
      	(impl_Nautilus_Zoomable__create), (marshal_NONE__DOUBLE),
      	(nautilus_zoomable_initialize_class), (nautilus_zoomable_set_arg),
      	(nautilus_zoomable_get_arg), (nautilus_zoomable_initialize),
      	(nautilus_zoomable_new),
      	(nautilus_zoomable_new_from_bonobo_control),
      	(nautilus_zoomable_destroy),
      	(nautilus_zoomable_ensure_zoomable_frame),
      	(nautilus_zoomable_set_zoom_level),
      	(nautilus_zoomable_get_bonobo_control),
      	(nautilus_zoomable_real_set_bonobo_control):
      	* libnautilus/nautilus-zoomable.h:
      	* src/nautilus-zoomable-frame-svr.c:
      	(impl_Nautilus_ZoomableFrame__destroy),
      	(impl_Nautilus_ZoomableFrame__create),
      	(impl_Nautilus_ZoomableFrame_notify_zoom_level):
      	* src/ntl-app.c: (impl_Nautilus_Application_create_object),
      	* src/ntl-content-view.c:
      	(impl_Nautilus_ContentViewFrame_request_title_change),
      	(nautilus_content_view_frame_get_type),
      	(nautilus_content_view_frame_class_init),
      	(nautilus_content_view_frame_init),
      	(nautilus_content_view_frame_set_active),
      	(nautilus_content_view_frame_request_title_change):
      	* src/ntl-content-view.h:
      	* src/ntl-index-panel.c: (nautilus_index_panel_add_meta_view),
      	(nautilus_index_panel_remove_meta_view):
      	* src/ntl-index-panel.h:
      	* src/ntl-meta-view.c: (nautilus_meta_view_frame_initialize_class),
      	(nautilus_meta_view_frame_initialize),
      	(nautilus_meta_view_frame_set_label),
      	(nautilus_meta_view_frame_get_label):
      	* src/ntl-meta-view.h:
      	* src/ntl-view-bonobo-control.c: (destroy_bonobo_control_view),
      	(nautilus_view_frame_activate_uri),
      	(bonobo_control_try_load_client),
      	(bonobo_control_notify_location_change):
      	* src/ntl-view-bonobo-subdoc.c: (destroy_bonobo_subdoc_view),
      	(bonobo_subdoc_notify_location_change),
      	(bonobo_subdoc_try_load_client):
      	* src/ntl-view-frame-svr.c: (impl_Nautilus_ViewFrame__destroy),
      	(impl_Nautilus_ViewFrame__create),
      	(impl_Nautilus_ViewFrame_request_location_change),
      	(impl_Nautilus_ViewFrame_request_selection_change),
      	(impl_Nautilus_ViewFrame_request_status_change),
      	(impl_Nautilus_ViewFrame_request_progress_change):
      	* src/ntl-view-nautilus.c: (nautilus_view_try_load_client),
      	(destroy_nautilus_view), (nv_show_properties), (nv_save_state),
      	(nv_load_state), (nv_notify_location_change),
      	(nv_notify_selection_change), (nv_stop_location_change):
      	* src/ntl-view-private.h:
      	* src/ntl-view.c: (nautilus_view_frame_get_type),
      	(nautilus_view_frame_class_init), (nautilus_view_frame_set_arg),
      	(nautilus_view_frame_get_arg), (nautilus_view_frame_init),
      	(nautilus_view_frame_destroy_client),
      	(nautilus_view_frame_destroy), (nautilus_view_frame_constructed),
      	(nautilus_view_frame_construct_arg_set),
      	(nautilus_view_frame_size_request),
      	(nautilus_view_frame_size_allocate),
      	(nautilus_view_frame_handle_client_destroy),
      	(nautilus_view_frame_handle_client_destroy_2),
      	(nautilus_view_frame_load_client),
      	(nautilus_view_frame_notify_location_change),
      	(nautilus_view_frame_notify_selection_change),
      	(nautilus_view_frame_load_state), (nautilus_view_frame_save_state),
      	(nautilus_view_frame_show_properties),
      	(nautilus_view_frame_stop_location_change),
      	(nautilus_view_frame_is_zoomable),
      	(nautilus_view_frame_get_zoom_level),
      	(nautilus_view_frame_set_zoom_level),
      	(nautilus_view_frame_get_min_zoom_level),
      	(nautilus_view_frame_get_max_zoom_level),
      	(nautilus_view_frame_get_is_continuous),
      	(nautilus_view_frame_zoom_in), (nautilus_view_frame_zoom_out),
      	(nautilus_view_frame_zoom_to_fit), (nautilus_view_frame_get_iid),
      	(nautilus_view_frame_get_client_objref),
      	(nautilus_view_frame_get_objref),
      	(nautilus_view_frame_request_location_change),
      	(nautilus_view_frame_request_selection_change),
      	(nautilus_view_frame_request_status_change),
      	(nautilus_view_frame_request_progress_change),
      	(nautilus_view_frame_notify_zoom_level), (check_object),
      	(nautilus_view_frame_set_active_errors):
      	* src/ntl-view.h:
      	* src/ntl-window-msgs.c: (nautilus_window_notify_selection_change),
      	(nautilus_window_request_selection_change),
      	(nautilus_window_request_status_change),
      	(nautilus_window_request_progress_change),
      	(nautilus_window_request_title_change),
      	(nautilus_window_update_internals), (nautilus_window_update_view),
      	(nautilus_window_view_destroyed), (nautilus_window_load_meta_view),
      	(nautilus_window_request_location_change),
      	(nautilus_window_load_content_view),
      	(nautilus_window_update_state), (nautilus_window_set_state_info),
      	(nautilus_window_begin_location_change):
      	* src/ntl-window-msgs.h:
      	* src/ntl-window-private.h:
      	* src/ntl-window.c: (zoom_in_cb), (zoom_out_cb),
      	(nautilus_window_set_arg), (nautilus_window_send_show_properties),
      	(view_menu_switch_views_callback),
      	(nautilus_window_set_content_view),
      	(nautilus_window_add_meta_view),
      	(nautilus_window_remove_meta_view_real),
      	(nautilus_window_remove_meta_view),
      	(nautilus_window_request_location_change_cb),
      	(nautilus_window_request_selection_change_cb),
      	(nautilus_window_request_status_change_cb),
      	(nautilus_window_request_progress_change_cb),
      	(nautilus_window_request_title_change_callback),
      	(nautilus_window_connect_view),
      	(nautilus_window_connect_content_view),
      	(nautilus_window_real_set_content_view):
      	* src/ntl-window.h:
      	Changed Nautilus*View classes to Nautilus*ViewFrame. This is
      	something we had in RENAMING for some time, and it's consistent
      	with Bonobo's naming of BonoboControl and BonoboControlFrame.
      	Also changed interfaces to use actual BonoboControl * instead of
      	using BonoboObject * and query_interface.
      8ce35298
    • Gene Z. Ragan's avatar
      Additonal work on making the undo context CORBA object. · f469d19b
      Gene Z. Ragan authored
      2000-05-23  Gene Z. Ragan  <gzr@eazel.com>
      
      	* libnautilus/nautilus-undo-context.c:
      	* libnautilus/nautilus-undo-context.h:
      	(impl_Nautilus_Undo_Context__get_undo_manager),
      	(nautilus_undo_context_new), (nautilus_undo_context_initialize):
      	Additonal work on making the undo context CORBA object.
      
      	* libnautilus/nautilus-undo-manager.c:
      	* libnautilus/nautilus-undo-manager.h:
      	* libnautilus/nautilus-undo-manager-private.h:
      	(impl_Nautilus_Undo_Manager__undo),
      	(nautilus_undo_manager_initialize),
      	(nautilus_undo_manager_add_transaction),
      	(nautilus_undo_manager_unregister_object),
      	(nautilus_get_undo_manager), (nautilus_attach_undo_manager),
      	Changed APIs to accept and return Nautilus_Undo_Manager CORBA
      	object instead of NautilusUndoManager pointer.
      
      	(nautilus_undo_setup_bonobo_control):
      	Added function stub to be filled later.  This function
      	will attach an undo manager to a bonobo control.
      
      	Removed several functions no longer needed in new design,
      	including nautilus_undo_manager_begin_transaction(),
      	and nautilus_undo_manager_end_transaction().
      
      	* src/nautilus-window-menus.c: (edit_menu_undo_callback),
      	(nautilus_window_initialize_menus), (update_undo_menu_item):
      	Changed to use modified undo API
      
      	* src/ntl-app.c:
      	(nautilus_app_init):
      	Changed to use modified undo API
      
      	* src/ntl-window.c: (nautilus_window_constructed)
      	Changed to use modified undo API
      f469d19b
    • Kjartan Maraas's avatar
      Updated Norwegian translation. · d70944c3
      Kjartan Maraas authored
      2000-05-23  Kjartan Maraas  <kmaraas@online.no>
      
      	* no.po: Updated Norwegian translation.
      d70944c3
    • Andy Hertzfeld's avatar
      made a preference for using the anti-aliased canvas, and hooked it up so · 17955264
      Andy Hertzfeld authored
      
              made a preference for using the anti-aliased canvas, and hooked it
      	up so you can switch on the fly
      17955264
    • Maciej Stachowiak's avatar
      Completed bugzilla task 763, Test component needed for failure · 605184fa
      Maciej Stachowiak authored
      	cases. Two new components called "Content Loser" and "Sidebar
      	Loser" will fail on startup based on environment variables or in
      	response to menu or toolbar items (Darin suggested using silly
      	names, though not these specific ones).
      
      	* components/loser/README: Some docs on making the new components
      	fail.
      
      	* components/loser/content/main.c,
      	components/loser/content/nautilus-content-loser.c,
      	components/loser/content/nautilus-content-loser.h: New content
      	view which fails on demand.
      	* components/loser/content/nautilus-content-loser.oafinfo: oaf
      	activation record for it.
      
      	* components/loser/sidebar/main.c,
      	components/loser/sidebar/nautilus-sidebar-loser.c,
      	components/loser/sidebar/nautilus-sidebar-loser.h: New sidebar
      	panel that fails on demand.
      	* components/loser/sidebar/nautilus-sidebar-loser.oafinfo: oaf
      	activation record for it.
      
      	* components/Makefile.am, components/loser/Makefile.am,
      	components/loser/content/Makefile.am,
      	components/loser/sidebar/Makefile.am, configure.in: Added loser
      	components to build.
      
      	* nautilus-clean.sh: Added loser components to nautilus-clean.sh
      605184fa
    • J Shane Culpepper's avatar
    • Eskil Heyn Olsen's avatar
      Changed to simply use a gnome_warning_dialog instead of a · 731950d1
      Eskil Heyn Olsen authored
      	* src/ntl-app.c (display_prototype_caveat): Changed to simply use
      	a gnome_warning_dialog instead of a nautilus_simple_dialog. We
      	loose the word wrapping though. But now the main window loads
      	while the warning is present, plus it's a real GNOME warning box,
      	so be afraid...
      	(display_prototype_caveat): If NAUTILUS_NO_CAVEAT_DIALOG is set,
      	do not display the caveat warning.
      731950d1
    • Eskil Heyn Olsen's avatar
      Woops... · 3aa2c061
      Eskil Heyn Olsen authored
      3aa2c061
    • Eskil Heyn Olsen's avatar
      Changed to simply use a gnome_warning_dialog instead of a · 8d1a3bb7
      Eskil Heyn Olsen authored
      
      	* src/ntl-app.c (display_prototype_caveat): Changed to simply use
      	a gnome_warning_dialog instead of a nautilus_simple_dialog. We
      	loose the word wrapping though. But now the main window loads
      	while the warning is present, plus it's a real GNOME warning box,
      	so be afraid...
      8d1a3bb7
    • Eskil Heyn Olsen's avatar
      Fixed faulty tags · ad22f07f
      Eskil Heyn Olsen authored
      
      	* components/services/time/service/trilobite-eazel-time-service.oafinfo:
      	* components/services/trilobite/sample/service/trilobite-eazel-sample-service.oafinfo:
      	Fixed faulty tags
      ad22f07f
    • Michael Fleming's avatar
    • Darin Adler's avatar
      Ignore some generated files. · c5b33bb3
      Darin Adler authored
      	* components/services/time/command-line/.cvsignore:
      	Ignore some generated files.
      
      	* components/services/time/service/trilobite-eazel-time-service.oafinfo:
      	Eskil rescued this file from the attic, but he probably won't think
      	that's worth putting into the change log :-)
      c5b33bb3
    • Eskil Heyn Olsen's avatar
      Back from the attic · e87909f8
      Eskil Heyn Olsen authored
      e87909f8
    • Darin Adler's avatar
      Implemented Reload for directory views. · 503b5255
      Darin Adler authored
      	* libnautilus-extensions/nautilus-directory-private.h:
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(nautilus_directory_monitor_add_internal),
      	(dequeue_pending_idle_callback), (cancel_directory_load),
      	(directory_load_done),
      	(nautilus_directory_monitor_remove_internal),
      	(nautilus_directory_call_when_ready_internal),
      	(mark_all_files_unconfirmed), (start_monitoring_file_list),
      	(nautilus_directory_stop_monitoring_file_list),
      	(nautilus_directory_force_reload):
      	* libnautilus-extensions/nautilus-directory.c:
      	(call_files_changed_unref_free_list),
      	(nautilus_directory_notify_files_removed),
      	(nautilus_directory_notify_files_moved),
      	(nautilus_directory_file_monitor_add):
      	* libnautilus-extensions/nautilus-file-private.h:
      	* libnautilus-extensions/nautilus-file.c: (nautilus_file_get),
      	(destroy), (nautilus_file_monitor_remove), (nautilus_file_delete),
      	(nautilus_file_mark_gone), (nautilus_file_changed),
      	(nautilus_file_emit_changed):
      	Added the necessary tweaks to the async. I/O so we can handle
      	a reload, not just the initial load.
      
      	* libnautilus-extensions/nautilus-icon-container.h:
      	* libnautilus-extensions/nautilus-icon-container.c:
      	(nautilus_icon_container_add): Changed API so it will detect if
      	you try to add the same item twice and indicate it with a return
      	value; needed so we can handle reload.
      
      	* libnautilus-extensions/nautilus-list.c: (set_single_click_mode),
      	(update_single_click_mode_from_preferences),
      	(nautilus_list_initialize), (click_policy_changed_callback):
      	Fixed bug where a change in single click mode would chang the
      	appearance of the names in the list, but not cause a redraw when
      	the setting was changed.
      
      	* libnautilus/nautilus-undoable.c:
      	(undo_atom_destroy_callback_data), (undo_atom_destroy),
      	(undo_atom_destroy_callback_data_g_func_cover),
      	(nautilus_undo_register_full):
      	Fixed a bug where it would try to destroy the undo atom even when
      	it didn't own it.
      
      	* libnautilus/nautilus-undoable.h:
      	Got rid of some cruft I left in here by accident.
      
      	* src/file-manager/fm-icon-view.c: (fm_icon_view_add_file):
      	* src/file-manager/fm-list-view.c: (fm_list_view_add_file):
      	Only add the files if they are not already in the list. This is
      	needed for reload.
      
      	* src/ntl-main.c: (main): Tweaked this function to be easier to
      	understand and better organized. Also added a "desktop" option
      	as a start for my next task.
      503b5255
    • Eskil Heyn Olsen's avatar
      Changed for the _uri change. · 31652a34
      Eskil Heyn Olsen authored
      
      	* components/services/trilobite/src/trilobite-service-private.h:
      	* components/services/trilobite/src/trilobite-service-public.h:
      	* components/services/trilobite/src/trilobite-service.c:
      	Changed for the _uri change.
      
      	* components/services/trilobite/sample/service/main.c:
      	* components/services/trilobite/sample/command-line/main.c:
      	Changed for the new OAFID's.
      
      	* components/services/trilobite/idl/trilobite-service.idl:
      	Removed the _uri from get_icon_uri
      
      	* components/services/time/service/trilobite-eazel-time-service.c:
      	Better error handling, eg. for bad urls and whatnot.
      
      	* components/services/time/service/Makefile.am (pixmap_DATA):
      	Installs an icon for the service (now we need an icon, currently
      	uses the gnome-clock icon)
      
      	* components/services/time/idl/trilobite-eazel-time-service.idl:
      	Added two strings to the CannotGetTime exception.
      
      	* components/services/time/command-line/main.c (main):
      	Updated to use the new oafids. Better error handling.
      
      	* components/services/Makefile.am (SUBDIRS):
      	Added the time service
      
      	* components/services/trilobite/sample/service/trilobite-eazel-sample-service.oafinfo:
      	* components/services/time/service/trilobite-eazel-time-service.oafinfo:
      	Added attributes to the oafinfo files. Also gave them some real oafids.
      31652a34
  3. 22 May, 2000 11 commits
  4. 21 May, 2000 8 commits