1. 23 May, 2000 14 commits
    • 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
  2. 22 May, 2000 11 commits
  3. 21 May, 2000 10 commits
  4. 20 May, 2000 5 commits
    • Fatih Demir's avatar
      Updated tr.po. · 98572e01
      Fatih Demir authored
      98572e01
    • Ettore Perazzoli's avatar
      154367ab
    • Andy Hertzfeld's avatar
      we use OAFIIDs as sidebar panel names as a fallback, so I added a little · 56eaca01
      Andy Hertzfeld authored
      
               we use OAFIIDs as sidebar panel names as a fallback, so I added
      	 a little code to clean them up for display.
      56eaca01
    • Andy Hertzfeld's avatar
      made basic playing in the music view work, although there's still a lot of · 049ff8a9
      Andy Hertzfeld authored
      
              made basic playing in the music view work, although there's still
      	a lot of refinement necessary
      049ff8a9
    • Maciej Stachowiak's avatar
      Fix bugzilla tasks #599 (hex number is bad default for meta view · cf21c9ee
      Maciej Stachowiak authored
      	names) and #631 (nead oaf query to determine metaviews).
      
      	* libnautilus-extensions/nautilus-view-identifier.h,
      	libnautilus-extensions/nautilus-view-identifier.c:
      	(nautilus_view_identifier_new, get_lang_list,
      	nautilus_view_identifier_new_from_oaf_server_info,
      	nautilus_view_identifier_free): Moved NautilusViewIdentifier code
      	here from ntl-uri-map.[ch].
      	(nautilus_view_identifier_new_from_content_view),
      	(nautilus_view_identifier_new_from_sidebar_panel),
      	(nautilus_view_identifier_free_callback),
      	(nautilus_view_identifier_free_list): New functions.
      	* libnautilus-extensions/Makefile.am: Add
      	nautilus-view-identifier.[ch] to build.
      	* src/ntl-types.h: Removed typedef for NautilusViewIdentifier.
      
      	* libnautilus-extensions/nautilus-glib-extensions.h:
      	* libnautilus-extensions/nautilus-glib-extensions.c
      	(nautilus_g_list_free_deep_custom): New function, like
      	`nautilus_g_list_free_deep' but lets you pass your own free
      	function.
      	(nautilus_g_list_free_deep): Use `nautilus_g_list_free_deep_custom'
      	(nautilus_g_list_partition): New function to destructively
      	partition a GList into two, depending on whether they satisfy the
      	provided predicate or not.
      	(nautilus_test_predicate), (nautilus_self_check_glib_extensions):
      	Added unit tests for `nautilus_g_list_partition' and for
      	`nautilus_g_list_equal' since the `nautilus_g_list_partition'
      	tests rely on it.
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_directory_notify_files_moved): Use
      	`nautilus_g_list_free_deep_custom'.
      	* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c
      	(nautilus_gdk_pixbuf_list_free): Likewise.
      	* libnautilus-extensions/nautilus-icon-factory.c
      	(nautilus_scalable_icon_list_free): Likewise.
      	* libnautilus-extensions/nautilus-string-list.c
      	(nautilus_string_list_clear): Likewise.
      	* nautilus-widgets/nautilus-preferences.c (pref_hash_node_free,
      	prefs_hash_lookup_with_implicit_registration): Likewise.
      
      	* libnautilus-extensions/nautilus-global-preferences.c,
      	libnautilus-extensions/nautilus-global-preferences.h
      	(global_preferences_create_dialog,
      	nautilus_global_preferences_get_sidebar_panel_view_identifiers,
      	nautilus_global_preferences_get_meta_view_iids,
      	nautilus_preferences_register_meta_view_preferences_for_ui,
      	global_preferences_register_for_ui): Change things around to
      	determine the set of sidebar panel prefs at run time, and to pass
      	around NautilusViewIdentifiers rather than just iid strings so we
      	can use the statically defined name in the oafinfo.
      
      	* src/ntl-uri-map.h, src/ntl-uri-map.c: (set_initial_content_iid,
      	got_file_info_callback, sidebar_panel_preference_is_on,
      	(add_sidebar_panel_identifiers, nautilus_navigation_info_free):
      	Changed things around to better handle sidebar panel (AKA meta
      	view) selection, and pass around both name and iid.
      
      	* src/ntl-window-msgs.c:
      	(nautilus_window_request_selection_change,
      	nautilus_window_has_really_changed,
      	nautilus_window_load_meta_view, nautilus_window_update_state,
      	nautilus_window_set_state_info): Fixed everything to pass around
      	ViewIdentifiers instead of iids for sidebar panels and set the
      	label approrpiately when activating; replaced a whole bunch of
      	GSList usage with GList (we can always optimize this stuff later).
      	* src/ntl-window.h, src/ntl-window.c: (nautilus_window_destroy,
      	nautilus_window_load_content_view_menu,
      	nautilus_window_set_content_view, nautilus_window_add_meta_view,
      	nautilus_window_remove_meta_view_real,
      	nautilus_window_remove_meta_view): Deal with the above changes
      	(mostly GSList -> GList changes).
      
      	* src/ntl-view-bonobo-control.c, src/ntl-view-bonobo-subdoc.c,
      	src/ntl-view-nautilus.c, src/ntl-view-private.h: Remove all
      	get_label related calls since we get that from the oafinfo now.
      	* libnautilus/nautilus-meta-view-frame.h,
      	libnautilus/nautilus-meta-view-frame.c:
      	(nautilus_meta_view_frame_initialize,
      	nautilus_meta_view_frame_new_from_bonobo_control,
      	nautilus_meta_view_frame_destroy): Remove
      	`nautilus_meta_view_frame_set_label' machinery and associated
      	machinery since we now get the label statically from the oafinfo.
      	* components/history/ntl-history-view.c: (make_obj): Don't call
      	`nautilus_meta_view_frame_set_label' any more, the label is now
      	statically determined from the oafinfo file.
      	* components/notes/ntl-notes.c: (make_notes_view): Likewise.
      	* components/websearch/ntl-web-search.c: (make_obj): Likewise.
      	* components/help/hyperbola-nav-index.c: Likewise.
      	(hyperbola_navigation_index_new): Likewise.
      	* components/help/hyperbola-nav-search.c: Likewise.
      	(hyperbola_navigation_search_new): Likewise.
      	* components/help/hyperbola-nav-tree.c: Likewise.
      	(hyperbola_navigation_tree_new): Likewise.
      	* src/ntl-meta-view.h, src/ntl-meta-view.c:
      	(nautilus_meta_view_set_label),
      	(nautilus_meta_view_get_label): Have an explicit value to set,
      	rather than trying to get it through CORBA. This is kind of a
      	hack, really we should pass around a label and a NautilusMetaView
      	separately and remove this stuff.
      	* components/help/hyperbola.oafinfo,
      	components/notes/ntl-notes.oafinfo,
      	components/websearch/ntl-web-search.oafinfo,
      	components/history/ntl-history-view.oafinfo: Updated to include
      	latest Nautilus attributes.
      cf21c9ee