Commit graph

86 commits

Author SHA1 Message Date
Darin Adler ce4e7c679d reviewed by: John Sullivan <sullivan@eazel.com>
Fix bug 6147 (selected icons flash unselected/selected rapidly):

	* src/nautilus-window-manage-views.c: (change_selection): Don't
	send out selection change notices to the view that reported the
	selection change.
	(change_selection_callback): Pass in view that requested the
	change so we can know not to send a selection change to that view.
	* src/file-manager/fm-directory-view.c:
	(fm_directory_view_send_selection_change): Clear flag that says we
	have a selection change for the shell.
	(selection_changed_callback): Add code to indicate this selection
	change is due to the shell, so we don't tell the shell about
	something it just told us.
	(done_loading): Set flag so we don't tell the shell about selection
	changes that are part of the first load of the directory.
	(display_selection_info_idle_callback): Only send a selection change
	to the shell if the change was initiated here. Also remove the code
	that ref's the NautilusView object -- wasn't helping.
	(update_menus_timeout_callback), (display_pending_idle_callback),
	(display_pending_timeout_callback): Remove the code that ref's the
	NautilusView object -- wasn't helping.
	(fm_directory_view_notify_selection_changed): Propagate flag that
	tells the idle code we have made the change to the selection and
	the shell should be notified.

	Fix bug 6158 (nautilus --quit shouldn't check for
	~/.nautilus/first-time-wizard-flag).

	* src/nautilus-main.c: (main): Don't do the first-time druid check
	when the --quit or --restart option is used.

	Fix bug 803 (All metafile tags should be lower case).

	* libnautilus-extensions/nautilus-metadata.h: Use lower-case for
	metadata tags.
	* libnautilus-extensions/nautilus-directory-metafile.c:
	(create_metafile_root), (get_file_node),
	(nautilus_directory_rename_file_metadata),
	(nautilus_directory_copy_file_metadata),
	(nautilus_directory_set_metafile_contents): Change metadata tags
	to be lower-case.
	* libnautilus-extensions/nautilus-directory.c:
	(nautilus_self_check_directory): Use lower-case in metadata
	self-test for clarity.
	* libnautilus-extensions/nautilus-file.c:
	(nautilus_file_get_keywords), (nautilus_file_set_keywords): Change
	metadata tags to be lower-case.

	* data/top/.nautilus-metafile.xml
	* icons/ardmore/ardmore.xml:
	* icons/arlo/arlo.xml:
	* icons/arlo/i-directory.xml:
	* icons/arlo/i-regular.xml:
	* icons/crux_eggplant/crux_eggplant.xml:
	* icons/crux_eggplant/i-directory.xml:
	* icons/crux_eggplant/i-regular.xml:
	* icons/default.xml:
	* icons/gnome/gnome.xml:
	* icons/i-directory-accept.xml:
	* icons/i-directory.xml:
	* icons/i-regular.xml:
	* icons/villanova/villanova.xml:
	Change XML to use lower-case.

	* libnautilus-extensions/nautilus-link-set.c: (create_new_link):
	Use lower-case for link XML tags.
	* libnautilus-extensions/nautilus-link.c:
	(nautilus_link_local_create), (nautilus_link_local_set_link_uri),
	(nautilus_link_local_set_type),
	(nautilus_link_local_get_link_uri),
	(nautilus_link_local_get_link_type),
	(nautilus_link_get_link_uri_given_file_contents): Use lower-case
	for link XML tags.

	* src/nautilus-sidebar-title.c:
	(nautilus_sidebar_title_select_text_color),
	(nautilus_sidebar_title_theme_changed): Use lower-case for theme
	XML tags.
	* components/throbber/nautilus-throbber.c:
	(get_bonobo_properties), (nautilus_throbber_initialize),
	(nautilus_throbber_load_images),
	(nautilus_throbber_button_press_event): Change theme XML tags to be
	lower-case.
	* libnautilus-extensions/nautilus-icon-container.c:
	(start_rubberbanding): Use lower-case for theme XML tags.
	(nautilus_icon_container_initialize): Fix comment.
	(update_label_color), (nautilus_icon_container_theme_changed): Use
	lower-case for theme XML tags.
	* libnautilus-extensions/nautilus-icon-factory.c: (set_theme): Use
	lower-case for theme XML tags.
	(get_themed_icon_file_path): Use lower-case for icon XML file
	tags.
	(icon_theme_changed_callback): Use lower-case for theme XML tags.
	* src/nautilus-sidebar-tabs.c:
	(nautilus_sidebar_tabs_load_theme_data), (get_text_offset): Use
	lowe-case for theme XML tags.
	* src/nautilus-sidebar.c: (nautilus_sidebar_update_appearance):
	Use lower-case for theme XML tags.
	* src/nautilus-window-toolbars.c: (get_file_name_from_icon_name):
	Use lower-case for theme XML tags.
	* src/nautilus-zoom-control.c: (draw_number): Use lower-case for
	theme XML tags.

	Change code that used GSList when it should use GList. We use
	GList so that we can share utility functions. It's arbitrary. We
	could have decided to use all GSList instead, but we chose GList
	(because of its name, initially).

	* components/tree/nautilus-tree-expansion-state.c:
	(expansion_state_load_callback),
	(nautilus_tree_expansion_state_load_table_from_gconf),
	(hash_table_get_keys_callback), (hash_table_get_keys),
	(nautilus_tree_expansion_state_save_table_to_gconf): Update to use
	GList instead of GSList.
	* libnautilus-extensions/nautilus-gconf-extensions.h:
	* libnautilus-extensions/nautilus-gconf-extensions.c:
	(nautilus_gconf_handle_error), (nautilus_gconf_set_string_list),
	(nautilus_gconf_get_string_list): Change to work with GList
	instead of GSList to match the rest of Nautilus, so that the lists
	can be manipulated with all the GList utility functions.
	* libnautilus-extensions/nautilus-glib-extensions.h:
	* libnautilus-extensions/nautilus-glib-extensions.c:
	(nautilus_round): Changed name from nautilus_g_round -- "g" for
	"gratuitous".
	(nautilus_g_list_from_g_slist), (nautilus_g_slist_from_g_list):
	Added utility functions to help make GSLists from GLists and vice
	versa. Useful when dealing with functions that yield/expect
	GSLists.
	* libnautilus-extensions/nautilus-icon-text-item.c: (iti_destroy),
	(iti_update), (iti_paint_text), (iti_draw), (iti_render),
	(iti_event): Use nautilus_round by its new name.
	* libnautilus-extensions/nautilus-preferences.h:
	* libnautilus-extensions/nautilus-preferences.c:
	(nautilus_preferences_set_string_list),
	(nautilus_preferences_get_string_list),
	(nautilus_preferences_default_set_string_list),
	(nautilus_preferences_default_get_string_list): Change to use
	GList instead of GSList.
	* libnautilus-extensions/nautilus-search-uri.c:
	(free_tokenized_uri), (tokenize_uri), (get_translated_criterion),
	(get_nth_criterion_prefix), (parse_uri): Change to use GList
	instead of GSList.
	* src/nautilus-application.h:
	* src/nautilus-application.c:
	(nautilus_application_get_window_list): Renamed from
	nautilus_application_windows and changed to use GList instead of
	GSList.
	(nautilus_application_destroyed_window),
	(nautilus_application_create_window), (volume_unmounted_callback):
	Change to use GList instead of GSList.
	* src/nautilus-shell.c: (save_window_states),
	(restore_window_states): Use GList instead of GSList.
	* src/nautilus-window-manage-views.c: (just_one_window): Use GList
	instead of GSList.
	(open_location_prefer_existing_window_callback): Use GList instead
	of GSList.
	* src/nautilus-window.c: (nautilus_forget_history): Use GList
	instead of GSList and the new name for
	nautilus_application_get_window_list.

	Other changes.

	* src/nautilus-shell.c: (display_caveat_first_time): Turn off the
	caveat -- we're close enough to 1.0.

	* libnautilus-extensions/nautilus-view-identifier.c:
	(nautilus_view_identifier_new_from_oaf_server_info): Use free_deep
	call.

	* libnautilus/nautilus-view-standard-main.h: Use
	BEGIN/END_GNOME_DECLS.

	* src/file-manager/fm-desktop-icon-view.c: Remove unneeded
	include.
2001-01-31 00:27:01 +00:00
Ramiro Estrugo c272d9664e A tiny fix from Brian Frank. Also, save the file as a regular text file
* data/static_bookmarks.xml:
	A tiny fix from Brian Frank.  Also, save the file as a regular
	text file without the DOS extra CRs.

	* src/nautilus-sidebar-title.c:
	(sidebar_title_create_title_label),
	(sidebar_title_create_more_info_label): Center justify the sidebar
	title labels.
2001-01-24 20:32:15 +00:00
Andy Hertzfeld 74ad4923b7 removed files that I inadvertently checked in to the wrong branch.
removed files that I inadvertently checked in to the
	wrong branch.

	* components/rss-control/.cvsignore:
	* components/rss-control/Makefile.am:
	* components/rss-control/main.c:
	* components/rss-control/nautilus-rss-control.c:
	* components/rss-control/nautilus-rss-control.h:
	* components/rss-control/nautilus-rss-control.oafinfo:
	* data/top/Clock:
	* data/top/Slashdot:
2001-01-24 10:24:34 +00:00
Andy Hertzfeld 9583e9a53c initial check-in of post-1_0_1 branch
initial check-in of post-1_0_1 branch
2001-01-24 08:57:56 +00:00
Andy Hertzfeld 68211a201b fixed typo in "terracotta" pattern name that caused it not to be
* data/browser.xml:
	fixed typo in "terracotta" pattern name that caused it not to be
	capitalized in the property browser.
2001-01-23 05:43:27 +00:00
Arlo Rose cbb523c626 *data/patterns/Makefile.am: Missed a file!
*data/patterns/Makefile.am:
	Missed a file!
2001-01-22 11:20:27 +00:00
Arlo Rose f56c9eab45 Added new background pattern for the "Default" theme. I also let it show
* data/browser.xml:
        * data/patterns/brushed_metal.png:
        * icons/default.xml:
        Added new background pattern for the "Default" theme.
        I also let it show up in the normal pattern dialog
        as well.
2001-01-22 10:59:05 +00:00
Andy Hertzfeld 2861839801 removed added added modified added added added added added added added
* data/browser.xml:
	* data/patterns/Makefile.am:
	* data/patterns/50s.png: removed
	* data/patterns/blue_ridge.png: added
	* data/patterns/blue_type.png: added
	* data/patterns/camouflage.png: modified
	* data/patterns/countertop.png: added
	* data/patterns/dots.png: added
	* data/patterns/fibers.png: added
	* data/patterns/floral.png: added
	* data/patterns/fossil.png: added
	* data/patterns/green_weave.png: added
	* data/patterns/moss_ridge.png: added
	* data/patterns/ocean_stripes.png: added
	* data/patterns/purple_marble.png: added
	* data/patterns/rough_paper.png: modified
	* data/patterns/sky_ridge.png: added
	* data/patterns/snow_ridge.png: added
	* data/patterns/terracotta.png: added
	* data/patterns/white_ribs: removed

	added, renamed and modified patterns to replace the recently
	deleted ones.
2001-01-22 07:26:35 +00:00
Andy Hertzfeld 5d3bd02c69 removed the "vector" theme at Arlo's request, and many of the least
removed the "vector" theme at Arlo's request, and many of the
	least popular patterns

	* configure.in:
	removed vector from the build
	* data/browser.xml:
	* data/patterns/Makefile.am:
	removed lots of specific patterns
	* icons/Makefile.am:
	removed vector theme
	* icons/ardmore/ardmore.xml:
	* icons/gnome/gnome.xml:
	fixed bug 5868, GNOME theme has white text on light background, by
	setting the text color in the theme

	* icons/vector/.cvsignore:
	* icons/vector/Makefile.am:
	* icons/vector/i-directory-accept.svg:
	* icons/vector/i-directory.svg:
	* icons/vector/i-regular.svg:
	* icons/vector/i-regular.xml:
	* icons/vector/vector.xml:
	the vector theme is no more

	* nautilus.spec.in:
	removed the vector theme from the rpm spec file
	* po/POTFILES.in:
	removed the vector theme from the localized files

	* src/nautilus-property-browser.c: (make_property_tile),
	(nautilus_property_browser_get_category_width):
	tweaked the layout

	* src/nautilus-sidebar-title.c:
	(nautilus_sidebar_title_theme_changed):
	changed default shadow to 1 pixel

	* src/nautilus-theme-selector.c: (done_button_callback),
	(nautilus_theme_selector_initialize):
	added a done button like the property browser
2001-01-22 01:36:05 +00:00
Mike Engber 9ec707d707 reviewed by: Brian Frank
reviewed by: Brian Frank

	* data/static_bookmarks.xml:
	Changes for PR3 default bookmarks. Use redirects.
2001-01-19 19:46:39 +00:00
Andy Hertzfeld 6fd1c47076 fixed bugs 5189, 5190 and 5046, pattern and emblem names not translated,
fixed bugs 5189, 5190 and 5046, pattern and emblem names
	not translated, and upper-casing emblem names is bad for
	translation, by introducing a translatable display name
	specified in the browser xml file.

	* libnautilus-extensions/nautilus-customization-data.c:
	(nautilus_customization_data_new),
	(nautilus_customization_data_get_next_element_for_display),
	(nautilus_customization_data_destroy), (format_name_for_display),
	(load_name_map_hash_table):
	made it load a display name mapping from the browser xml file into
	a hash table when a nautilus customization is created; use the mapping
	to return a label with a translated name.

	* src/file-manager/fm-properties-window.c: (create_emblems_page):
	rewrote the emblem code in the properties window to use
	nautilus_customization instead of ad hoc code, so it will use
	the translated names.

	* src/nautilus-property-browser.c: (get_color_category):
	replaced custom xml code with a standard routine from xml_extensions.

	* src/nautilus-search-bar-criterion.c: (make_emblem_value_menu):
	fixed a memory leak and tweaked the code a bit for translated names.

	* data/browser.xml:
	added display name mappings for patterns and emblems
2001-01-07 09:14:17 +00:00
Arlo Rose 3fa4e40a32 Deleted the Bricks.png 2000-12-23 00:07:07 +00:00
John Sullivan 19804290eb reviewed by: Darin Adler <darin@eazel.com>
Terminology change -- the window & menu item formerly known
	as "Customization" are now known as "Backgrounds and Emblems";
	the swatches of image formerly known as "backgrounds" are
	now known as "patterns".

	After 1.0 if this window acquires more varied content we will
	have to redo the menu item & window label, though we will
	continue to distinguish between "backgrounds" and "patterns",
	since "backgrounds" encompasses colors as well as images.

	Note that this change will only appear in full (and your
	"Backgrounds and Emblems" window work in full) after you've
	deleted your ~/.nautilus directory and let Nautilus make you
	a new one.

	* libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
	(file_opened_callback): Set vfs_handle to NULL on failure.
	(load_done): Don't try to close pixbuf loader if it's NULL.
	These two bugs were flushed out by a temporary state on my
	machine where the theme was using a non-existent file for
	its background image.

	* data/backgrounds/Makefile.am: removed this file, as well as
	all the image files in this directory.

	* data/patterns/.cvsignore:
	* data/patterns/Makefile.am: New files, copied from data/backgrounds.
	Also copied over all image files from data/backgrounds, which is now
	obsolete.

	* data/Makefile.am: Changed "backgrounds" subdir to "patterns"

	* configure.in: changed data/backgrounds/Makefile to
	data/patterns/Makefile

	* nautilus.spec.in: Changed regular expressions with "backgrounds"
	to use "patterns"

	* data/browser.xml: Changed "background" to "pattern" in the
	terminology in this file, which gets installed into ~/.nautilus.
	You have to remove your ~/.nautilus to get a fresh one of these;
	without doing so the "Backgrounds and Emblems" window will be
	confused (won't crash, will use wrong terminology and sometimes
	have blank content).

	* icons/ardmore/ardmore.xml:
	* icons/arlo/arlo.xml:
	* icons/default.xml:
	* icons/eazel/eazel.xml:
	* icons/gnome/gnome.xml:
	* icons/vector/vector.xml:
	* icons/villanova/villanova.xml: Changed "backgrounds" directory
	references to "patterns"

	* libnautilus-extensions/nautilus-customization-data.h:
	* libnautilus-extensions/nautilus-customization-data.c:
	(nautilus_customization_data_new),
	(nautilus_customization_data_get_next_element_for_display),
	(nautilus_customization_data_destroy),
	(nautilus_customization_make_pattern_chit): Change "background" to
	"pattern" in many places, including one public function name.

	* src/nautilus-property-browser.c:
	(nautilus_property_browser_initialize),
	(nautilus_property_browser_drag_data_get), (make_drag_image),
	(make_color_drag_image), (remove_pattern), (remove_emblem),
	(nautilus_property_browser_remove_element),
	(add_pattern_to_browser), (add_new_pattern),
	(add_new_button_callback), (element_clicked_callback),
	(make_properties_from_directories), (add_reset_property),
	(nautilus_property_browser_update_contents),
	(nautilus_property_browser_set_category): Change "background" to
	"pattern" in many places. Also change window title from
	"Customization Options" to "Backgrounds and Emblems".

	* src/nautilus-shell-ui.xml: Change "Customization..." to
	"Backgrounds and Emblems...".

	* test/test-nautilus-background.c: (main):
	* test/test-nautilus-font.c: (create_named_background):
	* test/test-nautilus-label.c:
	(widget_set_nautilus_background_image): Changed test code that was
	using sample images from backgrounds directory to look in patterns
	directory instead.
2000-12-11 19:30:39 +00:00
Andy Hertzfeld 8960b5ee6e fixed problem with "command/verb separation", and added support for the
* components/text/nautilus-text-view.c:
	(nautilus_text_view_initialize), (add_one_service),
	(update_service_menu_items), (merge_bonobo_menu_items):
	fixed problem with "command/verb separation", and added support
	for the clipboard to the text view.

	* nautilus-clean.sh:
	added nautilus-text-view to nautilus-clean.sh

	* data/emblems/Makefile.am:
	* data/emblems/danger.png:
	* icons/Makefile.am:
	* icons/emblem-danger.svg:
	added danger emblem from Susan

	* icons/i-executable.png:
	* icons/i-executable-aa.png:
	fixed bug 4691, executable icon looks like KDE icon, by using
	a new icon from Susan

	* src/file-manager/fm-icon-view.c:
	(icon_container_preview_callback):
	fixed bug 4926, Nautilus tries to preview realaudio files but
	can't, by special casing the realaudio mime type.  Also, cleaned
	things up a little by removing redundant is_local call.
2000-12-07 18:33:29 +00:00
Darin Adler b2609b013b reviewed by: John Sullivan <sullivan@eazel.com>
* src/file-manager/fm-directory-view.c:
	(display_selection_info_idle_callback),
	(update_menus_idle_callback), (display_pending_idle_callback): Add
	code to ref the BonoboControl around all three of these idle
	functions to eliminate the problem where the directory view would
	get destroyed in the middle of an idle.

	* data/browser.xml:
	* data/linksets/apps.xml:
	* data/linksets/desktop.xml:
	* data/linksets/portals.xml:
	* data/linksets/search_engines.xml:
	* data/static_bookmarks.xml:
	Used "_" prefix on all localizable fields of XML files.

	* po/POTFILES.in: Add all these XML files that need translation.

	* libnautilus-extensions/nautilus-link-set.c:
	(nautilus_link_set_install), (nautilus_link_set_is_installed),
	(nautilus_link_set_remove): Fix storage leaks, also use
	nautilus_xml_get_property_translated to get the property for the
	"name" property so it can be translated if desired.

	* libnautilus-extensions/nautilus-xml-extensions.h:
	* libnautilus-extensions/nautilus-xml-extensions.c:
	(nautilus_xml_get_property_translated): Add a version of
	xmlGetProp that looks for an untranslated version of the property
	and runs it through gettext if there is not a pre-translated
	version present.  For strings downloaded from the service, for
	example, we'll probably use a pre-translated string, but for
	things in the Nautilus source tree we can use an untranslated
	string.

	* src/nautilus-bookmark-parsing.c:
	(nautilus_bookmark_new_from_node): Use
	nautilus_xml_get_property_translated to get the bookmark name so
	that static bookmarks can have names translated with gettext. New
	versions of the static bookmarks downloaded from the service can
	use either kind of name. And user-created bookmarks are not run
	through the gettext mechanism.

	* src/nautilus-window-menus.c: (create_menu_item_from_node): Use
	nautilus_xml_get_property_translated to get the folder names
	translated just as the bookmarks themselves.

	* src/nautilus-link-set-window.c: (get_link_set_names): Added a
	FIXME. The link set names should come from inside the XML, not
	from the file names.

	* src/nautilus-property-browser.c: (get_xml_path),
	(read_browser_xml), (write_browser_xml), (get_color_category):
	(remove_color), (add_color_to_file): Factor out some shared code.
	(add_reset_property): Make hard-wired font size with FIXME.
	(make_properties_from_xml_node): Fix storage leaks and get the
	name of the color using nautilus_xml_get_property_translated so
	the names can be translated.
	(set_up_category_width): Fix storage leaks
	(nautilus_property_browser_update_contents): Fix storage leaks and
	get the display name and description with
	nautilus_xml_get_property_translated so they can be translated.

	* check-THANKS.pl: Got rid of extra blank line at end.

	* libnautilus-extensions/nautilus-customization-data.c:
	(format_name_for_display): Add FIXME to bad-for-localization
	function that turns "_" into " " and capitalizes the first letter
	after each " ".
2000-11-14 19:20:55 +00:00
Brian Frank ddd5a8fa3d data/static_bookmarks.xml Fixed capitalization problem of VMware name in
2000-10-31  Brian Frank  <bfrank@eazel.com>

	* data/static_bookmarks.xml
	Fixed capitalization problem of VMware name in bookmark list
2000-10-31 20:07:27 +00:00
Brian Frank f0c3609649 data/static_bookmarks.xml Updated bookmarks list to current links
* data/static_bookmarks.xml
	Updated bookmarks list to current links
2000-10-24 21:05:38 +00:00
Andy Hertzfeld 1784159c8f added new certified emblem from Susan
added new certified emblem from Susan
2000-10-24 08:04:54 +00:00
Ramiro Estrugo 5d418bbf0f Added missing font metrics. Also update to latest urw fonts.
* data/fonts/urw/Makefile.am:
	* data/fonts/urw/fonts.dir:
	* data/fonts/urw/n019003l.afm:
	* data/fonts/urw/n019004l.afm:
	* data/fonts/urw/n019023l.afm:
	* data/fonts/urw/n019024l.afm:
	Added missing font metrics.
	Also update to latest urw fonts.
2000-10-20 08:56:54 +00:00
Andy Hertzfeld c05bcb4e61 removed
* data/emblems/Makefile.am:
	* data/emblems/confidential.gif: removed
	* data/emblems/cool.png:
	* data/emblems/secret.png:
	added new emblems from Susan, and deleted confidential

	* icons/Makefile.am:
	* icons/emblem-confidential.gif: removed
	* icons/emblem-cool.svg:
	* icons/emblem-distinguished.svg:
	* icons/emblem-new.svg:
	* icons/emblem-noread.svg:
	* icons/emblem-nowrite.svg:
	* icons/emblem-secret.svg:
	added and updated emblems from Susan, and deleted the
	confidential emblem (replace by "secret").
2000-10-13 08:29:59 +00:00
Robin * Slomkowski 6ec340ffbb added placeholder files a mostly empty file so rpm will produce a package
2000-10-10  Robin * Slomkowski  <rslomkow@eazel.com>

	* data/Makefile.am: added placeholder files
	* data/nautilus-extras.placeholder: a mostly empty file so rpm will produce a package
	* data/nautilus-suggested.placeholder: a mostly empty file so rpm will produce a package
	* nautilus.spec.in: moved login-view to trilbite component, also added placeholder files
2000-10-11 06:57:06 +00:00
John Sullivan 038e803b91 Fixed typo in built-in bookmark ("freshmean.net")
* data/static_bookmarks.xml:
2000-10-06 19:03:32 +00:00
Andy Hertzfeld 85fedef727 made it use nautilus_image instead of gtk_pixmap so nice anti-aliased
made it use nautilus_image instead of gtk_pixmap so nice
	anti-aliased emblems can be displayed, plus new or updated
	emblems from Susan.
2000-10-06 00:07:46 +00:00
Andy Hertzfeld 72ac788639 fixed bug 3412, about.html in novice home directory misaligned with
fixed bug 3412, about.html in novice home directory misaligned
	with audience, by deleting it

	improved property browser item layout by making the labels
	line up in the table.
2000-10-05 08:03:17 +00:00
Arlo Rose c8a7295548 Fixed dumb typo.
* data/browser.xml:
        Fixed dumb typo.
2000-09-27 00:15:56 +00:00
Arlo Rose 9f7e18eadf Added new colors, and names to match. These are less jarring, and make for
* data/browser.xml:
        Added new colors, and names to match. These are less jarring, and
        make for good backgrounds.
        Fixes Bug 3204.
2000-09-26 23:42:57 +00:00
Arlo Rose 62e47b07aa Added names to our colors, but will replace the colors later.
* data/browser.xml:
        Added names to our colors, but will replace the colors later.
2000-09-22 01:44:57 +00:00
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