nautilus/RENAMING
John Sullivan 21173338be reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 3321 (Finalize contents of Help menu for 1.0).
	Actually there's still an open issue about the Customer
	Service item, which I've left in for now.

	* src/nautilus-shell-ui.xml: Added Quick Reference, removed
	License, put About last after a separator.

	* src/nautilus-window-menus.c:
	(help_menu_nautilus_quick_reference_callback): New callback.
	(help_menu_nautilus_license_callback): Removed this.
	(nautilus_window_initialize_menus): Install callback for
	Quick Reference, remove for License.


	Also removed the space from "tool bar" everywhere, per the
	final decision of Vera & Rhoda. I grepped and replaced
	everywhere for "tool bar", "Tool Bar", "TOOL_BAR", and
	"tool_bar".

	* components/loser/content/nautilus-content-loser-ui.xml:
	* components/loser/sidebar/nautilus-sidebar-loser-ui.xml:
	* components/mozilla/bonobo-extensions.c:
	* components/sample/nautilus-sample-content-view-ui.xml:
	* libnautilus-extensions/nautilus-bonobo-extensions.c:
	* libnautilus-extensions/nautilus-global-preferences.c:
	(global_preferences_install_descriptions),
	(global_preferences_install_defaults),
	(global_preferences_install_visibility),
	(global_preferences_create_dialog):
	* libnautilus-extensions/nautilus-global-preferences.h:
	* src/nautilus-service-ui.xml:
	* src/nautilus-shell-ui.xml:
	* src/nautilus-window-menus.c:
	(view_menu_show_hide_toolbar_callback),
	(nautilus_window_update_show_hide_menu_items),
	(help_menu_nautilus_quick_reference_callback),
	(nautilus_window_initialize_menus):
	* src/nautilus-window-toolbars.c: (set_up_special_bonobo_button),
	(set_up_toolbar_images), (theme_changed_callback),
	(set_up_back_or_forward_toolbar_item),
	(nautilus_window_initialize_toolbars):
	* src/nautilus-window.c: (nautilus_window_constructed),
	(nautilus_window_hide_toolbar), (nautilus_window_show_toolbar),
	(nautilus_window_toolbar_showing), (nautilus_window_show):
	* src/nautilus-window.h:
	Made toolbar one word.
2001-02-22 17:56:40 +00:00

57 lines
1.7 KiB
Plaintext

We put plans for renaming in here so we can think about them for a
while. Note that when we rename a class, it usually involves renaming
some functions and files too.
When we rename files in the repository, we do it by this process:
1) copy the file in the repository by logging in and using cp (to retain history)
2) check out to get the new file
3) cvs rm to remove the old file on commit
4) fix all build problems
5) commit
This retains the history in both the old and new locations.
------
macros
------
NAUTILUS_CALL_VIRTUAL -> NAUTILUS_CALL_METHOD
---------------
directory names
---------------
components/rpmview -> components/rpm
----------
file names
----------
components/html/ntl-web-browser.c -> ?
components/websearch/ntl-web-search.c -> components/websearch/nautilus-web-search.c?
src/file-manager/fm-* -> ?
src/file-manager/dfos* -> ?
src/file-manager/dfos-xfer* -> src/file-manager/copy_engine*
--------------------------
Random vestiges of "ntl"
--------------------------
libntl-file-manager.* -> libnautilus-file-manager.*
*ntl* -> *nautilus*
header file guard #defines, *NTL* -> *NAUTILUS*
(change to match header file instead with perl script to check?)
----------------------------
classes and other data types
----------------------------
NautilusNavigationInfo -> ?
--------------
function names
--------------
zoom_level_changed -> report_zoom_level_change
nautilus_strlen -> nautilus_null_tolerant_strlen
nautilus_strchr -> nautilus_null_tolerant_strchr
nautilus_strcmp -> nautilus_null_tolerant_strcmp
nautilus_strcasecmp -> nautilus_null_tolerant_strcasecmp
nautilus_str_compare -> nautilus_str_compare_null_tolerant
nautilus_eat_strcmp -> <kill it>