Commit graph

59 commits

Author SHA1 Message Date
Andy Hertzfeld 7c7c5b51fa fixed bug 3169, emblems should come last in property browser, by changing
fixed bug 3169, emblems should come last in property browser,
	by changing the order in the xml definition file.
2000-09-21 08:18:38 +00:00
John Sullivan 325450ebda Fixed bug 2875 (update set of built-in bookmarks)
* data/static_bookmarks.xml:

	Fixed bug 2872 (Complaint about bookmark location mismatch
	when visiting new folder)

	* libnautilus-extensions/nautilus-file-utilities.h:
	* libnautilus-extensions/nautilus-file-utilities.c:
	(nautilus_uris_match): New function, compares two uris
	after canonicalizing each.

	* src/nautilus-window-manage-views.c:
	(check_last_bookmark_location_matches_window):
	Use nautilus_uris_match to compare bookmark's uri with
	window's uri.
2000-09-07 21:57:42 +00:00
Ramiro Estrugo 4bac44af5f Work on task 1588.
* configure.in:
	* data/Makefile.am:
	* data/fonts/.cvsignore:
	* data/fonts/Makefile.am:
	* data/fonts/urw/.cvsignore:
	* data/fonts/urw/Makefile.am:
	* data/fonts/urw/README:
	* data/fonts/urw/fonts.dir:
	Add a fallback font in case no Type1 fonts are found in the
	system.  This font was plucked from the ghostscript-fonts-5.10a
	package. See data/fonts/urw/README for more info.
2000-09-05 04:04:00 +00:00
Arlo Rose e7beb337f1 Fixed all outstanding cHRM white point problems.
Fixed all outstanding cHRM white point problems.

        * data/emblems/OK.png
        * data/emblems/draft.png
        * data/emblems/erase.png
        * data/emblems/favorite.png
        * data/emblems/important.png
        * data/emblems/new.png
        * data/emblems/ohno.png
        * data/emblems/personal.png
        * data/emblems/urgent.png
        * icons/backgrounds.png
        * icons/colors.png
        * icons/emblems.png
        * icons/knob.png
        * icons/nautilus-logo.png
        * icons/search.png
        * icons/eazel/i-directory-aa.png
        * icons/eazel/i-directory-accept-72.png
2000-08-30 00:43:17 +00:00
Andy Hertzfeld bdb1a8e742 implemented task 2078, we need a better drag and drop based way to delete
implemented task 2078, we need a better drag and drop based way
	to delete emblems, by adding a special "erase" emblem and adding
	code to special-case it to delete the emblems.
2000-08-17 23:22:48 +00:00
Andy Hertzfeld fa39263c90 added a separate theme selection window and removed theme selection from
added a separate theme selection window and removed theme
	selection from the property browser
2000-08-14 04:17:20 +00:00
Andy Hertzfeld 38a07aeed0 added a new set of built-in bookmarks from Brian Frank.
added a new set of built-in bookmarks from Brian Frank.
2000-08-10 01:51:52 +00:00
Andy Hertzfeld 1a797620f9 added more new emblems from Susan and updated some existing ones
added more new emblems from Susan and updated some existing ones
2000-08-04 00:21:53 +00:00
Andy Hertzfeld c59cc9544e draw the embedded icon text in a sans-serif font. Also, added a bunch of
draw the embedded icon text in a sans-serif font.  Also, added
	a bunch of new emblems from Susan.
2000-08-03 03:50:58 +00:00
Darin Adler af9e74dc92 Mostly some tweaking on the recent link file work.
* data/top/Makefile.am: Install the new ".link" files.
	* data/top/Computer: Renamed from Computer.link and added the new stuff
	needed for the MIME magic.
	* data/top/Computer.link: [deleted]
	* data/top/Services: Renamed from Services.link and added the new stuff
	needed for the MIME magic.
	* data/top/Services.link: [deleted]

	* components/tree/nautilus-tree-view.c: (queue_pending_files):
	* libnautilus-extensions/nautilus-file.c:
	(nautilus_file_get_string_attribute):
	Get rid of all use of nautilus_link_get_display_name since
	links all have plain names now.

	* libnautilus-extensions/nautilus-directory-async.c:
	(set_up_request_by_file_attributes): Fix bug that was causing the
	program to get the activation URI for every single icon.  Lots of
	extra I/O! Also changed it to get the file info first since the
	activation URI is now based on MIME type.
	(lacks_activation_uri): Don't try to get the activation URI until
	after the file info is there.
	(activation_uri_done),
	(activation_uri_read_done),
	(activation_uri_nautilus_link_read_callback),
	(activation_uri_gmc_link_read_callback),
	(start_getting_activation_uris):
	Changed the code to read the activation URI to use MIME type,
	so now it doesn't have to open every file just to find out if it's
	a GMC link.

	* libnautilus-extensions/nautilus-file-utilities.c:
	(nautilus_get_desktop_directory): Get rid of a tiny bit of dead code.

	* libnautilus-extensions/nautilus-file.h:
	* libnautilus-extensions/nautilus-file.c:
	(nautilus_file_contains_text): No need to special-case the link
	file any more because its MIME type will now make it clear it's
	not a text file.  Also removed nautilus_file_activate_custom since
	it's not needed any more and moved the logic into
	fm-directory-view.c.

	* libnautilus-extensions/nautilus-icon-factory.c:
	(nautilus_icon_factory_get_icon_for_file): Added FIXMEs.

	* libnautilus-extensions/nautilus-link-set.c:
	(nautilus_link_set_install): Changed comments to not call link files
	".link" files.

	* libnautilus-extensions/nautilus-global-preferences.h:
	* libnautilus-extensions/nautilus-global-preferences.c:
	(global_preferences_register_for_ui): Removed the
	NAUTILUS_PREFERENCES_SHOW_REAL_FILE_NAME preference since we no
	longer have to lie about file names to make ".link" files
	palatable.

	* libnautilus-extensions/nautilus-link.h:
	* libnautilus-extensions/nautilus-link.c: (nautilus_link_create):
	Added code that notifies the NautilusFile framework that a new file
	has been created, so callers don't have to worry about that.
	(nautilus_link_is_link_file): Simplified the code -- turned it into
	a one-liner.
	(nautilus_link_set_icon): The old code had half NautilusFile calls
	and half sync. I/O. Got rid of the NautilusFile stuff. Also put the
	code in to notify the NautilusFile framework about the change to
	the file.
	(nautilus_link_get_root_property): Added FIXME.
	(nautilus_link_get_additional_text): Added FIXME.
	(nautilus_link_get_link_uri): Added FIXME.
	Removed nautilus_link_get_display_name since it's not needed.

	* src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
	Fixed GnomeVFSURI leak and turned a GnomeVFSURI into a text URI
	with gnome_vfs_uri_to_string, rather than gnome_vfs_uri_get_path
	which will not do anything useful.

	* src/file-manager/fm-desktop-icon-view.c:
	(mount_device_mount), (place_home_directory): Use
	nautilus_get_uri_from_local_path instead of just sticking a
	"file://" prefix on. Simplified by putting code to notify about
	the link file into the link file create function. Some other
	code cleanups and fixes of path/URI confusion.
	* src/file-manager/fm-directory-view.c:
	(fm_directory_view_initialize): Use NAUTILUS_N_ELEMENTS.
	(fm_directory_view_display_selection_info), (queue_pending_files):
	Get rid of use of nautilus_link_get_display_name.
	(activate_callback): Added code to handle "command:" URIs, which
	used to be in nautilus_file_activate_custom.
	(fm_directory_view_activate_file): Get rid of call to the
	nautilus_file_activate_custom function.
	(set_trash_empty): Rewrote to simplify and fix some path/URI
	confusion.
	* src/file-manager/fm-icon-view.c: (get_icon_text_callback):
	Get rid of use of nautilus_link_get_display_name.

	* src/nautilus-property-browser.c:
	(nautilus_property_browser_drag_data_get), (remove_background),
	(remove_emblem), (emblem_image_file_changed),
	(add_background_to_browser), (emblem_dialog_clicked),
	(make_properties_from_directory): Use
	nautilus_get_uri_from_local_path instead of just sticking a
	"file://" prefix on.
	(get_xml_path): Use nautilus_make_path instead of just sticking
	a "/" between the two pieces.
2000-07-31 17:26:31 +00:00
Andy Hertzfeld e98e96450e fixed breakage in the novice home directory by adding the mime-magic
fixed breakage in the novice home directory by adding the mime-magic
	string "NAUTILUS_LINK" to the built-in links so they are recognized
	as such.  Also, some cleanup in nautilus-link.
2000-07-31 05:36:48 +00:00
John Sullivan 0430cc6d73 Finished task 1793 (Display hierarchical pre-canned set of bookmarks)
There's now a "static_bookmarks.xml" file that gets installed into
	the Nautilus data directory. Its contents are parsed into menu items
	that appear above the user's dynamic items. The static items can
	include hierarchy and separators. I put in silly content; someone
	else will have to figure out what content we want to ship.

	* data/static_bookmarks.xml: New file, tree of bookmarks to display.
	* data/Makefile.am: Install the bookmarks file into data directory.

	* src/nautilus-bookmark-parsing.h,
	* src/nautilus-bookmark-parsing.c: New files, contain xml-bookmark-
	parsing code that's used by both the static and dynamic bookmarks.
	* src/Makefile.am: tell build about new files.

	* src/nautilus-bookmark-list.c:
	(make_bookmark_from_node): Moved and renamed this into new file.
	(nautilus_bookmark_list_load_file): Call renamed function.

	* src/nautilus-window-menus.c:
	Renamed BookmarkHolder "in_bookmarks_menu" field to "prompt_for_removal"
	to clarify its use.
	(bookmark_holder_new), (show_bogus_bookmark_window): Accounted for
	name changes.
	(append_separator): Just moved this function.
	(get_static_bookmarks_file_path): New function, returns path for
	static bookmarks file if found.
	(create_menu_item_from_node): New function, creates a menu item
	from an xml node, recursing into folders.
	(append_static_bookmarks): New function, reads xml document and
	starts the menu-item-creation recursion.
	(nautilus_window_initialize_bookmarks_menu): Now calls
	append_static_bookmarks before handling the dynamic ones.

	* src/nautilus-window-private.h: New last_static_bookmark_path field
	in Details struct.
	* src/nautilus-window.c: (nautilus_window_destroy): free
	last_static_bookmark_path field.
2000-07-28 18:34:13 +00:00
Arlo Rose 971ee790a6 data/backgrounds/*.png icons/eazel/*.png I fixed all the png files in
2000-07-27  Arlo Rose  <arlo@eazel.com>

        * data/backgrounds/*.png
        * icons/eazel/*.png
        I fixed all the png files in these directories that
        contained the bad white point.
2000-07-27 22:08:31 +00:00
Andy Hertzfeld 15488b5887 made it so that different categories in the property browser could have a
made it so that different categories in the property browser
	could have a different number of colummns, as specified in
	the browser.xml file.
2000-07-26 19:58:12 +00:00
Andy Hertzfeld 4838c0b49f added new backgrounds from Susan
added new backgrounds from Susan
2000-07-14 02:13:45 +00:00
Andy Hertzfeld 5adea211fb added the capability to have optimized icons for the anti-aliased mode,
added the capability to have optimized icons for the anti-aliased
	mode, and added a bunch of aa-optimized icons to the eazel theme.
2000-07-13 21:57:32 +00:00
Andy Hertzfeld f02ff1ac15 more tweaks to the property browser
more tweaks to the property browser
2000-07-12 02:16:59 +00:00
Andy Hertzfeld 897e22a4a4 removed intrinsic property emblem images from browser; added Susan's new
removed intrinsic property emblem images from browser; added
	Susan's new user level images, used new sidebar tab edge piece
	in the arlo theme, and made web search force local search off.
2000-07-11 20:11:46 +00:00
Andy Hertzfeld b71c95b096 fixed recently introduced problem in browser.xml by reverting back to
fixed recently introduced problem in browser.xml by reverting
	back to lower-case.  Also, removed the theme selector from the
	appearance panel.
2000-07-11 06:23:42 +00:00
Andy Hertzfeld ea17634557 added a "web search" button to the toolbar. To do this, I also had to
added a "web search" button to the toolbar.  To do this, I also
	had to create a new toolbar subclass to overcome the problem
	of using the maximum width for all the buttons.
2000-07-11 02:59:49 +00:00
Andy Hertzfeld 84cdcd49ef made the property browser update when the theme changes; fixed bug in
made the property browser update when the theme changes; fixed
	bug in making theme selectors, and added emblems that I forgot
	to add on Friday.
2000-07-10 18:14:47 +00:00
Andy Hertzfeld 33d57594f3 improved the property browser. Added a line of descriptive text. Added a
improved the property browser. Added a line of descriptive text.
	Added a new "theme" section.
2000-07-10 08:18:07 +00:00
Andy Hertzfeld cfd8731889 made the text color in the sidebar label and tabs automatically choose
made the text color in the sidebar label and tabs automatically
	choose light or dark depending on the background and tab color.
	Also, made the property browser generally stay open and be
	resizable.
2000-07-09 08:22:52 +00:00
Eskil Heyn Olsen 830d17851e Represents the july 5th milestone.
* components/services/install/command-line/genpkg_list.example:
	Represents the july 5th milestone.

	(create_default_metadata):
	* components/services/install/lib/eazel-install-rpm-glue.c:
	(rpm_show_progress), (do_rpm_install),
	(eazel_install_fetch_rpm_dependencies):
	Added some FIXME's. Fixed a horrible mem bug. It now leaks, but
	rpm install works.

	* components/services/install/lib/eazel-install-xml-package-list.c:
	(parse_package):
	Added a check so the strtol isn't a risk anymore

	* components/services/trilobite/idl/trilobite-service.idl:
	Added the interface for the password query hell.

	* components/services/trilobite/libtrilobite/Makefile.am:
	*
	components/services/trilobite/libtrilobite/trilobite-service-passwo
	rdquery-private.h:
	*
	components/services/trilobite/libtrilobite/trilobite-service-passwo
	rdquery-public.h:
	*
	components/services/trilobite/libtrilobite/trilobite-service-passwo
	rdquery.c: (trilobite_passwordquery_get_epv),
	(trilobite_passwordquery_destroy),
	(trilobite_passwordquery_set_arg),
	(trilobite_passwordquery_class_initialize),
	(trilobite_passwordquery_construct),
	(trilobite_passwordquery_create_corba_object),
	(trilobite_passwordquery_initialize),
	(trilobite_passwordquery_get_type), (trilobite_passwordquery_new):
	Did the initial passwordquery corba object by cp & s/x/y/ on
	trilobite-service*[ch].

	* data/emblems/Makefile.am:
	removed personal.png from _DATA, as it does not exists

	* icons/Makefile.am:
	removed emblem-personal.svg

	* icons/vector/Makefile.am:
	icons/Makefile.am

	* nautilus-installer/src/Makefile:
	* nautilus-installer/src/installer.c: (eazel_install_progress),
	(make_dirs), (installer):
	Now creates the /var/eazel/services dir. Sets the proper flags for
	the install object and again prints the package name during
	progress display.

	* nautilus-installer/src/interface.c: (create_window):
	Fiddled with the layout, everything doesn't jump around anymore,
	just a few things.

	* nautilus-installer/src/prescript:
	Inc'ed the version to 0.1d
2000-07-08 03:08:03 +00:00
Andy Hertzfeld 61eba534c5 added, removed and changed some emblems, as first step of ongoing emblem
added, removed and changed some emblems, as first step of ongoing
	emblem clean-up.
2000-07-08 01:45:48 +00:00
Andy Hertzfeld 109d5ae04a made sidebar tabs themable, and implemented Arlo style tabs, which are
made sidebar tabs themable, and implemented Arlo style tabs, which
	are finished yet.
2000-07-03 05:00:29 +00:00
Andy Hertzfeld b607318a3c added a new theme for Arlo; added a "combine mode to nautilus background
added a new theme for Arlo;
	added a "combine mode to nautilus background that composites an
	image background onto the colored one.
2000-06-30 08:11:38 +00:00
Andy Hertzfeld 435a46e6eb added a context menu to the sidebar with a reset background item, and also
added a context menu to the sidebar with a reset background item,
	and also added a drag-and-drop way to reset background using a
	special image.
2000-06-22 02:10:34 +00:00
Andy Hertzfeld 4c62c6fe27 added new background images from Susan, and removed some of the older
added new background images from Susan, and removed some of the
	older ones.  Also, replaced the "cant write" emblem with a new
	one from Susan.
2000-06-21 00:38:13 +00:00
Andy Hertzfeld 0e3e6589d8 made link set install and remove really work, and added a link set
made link set install and remove really work, and added a link set
       configuration window for adding and removing link sets
2000-06-12 07:34:26 +00:00
Andy Hertzfeld f0e522785c fixed a bug I introduced earlier today where custom icons wouldn't scale
fixed a bug I introduced earlier today where custom icons wouldn't
	scale properly by using a different test for the vector icon
	case
2000-06-10 07:35:10 +00:00
Andy Hertzfeld e7d660625e added some web linksets and made nautilus-link support remote images by
added some web linksets and made nautilus-link support remote images by
       fetching them through http and caching them locally.
2000-06-05 08:21:16 +00:00
Darin Adler b583918e4c [removed] Changed to use the new trash icon Arlo checked in and removed
* data/linksets/desktop.xml:
	* icons/Makefile.am:
	* icons/trash.png: [removed]
	Changed to use the new trash icon Arlo checked in and removed
	the old one.
2000-06-03 00:08:59 +00:00
Darin Adler a51a8ee58c Ignore some Makefile and Makefile.in files.
* components/services/install/idl/.cvsignore:
	* components/services/time/idl/.cvsignore:
	Ignore some Makefile and Makefile.in files.

	* data/linksets/Makefile.am:
	* data/linksets/desktop.xml:
	Added a link set for the trash on the desktop.

	* icons/Makefile.am:
	Added a trash icon (actually a copy of the Nautilus icon right
	now :-).

	* libnautilus-extensions/nautilus-link-set.h:
	* libnautilus-extensions/nautilus-link-set.c: (create_new_link),
	(nautilus_link_set_install), (nautilus_link_set_remove):
	Fixed some URI-related issues and added a special case for the ~
	character so we can have link sets that are for the home directory.

	* libnautilus-extensions/nautilus-string.c:
	(nautilus_str_capitalize): Got rid of the unneeded call to strlen.
	strlen == 0 is the slowest way I know to check for an empty string.
	Also check islower before calling toupper for paranoia like the
	calls in glib do (internally).

	* src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
	Install the desktop link set when we are created. For now this
	installs the trash (in a fairly lame way).

	* src/nautilus-property-browser.c: (remove_color),
	(add_color_to_file), (make_properties_from_xml_node),
	(nautilus_property_browser_update_contents):
	Changed code to not reference "childs" directly so it's easy to
	switch to a new version of gnome-xml.

	* test/.cvsignore: Ignore test-nautilus-mime-actions-set.
2000-06-02 17:25:00 +00:00
Andy Hertzfeld f30271afae made linksets actually work. fixed audio previewing for filename with
made linksets actually work.
	fixed audio previewing for filename with special characters
	made links work for filenames with special characters
	added some icons for the default link set
2000-06-02 07:06:54 +00:00
Andy Hertzfeld a8cb20a8b6 fixed problem where sounds with special characters in their filename
fixed problem where sounds with special characters in their filename
	wouldn't preview properly; also, replace the computer link icon with
	a more generic, vector-based one and upgraded the open folder to
	one with gradients
2000-06-02 01:51:28 +00:00
Andy Hertzfeld c0f797d9dc first checkin for link sets, which are incomplete and not hooked up yet.
first checkin for link sets, which are incomplete and not hooked
	 up yet.  Also, added a title to the property browser and improved
	 the default color choices to one's specified by Susan.
2000-06-01 01:24:21 +00:00
Andy Hertzfeld 21d793f893 implemented adding and removing colors and backgrounds to the property
implemented adding and removing colors and backgrounds to the
	 property browser.
2000-05-08 08:40:16 +00:00
Andy Hertzfeld a151b66b83 added colors category image and another background
added colors category image and another background
2000-05-06 01:00:35 +00:00
Andy Hertzfeld f0c8ba7f53 added colors to the property browser. Still needs work, which I'll finish
added colors to the property browser. Still needs work, which
	I'll finish tomorrow
2000-05-05 08:03:02 +00:00
Andy Hertzfeld 41b7f28c0d added the ability to drop emblems from the property browser onto icons in
added the ability to drop emblems from the property browser onto
       icons in the icon view; also, added a new background tile
2000-05-05 01:02:37 +00:00
Andy Hertzfeld d2b30c891d made the index panel display emblems. Made dropping emblems on the index
made the index panel display emblems.  Made dropping emblems on the
	index panel work. Also, added new background image
2000-05-03 08:36:13 +00:00
Andy Hertzfeld f81dc0d45c 1st cut at the property browser for drag and drop customization
1st cut at the property browser for drag and drop customization
2000-05-03 01:11:00 +00:00
John Sullivan 225e67f12b data/mime/.cvsignore, , Removed files. Nautilus doesn't need to install
* data/mime/.cvsignore,
	* data/mime/Makefile.am:,
	* data/mime/nautilus.keys: Removed files. Nautilus
	doesn't need to install the human-readable MIME
	descriptions any more because gnome-vfs does it.

	* configure.in,
	* data/Makefile.am: Removed build system fu that
	was installing nautilus.keys.
2000-05-02 17:47:44 +00:00
John Sullivan 6b1364e60f Fixed bug 575 (Make Nautilus use gnome-vfs-mime)
Converted all the (few) places where Nautilus code was
	using the old gnome-libs MIME API to use the new gnome-vfs
	MIME API.

	* components/help/help-method.c (convert_file_to_uri):
	Use gnome_vfs_mime_type_of_file. This function should
	probably use NautilusFile rather than calling the MIME
	stuff directly, but I just couldn't get distracted into
	trying to improve it.

	* libnautilus-extensions/nautilus-file.c
	(nautilus_file_get_type_as_string):
	Use gnome_vfs_mime_description.
	* libnautilus-extensions/nautilus-icon-factory.c
	(nautilus_icon_factory_get_icon_name_for_regular_file):
	Use gnome_vfs_mime_get_value.


	* data/mime/nautilus.keys: Added a translation for
	"special/symlink" because it now starts showing up when
	using ftp:// locations. Perhaps we need to fix something
	in ftp also.
2000-05-01 23:36:57 +00:00
Andy Hertzfeld 550ad27236 added a HTML based "About Nautilus" to the novice home directory
added a HTML based "About Nautilus" to the novice home directory
2000-04-27 07:16:49 +00:00
John Sullivan 86e64a0269 Added one more missing MIME type (application/x-dia-diagram) reported by user. 2000-04-26 00:59:04 +00:00
John Sullivan 1a80b273d6 data/mime/nautilus.keys
* data/mime/nautilus.keys

	Removed [en_US] from file-type human-readable descriptions.
	Added text explaining how to add a localized description.
	This fixes problem where if your language variable isn't
	set you get raw MIME types instead of human-readable descriptions.
2000-04-26 00:57:10 +00:00
Andy Hertzfeld f06f9edff4 added new hardware view component, plus renamed link files
added new hardware view component, plus renamed link files
2000-04-24 09:05:21 +00:00
Andy Hertzfeld 638912544a made nautilus link files control the additional text displayed under their
made nautilus link files control the additional text displayed
       under their name.
2000-04-19 06:39:19 +00:00