1. 10 Mar, 2000 10 commits
  2. 09 Mar, 2000 11 commits
    • Darin Adler's avatar
      Andy's check-in yesterday accidentally rolled out some changes to this · bcf419e8
      Darin Adler authored
      	* nautilus-icons-view-icon-item.c (emblem_layout_next,
      	nautilus_icons_view_icon_item_bounds):
      	Andy's check-in yesterday accidentally rolled out some changes
      	to this file. The changes include the typos that John and I had
      	fixed in emblem_layout_next and nautilus_icons_view_icon_item_bounds.
      
      	* nautilus-icons-view-icon-item.c:
      	As Andy was about to do anyway, I tightened up the emblem
      	positioning so they are closer to each other by changing the
      	hard-coded constant EMBLEM_SPACING.
      bcf419e8
    • Darin Adler's avatar
      Fixed a typo. · 56e4dd88
      Darin Adler authored
      56e4dd88
    • Darin Adler's avatar
      Fixed bugs relating to multiple directory and file objects for the same · 8656eb9d
      Darin Adler authored
      	* libnautilus/nautilus-directory-private.h,
      	libnautilus/nautilus-directory.c, libnautilus/nautilus-file.c
      	(nautilus_directory_find_file, compare_file_with_name,
      	nautilus_directory_get, nautilus_file_get): Fixed bugs relating to
      	multiple directory and file objects for the same entity. Stripped
      	trailing '/' characters in nautilus_directory_get and changed
      	nautilus_file_get to return already-existing files instead of
      	always creating new ones. Added self-checks to make sure this
      	works.
      
      	* libnautilus/nautilus-directory.c
      	(nautilus_directory_try_to_read_metafile): Fixed bug where
      	metafile reading would fail. The gnome-xml parser requires a null
      	character at the end of the file, even though the size is passed
      	in!
      
      	* libnautilus/nautilus-directory.c
      	(nautilus_directory_remove_write_metafile_idle,
      	nautilus_directory_finalize,
      	nautilus_directory_try_to_write_metafile,
      	nautilus_directory_request_write_metafile, ): Changed metafile
      	writing so it always happens at idle time.
      
      	* libnautilus/nautilus-directory.c
      	(nautilus_directory_try_to_read_metafile): Fixed bug where
      	metafile reading would fail. The gnome-xml parser requires a null
      	character at the end of the file, even though the size is passed
      	in!
      
      	* libnautilus/nautilus-lib-self-check-functions.h: Changed order
      	so lower-level tests come before higher-level ones.
      
      	* libnautilus/nautilus-string.h, libnautilus/nautilus-string.c:
      	Renamed functions:
      		nautilus_has_prefix -> nautilus_str_has_prefix
      		nautilus_strdup_prefix -> nautilus_str_get_prefix
      		nautilus_has_suffix -> nautilus_str_has_suffix
      		nautilus_strstrip -> nautilus_str_strip_chr
      		nautilus_string_to_int -> nautilus_str_to_int
      		nautilus_eat_string_to_int -> nautilus_eat_str_to_int
      	Changed nautilus_str_strip_chr not to modify in place.
      	Added nautilus_str_strip_trailing_chr.
      
      	* components/music/nautilus-music-view.c (is_mp3_file,
      	nautilus_music_view_update_from_uri),
      	libnautilus/nautilus-icon-factory.c
      	(nautilus_icon_factory_get_icon_for_file, make_thumbnail_path,
      	load_specific_image), libnautilus/nautilus-icons-view-icon-item.c
      	(draw_mini_text), src/ntl-index-panel.c (command_button_cb,
      	add_command_buttons), src/ntl-window-msgs.c
      	(nautilus_window_change_location_2),
      	src/file-manager-fm-directory-view-icons.c
      	(fm_directory_view_icons_compute_menu_item_info),
      	src/file-manager/fm-directory-view.c (compute_menu_item_info),
      	src/file-manager/fm-icons-controller.c
      	(fm_icons_controller_get_icon_property): Switched callers to use
      	new names for string calls.
      
      	* libnautilus/gnome-icon-container.c (destroy): Reformatting.
      
      	* components/help/converters/gnome-info2html2/main.c (main):
      	Fixed a warning.
      8656eb9d
    • John Sullivan's avatar
      Changed decision of when to draw mini-text on an icon to · cb99884c
      John Sullivan authored
              be based on icon size rather than zoom level, so it works
              more sensibly with stretched icons.
      cb99884c
    • John Sullivan's avatar
      A few bug fixes and memory leak fixes. · a589b69a
      John Sullivan authored
      a589b69a
    • Jonathan Blandford's avatar
      Add a urn field to GnomeVFSToplevelURI. This will let us add VFS modules · 1e1e9540
      Jonathan Blandford authored
      2000-03-09  Jonathan Blandford  <jrb@redhat.com>
      
      	* libgnomevfs/gnome-vfs-types.h: Add a urn field to
      	GnomeVFSToplevelURI.  This will let us add VFS modules that simply
      	change a totally virtual name to a actual URL.
      
      	* modules/help-method.c: New module to allow for "help:*" URL's.
      	* modules/help-method.h:
      
      	* modules/Makefile.am: added help module.
      
      	* libgnomevfs/gnome-vfs-method.c (gnome_vfs_transform_get): Allow
      	Transformations.  Clean up the code a little.
      
      	* libgnomevfs/gnome-vfs-uri.c (gnome_vfs_uri_new): changed to
      	allow for translations.  Also, code cleaned up a lot.
      1e1e9540
    • Elliot Lee's avatar
      Install libnautilus.h Handle mapping of special schemes (i.e. unknown to · f86e85ad
      Elliot Lee authored
      
      
      * libnautilus/Makefile.am: Install libnautilus.h
      * src/ntl-uri-map.c: Handle mapping of special schemes
      (i.e. unknown to gnome-vfs). Currently just 'irc'.
      f86e85ad
    • John Sullivan's avatar
    • Andy Hertzfeld's avatar
      drag for relatively small icons due to performance limitations · d015748e
      Andy Hertzfeld authored
      
      	drag for relatively small icons due to performance limitations
      d015748e
    • Darin Adler's avatar
      You can now use Set Properties to attach keywords to a file, · 13f23bd3
      Darin Adler authored
      	which will cause it to have emblems attached to its icon.
      
      	* libnautilus/gnome-icon-container.h,
      	libnautilus/gnome-icon-container.c (gnome_icon_container_update,
      	gnome_icon_container_update_icon),
      	libnautilus/nautilus-directory-private.h,
      	libnautilus/nautilus-directory.c
      	(nautilus_directory_files_changed), libnautilus/nautilus-file.h,
      	libnautilus/nautilus-file.c (nautilus_file_changed),
      	src/file-manager/fm-directory-view.h,
      	src/file-manager/fm-directory-view.c,
      	src/file-manager/fm-directory-view-icons.c,
      	src/file-manager/fm-directory-view-list.c,: Add files_changed
      	machinery in so views will notice changes to a NautilusFile.
      
      	* libnautilus/nautilus-icon-factory.h,
      	libnautilus/nautilus-icon-factory.c
      	(nautilus_icon_factory_get_thumbnail_uri,
      	nautilus_icon_factor_get_icon_for_file, check_for_thumbnails),
      	libnautilus/nautilus-icons-controller.h,
      	libnautilus/nautilus-icons-controller.c,
      	(nautilus_icons_controller_update_icon),
      	src/file-manager/fm-icons-controller.c
      	(fm_icons_controller_update_icon): Use the files_changed machinery
      	instead of a special case in the icon controller to tell the view
      	about a new thumbnail.
      
      	* libnautilus/nautilus-icons-view-icon-item.c
      	(emblem_layout_next): Fixed typo that caused emblems to go down
      	one side of the icon instead of going around.
      
      	* libnautilus/nautilus-directory-private.h,
      	libnautilus/nautilus-directory.c
      	(nautilus_directory_get_file_metadata_node,
      	nautilus_directory_request_write_metafile),
      	libnautilus/nautilus-file.c (nautilus_file_set_keywords):
      	Implemented the set_keywords operation so we can change the
      	keywords for a file.
      
      	* src/file-manager/fm-icon-text-window.c
      	(create_icon_text_window): Fixed a prototype.
      
      	* src/file-manager/fm-properties-window.c (property_button_update,
      	property_button_toggled, create_properties_window,
      	fm_properties_window_get_or_create): Implement a first cut at a
      	properties window.
      13f23bd3
    • John Sullivan's avatar
      Fixed icon bounds bug, and hid keyboard-selection rectangle unless it diverges · 98a347d9
      John Sullivan authored
      from regular selection.
      98a347d9
  3. 08 Mar, 2000 8 commits
    • Darin Adler's avatar
      Broke the file part of nautilus-directory.[ch] into nautilus-file.[ch]. · 6ba4e1e5
      Darin Adler authored
      	* components/music/nautilus-music-view.c,
      	components/notes/ntl-notes.c, libnautilus/Makefile.am,
      	libnautilus/nautilus-directory-private.h,
      	libnautilus/nautilus-directory.h,
      	libnautilus/nautilus-directory.c,
      	libnautilus/nautilus-file-private.h, libnautilus/nautilus-file.h,
      	libnautilus/nautilus-file.c, libnautilus/nautilus-icon-factory.h,
      	src/ntl-index-panel.c, src/file-manager/fm-directory-view.h:
      	Broke the file part of nautilus-directory.[ch] into
      	nautilus-file.[ch].
      
      	* libnautilus/nautilus-string.c (nautilus_strstrip): Added more
      	tests. Changed algorithm on strstrip so it's linear instead of
      	n^2.
      
      	* libnautilus/gnome-icon-container.c
      	(gnome_icon_container_initialize): Fixed font for "larger" zoom
      	level. Also made it assert if the font can't be loaded.
      
      	* components/help/hyperbola-nav-index.c (despace):
      	Fixed warning.
      
      	* libnautilus/gnome-icon-container-dnd.c,
      	libnautilus/nautilus-string.h: Whitespace.
      
      	* src/file-manager/Makefile.am,
      	src/file-manager/fm-directory-view.c,
      	src/file-manager/fm-properties-window.h,
      	src/file-manager/fm-properties-window.c: Added properties window
      	hook, but no window yet. The menu item still needs to be added to
      	the main menus as well as the context menus.
      
      	* src/file-manager/fm-directory-view.c,
      	src/file-manager/fm-directory-view-icons.c,
      	src/file-manager/fm-icon-text-window.h,
      	src/file-manager/fm-icon-text-window.c: A little cleanup. Shorter
      	names.
      6ba4e1e5
    • Ramiro Estrugo's avatar
      Make the radio group emit proper signals on changes. · 886358c4
      Ramiro Estrugo authored
      Make everything prettier by using nice offsets.
      886358c4
    • Ramiro Estrugo's avatar
      Have the radio group emit proper signals on changes. · a0d10dce
      Ramiro Estrugo authored
      Make everything prettier by using nice offset.
      a0d10dce
    • Ramiro Estrugo's avatar
    • Ramiro Estrugo's avatar
      2c00fcf6
    • Ramiro Estrugo's avatar
    • Darin Adler's avatar
      Reimplemented the delete command to use NautilusFile instead of · f026b4a2
      Darin Adler authored
      	going directly to the file system.
      
      	* libnautilus/gnome-icon-container.h,
      	libnautilus/gnome-icon-container.c
      	(gnome_icon_container_clear_selected_items),
      	(gnome_icon_container_remove): Got rid of the call that removes
      	all the icons in the selection and replaced it with a call that
      	removes a specific icon.
      
      	* libnautilus/nautilus-directory.h,
      	libnautilus/nautilus-directory.c
      	(nautilus_directory_initialize_class), (nautilus_file_unref),
      	(nautilus_file_detach), (nautilus_file_free),
      	(nautilus_file_delete), (nautilus_file_is_gone): Implemented a
      	call to delete a file and emit the files_removed signal as needed.
      
      	* src/file-manager/fm-directory-view.h,
      	src/file-manager/fm-directory-view.c
      	(fm_directory_view_delete_selection),
      	(fm_directory_view_begin_adding_entries),
      	(fm_directory_view_add_entry),
      	(fm_directory_view_done_adding_entries), (display_pending_files),
      	(add_or_remove_files), (add_files_cb), (remove_files_cb),
      	(delete_one): Changed the delete implementation to call
      	nautilus_file_delete and got rid of the explicit call to
      	delete_selection. The views now will remove their entries in
      	response to the change in the model.
      
      	* src/file-manager/fm-directory-view-icons.c
      	(fm_directory_view_icons_remove_entry),
      	(fm_directory_view_icons_delete_selection),
      	src/file-manager/fm-directory-view-list.c
      	(fm_directory_view_list_remove_entry),
      	(fm_directory_view_list_delete_selection): Eliminated the
      	delete_selection function in favor of the remove_entry function.
      f026b4a2
    • Andy Hertzfeld's avatar
      implemented semi-transparent dragging by writing a make_semi_transparent · 6c09e03e
      Andy Hertzfeld authored
      
              implemented semi-transparent dragging by writing a make_semi_transparent
      	routine that "checkerboards" the alpha channel.  Also, switched to
      	a sans-serif font for the text beneath icons.
      6c09e03e
  4. 07 Mar, 2000 11 commits
    • Maciej Stachowiak's avatar
      Use eog-image-viewer, not embeddable:image-generic for viewing images. · b2bb549d
      Maciej Stachowiak authored
      	* src/ntl-uri-map.c (my_notify_when_ready): Use eog-image-viewer,
      	not embeddable:image-generic for viewing images.
      b2bb549d
    • John Sullivan's avatar
      dada4c06
    • John Sullivan's avatar
    • Maciej Stachowiak's avatar
      082151a4
    • Maciej Stachowiak's avatar
      251e8c71
    • Darin Adler's avatar
      Fixed a typo that was causing the text area to not be included in the · 96954f0b
      Darin Adler authored
      	* nautilus-icons-view-icon-item.c (nautilus_icons_view_icon_item_bounds):
      	Fixed a typo that was causing the text area to not be included in the
      	bounds of an icon item.
      96954f0b
    • Darin Adler's avatar
      Added nautilus_file_get_keywords, which returns a GList of keywords. · 8a960c5e
      Darin Adler authored
      	* libnautilus/nautilus-directory.h,
      	libnautilus/nautilus-directory.c (get_file_metadata_node),
      	(nautilus_directory_get_file_metadata),
      	(nautilus_file_get_keywords): Added nautilus_file_get_keywords,
      	which returns a GList of keywords.
      
      	* libnautilus/nautilus-icon-factory.c (add_size_to_image_name),
      	(get_themed_icon_file_path), (get_icon_file_path), (add_emblem),
      	(nautilus_icon_factory_get_emblem_icons_for_file): Changed icon
      	names to not include the extension and wired some extensions into
      	the icon-reading code. The old code wired the entire file name, so
      	this is a bit more flexible. Added code to return an emblem for
      	each keyword attached to a file as well as the symbolic link emblem.
      
      	* libnautilus/gnome-icon-container.c (update_icon): Handle NULL
      	pixbufs for emblems. This happens when a keyword is specified that
      	doesn't have a corresponding emblem icon.  Add g_list_reverse call
      	to keep emblems in the correct order.
      
      	* src/file-manager/fm-directory-view-icons.c
      	(fm_directory_view_icons_merge_menus): Took out g_message left
      	over from Bonobo menu merge work.
      
      	* libnautilus/nautilus-glib-extensions.h,
      	libnautilus/nautilus-glib-extensions.c
      	(nautilus_g_list_free_deep): Added convenience function for
      	getting rid of a GList of things that can be freed with g_free.
      
      	* icons/Makefile.am, icons/certified.gif, icons/changed.gif,
      	icons/confidential.gif, icons/emblem-certified.gif,
      	icons/emblem-changed.gif, icons/emblem-confidential.gif,
      	icons/emblem-encrypted.gif, icons/emblem-important.gif,
      	icons/emblem-new.gif, icons/emblem-personal.gif,
      	icons/emblem-remote.gif, icons/emblem-symbolic-link.png,
      	icons/encrypted.gif, icons/i-symlink.png, icons/important.gif,
      	icons/new.gif, icons/personal.gif, icons/remote.gif:
      	Changed all emblem icons to have names that start with "emblem-".
      8a960c5e
    • Maciej Stachowiak's avatar
      Change a few things in the code so that embeddables get activated · 3bd36fd6
      Maciej Stachowiak authored
      	* src/ntl-view-bonobo-subdoc.c (bonobo_subdoc_try_load_client):
      	Change a few things in the code so that embeddables get activated
      	properly; this makes scrolling and editing work in
      	bonobo-text-plain for instance.
      
      	* src/ntl-content-view.c, src/ntl-content-view.h
      	(nautilus_content_view_set_active): Neew function; intended to be
      	called when a content view becomes active, which should activate
      	the controls and merge its menu and toolbar items.
      	* ntl-window.c (nautilus_window_real_set_content_view): Call
      	`nautilus_content_view_set_active' on the new content view.
      3bd36fd6
    • Andy Hertzfeld's avatar
      added 8 images for use as emblems · 740fa000
      Andy Hertzfeld authored
      
              added 8 images for use as emblems
      740fa000
    • Maciej Stachowiak's avatar
      Explicitly change `window->cv_progress_done' and · 27be8ae9
      Maciej Stachowiak authored
      	* src/ntl-window-msgs.c (nautilus_window_load_content_view):
      	Explicitly change `window->cv_progress_done' and
      	`window->cv_progress_error' to FALSE when loading a new content
      	view, to avoid being screwed up by extra done or error
      	notifications from the last content view. This is really just
      	putting more spit and bubble gum on the pile though.
      27be8ae9
    • Andy Hertzfeld's avatar
      made the icon displayed in the index panel be constrained to fit there by · 2e7b2817
      Andy Hertzfeld authored
      
      	made the icon displayed in the index panel be constrained to fit there
      	by scaling it down proportionally as necessary
      2e7b2817