Commit graph

8 commits

Author SHA1 Message Date
Andy Hertzfeld
65b1fd161e fixed bug 7067, on clean install, services icon is missing. Arlo recently
* data/linksets/home.xml:
	fixed bug 7067, on clean install, services icon is missing. Arlo
	recently removed the old services hand icon, but didn't update
	the image reference in the linkset; fixed by updating it.
2001-02-27 03:17:04 +00:00
Andy Hertzfeld
7cb5b454a8 fixed bug 5599, make objects in $USER/Nautilus localizable. Fixed by
fixed bug 5599, make objects in $USER/Nautilus localizable.  Fixed
	by creating a linkset to instead the Computer and Services icons,
	and removing the top directory and associated code, since it's no
	longer needed.

	* configure.in:
	removed data/top
	* data/Makefile.am:
	removed top directory
	* data/linksets/Makefile.am:
	* data/linksets/home.xml:
	added new home linkset

	* data/top/.cvsignore:
	* data/top/.nautilus-metafile.xml:
	* data/top/Computer:
	* data/top/Makefile.am:
	* data/top/Services:
	removed files from top

	* libnautilus-extensions/nautilus-file-utilities.c:
	(nautilus_get_user_main_directory):
	changed it to no longer copy the top directory; instead,
	install the new linkset

	* po/POTFILES.in:
	added home.xml to the files to be localized
2001-02-16 02:29:46 +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
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
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