1. 18 May, 2000 10 commits
    • Kjartan Maraas's avatar
      Updated Norwegian translation. · 4b5995ac
      Kjartan Maraas authored
      2000-05-18  Kjartan Maraas  <kmaraas@online.no>
      
      	* no.po: Updated Norwegian translation.
      4b5995ac
    • John Sullivan's avatar
      Added the ability to switch sort order in Icons view. Note · 0c9e0b5b
      John Sullivan authored
      	that one time while developing this I saw a problem at startup
      	where the icons all danced back and forth a few pixels forever.
      	I can't reproduce this, so I don't think my changes caused it,
      	but be wary of the evil jig-dancing icons.
      
      	* libnautilus-extensions/nautilus-metadata.h:
      	Added #define for icon view sort direction.
      
      	* src/file-manager/fm-icon-view.c:
      	Added sort_reversed to FMIconViewDetails;
      	(update_layout_menus): Set sensitivity of "Ascending"/"Descending"
      	menu items appropriately, and activate the right one.
      	(set_sort_reversed), (get_sort_reversed_from_menu_path),
      	(sort_direction_callback): New functions used for setting
      	the sort direction.
      	(fm_icon_view_begin_loading): Read sort direction from metadata.
      	(fm_icon_view_merge_menus): Add sort-direction menu items to
      	Layout menu.
      	(icon_container_compare_icons_callback): Take sort direction
      	into account.
      0c9e0b5b
    • Andy Hertzfeld's avatar
      added a bitrate column to the music view; partially added play controls · b32e61d2
      Andy Hertzfeld authored
      
             added a bitrate column to the music view;
             partially added play controls but still not finished with that
      b32e61d2
    • Kenneth Christiansen's avatar
      Translations from Keld · 5fda3841
      Kenneth Christiansen authored
      gdict/po/da.po gimp/po/da.po gimp/po-script-fu/da.po
      gnome-core/po/da.po gnome-utils/po/da.po nautilus/po/da.po
      5fda3841
    • Eskil Heyn Olsen's avatar
      00cc07bf
    • Eskil Heyn Olsen's avatar
      Added a bug for the destroyer · aed454a7
      Eskil Heyn Olsen authored
      
      	* components/services/trilobite/sample/service/sample-service-impl.c:
      	Added a bug for the destroyer
      
      	* components/services/trilobite/sample/service/main.c:
      	the trilobite creating now uses gtk_object_new to
      	set the name, version and such.
      
      	* components/services/trilobite/src/trilobite-service-public.h
      	* components/services/trilobite/src/trilobite-service.c:
      	defined a set of set_* methods for the name, version
      	and friends. Also added gtk_arg stuff to trilobite for
      	these fields. The default of these is now NULL. Had to
      	restructure the _initialize call to make gtk_object_new
      	work.
      aed454a7
    • Pavel Cisler's avatar
      Fixed 636 - don't allow copying into Trash. Also added checks for Trashing · 3af2e054
      Pavel Cisler authored
      2000-05-17  Pavel Cisler  <pavel@eazel.com>
      
      	* src/file-manager/dfos-xfer.c: (fs_xfer), (fs_move_to_trash):
      	Fixed 636 -  don't allow copying into Trash. Also added
      	checks for Trashing the Trash, moving or copying the Trash,
      	Trashing the parents of Trash, moving and copying folders in
      	their children.
      
      	* libnautilus-extensions/nautilus-icon-dnd.c:
      	(nautilus_icon_container_selection_items_local):
      	Fix 625: move uri_is_parent into a new call in GnomeVFS and
      	added more features that I needed for the above fix.
      3af2e054
    • Ramiro Estrugo's avatar
      Make the resize function public. · ad80d0da
      Ramiro Estrugo authored
      ad80d0da
    • John Sullivan's avatar
      A little widget-packing tweaking with the command buttons. It's not right · 90f52330
      John Sullivan authored
      	* src/ntl-index-panel.c: (make_button_box),
      	(nautilus_index_panel_initialize), (add_command_buttons):
      	A little widget-packing tweaking with the command buttons.
      	It's not right yet, but I want to check this in so I can
      	work on it later from home.
      90f52330
    • Andy Hertzfeld's avatar
      fixed bug 722 by making the music view use gnome-vfs for all file · ce3e90a6
      Andy Hertzfeld authored
      
             fixed bug 722 by making the music view use gnome-vfs for all
             file operations
      ce3e90a6
  2. 17 May, 2000 19 commits
    • Gene Z. Ragan's avatar
      CVS: · 19159e79
      Gene Z. Ragan authored
      2000-05-17  Gene Z. Ragan  <gzr@eazel.com>
      											      CVS: ----------------------------------------------------------------------
      	First phase of modifying undo code.  These changes				      CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
      	affect the way undo is handled internally to Nautilus and			      CVS:
      	also defines a new IDL.  This is work in progress.				      CVS: Committing in .
      											      CVS:
      	* libnautilus-extensions/nautilus-entry.c:					      CVS: Modified Files:
      	Modified to use gtk_object_get_data() mechanism to locate undo manager		      CVS:    ChangeLog libnautilus/.cvsignore libnautilus/Makefile.am
      											      CVS:    libnautilus/nautilus-undo-manager-private.h
      	* libnautilus-extensions/nautilus-icon-container.c:				      CVS:    libnautilus/nautilus-undo-manager.c
      	(nautilus_icon_container_start_renaming_selected_item): 			      CVS:    libnautilus/nautilus-undo-manager.h
      	Modified to use gtk_object_get_data() mechanism to locate undo manager		      CVS:    libnautilus/nautilus-undo-transaction.h
      											      CVS:    libnautilus/nautilus-undoable.c
      	* libnautilus-extensions/nautilus-icon-text-item.c: (iti_event),		      CVS:    libnautilus/nautilus-undoable.h
      	(restore_from_undo_snapshot_callback):						      CVS:    libnautilus/nautilus-view-component.idl
      	Modified to use gtk_object_get_data() mechanism to locate undo manager		      CVS:    libnautilus-extensions/nautilus-entry.c
      											      CVS:    libnautilus-extensions/nautilus-entry.h
      	* libnautilus/.cvsignore:							      CVS:    libnautilus-extensions/nautilus-icon-container.c
      	Added generated IDL source and header files to ignore				      CVS:    libnautilus-extensions/nautilus-icon-text-item.c
      											      CVS:    src/nautilus-bookmarks-window.c
      	* libnautilus/Makefile.am:							      CVS:    src/nautilus-bookmarks-window.h src/nautilus-location-bar.c
      	Modified makefile to include new IDL file for undo manager			      CVS:    src/nautilus-location-bar.h src/nautilus-window-menus.c
      											      CVS:    src/ntl-app.c src/ntl-window-private.h src/ntl-window.c
      	* libnautilus/nautilus-undo-manager.c:						      CVS:    src/ntl-window.h src/file-manager/fm-properties-window.c
      	(impl_Nautilus_Undo_Manager__destroy),						      CVS: Added Files:
      	(impl_Nautilus_Undo_Manager__create),						      CVS:    libnautilus/nautilus-undo.idl
      	(impl_Nautilus_Undo_Manager__append),						      CVS: Removed Files:
      	(impl_Nautilus_Undo_Manager__forget),						      CVS:    libnautilus/nautilus-undo-manager-component.idl
      	(nautilus_undo_manager_initialize),						      CVS: ----------------------------------------------------------------------
      	(nautilus_undo_manager_initialize_class),
      	(nautilus_undo_manager_begin_transaction),
      	(nautilus_undo_manager_end_transaction),
      	(nautilus_undo_manager_undo), (nautilus_undo_manager_redo),
      	(nautilus_undo_manager_add_transaction),
      	(nautilus_undo_manager_unregister_object),
      	(nautilus_undo_manager_can_undo), (nautilus_undo_manager_can_redo),
      	(get_current_transaction_name),
      	(nautilus_undo_manager_get_current_undo_transaction_name),
      	(nautilus_undo_manager_get_current_redo_transaction_name),
      	(destroy), (nautilus_undo_manager_enable_redo),
      	(nautilus_undo_manager_set_queue_depth),
      	(free_undo_manager_list_data), (prune_undo_manager_list):
      	Changes to support new IDL and new undo manager mechanism.
      
      	* libnautilus/nautilus-undo.idl:
      	New undo manager IDL file
      
      	* libnautilus/nautilus-undo-manager-component.idl:
      	Removed old undo manager IDL file
      
      	* src/file-manager/fm-properties-window.c:
      	(create_basic_page):
      	Modified to use gtk_object_get_data() mechanism to locate undo manager
      
      	* src/nautilus-bookmarks-window.c:
      	(create_bookmarks_window),
      	(on_text_field_focus_in_event),
      	(on_window_delete_event):
      	Modified to use gtk_object_get_data() mechanism to locate undo manager
      
      	* src/nautilus-location-bar.c:
      	(nautilus_location_bar_set_location),
      	(nautilus_location_bar_enable_undo):
      	Modified to use gtk_object_get_data() mechanism to locate undo manager
      
      	* src/nautilus-window-menus.c:
      	(edit_menu_undo_callback),
      	(edit_menu_cut_callback),
      	(bookmarks_menu_edit_bookmarks_callback),
      	(get_bookmarks_window),
      	(nautilus_bookmarks_exiting),
      	(nautilus_window_edit_bookmarks),
      	(nautilus_window_initialize_menus),
      	(update_undo_menu_item):
      	Modified to use gtk_object_get_data() mechanism to locate undo manager
      
      	* src/ntl-app.c:
      	(impl_Nautilus_Application__get_view_windows),
      	(impl_Nautilus_Application_new_view_window),
      	(impl_Nautilus_Application_supports),
      	(impl_Nautilus_Application_create_object),
      	(impl_Nautilus_Application__create), (nautilus_app_get_type),
      	(nautilus_app_class_init), (nautilus_app_init), (nautilus_app_new),
      	(nautilus_app_destroy), (nautilus_app_startup),
      	(nautilus_app_create_window):
      	Modified to use gtk_object_get_data() mechanism to locate undo manager.
      	Added and modified IDL C stubs to match new IDL interface.
      
      	* src/ntl-window.c:
      	(nautilus_window_constructed),
      	(nautilus_window_set_arg):
      	Changed order that arguments are set at time of main window create so the app instance
      	variable is valid when the main window is contructed.
      19159e79
    • J Shane Culpepper's avatar
      Partial fix of bug #814. Broke alot of functions into more maintainable · 0cc8fb0b
      J Shane Culpepper authored
              * components/services/install/command-line/eazel-install.c:
              (show_usage), (generate_new_package_list),
              (create_temporary_directory), (fetch_remote_package_list), (main):
              * components/services/install/lib/eazel-install-metadata.c:
              (create_default_metadata), (create_default_configuration_metafile),
              (xml_doc_sanity_checks), (get_urltype_from_string),
              (get_boolean_value_from_string),
              (init_default_install_configuration),
              (init_default_transfer_configuration):
              * components/services/install/lib/eazel-install-metadata.h:
              * components/services/install/lib/eazel-install-rpm-glue.c:
              (install_new_packages), (uninstall_packages):
              * components/services/install/lib/eazel-install-rpm-glue.h:
              * components/services/install/lib/eazel-install-tests.c:
              * components/services/install/lib/eazel-install-tests.h:
              * components/services/install/lib/eazel-install-types.h:
              * components/services/install/lib/eazel-install-xml-package-list.c:
              (generate_xml_package_list), (parse_pkg_template):
      
              Partial fix of bug #814.  Broke alot of functions into more maintainable        functions.  Fixed bug #730.  Added a --force option to remove hardwired
              rpm filters. Fixed bug #811. Moved metadata home to /var/eazel/services
              until we get the root dependancy fixed.  This will then allow metadata
              to be stored in the user directory. Lots of cosmetic cleanups to make
              the code more readable.
      0cc8fb0b
    • Kjartan Maraas's avatar
      Updated Norwegian translation. · fdb398ce
      Kjartan Maraas authored
      2000-05-17  Kjartan Maraas  <kmaraas@online.no>
      
      	* no.po: Updated Norwegian translation.
      fdb398ce
    • John Sullivan's avatar
      Fixed bug 357 (Text not vertically centered when starting up in List · 6c77cdc3
      John Sullivan authored
      	* src/file-manager/fm-list-view.c: (create_list):
      	Fixed bug 357 (Text not vertically centered when starting
      	up in List View): Wait until after "map" signal before
      	setting row height, to work around bug/design flaw in
      	GtkCList.
      6c77cdc3
    • Darin Adler's avatar
      Added comments. · 170a7b49
      Darin Adler authored
      	* libnautilus-extensions/nautilus-icon-container.h:
      	Added comments.
      
      	* libnautilus-extensions/nautilus-icon-factory.c:
      	(scale_image_and_rectangle): Added a minimum height and width to
      	avoid problems with scaling things down to 0.
      
      	* libnautilus-extensions/nautilus-list.c:
      	(nautilus_list_initialize_class), (insert_row):
      	* src/file-manager/fm-list-view.c: (add_to_list):
      	Moved GtkCList workaround into NautilusList so all clients can get
      	the advantage of it instead of just FMListView. Also eliminated
      	some unneeded empty functions for signals, since NULL works for an
      	empty signal handler.
      170a7b49
    • John Sullivan's avatar
      Started tweaking with the command buttons in the sidebar · 9608c884
      John Sullivan authored
      	as a step towards hooking them into the final MIME API.
      
      	* libnautilus-extensions/nautilus-mime-type.c:
      	Removed verbs from display names, since we don't plan
      	to support arbitrary verbs (i.e., alternate verbs to
      	"Open") at least for this release.
      
      	* src/ntl-index-panel.c: (add_command_buttons): Simplify code
      	a little by using gtk_button_new_with_label; use "Open with"
      	terminology; fix memory leak with command string stored in button.
      	(nautilus_index_panel_update_info): Deleted obsolete comment.
      
      	* src/ntl-window.c: (nautilus_window_load_content_view_menu):
      	Added (currently insensitive) "View as ..." item to menu.
      9608c884
    • Jesus Bravo Alvarez's avatar
      Updated Galician translation · 1423260e
      Jesus Bravo Alvarez authored
      1423260e
    • Valek Frob's avatar
      Updated russian translation and update.sh. · 66c94246
      Valek Frob authored
      66c94246
    • Ramiro Estrugo's avatar
      Add initial support for stopping the loading of a uri in mozilla · f185ecae
      Ramiro Estrugo authored
      in order for nautilus to deal with it.  It works for some
      protocols, like ftp.  Its broken on some more fundamental ones,
      like file://.
      
      Move the uri protocol moz: hack into its own place in order to
      make it easy to fix later once the real problem is fixed.
      
      Add a bunch of paranoid assertions.
      
      Bottleneck location change requests to nautilus through a single
      function.
      f185ecae
    • Eskil Heyn Olsen's avatar
      The sample service is now a Bonobo::Unknown subclass. The factory creates · e7e81042
      Eskil Heyn Olsen authored
      
      	* components/services/trilobite/idl/sample-service.idl:
      	* components/services/trilobite/sample/service/sample-service-public.h:
      	* components/services/trilobite/sample/service/sample-service-impl.c:
      	* components/services/trilobite/sample/service/main.c:
      	The sample service is now a Bonobo::Unknown subclass. The factory
      	creates a trilobite and adds the interface of the sample service.
      
      	* components/services/trilobite/src/libtrilobited.h:
      	* components/services/trilobite/src/trilobite-service.c:
      	* components/services/trilobite/src/trilobite-service-public.h:
      	Mutated the code and especially the object creation/(v)epv binding
      	so calls now correctly end up in the defined methods. This almost
      	completed 851, except that this is only the most basic of the
      	frameworks.
      
      	* components/services/trilobite/sample/command-line/main.c:
      	The sample cli now checks for the interface support, and
      	if a trilobite, dumps the standard info, if a sample service,
      	uses the two sample calls.
      e7e81042
    • Kenneth Christiansen's avatar
      Translations from Keld · 49116ddd
      Kenneth Christiansen authored
      dia/po/da.po evolution/po/da.po gimp/po-plug-ins/da.po
      gimp/po-script-fu/da.po gnome-media/po/da.po nautilus/po/da.po
      49116ddd
    • Andy Hertzfeld's avatar
      fixed bug 723, mp3 time calculation not correct for non-128K bps mp3s, by · e4e22d11
      Andy Hertzfeld authored
      
             fixed bug 723, mp3 time calculation not correct for non-128K bps
             mp3s, by reading the header and fetching the actual bitrate, then
             using it in the time calculation.
      e4e22d11
    • Pavel Cisler's avatar
      Fix 834 - bad keyboard focus behavior. Added a workaround for GtkCList · ec5d168b
      Pavel Cisler authored
      2000-05-16  Pavel Cisler  <pavel@eazel.com>
      
      	* src/file-manager/fm-list-view.c: (add_to_list):
      	Fix 834 - bad keyboard focus behavior. Added a workaround for
      	GtkCList broken behavior that moved the focused item to a pretty much
      	random point when populating the list.
      ec5d168b
    • Pavel Cisler's avatar
      Fixed a crash when using Tab and Shift-Tab in an empty folder, caused by · 9380bb65
      Pavel Cisler authored
      2000-05-16  Pavel Cisler  <pavel@eazel.com>
      
      	* libnautilus-extensions/nautilus-icon-container.c:
      	(select_previous_or_next_name):
      	Fixed a crash when using Tab and Shift-Tab in an empty folder,
      	caused by an uninitialized variable.
      9380bb65
    • Andy Hertzfeld's avatar
      fixed bug #891, clicking on columns in the music view doesn't sort, by · 22849532
      Andy Hertzfeld authored
      
             fixed bug #891, clicking on columns in the music view doesn't sort,
             by adding the appropriate sorting stuff.
      22849532
    • Pavel Cisler's avatar
      Fix a problem in my new typeselect code where it would only work properly · 9995e383
      Pavel Cisler authored
      2000-05-16  Pavel Cisler  <pavel@eazel.com>
      
      	* src/file-manager/fm-list-view.c: (make_sorted_row_array),
      	(select_row_common), (select_matching_name_callback),
      	(create_list):
      	Fix a problem in my new typeselect code where it would only
      	work properly if the list was sorted alphabetically to begin with.
      
      	* libnautilus-extensions/nautilus-list.c:
      	(nautilus_list_key_press):
      	* src/file-manager/fm-list-view.c: (make_sorted_row_array),
      	(select_row_common), (select_matching_name_callback),
      	(select_previous_next_common), (select_previous_name_callback),
      	(select_next_name_callback), (create_list):
      	Added support for Tab and Shift-Tab selecting the alphabetically
      	next and previous files. Reorganized the code a bit to share more
      	with the typeselect calls.
      9995e383
    • Darin Adler's avatar
      Maciej helped me refine the find command so it doesn't go into po or CVS · ee199200
      Darin Adler authored
      	* check-FIXME.pl: Maciej helped me refine the find command so it
      	doesn't go into po or CVS directories and only looks at files.
      
      	* components/music/nautilus-music-view.c:
      	(nautilus_music_view_background_changed): Turned the metadata saving
      	code back on. I think I fixed the problem that made Andy turn it off.
      
      	* libnautilus-extensions/nautilus-directory-metafile.c:
      	(set_metadata_eat_value): Fixed a double-delete problem. Oops.
      	(nautilus_directory_set_metadata): Fixed code that wasn't emitting the
      	metadata_changed signal enough.
      
      	* libnautilus-extensions/nautilus-gdk-extensions.c:
      	(nautilus_fill_rectangle_with_color): Fixed a crash in Gdk. It turns
      	out gdk_rgb needs to be initialized, even though I don't think that
      	was the intent.
      ee199200
    • John Sullivan's avatar
    • John Sullivan's avatar
      Some work getting the menu items for "Open With" in place, · abc4dfdc
      John Sullivan authored
      	and some related cleanup. "Open With" submenus now appear
      	in the File and context menus, but filled with bogus
      	insensitive items.
      
      	* src/file-manager/fm-directory-view.h:
      	Add #defines for bonobo-style menu paths for "Open With"-related
      	items.
      	* src/file-manager/fm-directory-view.c:
      	(compute_menu_item_info): Added new cases.
      	(append_gtk_menu_item_with_view): Renamed from
      	"append_selection_menu_item" because it's now used more
      	generally; checks for view != NULL before using view.
      	(append_gtk_menu_item): New function, calls _with_view
      	with some default values.
      	(append_selection_menu_subtree): New function.
      	(fm_directory_view_real_create_background_context_menu_items):
      	Uses append_gtk_menu_item now instead of duplicating some code/data.
      	(add_open_with_gtk_menu_item), (create_open_with_gtk_menu):
      	New functions, used to create the "Open With" submenu in
      	the context menu.
      	(fm_directory_view_real_create_selection_context_menu_items):
      	Adds "Open With" submenu to context menu.
      	(insert_bonobo_menu_subtree), (add_open_with_bonobo_menu_item),
      	(reset_bonobo_open_with_menu): New functions, used to create
      	the "Open With" submenu in the File menu in the menu bar.
      	(fm_directory_view_real_merge_menus): Adds "Open With" submenu
      	to File menu.
      	(fm_directory_view_real_update_menus): Updates the "Open With"
      	submenu to match selection.
      	(fm_directory_view_get_context_menu_index): Updated to match
      	current reality.
      abc4dfdc
  3. 16 May, 2000 11 commits
    • Andy Hertzfeld's avatar
      improved layout of music view, pinned size of album cover image, and · 84d82faf
      Andy Hertzfeld authored
      
              improved layout of music view, pinned size of album cover image, and
      	temporarily disabled background_changed since it conflicted with new
      	metadata stuff.
      84d82faf
    • Darin Adler's avatar
      Quick cleanup pass on FIXMEs. · 6281f2ee
      Darin Adler authored
      	* check-FIXME.pl: Added the count of FIXMEs with bug numbers
      	as well as the count of FIXMEs without.
      
      	* components/services/trilobite/lib/helixcode-utils.c:
      	(xml_get_value), (prune_xml), (check_for_root_user),
      	(check_for_redhat), (determine_redhat_version),
      	(determine_mandrake_version), (determine_turbolinux_version),
      	(determine_suse_version), (determine_debian_version),
      	(determine_distribution_type), (get_distribution_name):
      	A tiny bit of cleanup on these functions. There was some really
      	bad code in here, including code that compared strings with ==.
      	Also a lot of code that does open and then no close, for no
      	good reason, so I added the close.
      
      	* libnautilus-extensions/nautilus-file.c: (rename_callback),
      	(nautilus_file_get_mapped_uri):
      	* libnautilus-extensions/nautilus-icon-container.c:
      	(nautilus_icon_container_update_icon):
      	* libnautilus-extensions/nautilus-icon-dnd.c:
      	(confirm_switch_to_manual_layout), (nautilus_icon_dnd_begin_drag):
      	* src/file-manager/fm-icon-view.c: (update_layout_menus),
      	(sort_callback), (manual_layout_callback):
      	* src/ntl-view.c: (nautilus_view_destroy_client):
      	Added bug numbers to some FIXMEs.
      6281f2ee
    • Eskil Heyn Olsen's avatar
      Missed an -I for a orbit-idl · 911f8288
      Eskil Heyn Olsen authored
      911f8288
    • Darin Adler's avatar
      Factored out code that's common to failure and success and made it call · f135aead
      Darin Adler authored
      	* libnautilus-extensions/nautilus-directory-async.c:
      	(metafile_read_done), (metafile_read_failed),
      	(metafile_read_complete): Factored out code that's common to failure
      	and success and made it call the new
      	nautilus_directory_metafile_apply_pending_changes function to take
      	care of changes made while reading the metafile.
      
      	* libnautilus-extensions/nautilus-directory-metafile.h:
      	* libnautilus-extensions/nautilus-directory-metafile.c:
      	(get_metadata_list_from_node), (get_file_node),
      	(get_metadata_string_from_metafile),
      	(get_metadata_list_from_metafile),
      	(set_metadata_string_in_metafile), (set_metadata_list_in_metafile),
      	(set_metadata_in_metafile), (get_metadata_string_from_table),
      	(get_metadata_list_from_table), (str_or_null_hash),
      	(str_or_null_equal), (set_metadata_eat_value),
      	(free_file_table_entry), (free_directory_table_entry),
      	(destroy_metadata_changes_hash_table),
      	(nautilus_directory_get_metadata),
      	(nautilus_directory_get_file_metadata),
      	(nautilus_directory_get_metadata_list),
      	(nautilus_directory_get_file_metadata_list),
      	(nautilus_directory_set_metadata),
      	(nautilus_directory_set_file_metadata),
      	(nautilus_directory_set_file_metadata_list),
      	(nautilus_directory_update_file_metadata), (apply_one_change),
      	(apply_file_changes),
      	(nautilus_directory_metafile_apply_pending_changes),
      	(nautilus_directory_get_boolean_metadata),
      	(nautilus_directory_set_boolean_metadata),
      	(nautilus_directory_get_integer_metadata),
      	(nautilus_directory_set_integer_metadata):
      	Redid everything to use two hash tables to hold metadata before the
      	metafile is read in.
      
      	* libnautilus-extensions/nautilus-directory-private.h:
      	Made the "NAME" XML tag be private again. It's now only used inside
      	the nautilus-directory-metafile.c code.
      
      	* libnautilus-extensions/nautilus-file.c:
      	(rename_update_info_and_metafile): Moved the code for this inside the
      	nautilus-directory-metafile.c code.
      
      	* libnautilus-extensions/nautilus-glib-extensions.c:
      	(nautilus_g_ptr_array_sort): Took out a FIXME comment now that my
      	question about the code is answered. We can't use qsort because it
      	does not take a context pointer.
      
      	* libnautilus-extensions/nautilus-string.h: Formatting.
      f135aead
    • Eskil Heyn Olsen's avatar
      components/services/trilobite/src/trilobite-service.c Bonobonizing the · 1b44ea3b
      Eskil Heyn Olsen authored
      
          	* components/services/trilobite/src/trilobite-service-public.h:
      	* components/services/trilobite/src/trilobite-service.c
      	Bonobonizing the trilobite interface (bugzille.eazel.com 899).
      	The service is broken right now.
      
      	* components/services/trilobite/sample/service/sample-service-impl.c
      	The sample service is aslo begin bonobonized, and is also broken.
      
      	* components/services/trilobite/sample/command-line/main.c
      	The sample client is (guess what) also being bonobonized.
      1b44ea3b
    • Eskil Heyn Olsen's avatar
      Bonobonizing the trilobite interface. · 376a8a2f
      Eskil Heyn Olsen authored
      The basic stuff (factory spawning and what not) is up and runing,
      but the returned objects are garbage.
      376a8a2f
    • Jonathan Blandford's avatar
      minor repacking of widgets to allow clist to be the dominant item, get rid · 3d2c0ccd
      Jonathan Blandford authored
      2000-05-16  Jonathan Blandford  <jrb@redhat.com>
      
      	* components/music/nautilus-music-view.c
      	(nautilus_music_view_initialize): minor repacking of widgets to
      	allow clist to be the dominant item, get rid of a gray band around
      	the outside due to the wrong container having it's border_width
      	set.
      3d2c0ccd
    • Martin Baulig's avatar
    • Darin Adler's avatar
      Moved metafile code into its own source file. Also worked on making it all · 42b69946
      Darin Adler authored
      	* libnautilus-extensions/Makefile.am:
      	* libnautilus-extensions/nautilus-directory-metafile.c:
      	(get_metadata_from_node), (get_metadata_list_from_node),
      	(create_metafile_root), (nautilus_directory_get_metadata),
      	(nautilus_directory_get_metadata_list),
      	(nautilus_directory_get_boolean_metadata),
      	(nautilus_directory_set_boolean_metadata),
      	(nautilus_directory_get_integer_metadata),
      	(nautilus_directory_set_integer_metadata),
      	(nautilus_directory_get_file_metadata_node),
      	(nautilus_directory_get_file_metadata),
      	(nautilus_directory_get_file_metadata_list), (real_set_metadata),
      	(real_set_metadata_list), (metadata_key_new),
      	(metadata_key_destroy), (metadata_key_hash),
      	(metadata_key_hash_equal), (metadata_value_new),
      	(metadata_value_new_list), (metadata_value_destroy),
      	(metadata_value_equal), (set_metadata_in_metafile),
      	(set_metadata_eat_parameters),
      	(free_metadata_changes_hash_table_entry),
      	(destroy_metadata_changes_hash_table),
      	(nautilus_directory_metafile_destroy),
      	(nautilus_directory_set_metadata),
      	(nautilus_directory_set_file_metadata),
      	(nautilus_directory_set_file_metadata_list):
      	* libnautilus-extensions/nautilus-directory-metafile.h:
      	* libnautilus-extensions/nautilus-directory-private.h:
      	* libnautilus-extensions/nautilus-directory.c:
      	(nautilus_directory_destroy):
      	* libnautilus-extensions/nautilus-file.c:
      	Moved metafile code into its own source file. Also worked on making
      	it all bottleneck so we can store it before we read in a metafile.
      
      	* src/file-manager/fm-list-view.c: (select_matching_name_callback):
      	* libnautilus-extensions/nautilus-glib-extensions.h:
      	Added nautilus_boolean_bit for use in bit fields where gboolean
      	results in a signed bitfield.
      	* libnautilus-extensions/nautilus-glib-extensions.c:
      	(nautilus_g_list_copy), (nautilus_g_str_list_equal),
      	(nautilus_g_str_list_copy): Added functions for dealing with a
      	list of C strings. Also got rid of const GList *. For GList we
      	don't use const because the functions in <glib.h> don't.
      	(nautilus_g_ptr_array_new_from_list), (nautilus_g_ptr_array_sort),
      	(nautilus_g_ptr_array_search): Renamed the new functions and types
      	to more closely match the standard. For example, the types must
      	have a Nautilus prefix.
      
      	* src/ntl-window.h:
      	* libnautilus-extensions/nautilus-icon-private.h:
      	* libnautilus-extensions/nautilus-icon-container.c:
      	(icon_set_selected), (rubberband_select):
      	Switched to use the nautilus_boolean_bit type.
      
      	* components/html/glibwww-callbacks.c:
      	Moved <config.h> include down to fix some warnings.
      42b69946
    • Kjartan Maraas's avatar
      Shh · c7f20e0e
      Kjartan Maraas authored
      c7f20e0e
    • Pavel Cisler's avatar
      Added keyboard type-ahead selection to the list view. · d9c604f9
      Pavel Cisler authored
      2000-05-16  Pavel Cisler <pavel@eazel.com>
      
      	Added keyboard type-ahead selection to the list view.
      
      	* libnautilus-extensions/nautilus-list.c:
      	(nautilus_list_initialize_class), (select_matching_name),
      	(select_next_name), (select_previous_name):
      	Add new signals to allow hooking in keyboard selection callbacks
      	from fm_list_view.
      
      	* libnautilus-extensions/nautilus-list.c:
      	(nautilus_list_initialize), (nautilus_list_destroy),
      	(nautilus_list_button_press), (nautilus_list_flush_typeselect_state),
      	(nautilus_list_handle_typeahead), (nautilus_list_key_press):
      	Setup/flush the typeselect state properly.
      
      	* libnautilus-extensions/nautilus-list.c:
      	* libnautilus-extensions/nautilus-list.h:
      	(nautilus_list_keyboard_move_to), (nautilus_list_select_row):
      	Add a convenience call to allow selecting an indexed row from
      	fm_list_view.
      
      	* libnautilus-extensions/nautilus-file.c
      	* libnautilus-extensions/nautilus-file.h:
      	(nautilus_file_compare_name):
      	Added a compare function that compares a file's name with a given
      	pattern.
      
      	* libnautilus-extensions/nautilus-glib-extensions.h:
      	* libnautilus-extensions/nautilus-glib-extensions.c
      	(nautilus_g_ptr_array_copy_list), (nautilus_g_ptr_array_sort),
      	(nautilus_g_ptr_array_search):
      	Add utility calls to enhance GPtrArray.
      
      	* libnautilus-extensions/nautilus-glib-extensions.c:
      	(nautilus_get_system_time):
      	Added more comments.
      
      	* src/file-manager/fm-list-view.c:
      	(fm_list_view_initialize_class),
      	(compare_rows_by_name), (match_row_name),
      	(select_matching_name_callback), :
      	Connect to new NautilusList signals. Add calls for sorting and
      	searching a pointer array by NautilusFile name.
      
      	* src/file-manager/fm-list-view.c:
      	(create_list), (add_to_list):
      	Tweak some white space.
      d9c604f9