Commit graph

5095 commits

Author SHA1 Message Date
jacob berkman
99e2574cba remove nautilus-shell-marshal.list
2002-02-15  jacob berkman  <jacob@ximian.com>

	* src/Makefile.am (EXTRA_DIST): remove nautilus-shell-marshal.list
2002-02-15 05:28:37 +00:00
Dave Camp
9aebe74cf2 Replace deprecated signal handling functions.
2002-02-14  Dave Camp  <dave@ximian.com>

	* components/notes/nautilus-notes.c (done_with_file):
	(notes_save_metainfo): Replace deprecated signal handling
	functions.
2002-02-15 04:39:14 +00:00
jacob berkman
8d0aed09fb add -DFOO_DISABLE_DEPRECATED to disable glib, gtk, and gnome deprecated
2002-02-14  jacob berkman  <jacob@ximian.com>

	* src/Makefile.am:
	* src/file-manager/Makefile.am: add -DFOO_DISABLE_DEPRECATED to
	disable glib, gtk, and gnome deprecated calls

	* src/file-manager/fm-desktop-icon-view.c:
	* src/file-manager/fm-directory-view.c:
	* src/file-manager/fm-icon-view.c:
	* src/file-manager/fm-properties-window.c:
	* src/file-manager/fm-search-list-view.c:
	* src/nautilus-about.c:
	* src/nautilus-application.c:
	* src/nautilus-bookmark-list.c:
	* src/nautilus-bookmarks-window.c:
	* src/nautilus-complex-search-bar.c:
	* src/nautilus-location-bar.c:
	* src/nautilus-main.c:
	* src/nautilus-navigation-bar.c:
	* src/nautilus-property-browser.c:
	* src/nautilus-search-bar-criterion.c:
	* src/nautilus-shell.c:
	* src/nautilus-sidebar-tabs.c:
	* src/nautilus-sidebar-title.c:
	* src/nautilus-sidebar.c:
	* src/nautilus-simple-search-bar.c:
	* src/nautilus-switchable-navigation-bar.c:
	* src/nautilus-switchable-search-bar.c:
	* src/nautilus-theme-selector.c:
	* src/nautilus-view-frame.c:
	* src/nautilus-window-manage-views.c:
	* src/nautilus-window-menus.c:
	* src/nautilus-window-toolbars.c:
	* src/nautilus-window.c:
	* src/nautilus-zoom-control.c: port to non-deprecated calls.  This
	was mostly GnomeDialog -> GtkDialog and gtk_signal -> g_signal
2002-02-14 23:22:00 +00:00
David Emory Watson
65a9c4e605 I forgot to enter changelog entries... 2002-02-13 03:41:49 +00:00
Darin Adler
c94e106333 Record the idle ID so we can cancel it properly. New.
* components/tree/nautilus-tree-model.c:
	(schedule_destroy_unneeded_children): Record the idle ID so we can
	cancel it properly.
	* components/tree/nautilus-tree-view.c: (sort_model_iter_to_file):
	New.
	(sort_model_path_to_file): Renamed from path_to_file to clarify
	which kid of path.
	(selection_changed_callback): Replaces the old row_activated_callback.
	Switch to the selected directory when you click on a row.
	(create_tree): Connect the "changed" to the selection object.

	* src/file-manager/fm-directory-view.c: Formatting tweaks.
	(update_directory_in_scripts_menu): Fix storage leak.

	* src/file-manager/fm-icon-view.c: (renaming_icon_callback): Enable
	a bit of GNOME2_CONVERSION_COMPLETE code.
	(create_icon_container): Formatting tweaks.
2002-02-13 00:27:41 +00:00
Darin Adler
3772c3da98 A few places where we said "=" but meant "==".
* src/file-manager/fm-directory-view.c:
	(metadata_for_directory_as_file_ready_callback),
	(metadata_for_files_in_directory_ready_callback):
	A few places where we said "=" but meant "==".
2002-02-12 22:11:19 +00:00
Darin Adler
0d57173363 Require at least libxml 2.4.7, since that's the version where xmlFree and
* configure.in: Require at least libxml 2.4.7, since that's
	the version where xmlFree and friends were moved out of
	<libxml/xmlmemory.h>.

	* components/news/nautilus-news.c:
	* components/text/nautilus-text-view.c:
	* libnautilus-private/nautilus-customization-data.c:
	* libnautilus-private/nautilus-directory-async.c:
	* libnautilus-private/nautilus-find-icon-image.c:
	* libnautilus-private/nautilus-link-desktop-file.c:
	* libnautilus-private/nautilus-link-historical.c:
	* libnautilus-private/nautilus-link.c:
	* libnautilus-private/nautilus-metafile.c:
	* libnautilus-private/nautilus-theme.c:
	* libnautilus-private/nautilus-volume-monitor.c:
	* src/nautilus-bookmark-list.c:
	* src/nautilus-property-browser.c:
	* src/nautilus-window-menus.c:
	Remove unneeded include of <libxml/xmlmemory.h>.

	* components/tree/nautilus-tree-model.c: (get_node_uri): New,
	used only for logging ref. counts.
	(decrement_ref_count): New.
	(abandon_node_ref_count): New.
	(abandon_dummy_row_ref_count): New.
	(report_dummy_row_inserted): Do nothing if the parent is not yet
	in the inserted state.
	(report_dummy_row_deleted): Make it abandon any lingering ref
	count that's still in the dummy row.
	(report_node_inserted): Make it report that the dummy node is
	inserted if the node starts with a dummy child. Also, set the new
	inserted state so we know this node is live.
	(report_node_contents_changed): Do nothing if the node is not
	yet in the inserted state.
	(report_node_has_child_toggled): Do nothing if the node is not yet
	in the inserted state.
	(report_dummy_row_contents_changed): Do nothing if the parent is
	not yet in the inserted state.
	(stop_monitoring_directory): Set done_loading to FALSE so we'll get
	a dummy node for directories we are not monitoring.
	(destroy_node_without_reporting): Abandon any ref count left in the
	node. Also set the inserted state to FALSE before destroying children.
	(destroy_node): Report if the parent gains a dummy node as a result
	of destroying this node.
	(update_node_without_reporting): Don't clear done_loading any more,
	since stop_monitoring_directory does it now.
	(reparent_node): Abandon any ref count that's still in the node
	before reparenting it.
	(schedule_destroy_unneeded_children): New.
	(last_child_unref): Use new schedule_destroy_unneeded_children
	function so we cna share code with the new abandon ref count functions.
	(nautilus_tree_model_ref_node), (nautilus_tree_model_unref_node): Add
	some logging for debugging purposes.

	* components/tree/nautilus-tree-view.c: (compare_rows): Sort function
	to use when GtkTreeModelSort works.
	(create_tree): Hook up sort function.
2002-02-12 00:56:13 +00:00
Michael Meeks
e414ada1b1 remove registering own 'synchronizer' #ifdef bits.
2002-02-08  Michael Meeks  <michael@ximian.com>

	* src/nautilus-window.c
	(nautilus_window_constructed): remove registering own
	'synchronizer' #ifdef bits.
	(nautilus_window_allow_stop): add 'access' sys
	calls to allow easier strace profiling.
2002-02-11 11:16:02 +00:00
Darin Adler
90fef81565 Release markers. 2002-02-11 06:20:04 +00:00
Jody Goldberg
0530785d83 Include libxml/globals.h to get xmlFree from its new position.
2002-02-11  Jody Goldberg <jody@gnome.org>

	* src/nautilus-bookmark-parsing.c : Include libxml/globals.h to get
	  xmlFree from its new position.
2002-02-11 05:27:55 +00:00
Bastien Nocera
d5efb48fcc - disable jpeglib's reading of its config.h file, fixes HAVE_STDLIB double-definition 2002-02-10 21:22:11 +00:00
Darin Adler
53ff9f48ae Bump version number. Bump version number.
* NEWS: Bump version number.
	* configure.in: Bump version number.
2002-02-10 06:58:41 +00:00
Seth Nickell
d19f959d52 Darin's script apparently went wrong, because a number of the themes got
2002-02-09  Seth Nickell  <snickell@stanford.edu>

	* icons/crux_eggplant/i-directory-12.png:
	* icons/crux_eggplant/i-directory-20.png:
	* icons/crux_eggplant/i-directory-24.png:
	* icons/crux_eggplant/i-directory-36.png:
	* icons/crux_eggplant/i-directory-72.png:
	* icons/crux_eggplant/i-directory.png:
	* icons/crux_teal/i-directory-12.png:
	* icons/crux_teal/i-directory-192.png:
	* icons/crux_teal/i-directory-20.png:
	* icons/crux_teal/i-directory-24.png:
	* icons/crux_teal/i-directory-36.png:
	* icons/crux_teal/i-directory-72.png:
	* icons/crux_teal/i-directory-96.png:
	* icons/crux_teal/i-directory.png:
	* icons/crux_teal/i-regular-12.png:
	* icons/crux_teal/i-regular-192.png:
	* icons/crux_teal/i-regular-20.png:
	* icons/crux_teal/i-regular-24.png:
	* icons/crux_teal/i-regular-36.png:
	* icons/crux_teal/i-regular-72.png:
	* icons/crux_teal/i-regular-96.png:
	* icons/crux_teal/i-regular.png:
	* icons/sierra/i-directory-12.png:
	* icons/sierra/i-directory-24.png:
	* icons/sierra/i-directory-36.png:
	* icons/sierra/i-directory-72.png:
	* icons/sierra/i-directory-96.png:
	* icons/sierra/i-directory-accept-12.png:
	* icons/sierra/i-directory-accept-24.png:
	* icons/sierra/i-directory-accept-36.png:
	* icons/sierra/i-directory-accept-72.png:
	* icons/sierra/i-directory-accept-96.png:
	* icons/sierra/i-directory-accept.png:
	* icons/sierra/i-directory.png:

	Darin's script apparently went wrong, because a number of the themes
	got switched to only having the *non* anti-aliased icons. Replaced
	them with the anti-aliased versions.
2002-02-09 11:14:10 +00:00
Darin Adler
de85ecade7 Added open pixbuf support.
* components/tree/nautilus-tree-model.h:
	* components/tree/nautilus-tree-model.c: (tree_node_destroy),
	(tree_node_get_pixbuf_from_factory), (tree_node_update_pixbuf),
	(tree_node_update_closed_pixbuf), (tree_node_update_open_pixbuf),
	(tree_node_get_closed_pixbuf), (tree_node_get_open_pixbuf),
	(update_node_without_reporting),
	(nautilus_tree_model_get_column_type),
	(nautilus_tree_model_get_value):
	Added open pixbuf support.

	* components/tree/nautilus-tree-view.c: (save_expansion_state):
	Fix storage leak.
	(row_activated_callback): Fix NautilusFile ref. count leak.
	(create_tree): Pass in open pixbuf for "pixbuf_expander_open".
	(get_filtering_as_integer), (update_filtering_from_preferences),
	(filtering_changed_callback), (nautilus_tree_view_instance_init),
	(nautilus_tree_view_finalize): Starting on code needed to
	respect the filtering preferences.
2002-02-08 23:36:23 +00:00
Darin Adler
d6be4c4a39 New. (insert_node): New. (reparent_node): New. (update_node): Handle files
* components/tree/nautilus-tree-model.h:
	* components/tree/nautilus-tree-model.c:
	(get_parent_node_from_file): New.
	(insert_node): New.
	(reparent_node): New.
	(update_node): Handle files that disappear or move.
	(process_file_change): Don't create nodes for files that are
	already gone by the time we get here.
	(done_loading_callback): Don't assert if the node for this file
	is gone by the time this shows up.
	(done_loading_idle_callback): New.
	(start_monitoring_directory): Do a done_loading callback for
	directories that are already fully loaded at the start. We have
	to do this at idle time, though, since the tree code can't handle
	all the new nodes showing up inside ref_node.
	(nautilus_tree_model_iter_n_children): Add; was missing.
	(destroy_unneeded_children): New.
	(destroy_unneeded_children_idle_callback): New.
	(last_child_unref): Destroy the children at idle time, not right
	away. I did this to try to make GtkTreeModelSort work, but it
	didn't fix the whole problem, so maybe take this out later.
	(nautilus_tree_model_unref_node): Tighten assert.
	(nautilus_tree_model_iter_get_file): New.
	(nautilus_tree_model_finalize): Cleanup for new idle functions.
	(nautilus_tree_model_tree_model_init):

	* components/tree/nautilus-tree-view.c: (load_expansion_state):
	New placeholder, not yet implemented.
	(path_to_file): New.
	(prepend_one_uri): New.
	(save_expansion_state): New.
	(save_expansion_state_idle_callback): New.
	(schedule_save_expansion_state_callback): New.
	(got_activation_uri_callback): New.
	(cancel_activation): New.
	(row_activated_callback): New.
	(create_tree): Put in first cut at using GtkTreeModelSort;
	couldn't get it working so it's ifdef'd out. Save list of expanded
	URIs next idle after a row is expanded or collapsed. Switch the
	view location when a row is activated.
	(tree_activate_callback): Put in a call to load_expansion_state,
	although it's not implemented yet.
	(nautilus_tree_view_finalize): Cleanup for new idle functions.
2002-02-08 05:57:34 +00:00
Kwok-Koon Cheung
c0dc39cd68 Updated traditional Chinese translation 2002-02-07 16:40:01 +00:00
Darin Adler
e91afc8589 eel_signal_connect_while_alive -> g_object_add_weak_pointer.
* components/throbber/nautilus-throbber.c:
	(nautilus_throbber_instance_init): eel_signal_connect_while_alive
	-> g_object_add_weak_pointer.
	(nautilus_throbber_finalize), (nautilus_throbber_class_init):
	Switch to finalize instead of destroy.

	* components/tree/nautilus-tree-expansion-state.c: Remove.
	* components/tree/nautilus-tree-expansion-state.h: Remove.
	* components/tree/nautilus-tree-node-private.h: Remove.
	* components/tree/nautilus-tree-node.c: Remove.
	* components/tree/nautilus-tree-node.h: Remove.

	* components/tree/nautilus-tree-model.h:
	* components/tree/nautilus-tree-model.c:
	Rewrite, based on Anders's first cut.

	* components/tree/nautilus-tree-view.h: Tweaks.
	* components/tree/nautilus-tree-view.c: (create_tree): Get rid of
	the header.
	(nautilus_tree_view_finalize), (nautilus_tree_view_class_init):
	Added a missing finalize so that we don't leak.

	* libnautilus-private/nautilus-directory.h:
	* libnautilus-private/nautilus-directory.c:
	(nautilus_directory_get_for_file): New.

	* libnautilus-private/nautilus-file.h:
	* libnautilus-private/nautilus-file.c:
	(finalize): Change to finalize from destroy.
	(nautilus_file_get_parent): Make public, simplify implementation
	by using nautilus_directory_get_corresponding_file.

	* src/file-manager/fm-desktop-icon-view.c:
	(fm_desktop_icon_view_init):
	* src/nautilus-sidebar.c: (nautilus_sidebar_update_buttons):
	* src/nautilus-view-frame.c: (nautilus_view_frame_init),
	(attach_view):
	* src/nautilus-window-menus.c:
	(nautilus_window_initialize_bookmarks_menu),
	(nautilus_window_initialize_go_menu):
	Use g_signal_connect-object instead of eel_signal_connect_while_alive.
2002-02-07 00:24:43 +00:00
Dave Camp
4285ceae41 Make this component build with the deprecation flags set.
2002-02-06  Dave Camp  <dave@ximian.com>

	* components/news/nautilus-news.c: Make this component build with
	the deprecation flags set.
	(update_size_and_redraw): #ifed out the gtk_widget_set_usize()
	call pending changes to the size negotation code.
	(get_xml_path): Use g_file_test() instead of g_file_exists().
	(add_channel_to_remove_list), (remove_selected_site),
	(make_remove_widgets): Use a GtkTreeView instead of a GtkCList
	here.
	(determine_sort_position): Use gtk_container_get_children()
	instead of gtk_container_children().
	(add_channel_entry): Use g_object_set_data() instead of
	gtk_object_set_user_data().
	(remove_list_selection_changed): New function, update the remove
	button.
	(update_remove_button): Make the remove button insensitive if no
	channel is selected for removal.
	(make_remove_widgets), (make_add_widgets), (add_command_buttons):
	Use gtk_box_set_spacing() instead of gtk_button_box_set_spacing(),
	and remove calls to gtk_button_box_set_child_size().
2002-02-06 23:04:10 +00:00
Michael Meeks
f542674b59 guard against re-enterancy; hold refs on the sidebars.
2002-02-06  Michael Meeks  <michael@ximian.com>

	* src/nautilus-window-manage-views.c
	(load_new_location_in_sidebar_panels): guard
	against re-enterancy; hold refs on the sidebars.

	* src/file-manager/fm-directory-view.c
	(fm_directory_view_class_init): move re-entering
	auto preference registers to
	(fm_directory_view_init): here.
2002-02-06 21:56:44 +00:00
Darin Adler
61fe873cb3 Remove. Remove. Remove. Remove. Remove.
* components/tree/nautilus-tree-change-queue.c: Remove.
	* components/tree/nautilus-tree-change-queue.h: Remove.
	* components/tree/nautilus-tree-view-dnd.c: Remove.
	* components/tree/nautilus-tree-view-dnd.h: Remove.
	* components/tree/nautilus-tree-view-private.h: Remove.

	* libnautilus-private/Makefile.am:
	* libnautilus-private/nautilus-dnd.c:
	* libnautilus-private/nautilus-dnd.h:
	Move eel-dnd.[ch] back into Nautilus, because it currently is
	completely file-manager-specific.

	* libnautilus-private/nautilus-file-dnd.c:
	* libnautilus-private/nautilus-file-dnd.h:
	* libnautilus-private/nautilus-icon-dnd.c:
	* libnautilus-private/nautilus-icon-dnd.h:
	* src/file-manager/fm-icon-view.c:
	* src/file-manager/fm-list-view.c:
	Change to use eel-dnd.[ch] in their new location in Nautilus.

	* src/file-manager/fm-directory-view.c: Add included needed due
	to include changes.
2002-02-05 19:22:53 +00:00
Anders Carlsson
c175896701 Port to GtkTreeView, lots of work still remains though.
2002-02-05  Anders Carlsson  <andersca@gnu.org>

	* components/tree/Makefile.am:
	* components/tree/nautilus-tree-model.c:
	(nautilus_tree_node_set_parent), (nautilus_tree_node_new),
	(nautilus_dummy_tree_node_new), (nautilus_tree_node_update_icons),
	(nautilus_tree_model_get_type), (nautilus_tree_model_init),
	(nautilus_tree_model_class_init), (uri_get_parent_text),
	(nautilus_tree_model_get_node_from_file),
	(nautilus_tree_model_get_node), (report_node_changed),
	(report_root_node_if_possible), (process_file_change),
	(nautilus_tree_model_directory_files_changed_callback),
	(nautilus_tree_model_directory_done_loading_callback),
	(nautilus_tree_model_begin_monitoring_directory),
	(nautilus_tree_model_get_n_columns),
	(nautilus_tree_model_get_column_type),
	(nautilus_tree_model_get_iter), (nautilus_tree_model_get_path),
	(nautilus_tree_model_get_value), (nautilus_tree_model_iter_next),
	(nautilus_tree_model_iter_children),
	(nautilus_tree_model_iter_parent),
	(nautilus_tree_model_iter_has_child),
	(nautilus_tree_model_iter_nth_child),
	(nautilus_tree_model_tree_model_init),
	(nautilus_tree_model_root_node_file_monitor),
	(nautilus_tree_model_set_root_uri), (nautilus_tree_model_new),
	(nautilus_tree_model_dump_helper), (nautilus_tree_model_dump):
	* components/tree/nautilus-tree-model.h:
	* components/tree/nautilus-tree-view.c: (create_tree),
	(tree_activate_callback), (dump_tree), (nautilus_tree_view_init),
	(nautilus_tree_view_class_init):
	* components/tree/nautilus-tree-view.h:
	Port to GtkTreeView, lots of work still remains though.

	* src/nautilus-application.c: (finish_startup):
	Remove GMC trash migration.
2002-02-05 17:11:43 +00:00
Michael Meeks
3ad55ff4c3 move re-enterant CORBA stuff (fm_icon_view_init): to here.
2002-02-04  Michael Meeks  <michael@ximian.com>

	* src/file-manager/fm-icon-view.c
	(fm_icon_view_class_init): move re-enterant CORBA stuff
	(fm_icon_view_init): to here.

	* src/nautilus-shell-ui.xml: add a default placeholder.

	* configure.in (BONOBO_UI_REQUIRED): require a fixed
	libbonoboui that can cope with default placeholders.
2002-02-04 23:03:42 +00:00
Darin Adler
942deb4a9e Put a placeholder in so that component menus will go to the left of the
* src/nautilus-shell-ui.xml: Put a placeholder in so that component
	menus will go to the left of the Help menu.
2002-02-04 21:44:13 +00:00
Darin Adler
0294dc1f88 Don't ignore tarballs. Bump version number. Bump version number.
* .cvsignore: Don't ignore tarballs.
	* NEWS: Bump version number.
	* configure.in: Bump version number.

	* src/file-manager/fm-directory-view.c: (activate_callback):
	Clean up code here a bit; patch submitted by David Emory Watson.

	* src/file-manager/nautilus-icon-view-ui.xml: Tweak wording as
	suggested by Steve Fox <drfickle@k-lug.org>.
2002-02-04 18:04:07 +00:00
Laszlo Peter
2043280a28 fix licensing info.
2002-02-04  Laszlo Peter  <laca@ireland.sun.com>

	* libnautilus/nautilus-clipboard.[ch]: fix licensing info.
2002-02-04 17:26:37 +00:00
Dave Camp
1d2b0af981 Increased GNOME_UI_REQUIRED to 1.110.1
2002-02-01  Dave Camp  <dave@ximian.com>

	* configure.in: Increased GNOME_UI_REQUIRED to 1.110.1

	* libnautilus-private/nautilus-icon-container.c:
	(nautilus_icon_container_class_init): Use
	nautilus_marshal_VOID__POINTER_STRING instead of
	nautilus_marshal_VOID__POINTER_POINTER for the icon_text_changed
	signal.
	(handle_focus_out_event): Return FALSE.
	(nautilus_icon_container_start_renaming_selected_item),
	(end_renaming_mode): Use GnomeIconTextItem instead of
	NautilusIconTextItem.  This includes changing how the size was
	calculated, as NautilusIconTextItem expected a center point and
	maximum width, and GnomeIconTextItem expects a bounding box.

	* libnautilus-private/nautilus-icon-private.h: Use
	GnomeIconTextItem instead of NautilusIconTextItem for
	rename_widget.
	* libnautilus-private/nautilus-marshal.list: Added
	VOID:POINTER,STRING.
	* src/file-manager/fm-icon-view.c: (renaming_icon_callback):
	Temporarily #ifed out the
	nautilus_clipboard_set_up_editable_in_control for the renaming
	editable.
2002-02-01 21:11:17 +00:00
John Harper
f828c6c3e3 Make the search feature work again:
2002-01-31  John Harper  <jsh@unfactored.org>

	Make the search feature work again:

	* configure.in: fixed how HAVE_MEDUSA is defined. Add
	MEDUSA_CFLAGS to CORE_CFLAGS

	* src/file-manager/fm-search-list-view.c: moved some of the
	GNOME2_CONVERSION_COMPLETE ifdefs around so that we get a
	functional object, just without some of the features of the
	original

	* src/nautilus-shell-ui.xml: copied search parts from nautilus
	1 version

	* src/nautilus-application.c (create_object): reenable
	search-list-view creation

	* src/file-manager/nautilus-indexing-info.c: random changes to
	make it compile (untested as yet)
2002-02-01 05:46:19 +00:00
Darin Adler
68c54c317e Bump eel version required.
* configure.in: Bump eel version required.

	* libnautilus-private/nautilus-icon-container.c:
	(rubberband_timeout_callback), (start_rubberbanding),
	(update_stretch_at_idle), (motion_notify_event):
	* libnautilus-private/nautilus-icon-dnd.c: (icon_get_data_binder),
	(nautilus_icon_container_position_shadow),
	(receive_dropped_keyword),
	(nautilus_icon_container_find_drop_target),
	(nautilus_icon_container_receive_dropped_icons),
	(nautilus_icon_container_get_drop_action),
	(nautilus_icon_dnd_update_drop_target), (nautilus_icon_dnd_init),
	(nautilus_icon_dnd_begin_drag):
	Use new eel functions that eliminate the funky interaction between
	the new GtkLayout and GnomeCanvas. Basically, all the functions
	that deal with window coordinates are getting bin_window
	coordinates instead. This should really be fixed in GnomeCanvas.
2002-01-30 22:33:40 +00:00
Zbigniew Chyla
110ba62dc3 DO NOT mark empty strings for translation.
2002-01-30  Zbigniew Chyla  <cyba@gnome.pl>

	* libnautilus-private/nautilus-authn-manager.c
	(construct_password_dialog):
	DO NOT mark empty strings for translation.
2002-01-30 01:48:47 +00:00
Darin Adler
0ba9c077fd Remove smooth mode and unused font and font size machinery.
* components/tree/nautilus-tree-view.c: (create_tree),
	(nautilus_tree_view_destroy):
	* libnautilus-private/nautilus-directory.c:
	(add_preferences_callbacks):
	* libnautilus-private/nautilus-global-preferences.c:
	* libnautilus-private/nautilus-global-preferences.h:
	* libnautilus-private/nautilus-icon-canvas-item.c:
	(measure_label_text), (nautilus_icon_canvas_item_render),
	(nautilus_icon_canvas_item_set_show_stretch_handles):
	* libnautilus-private/nautilus-icon-container.c:
	(start_rubberbanding), (finalize), (nautilus_icon_container_init),
	(nautilus_icon_container_update_icon),
	(nautilus_icon_container_theme_changed):
	* libnautilus-private/nautilus-icon-container.h:
	* libnautilus-private/nautilus-icon-private.h:
	* src/file-manager/fm-directory-view.c: (fm_directory_view_init),
	(fm_directory_view_finalize):
	* src/file-manager/fm-directory-view.h:
	* src/file-manager/fm-icon-view.c:
	(fm_icon_view_update_icon_container_font_size_table),
	(create_icon_container), (fm_icon_view_class_init):
	Remove smooth mode and unused font and font size machinery.

	* test/.cvsignore: Remove test-nautilus-smooth-graphics.
	* test/Makefile.am: Remove test-nautilus-smooth-graphics.
	* test/test-nautilus-smooth-graphics.c: Remove.

	* src/nautilus-preferences-dialog.c:
	(dialog_delete_event_callback), (dialog_button_response_callback),
	(preferences_dialog_create): Fix bug where we'd lose the
	preferences dialog if you closed it with a delete_event.
2002-01-29 19:21:59 +00:00
Darin Adler
81bceb3e69 Release marker. 2002-01-29 18:17:06 +00:00
Darin Adler
a74d095fbe Update for 1.1.3 release. Bump version.
* NEWS: Update for 1.1.3 release.
	* configure.in: Bump version.

	* src/file-manager/fm-directory-view.c:
	(fm_directory_view_finalize), (real_merge_menus):
	Use a weak pointer so we don't retain a pointer to the UI component
	if the BonoboControl goes away, but we don't. This doesn't really
	fix anything, but it also does no harm.
2002-01-29 16:58:41 +00:00
Seth Nickell
499a149b6a Bring start-here stuff up to date with current URI schemes, update to use
2002-01-28  Seth Nickell  <snickell@stanford.edu>

	* data/applications.desktop.in:
	* data/preferences.desktop.in:

	Bring start-here stuff up to date with current
	URI schemes, update to use appropriate system icons.
2002-01-29 07:03:56 +00:00
Darin Adler
39c3dcc031 Changed the system(3) call to launch application from command. Instead use
* libnautilus-private/nautilus-program-choosing.c
	(nautilus_launch_application_from_command): Changed the system(3) call to
	launch application from command. Instead use eel_gnome_shell_execute.

	* src/file-manager/fm-directory-view.c (activate_callback):
	Now use newly public NautilusDesktopFile class & nautilus_desktop_file_launch
	to launch the corresponding command.

	* libnautilus-private/nautilus-desktop-file-loader.c:
	* libnautilus-private/nautilus-desktop-file-loader.h:
	Made the NautilusDesktopFile class public. The struct has been moved
	from the source to the header. The nautilus_desktop_file_new method
	is not static any more.

	* libnautilus-private/nautilus-desktop-file-loader.c
	(nautilus_desktop_file_launch):
	Add the locale name taken from the desktop file to display it
	through xalf (launch feedback).
2002-01-28 23:31:40 +00:00
Seth Nickell
aa25134442 Move emblems into the default theme so they start working again. Remove
2002-01-28  Seth Nickell  <snickell@stanford.edu>

	* icons/Makefile.am:
	* icons/default/Makefile.am:
	* icons/default/emblem-OK.svg:
	* icons/default/emblem-broken-link.png:
	* icons/default/emblem-certified.svg:
	* icons/default/emblem-cool.svg:
	* icons/default/emblem-danger.svg:
	* icons/default/emblem-distinguished.svg:
	* icons/default/emblem-draft.svg:
	* icons/default/emblem-favorite.svg:
	* icons/default/emblem-generic.png:
	* icons/default/emblem-generic.svg:
	* icons/default/emblem-important.gif:
	* icons/default/emblem-important.svg:
	* icons/default/emblem-new.gif:
	* icons/default/emblem-new.svg:
	* icons/default/emblem-noread.png:
	* icons/default/emblem-noread.svg:
	* icons/default/emblem-nowrite.svg:
	* icons/default/emblem-ohno.svg:
	* icons/default/emblem-personal.svg:
	* icons/default/emblem-special.svg:
	* icons/default/emblem-symbolic-link-12.png:
	* icons/default/emblem-symbolic-link-24.png:
	* icons/default/emblem-symbolic-link-36.png:
	* icons/default/emblem-symbolic-link.png:
	* icons/default/emblem-trash.png:
	* icons/default/emblem-urgent.svg:
	* icons/emblem-OK.svg:
	* icons/emblem-broken-link.png:
	* icons/emblem-certified.svg:
	* icons/emblem-cool.svg:
	* icons/emblem-danger.svg:
	* icons/emblem-distinguished.svg:
	* icons/emblem-draft.svg:
	* icons/emblem-favorite.svg:
	* icons/emblem-generic.png:
	* icons/emblem-generic.svg:
	* icons/emblem-important.gif:
	* icons/emblem-important.svg:
	* icons/emblem-new.gif:
	* icons/emblem-new.svg:
	* icons/emblem-noread.png:
	* icons/emblem-noread.svg:
	* icons/emblem-nowrite.svg:
	* icons/emblem-ohno.svg:
	* icons/emblem-personal.svg:
	* icons/emblem-special.svg:
	* icons/emblem-symbolic-link-12.png:
	* icons/emblem-symbolic-link-24.png:
	* icons/emblem-symbolic-link-36.png:
	* icons/emblem-symbolic-link.png:
	* icons/emblem-trash.png:
	* icons/emblem-urgent.svg:

	Move emblems into the default theme so they start working
	again. Remove the hand*.png icons, which are no longer
	used (used to be used for eazel services).
2002-01-28 23:18:41 +00:00
Gediminas Paulauskas
e8b66e7610 use g_list_copy instead of eel version use gtk_window_present instead of
2002-01-28  Gediminas Paulauskas <menesis@delfi.lt>

	* libnautilus-private/nautilus-directory.c,
	libnautilus-private/nautilus-icon-container.c: use g_list_copy
	instead of eel version
	* src/nautilus-preferences-dialog.c,
	src/nautilus-property-browser.c,
	src/nautilus-window-manage-views.c,
	src/nautilus-window-menus.c,
	src/file-manager/fm-properties-window.c: use gtk_window_present
	instead of eel version.
2002-01-28 21:38:37 +00:00
Seth Nickell
050a21b305 remove a merge conflict marker from the ChangeLog 2002-01-28 21:20:45 +00:00
Seth Nickell
6b37d5721d Add a function for moving preference values (if they exist) from their old
2002-01-28  Seth Nickell  <snickell@stanford.edu>

	* libnautilus-private/nautilus-global-preferences.c:
	(import_old_preferences_if_needed),
	(nautilus_global_preferences_init):

	Add a function for moving preference values (if they exist)
	from their old location to their new location, if it
	hasn't already been done.

	* libnautilus-private/nautilus-global-preferences.h:

	Change the location/name of THEME, SHOW_HIDDEN_FILES and
	SHOW_BACKUP_FILES so other file viewers in GNOME can smoothly
	access them.
2002-01-28 21:19:52 +00:00
Anders Carlsson
bad47e456d Call gnome_program_init.
2002-01-28  Anders Carlsson  <andersca@gnu.org>

	* components/throbber/main.c (main): Call gnome_program_init.

	* libnautilus/nautilus-view-standard-main.c
	(nautilus_view_standard_main_multi): Call gnome_program_init.
2002-01-28 21:04:22 +00:00
Anders Carlsson
ba30345e3c Fix build.
2002-01-28  Anders Carlsson  <andersca@gnu.org>

	* libnautilus-private/nautilus-entry.c: Fix build.

Thanks to zilch for reporting this.
2002-01-28 07:20:13 +00:00
Anders Carlsson
e4f7a87b7c Remove gmc link support and calls to gnome_set_metadata.
2002-01-28  Anders Carlsson  <andersca@gnu.org>

	* libnautilus-private/nautilus-file.c:
	* libnautilus-private/nautilus-file.h:
	Remove gmc link support and calls to gnome_set_metadata.

	* libnautilus-private/nautilus-file-operations.c
	(create_transfer_dialog): Set transfer_info as user_data.

	* libnautilus-private/nautilus-file-operations-progress.c: Move stuff
	to finalize.

	* libnautilus-private/nautilus-entry.c: Remove cursor obscuring code
	since that exists in GtkEntry now.
2002-01-27 23:31:54 +00:00
Darin Adler
555bc849a1 Formatting tweaks. Use new eel_gnome_canvas_item_send_behind.
* libnautilus-private/nautilus-icon-canvas-item.c:
	(draw_or_measure_label_text), (draw_stretch_handles): Formatting tweaks.
	* libnautilus-private/nautilus-icon-container.c: (icon_raise): Use new
	eel_gnome_canvas_item_send_behind.
2002-01-27 22:10:17 +00:00
Alexander Larsson
4d37a68c7a Ooops, forgot changelog entry. 2002-01-27 18:23:42 +00:00
Anders Carlsson
3aea85a8d6 Add selectable argument. (attach_value_label): set selectable to TRUE.
2002-01-27  Anders Carlsson  <andersca@gnu.org>

	* src/file-manager/fm-properties-window.c (attach_label): Add selectable argument.
	(attach_value_label): set selectable to TRUE.
	(attach_ellipsizing_value_label): Likewise.
	(attach_title_field): set selectable to FALSE.

2002-01-23  Anders Carlsson  <andersca@gnu.org>

	* libnautilus/nautilus-view-standard-main.c (delayed_quit_timeout_callback):
	Use gtk_main_quit.
2002-01-27 16:30:16 +00:00
Michael Meeks
45d43076d6 return a 'changed' boolean.
2002-01-25  Michael Meeks  <michael@ximian.com>

	* libnautilus-private/nautilus-bookmark.c
	(nautilus_bookmark_set_name): return a 'changed'
	boolean.

	* src/nautilus-window-manage-views.c
	(update_title): only re-send history if it changed.

	* src/nautilus-window.c (add_to_history_list): prune
	the end of the list more succinctly, don't fire
	send_history_list_changed if we didn't change the list.
2002-01-25 12:22:25 +00:00
Darin Adler
cae5766795 GNOME2_CONVERSION_COMPLETE eradication campaign
* libnautilus-private/nautilus-icon-factory.c: (cache_icon_new):
	No last_unref_handler any more.
	(cache_icon_unref): Just keep one ref for the factory, just like
	in the old days, since we don't have a "last_unref_handler" any
	more.
	(nautilus_icon_factory_possibly_free_cached_icon): Look at
	ref_count rather than looking at "outstanding" flag.
	(nautilus_icon_factory_get_pixbuf_for_icon): Just ref, no fancy
	"oustanding" logic.
	(embed_text): Rewrite to use Pango.

	* src/file-manager/fm-list-model.h: Tweak formatting and order.
	* src/file-manager/fm-list-model.c: Tweak formatting and order.
	* src/file-manager/fm-list-view.h: Tweak formatting and order.
	* src/file-manager/fm-list-view.c: Tweak formatting and order.

	* src/file-manager/fm-properties-window.c:
	(select_image_button_callback): Turn this code back on.

	* src/nautilus-bookmarks-window.c: (on_row_move): Remove puts.

	* src/nautilus-complex-search-bar.c:
	(nautilus_complex_search_bar_queue_resize): GnomeDock -> BonoboDock.

	* src/nautilus-property-browser.c: (nautilus_emblem_dialog_new):
	Finish porting to GtkDialog.
	(nautilus_color_selection_dialog_new): Finish porting to
	GtkDialog.
	(add_new_pattern): Re-enable some code.
	(labeled_image_configure): Re-enable some code, take out other stuff.
	(labeled_image_new): Take out some dead code.
	(property_browser_category_button_new): Take out some dead code.

	* src/nautilus-sidebar-tabs.c: (tab_item_destroy),
	(tab_indicator_changed_callback),
	(nautilus_sidebar_tabs_connect_view):
	Use a listener object now, not a listener ID.

	* src/nautilus-simple-search-bar.c:
	(nautilus_simple_search_bar_class_init): Remove some undo code.

	* src/nautilus-switchable-navigation-bar.c:
	(nautilus_switchable_navigation_bar_set_mode): GnomeDock -> BonoboDock.

	* src/nautilus-switchable-search-bar.c:
	(nautilus_switchable_search_bar_set_mode): GnomeDock -> BonoboDock.

	* src/nautilus-view-frame.c: (destroy_view): Make deregister code use
	the BonoboUIEngine instead of the BonoboWindow.
2002-01-25 00:53:00 +00:00
Darin Adler
5db444dcb4 GNOME2_CONVERSION_COMPLETE eradication campaign
* components/hardware/nautilus-hardware-view.c:
	(nautilus_hardware_view_init): Re-enable the property bag.

	* components/image-viewer/Makefile.am: Remove io-png.[ch].
	* components/image-viewer/io-png.c: Remove.
	* components/image-viewer/io-png.h: Remove.
	* components/image-viewer/nautilus-image-view.c:
	(save_image_to_stream): Not implemented.

	* libnautilus-private/nautilus-directory-metafile.c:
	(nautilus_directory_register_metadata_monitor),
	(nautilus_directory_unregister_metadata_monitor):
	Wipe out some bonobo_object_corba_objref calls.

	* src/nautilus-window.h: Make the throbber private.
	* src/nautilus-window-private.h: Make the throbber private.
	Use a listener object now, not a listener ID.

	* src/nautilus-window-toolbars.c:
	(nautilus_window_initialize_toolbars): Move the throbber
	into details.

	* src/nautilus-window.c: (nautilus_window_constructed),
	(nautilus_window_unrealize): Use the new listener calls that
	use an object, not an ID.
	(nautilus_window_allow_stop): Move the throbber into details.
2002-01-24 21:52:34 +00:00
Darin Adler
85f29cd7a7 Remove stray call to gtk_tree_view_column_new.
* src/nautilus-bookmarks-window.c: (create_bookmarks_window):
	Remove stray call to gtk_tree_view_column_new.
2002-01-24 19:26:15 +00:00
Seth Nickell
cb16d61b7e Change name to "Home Folder".
2002-01-24  Seth Nickell  <snickell@stanford.edu>

	* nautilus.desktop.in:

	Change name to "Home Folder".
2002-01-24 11:49:28 +00:00
Darin Adler
6b8ce47772 Use newfangled gnome-client.h calls to turn off session management.
* components/adapter/main.c: (main):
	* components/image-viewer/nautilus-image-view.c:
	(init_server_factory):
	* components/throbber/main.c: (main):
	Use newfangled gnome-client.h calls to turn off session management.

	* libnautilus/nautilus-view-standard-main.c:
	(nautilus_view_standard_main_multi): Since we think
	the per-display IID scheme is broken in bonobo-activation,
	we turned it off there, rather than turning it off here.
2002-01-23 23:02:31 +00:00
Michael Meeks
e7c91ff2cf re-remove the per display IID creation scheme - it's broken.
2002-01-23  Michael Meeks  <michael@ximian.com>

	* libnautilus/nautilus-view-standard-main.c
	(nautilus_view_standard_main_multi): re-remove the
	per display IID creation scheme - it's broken.

	* components/throbber/nautilus-throbber.c
	(nautilus_throbber_draw): kill, no draw methods
	in gtk 2.0
	(draw_throbber_image): remove bonobo bug
	workaround, if it still exists it should be fixed
	in bonobo and fold into
	(nautilus_throbber_expose): here
	(draw_pixbuf): fold into
	(nautilus_throbber_expose): here, and fix
	rendering bugs.
	(nautilus_throbber_size_allocate): kill bogus
	sizing logic.
	(nautilus_throbber_button_release_event): do
	conversion.
	(nautilus_throbber_destroy): remove
	force_destroy_later.

2002-01-21  Michael Meeks  <michael@ximian.com>

	* src/nautilus-window.c,
	* src/nautilus-application.c,
	* src/nautilus-view-frame.c,
	* libnautilus-private/nautilus-undo-manager.c,
	* libnautilus-private/nautilus-metafile-factory.c,
	* libnautilus/nautilus-undo-transaction.c,
	s/bonobo_object_corba_objref/BONOBO_OBJREF/

	* libnautilus-private/nautilus-directory-metafile.c
	(get_factory): update referencing.

	* libnautilus/nautilus-view.c
	(nautilus_view_get_view_frame): impl. helper to
	reduce sync CORBA traffic.
	(view_frame_call_end, view_frame_call_begin): upd.
	(nautilus_view_dispose): release the CORBA ref. if we
	took it.
	(nautilus_view_set_frame): unset the frame if we
	loose it.

	* libnautilus-private/nautilus-bonobo-extensions.c
	(add_numbered_menu_item_internal): kill the label encoding.
	(nautilus_bonobo_add_submenu): ditto.
	(nautilus_bonobo_set_icon): kill unused.

	* components/adaptor/bonobo-stream-vfs.[ch]: remove, now
	inside gnome-vfs.
2002-01-23 17:59:50 +00:00
jacob berkman
64477f6179 remove since automake doesn't like an empty SUBDIRS
2002-01-23  jacob berkman  <jacob@ximian.com>

	* icons/default/Makefile.am (SUBDIRS): remove since automake
	doesn't like an empty SUBDIRS
2002-01-23 17:32:25 +00:00
Darin Adler
e901fb3487 Disable the code that destroys the fallback icon at shutdown time since it
* libnautilus-private/nautilus-icon-factory.c:
	(load_icon_for_scaling): Disable the code that destroys the fallback
	icon at shutdown time since it was hitting some snags.

	* libnautilus/nautilus-view-standard-main.c:
	(nautilus_view_standard_main_multi): Add a bonobo_activate to try
	to reduce the complaints at quit time.

	* src/nautilus-location-bar.c: (editable_key_press_callback):
	Make the End key do what the right arrow key did.

	* src/nautilus-window-manage-views.c: (use_saved_window_positions),
	(open_location), (position_and_show_window_callback),
	(determined_initial_view_callback): Open windows right away unless
	we are using saved window positions.

	* icons/default/Makefile: Remove.
	* icons/default/Makefile.in: Remove.
2002-01-22 23:37:52 +00:00
Josh Barrow
26bf7f5e1c Changed tab fonts to use something that Pango understands.
2002-01-22  Josh Barrow  <drleary@mac.com>

        * icons/crux_eggplant/crux_eggplant.xml:
        * icons/crux_teal/crux_teal.xml:
        * icons/default/default.xml:
        * icons/gnome/gnome.xml:
        Changed tab fonts to use something that Pango understands.
2002-01-22 23:28:09 +00:00
Seth Nickell
4e7d731579 Seperate document icons from the themes so they can be moved into
2002-01-22  Seth Nickell  <snickell@stanford.edu>

	Seperate document icons from the themes so they
	can be moved into gnome-mime-data and used by
	other applications more cleanly.

	* configure.in:

	* icons/Makefile.am:
	* icons/default.xml:
	* icons/default/.cvsignore:
	* icons/default/Back.png:
	* icons/default/Forward.png:
	* icons/default/Home.png:
	* icons/default/Makefile:
	* icons/default/Makefile.am:
	* icons/default/Makefile.in:
	* icons/default/Refresh.png:
	* icons/default/Search.png:
	* icons/default/SearchWeb.png:
	* icons/default/Stop.png:
	* icons/default/Up.png:
	* icons/default/decrement.png:
	* icons/default/default.xml:
	* icons/default/home.png:
	* icons/default/i-bookmark-20.png:
	* icons/default/i-bookmark-missing-20.png:
	* icons/default/i-bookmark-missing.png:
	* icons/default/i-bookmark.png:
	* icons/default/i-broken-image.png:
	* icons/default/i-directory-12.png:
	* icons/default/i-directory-24.png:
	* icons/default/i-directory-36.png:
	* icons/default/i-directory-72.png:
	* icons/default/i-directory-96.png:
	* icons/default/i-directory-accept-12.png:
	* icons/default/i-directory-accept-24.png:
	* icons/default/i-directory-accept-36.png:
	* icons/default/i-directory-accept-72.png:
	* icons/default/i-directory-accept-96.png:
	* icons/default/i-directory-accept.png:
	* icons/default/i-directory-accept.xml:
	* icons/default/i-directory.png:
	* icons/default/i-directory.xml:
	* icons/default/i-regular-12.png:
	* icons/default/i-regular-24.png:
	* icons/default/i-regular-36.png:
	* icons/default/i-regular-72.png:
	* icons/default/i-regular-96.png:
	* icons/default/i-regular.png:
	* icons/default/i-regular.xml:
	* icons/default/i-search-72.png:
	* icons/default/i-spreadsheet.png:
	* icons/default/i-stalled.png:
	* icons/default/i-symlink.png:
	* icons/default/i-web-72.png:
	* icons/default/increment.png:
	* icons/default/loading.png:
	* icons/default/manual.png:
	* icons/default/number_strip.png:
	* icons/default/side_bar_image.png:
	* icons/default/temp-home.png:
	* icons/default/theme_preview.png:
	* icons/default/trash-empty.png:
	* icons/default/trash-full.png:
	* icons/default/zoom_body.png:

	Move default theme from icons/ into icons/default.

	* icons/gnome-application-encapsulated_postscript.png:
	* icons/gnome-application-pdf-192.png:
	* icons/gnome-application-pdf.png:
	* icons/gnome-application-pgp-192.png:
	* icons/gnome-application-pgp.png:
	* icons/gnome-application-postscript-192.png:
	* icons/gnome-application-postscript-72.png:
	* icons/gnome-application-postscript-96.png:
	* icons/gnome-application-postscript.png:
	* icons/gnome-application-x-c-header.png:
	* icons/gnome-application-x-c-source.png:
	* icons/gnome-application-x-cc-source.png:
	* icons/gnome-application-x-e-theme.png:
	* icons/gnome-application-x-generic-spreadsheet.png:
	* icons/gnome-application-x-gnome-app-info.png:
	* icons/gnome-application-x-java-source.png:
	* icons/gnome-application-x-kde-app-info.png:
	* icons/gnome-application-x-php.png:
	* icons/gnome-application-x-reject.png:
	* icons/gnome-application-x-scheme-source.png:
	* icons/gnome-application-x-sql.png:
	* icons/gnome-audio-basic.png:
	* icons/gnome-audio-midi.png:
	* icons/gnome-audio-ulaw.png:
	* icons/gnome-audio-x-aiff.png:
	* icons/gnome-audio-x-mod-192.png:
	* icons/gnome-audio-x-mod.png:
	* icons/gnome-audio-x-mp3-192.png:
	* icons/gnome-audio-x-mp3.png:
	* icons/gnome-audio-x-ogg-192.png:
	* icons/gnome-audio-x-ogg.png:
	* icons/gnome-audio-x-pn-realaudio.png:
	* icons/gnome-audio-x-real-192.png:
	* icons/gnome-audio-x-s3m-192.png:
	* icons/gnome-audio-x-s3m.png:
	* icons/gnome-audio-x-stm-192.png:
	* icons/gnome-audio-x-stm.png:
	* icons/gnome-audio-x-voc.png:
	* icons/gnome-audio-x-wav.png:
	* icons/gnome-audio-x-xi-192.png:
	* icons/gnome-audio-x-xi.png:
	* icons/gnome-audio-x-xm.png:
	* icons/gnome-audio.png:
	* icons/gnome-compressed-192.png:
	* icons/gnome-compressed.png:
	* icons/gnome-core.png:
	* icons/gnome-emacs-192.png:
	* icons/gnome-font-afm.png:
	* icons/gnome-font-ttf.png:
	* icons/gnome-font-x-pcf.png:
	* icons/gnome-gimp.png:
	* icons/gnome-gnumeric.png:
	* icons/gnome-http-url.png:
	* icons/gnome-image-bmp.png:
	* icons/gnome-image-generic.png:
	* icons/gnome-image-gif.png:
	* icons/gnome-image-ief.png:
	* icons/gnome-image-jpeg.png:
	* icons/gnome-image-pbm.png:
	* icons/gnome-image-pgm.png:
	* icons/gnome-image-png.png:
	* icons/gnome-image-pnm.png:
	* icons/gnome-image-ppm.png:
	* icons/gnome-image-psd.png:
	* icons/gnome-image-ras.png:
	* icons/gnome-image-rgb.png:
	* icons/gnome-image-tga.png:
	* icons/gnome-image-tiff.png:
	* icons/gnome-image-x-xfig.png:
	* icons/gnome-image-xbm.png:
	* icons/gnome-image-xcf.png:
	* icons/gnome-image-xpm.png:
	* icons/gnome-image-xwd.png:
	* icons/gnome-library.png:
	* icons/gnome-manpage.png:
	* icons/gnome-objectfile.png:
	* icons/gnome-pack-deb.png:
	* icons/gnome-pack-rpm.png:
	* icons/gnome-package.png:
	* icons/gnome-tex-192.png:
	* icons/gnome-tex.png:
	* icons/gnome-text-html-192.png:
	* icons/gnome-text-html.png:
	* icons/gnome-text-x-authors.png:
	* icons/gnome-text-x-copying.png:
	* icons/gnome-text-x-credits.png:
	* icons/gnome-text-x-install.png:
	* icons/gnome-text-x-makefile-192.png:
	* icons/gnome-text-x-makefile.png:
	* icons/gnome-text-x-readme.png:
	* icons/gnome-textfile.png:
	* icons/gnome-video-mpeg.png:
	* icons/gnome-video-quicktime.png:
	* icons/gnome-video-x-msvideo.png:
	* icons/gnome-word-192.png:
	* icons/i-blockdev.png:
	* icons/i-bookmark-20.png:
	* icons/i-bookmark-missing-20.png:
	* icons/i-bookmark-missing.png:
	* icons/i-bookmark.png:
	* icons/i-broken-image.png:
	* icons/i-cdrom-192.png:
	* icons/i-cdrom.png:
	* icons/i-chardev.png:
	* icons/i-core.png:
	* icons/i-device.png:
	* icons/i-dirclosed.png:
	* icons/i-directory-12.png:
	* icons/i-directory-24.png:
	* icons/i-directory-36.png:
	* icons/i-directory-72.png:
	* icons/i-directory-96.png:
	* icons/i-directory-accept-12.png:
	* icons/i-directory-accept-24.png:
	* icons/i-directory-accept-36.png:
	* icons/i-directory-accept-72.png:
	* icons/i-directory-accept-96.png:
	* icons/i-directory-accept.png:
	* icons/i-directory-accept.xml:
	* icons/i-directory.png:
	* icons/i-directory.xml:
	* icons/i-executable.png:
	* icons/i-fifo.png:
	* icons/i-floppy.png:
	* icons/i-harddisk.png:
	* icons/i-music-12.png:
	* icons/i-music-24.png:
	* icons/i-music-36.png:
	* icons/i-music.png:
	* icons/i-nfs.png:
	* icons/i-printer.png:
	* icons/i-regular-12.png:
	* icons/i-regular-24.png:
	* icons/i-regular-36.png:
	* icons/i-regular-72.png:
	* icons/i-regular-96.png:
	* icons/i-regular.png:
	* icons/i-regular.xml:
	* icons/i-search-72.png:
	* icons/i-sock.png:
	* icons/i-spreadsheet.png:
	* icons/i-stalled.png:
	* icons/i-symlink.png:
	* icons/i-web-72.png:
	* icons/i-zip.png:
	* icons/i-zipdisk.png:
	* icons/i-zipdisk2.png:
	* icons/loading.png:
	* icons/manual.png:
	* icons/temp-home.png:
	* icons/trash-empty.png:
	* icons/trash-full.png:

	Move icons to either gnome-mime-data/icons or, perhaps,
	nautilus/icons/default

	* libnautilus-private/nautilus-find-icon-image.c:
	(make_full_icon_path), (get_themed_icon_file_path),
	(nautilus_get_icon_file_name):

	Add support for looking in DATADIR/share/pixmaps/document-icons
	as a fallback for the current theme and the fallback theme.

	Remove hardcoded "default" theme stuff.

	* libnautilus-private/nautilus-icon-factory.c:
	(icon_theme_changed_callback):

	If a theme doesn't have a fallback theme listed, use the
	"default" theme as the fallback. Should be the only default
	theme hardcoding left.

	* libnautilus-private/nautilus-theme.c: (load_theme_document),
	(nautilus_theme_get_theme_data_from_theme),
	(nautilus_theme_get_image_path_from_theme),
	(nautilus_theme_make_preview_pixbuf), (has_image_file),
	(theme_get_property), (nautilus_theme_for_each_theme):

	Remove hardcoding of default theme.

	* icons/crux_eggplant/crux_eggplant.xml:

	Remove inheritance clause which was pointing to "arlo",
	a theme which does not exist anymore.
2002-01-22 19:51:22 +00:00
Havoc Pennington
f8ced336d7 add comment about how this should be fixed
2002-01-16  Havoc Pennington  <hp@redhat.com>

	* libnautilus-private/nautilus-file-operations.c
	(ellipsize_string_for_dialog): add comment about how this should
	be fixed

	* components/news/nautilus-news.c (ellipsize_string): add comment
	about how this should be fixed
2002-01-22 00:33:45 +00:00
Darin Adler
0e3671391d Restore the anti-aliased text selection frame.
* icons/Makefile.am:
	* icons/text-selection-frame-aa.png:
	* icons/text-selection-frame.png:
	Restore the anti-aliased text selection frame.
2002-01-22 00:20:20 +00:00
Darin Adler
aaf205789a Get rid of code that passes around the "optimize for AA" flag.
* components/tree/nautilus-tree-view.c:
	(nautilus_tree_view_insert_model_node),
	(nautilus_tree_view_update_model_node):
	* libnautilus-private/nautilus-bookmark.c:
	(nautilus_bookmark_get_pixbuf):
	* libnautilus-private/nautilus-find-icon-image.c: (read_details),
	(get_themed_icon_file_path), (theme_has_icon),
	(nautilus_get_icon_file_name):
	* libnautilus-private/nautilus-find-icon-image.h:
	* libnautilus-private/nautilus-icon-container.c:
	(nautilus_icon_container_update_icon):
	* libnautilus-private/nautilus-icon-factory-private.h:
	* libnautilus-private/nautilus-icon-factory.c:
	(load_thumbnail_frame), (nautilus_icon_factory_init),
	(nautilus_icon_factory_destroy), (icon_theme_changed_callback),
	(should_display_image_file_as_itself),
	(nautilus_icon_factory_get_icon_for_file), (load_icon_from_path),
	(load_named_icon), (load_specific_icon), (load_icon_for_scaling),
	(load_icon_scale_if_necessary), (get_icon_from_cache),
	(nautilus_icon_factory_get_pixbuf_for_icon), (cache_key_hash),
	(cache_key_equal), (nautilus_icon_factory_get_pixbuf_for_file),
	(nautilus_icon_factory_get_pixbuf_from_name),
	(nautilus_icon_factory_get_thumbnail_frame):
	* libnautilus-private/nautilus-icon-factory.h:
	* libnautilus-private/nautilus-thumbnails.c:
	(nautilus_thumbnail_load_framed_image):
	* libnautilus-private/nautilus-thumbnails.h:
	* src/file-manager/fm-directory-view.c:
	(add_script_to_script_menus), (add_submenu_to_script_menus):
	* src/file-manager/fm-list-model.c: (fm_list_model_get_value):
	* src/file-manager/fm-properties-window.c:
	(get_pixbuf_for_properties_window):
	* src/nautilus-sidebar-title.c: (update_icon), (update_emblems):
	Get rid of code that passes around the "optimize for AA" flag.

	* cut-n-paste-code/widgets/gimphwrapbox/gtkhwrapbox.c:
	* cut-n-paste-code/widgets/gimphwrapbox/gtkhwrapbox.h:
	* cut-n-paste-code/widgets/gimphwrapbox/gtkwrapbox.c:
	* cut-n-paste-code/widgets/gimphwrapbox/gtkwrapbox.h:
	Roll in the latest version from gimp source tree.

	* icons: Overwrite all the non-aa versions with the aa versions.
	Remove all the aa versions.
2002-01-21 22:49:40 +00:00
Darin Adler
c66ad8c74e Remove. Remove. Remove. Remove. Remove.
* check-signals.pl: Remove.
	* components/adapter/bonobo-stream-vfs.c: Remove.
	* components/adapter/bonobo-stream-vfs.h: Remove.
	* components/adapter/nautilus-adapter-progressive-load-strategy.c: Remove.
	* components/adapter/nautilus-adapter-progressive-load-strategy.h: Remove.

	* components/adapter/Makefile.am:
	* components/hardware/Makefile.am:
	* components/history/Makefile.am:
	* components/image-viewer/Makefile.am:
	* components/music/Makefile.am:
	* components/news/Makefile.am:
	* components/notes/Makefile.am:
	* components/text/Makefile.am:
	* components/throbber/Makefile.am:
	* components/tree/Makefile.am:
	* libnautilus-private/Makefile.am:
	* test/Makefile.am:
	General cleanups, mostly formatting.

	* configure.in: Remove libiconv stuff, since we don't use it
	any more. Do esound stuff in the main call to pkg-config, not
	a separate set of variables.

	* components/image-viewer/nautilus-image-view.c: Remove unused
	libart includes.

	* cut-n-paste-code/widgets/gimphwrapbox/gtkwrapbox.h: Remove
	the use of "decrement" as a synonym for "remove".

	* test/test.c: Remove unused libart include.
2002-01-21 20:21:31 +00:00
Anders Carlsson
39aacdfa73 Change libprofiler location.
2002-01-21  Anders Carlsson  <andersca@gnu.org>

	* configure.in:
	Change libprofiler location.

	* libnautilus-private/nautilus-directory-async.c:
	(lacks_link_info), (make_dot_directory_uri), (link_info_start):
	Remove support for gmc style links.

	* libnautilus-private/nautilus-entry.c:
	(emacs_shortcuts_preference_changed_callback),
	(nautilus_entry_init), (nautilus_entry_finalize),
	(nautilus_entry_key_press), (select_all_at_idle),
	(nautilus_entry_select_all_at_idle):
	Use gtk_idle_add instead and store the idle id in the details
	struct. This fixes some weirdness in the file properties dialog,
	since the "destroy" signal can be emitted more than once.

	* libnautilus-private/nautilus-icon-canvas-item.c:
	(update_label_layouts):
	Enable underlining.

	* libnautilus-private/nautilus-monitor.c: (get_event_uri):
	Silently return if we can't find the base path. This is valid when
	we've called nautilus_monitor_cancel but still have some events
	in the queue.
2002-01-21 14:09:10 +00:00
Michael Meeks
d112f3e1ac upd to handle orientation too (create_back_or_forward_toolbar_item): add
2002-01-18  Michael Meeks  <michael@ximian.com>

	* src/nautilus-window-toolbars.c
	(back_or_forward_toolbar_item_property_set_cb): upd to
	handle orientation too
	(create_back_or_forward_toolbar_item): add orientation prop.
2002-01-21 12:09:54 +00:00
Darin Adler
8571f60d7d Fix storage leak by unrefing the metafile monitor before dropping it on
* libnautilus-private/nautilus-directory-metafile.c:
	(nautilus_directory_unregister_metadata_monitor): Fix storage leak by
	unrefing the metafile monitor before dropping it on the floor.

	* libnautilus-private/nautilus-directory-metafile-monitor.h: Remove
	uneeded BonoboXObject stuff.

	* libnautilus-private/nautilus-directory.c:
	(nautilus_directory_finalize): Remove unneeded NULLing.

	* libnautilus-private/nautilus-directory-metafile-monitor.c: Whitespace tweak.
2002-01-19 01:14:25 +00:00
Johan Dahlin
5a1fadef01 Port to GtkTreeView.
2002-01-18  Johan Dahlin  <jdahlin@telia.com>

        * components/history/nautilus-history-view.c: Port to GtkTreeView.
2002-01-19 00:25:00 +00:00
Darin Adler
24801f25ea Bump eel requirement to 1.1.2.
* configure.in: Bump eel requirement to 1.1.2.
2002-01-19 00:23:44 +00:00
Darin Adler
074ed7a01a Remove nautilus-launch-icon.png.
* Makefile.am: Remove nautilus-launch-icon.png.

	* components/hardware/nautilus-hardware-view.c: (setup_form_title),
	(setup_overview_form): Port from EelImage to GtkImage.

	* components/music/nautilus-music-view.c: Remove unused include.
	* src/nautilus-theme-selector.c: Remove unused includes.

	* libnautilus-private/nautilus-bonobo-extensions.c:
	(bonobo_activation_activation_callback): Add warning message so we
	get to see the error from bonobo-activation.

	* libnautilus-private/nautilus-directory-metafile.c: (get_factory):
	* libnautilus-private/nautilus-icon-factory.c: (get_icon_factory),
	(load_icon_for_scaling), (embed_text):
	* libnautilus-private/nautilus-metafile-factory.c:
	(nautilus_metafile_factory_get_instance):
	* libnautilus-private/nautilus-theme.c:
	(nautilus_theme_get_theme_data_from_theme):
	* libnautilus-private/nautilus-trash-monitor.c:
	(nautilus_trash_monitor_get):
	* libnautilus-private/nautilus-volume-monitor.c:
	(nautilus_volume_monitor_get):
	* src/file-manager/nautilus-indexing-info.c:
	(show_indexing_info_dialog):
	* src/nautilus-preferences-dialog.c:
	(global_preferences_get_dialog):
	* src/nautilus-window.c: (nautilus_window_class_init),
	(add_to_history_list):
	Use eel_debug_call_at_shutdown instead of g_atexit.

	* libnautilus-private/nautilus-file.c:
	(nautilus_file_get_display_name): Add G_BROKEN_FILENAMES support.

	* libnautilus-private/nautilus-global-preferences.c:
	(nautilus_global_preferences_init): Remove eel_smooth_widget code.

	* libnautilus/Makefile.am: Add missing ORBIT_IDL dependency.

	* libnautilus/nautilus-view-standard-main.c:
	(nautilus_view_standard_main_multi): Remove
	bonobo_ui_debug_shutdown for now. It does us no good unless we
	also do eel_debug_shut_down, but libnautilus can't depend on eel.

	* nautilus-launch-icon.png: Remove.

	* src/file-manager/fm-properties-window.c:
	(update_properties_window_icon),
	(fm_properties_window_drag_data_received),
	(create_image_widget_for_file): Port from EelImage to GtkImage.

	* src/nautilus-component-adapter-factory.c:
	(nautilus_component_adapter_factory_get): Use
	eel_debug_call_at_shutdown instead of g_atexit.
	(nautilus_component_adapter_factory_create_adapter): Look at
	exceptions before looking at return values from CORBA calls.

	* src/nautilus-main.c: (main): Add a call to eel_debug_shut_down.

	* src/nautilus-property-browser.c:
	(nautilus_property_browser_init), (element_clicked_callback),
	(nautilus_property_browser_update_contents): Port from EelViewport
	to GtkViewport.

	* src/nautilus-search-bar-criterion.c:
	(nautilus_search_bar_criterion_destroy),
	(nautilus_search_bar_criterion_new_from_values): Fix for change
	that made NautilusSignaller no longer a GtkObject.

	* src/nautilus-sidebar-title.c: (nautilus_sidebar_title_init),
	(update_icon), (add_emblem): Port from EelImage to GtkImage.

	* src/nautilus-signaller.h:
	* src/nautilus-signaller.c: (nautilus_signaller_get_current): Use
	eel_debug_call_at_shutdown instead of g_atexit.
	(nautilus_signaller_instance_init),
	(nautilus_signaller_class_init): Change to GObject, not GtkObject.

	* src/nautilus-window-menus.c: (get_bookmark_list): Use
	eel_debug_call_at_shutdown instead of g_atexit.
	(nautilus_window_initialize_go_menu): Fix for change that made
	NautilusSignaller no longer a GtkObject.

	* test/test-nautilus-preferences-change.c: Remove unused include.
	* test/test-nautilus-preferences-display.c: Remove unused includes.
	* test/test-nautilus-wrap-table.c: Remove unused includes.
	* test/test.c: Remove unused function.
	* test/test.h: Remove unused function.
2002-01-19 00:06:14 +00:00
Michael Meeks
1da01a652d don't set the background, it causes a strange segv later.
2002-01-18  Michael Meeks  <michael@ximian.com>

	* libnautilus-private/nautilus-directory-background.c
	(image_loading_done_callback): don't set the background, it
	causes a strange segv later.

	* src/nautilus-window-toolbars.c
	(set_widget_for_bonobo_control): fold into
	(set_up_back_or_forward_toolbar_item): here.
	(set_up_standard_bonobo_button): kill redundant
	freeze / thaws.
	(set_up_special_bonobo_button): don't do nasty
	pixbuf roundtrips on a NULL icon_file_name
	(get_pixbuf_for_xml_node): kill - somewhat inefficient.
	(set_up_special_bonobo_button): set a straight pixbuf
	on the button item for more speed, and kill bogus
	in-proc freeze/thaw.
	(set_up_back_or_forward_toolbar_item): rename to
	(create_back_or_forward_toolbar_item): this to better
	reflect function, aggregate a property bag.
	(back_or_forward_tooblar_item_property_set_cb): impl.
2002-01-18 15:10:35 +00:00
Ian McKellar
a3950d8986 Get esd's CFLAGS and LIBS from pkg-config
* configure.in:
        Get esd's CFLAGS and LIBS from pkg-config
2002-01-18 09:26:14 +00:00
Anders Carlsson
2ac12f763e Add non-aa pango support.
2002-01-17  Anders Carlsson  <andersca@gnu.org>

	* libnautilus-private/nautilus-icon-canvas-item.c:
	(nautilus_icon_canvas_item_update_bounds),
	(draw_or_measure_label_text), (update_label_layouts),
	(get_label_layout), (draw_label_layout), (draw_label_layout_aa),
	(draw_or_measure_label_text_aa), (nautilus_icon_canvas_item_event):
	Add non-aa pango support.

	* libnautilus-private/nautilus-directory-async.c (make_dot_directory_uri):
	Do an sync check for the .directory file before scheduling an async read
	of the file.
2002-01-17 22:26:06 +00:00
Anders Carlsson
d9db3dbc11 Free the type string.
2002-01-17  Anders Carlsson  <andersca@gnu.org>

	* libnautilus-private/nautilus-link-desktop-file.c
	(nautilus_link_desktop_file_get_link_uri_from_desktop):
	Free the type string.

	* src/nautilus-view-frame.c (nautilus_view_frame_selection_changed):
	Call CORBA_free on uri_list.
	(send_history): Call CORBA_free on history.

	* src/nautilus-bookmark-parsing.c (nautilus_bookmark_new_from_node):
	free icon_mime_type.

	* src/file-manager/fm-icon-view.c (update_layout_menus): free path.
2002-01-17 21:24:12 +00:00
Anders Carlsson
843bc3dcb2 Remove conflict markers. 2002-01-17 21:01:51 +00:00
Anders Carlsson
fff1895637 Add fm-list-model.[ch]
2002-01-17  Anders Carlsson  <andersca@gnu.org>

	* src/file-manager/Makefile.am: Add fm-list-model.[ch]
2002-01-17 21:01:15 +00:00
Anders Carlsson
cb1f493db5 New file.
2002-01-17  Anders Carlsson  <andersca@gnu.org>

	* src/file-manager/fm-list-model.c: New file.

	* src/file-manager/fm-list-model.h: New file.

	* src/file-manager/fm-list-view.c: Port to GtkTreeView.

	* src/file-manager/fm-list-view.h: Port to GtkTreeView.

	* src/file-manager/fm-directory-view.c (fm_directory_view_destroy):
	Stop and clear the directory view before setting view to NULL because
	clearing the directory when nautilus_view is NULL can trigger an assertion.
2002-01-17 20:57:50 +00:00
Darin Adler
02b737b3a9 Added include needed for compatibility with new gnome-vfs.
* libnautilus-private/nautilus-mime-actions.c: Added include
	needed for compatibility with new gnome-vfs.

	* src/file-manager/fm-directory-view.c:
	(set_up_scripts_directory_global): Fix mistake with use of
	GNOME_DOT_GNOME by using gnome_util_home_file instead.
2002-01-17 20:23:14 +00:00
Darin Adler
639ce8e4a9 Remove unneeded code and restore display-specific registration. This gets
* components/hardware/main.c: (main):
	* components/image-viewer/nautilus-image-view.c:
	(init_server_factory):
	* components/loser/content/main.c: (main):
	* components/loser/sidebar/main.c: (main):
	* components/throbber/main.c: (main):
	* libnautilus/nautilus-view-standard-main.c:
	(nautilus_view_standard_main_multi),
	(nautilus_view_create_from_get_type_function):
	* src/nautilus-main.c: (main):
	Remove unneeded code and restore display-specific registration.
	This gets rid of a bunch of GNOME2_CONVERSION_COMPLETE ifdefs.

	* libnautilus-private/nautilus-directory-metafile-monitor.h:
	* libnautilus-private/nautilus-metafile-factory.c:
	* libnautilus-private/nautilus-metafile-factory.h:
	* libnautilus-private/nautilus-metafile.h:
	These had emacs mode lines that said they were IDL files.

	* libnautilus-private/nautilus-directory-metafile-monitor.c:
	* libnautilus-private/nautilus-metafile-factory.c:
	* libnautilus-private/nautilus-metafile.c:
	* libnautilus-private/nautilus-undo-context.c:
	* libnautilus-private/nautilus-undo-manager.c:
	* libnautilus/nautilus-undo-transaction.c:
	* src/nautilus-application.c:
	* src/nautilus-shell.c:
	* src/nautilus-view-frame-corba.c:
	Use BONOBO_CLASS_BOILERPLATE_FULL instead of EEL_BONOBO_BOILERPLATE_FULL.

	* src/nautilus-sidebar-title.c: (measure_width_callback),
	(update_more_info): First cut at implementing date that fits into
	sidebar. Not working yet.

	* src/nautilus-theme-selector.c:
	(install_theme_button_clicked_callback):
	Remove eel_gtk_window_set_up_close_accelerator call, since this is a
	GtkDialog that comes its own close accelerator.
2002-01-17 01:39:26 +00:00
Darin Adler
be14640d83 Release markers, and updated po files. 2002-01-16 08:33:27 +00:00
Darin Adler
25c5f4397e Bump version to 1.1.2 Update news a tiny bit.
* configure.in: Bump version to 1.1.2
	* NEWS: Update news a tiny bit.
2002-01-16 08:08:34 +00:00
Darin Adler
041b683b10 Remove. Remove.
* components/loser/content/Nautilus_View_content-loser.oaf.in: Remove.
	* components/loser/sidebar/Nautilus_View_sidebar-loser.oaf.in: Remove.
2002-01-16 08:06:55 +00:00
Johan Dahlin
c5866c29eb define __nautilus_view_component_COMPILATION instead of
2002-01-15  Johan Dahlin  <jdahlin@telia.com>

        * libnautilus/Makefile.am (nautilus_view_component_idl_stamp):
        * libnautilus/nautilus-view-component.idl: define
        __nautilus_view_component_COMPILATION instead of
        NAUTILUS_VIEW_COMPONENT_COMPILATION, to be compatible with
        libbonobo and bonobo-activation's idls.
2002-01-16 06:47:26 +00:00
Darin Adler
d5a1d7478d Mark release point. 2002-01-16 00:40:06 +00:00
Darin Adler
97bdd35053 Re-add ui_DATA to EXTRA_DIST. I removed it by accident.
* components/text/Makefile.am: Re-add ui_DATA to EXTRA_DIST.
        I removed it by accident.
2002-01-15 22:25:56 +00:00
Darin Adler
c46ea3870b Bump required eel version number. Get rid of ORBIT_REQUIRED.
* configure.in: Bump required eel version number. Get rid of
	ORBIT_REQUIRED.

	* libnautilus/Makefile.am: Remove unneeded "-I$(builddir)" since
	it is screwing up "make distcheck".
2002-01-15 21:56:45 +00:00
Darin Adler
369ee002cc Do an ifdef in the profiler code rather than in the makefile.
* src/Makefile.am:
	* src/nautilus-profiler.c:
	Do an ifdef in the profiler code rather than in the makefile.
2002-01-15 21:25:01 +00:00
Darin Adler
c37dff7d09 Prepare for 1.1.1 release. A few things got done.
* NEWS: Prepare for 1.1.1 release.
	* TODO: A few things got done.
2002-01-15 20:54:31 +00:00
Darin Adler
10d8291321 Fix another of those double-destroy problems by turning a destroy into a
* src/nautilus-desktop-window.c: (finalize),
	(nautilus_desktop_window_class_init):
	Fix another of those double-destroy problems by turning a destroy
	into a finalize.
2002-01-15 20:17:20 +00:00
Darin Adler
79c3c2e7de Inspired by a patch from Jacob Berkman <jacob@ximian.com>, got
rid of all the Makefile.am hackery so that everything ends up in
	the tarball.

	* configure.in: Bumped version to 1.1.1.

	* components/Makefile.am: Re-enabled all the subdirs.

	* components/adapter/Makefile.am: Re-enabled
	nautilus-adapter-embeddable-embed-strategy.[ch].

	* components/adapter/nautilus-adapter-embeddable-embed-strategy.c:
	Put an #if GNOME2_CONVERSION_COMPLETE around the whole thing.

	* components/loser/content/Makefile.am:
	* components/loser/sidebar/Makefile.am:
	Update for COMPONENT_CFLAGS in NAUTILUS_PRIVATE_CFLAGS.

	* components/loser/content/main.c: (loser_make_object), (main):
	* components/loser/sidebar/main.c: (loser_make_object), (main):
	* components/loser/content/nautilus-content-loser.c:
	(nautilus_content_loser_init):
	* components/loser/sidebar/nautilus-sidebar-loser.c:
	(nautilus_sidebar_loser_init):
	Make these compile, not sure if they actually work.

	* components/shell/Nautilus_View_shell.server.in: Remove.
	* components/shell/shell.c: Remove.
	This component can go in a separate package -- it doesn't need to be
	part of the main Nautilus source tree.

	* components/text/Makefile.am: Turned off compiling of the component,
	but used EXTRA_DIST to make sure the source code still gets into the
	tarball.

	* components/tree/Makefile.am: Removed $(COMPONENT_LIBS) from the
	libnautilus_tree_view_la_SOURCES list. Not sure why it was in there.

	* libnautilus-private/Makefile.am: Remove stale references to the
	nautilus-druid-related headers.

	* libnautilus/nautilus-view-standard-main.c:
	(nautilus_view_standard_main_multi): Remove some
	GNOME2_CONVERSION_COMPLETE code that is now clearly not going to
	be needed. Left in the stuff that is a placeholder for things we
	still need.

	* src/Makefile.am: Distribute the profiler sources even when they are
	not built.

	* libnautilus-private/nautilus-icon-container.c: Whitespace tweak.
2002-01-15 20:05:57 +00:00
Johan Dahlin
6ca765153e Port to GtkTreeView.
2002-01-15  Johan Dahlin  <jdahlin@telia.com>

	* src/nautilus-bookmarks-window.c: Port to GtkTreeView.
2002-01-15 18:44:50 +00:00
Darin Adler
c2db1e5790 First cut at ensuring file names are always valid UTF-8. We probably need
* libnautilus-private/nautilus-file.c: (make_valid_utf8),
	(nautilus_file_get_display_name), (nautilus_file_get_name): First
	cut at ensuring file names are always valid UTF-8. We probably
	need other checks like this for various other places we read in
	external stuff. Also, we might later decide to cache the "made
	valid" name. Finally, we might want to support the glib
	G_BROKEN_FILENAMES feature.
2002-01-09 23:36:35 +00:00
Darin Adler
47c7d71426 Some destroy/finalize fixes.
* src/file-manager/fm-directory-view.c:
	(fm_directory_view_destroy), (fm_directory_view_finalize),
	(fm_directory_view_class_init):
	* src/file-manager/fm-icon-view.c: (fm_icon_view_finalize),
	(fm_icon_view_class_init):
	* src/file-manager/fm-list-view.c: (fm_list_view_class_init),
	(fm_list_view_finalize):
	Some destroy/finalize fixes.
2002-01-09 21:02:31 +00:00
Darin Adler
f4693fc046 Remove a stray reference to nautilus-help.desktop.
* Makefile.am: Remove a stray reference to nautilus-help.desktop.
2002-01-09 07:17:15 +00:00
Darin Adler
8c8ba31c5d Mention bad looking text.
* TODO: Mention bad looking text.

	* libnautilus-private/nautilus-icon-container.c: (destroy),
	(finalize), (nautilus_icon_container_init), (item_event_callback),
	(nautilus_icon_container_clear):
	Various fixes to make destroy on a NautilusIconContainer work.

	* components/tree/nautilus-tree-view-dnd.c:
	(nautilus_tree_view_drag_motion), (nautilus_tree_view_drag_drop),
	(nautilus_tree_view_button_press),
	(nautilus_tree_view_button_release),
	(nautilus_tree_view_motion_notify):
	* libnautilus-private/nautilus-undo-signal-handlers.c:
	(editable_key_press_event):
	* src/nautilus-bookmarks-window.c: (handle_close_accelerator):
	Remove unneeded stop_emit-type calls, now that the signal machinery
	understands that TRUE means to stop emitting in some cases.
2002-01-08 23:36:59 +00:00
Darin Adler
2bab818c86 Remove. Remove nautilus-help.desktop since Nautilus isn't the help browser
* .cvsignore:
	* Makefile.am:
	* nautilus-help.desktop.in: Remove.
	Remove nautilus-help.desktop since Nautilus isn't the help browser
	any more.

	* components/adapter/nautilus-adapter-load-strategy.c:
	(nautilus_adapter_load_strategy_class_init):
	* components/news/nautilus-news.c: (set_up_main_widgets):
	* libnautilus-private/nautilus-bookmark.c:
	(nautilus_bookmark_class_init):
	* libnautilus-private/nautilus-volume-monitor.c:
	(nautilus_volume_monitor_class_init):
	* src/file-manager/fm-desktop-icon-view.c:
	(fm_desktop_icon_view_destroy),
	(fm_desktop_icon_view_handle_middle_click), (delayed_init),
	(fm_desktop_icon_view_init), (desktop_icons_compare_callback):
	* src/nautilus-sidebar.c: (nautilus_sidebar_finalize),
	(nautilus_sidebar_update_buttons), (nautilus_sidebar_set_uri):
	Use more g_signal, less gtk_signal stuff.

	* components/hardware/nautilus-hardware-view.c: (setup_form_title),
	(setup_overview_form), (setup_CPU_form), (setup_RAM_form),
	(setup_IDE_form):
	* components/news/nautilus-news.c: (set_up_main_widgets):
	* src/file-manager/nautilus-indexing-info.c:
	(update_progress_display), (last_index_time_dialog_new),
	(index_progress_dialog_new):
	* src/nautilus-property-browser.c:
	(nautilus_property_browser_init), (element_clicked_callback),
	(labeled_image_new), (make_properties_from_directories),
	(add_reset_property), (make_properties_from_xml_node):
	* src/nautilus-sidebar-title.c: (nautilus_sidebar_title_init),
	(nautilus_sidebar_title_select_text_color), (update_title_font),
	(update_title), (update_more_info),
	(sidebar_title_create_title_label),
	(sidebar_title_create_more_info_label):
	Port more code from EelLabel to GtkLabel. Also change all code that
	was using things like "make_larger" to use "set_scale" now.

	* components/music/nautilus-music-view.c: (xpm_label_box),
	(xpm_dual_label_box), (nautilus_music_view_set_album_image):
	* libnautilus-private/nautilus-bookmark.c:
	(create_image_widget_for_bookmark),
	(nautilus_bookmark_menu_item_new):
	* src/nautilus-complex-search-bar.c:
	(load_find_them_pixmap_widget):
	Port more code from GtkPixmap to GtkImage.

	* components/notes/nautilus-notes.c:
	* components/throbber/nautilus-throbber.c:
	* src/file-manager/fm-properties-window.c:
	* src/nautilus-zoom-control.c:
	Remove extra includes.

	* libnautilus-private/nautilus-icon-factory.c:
	* libnautilus-private/nautilus-icon-factory.h:
	Remove nautilus_icon_factory_get_pixmap_and_mask_for_file.

	* src/nautilus-about.c: (draw_aa_string), (draw_author_list),
	(nautilus_about_draw_info): Port to use Pango to draw the text. It
	looks really bad right now, but should be straightforward to fix.
2002-01-08 22:37:57 +00:00
Anders Carlsson
b790895fea Whoops. 2002-01-08 22:20:05 +00:00
Anders Carlsson
f2d6d7a117 New function to free a handle and it's associated object.
2002-01-08  Anders Carlsson  <andersca@gnu.org>

	* libnautilus-private/nautilus-bonobo-extensions.c (activation_handle_free):
	New function to free a handle and it's associated object.
	(activation_idle_callback): Call activation_handle_free.
	(activation_cancel): Likewise.
2002-01-08 22:19:25 +00:00
Anders Carlsson
58e06b842b Implement nautilus_view_close_window ().
2002-01-08  Anders Carlsson  <andersca@gnu.org>

	* libnautilus-private/nautilus-icon-container.c:
	(nautilus_icon_container_update_icon):
	* libnautilus/nautilus-view-component.idl:
	* libnautilus/nautilus-view.c: (call_close_window),
	(nautilus_view_close_window):
	* libnautilus/nautilus-view.h:
	* src/nautilus-profiler.c:
	(nautilus_profiler_bonobo_ui_report_callback):
	* src/nautilus-view-frame-corba.c: (close_window),
	(impl_Nautilus_ViewFrame_close_window),
	(nautilus_view_frame_corba_part_class_init):
	* src/nautilus-view-frame-private.h:
	* src/nautilus-view-frame.c: (nautilus_view_frame_close_window),
	(nautilus_view_frame_class_init):
	* src/nautilus-view-frame.h:
	* src/nautilus-window-manage-views.c: (close_window_callback):
	Implement nautilus_view_close_window ().
2002-01-08 17:35:51 +00:00
Anders Carlsson
ab5fb6c7ba Remove preferences calback in ::finalize.
2002-01-08  Anders Carlsson  <andersca@gnu.org>

	* src/nautilus-zoom-control.c (nautilus_zoom_control_finalize): Remove
	preferences calback in ::finalize.
	(nautilus_zoom_control_unload_images): Set image pointers to NULL after
	unloading images.

	* src/nautilus-window-menus.c: Remove some userlevel #defines.

	* src/nautilus-switchable-search-bar.c
	(nautilus_switchable_search_bar_finalize): Remove the preferences callback
	in ::finalize instead of ::destroy.

	* src/nautilus-switchable-navigation-bar.c: Create the search bar lazily.
	Creating the search bar came up high on the profile when creating new windows,
	and doing it lazily helps, especially when we don't have medusa support yet.
	(nautilus_switchable_navigation_bar_finalize): Free details in ::finalize.

	* src/nautilus-simple-search-bar.c (nautilus_simple_search_bar_finalize):
	Free details in ::finalize.
	(nautilus_simple_search_bar_destroy): Disable the undo stuff. Perhaps we could
	call connect to "destroy" in nautilus_undo_set_up_nautilus_entry_for_undo
	and call nautilus_undo_tear_down_nautilus_entry_for_undo there instead.

	* src/nautilus-sidebar.c (nautilus_sidebar_init): Ref and sink the title tab.
	(nautilus_sidebar_finalize): Move things from ::finalize to ::destroy.

	* src/nautilus-preferences-dialog.c
	(preferences_dialog_populate_themes_group): The image chooser isn't
	broken anymore so we can enable it now.

	* src/nautilus-main.c (main): Call gtk_main instead of bonobo_main
	since bonobo_main is for non-gui apps and won't be affected by
	gtk_main_quit.

	* src/nautilus-location-bar.c: Destroy things in ::finalize
	instead of in ::destroy.

	* src/nautilus-profiler.c: Port to GtkTextView.

	* src/nautilus-application.c (nautilus_application_new):
	Call bonobo_generic_factory_construct_noreg so that we set
	the IID.
	(nautilus_application_destroy): Unref the undo manager
	in ::destroy instead.

	* libnautilus-private/nautilus-icon-container.c:
	Use g_list_sort_with_data when sorting icons so we can get rid
	of the hack_icon_container hack.

	* libnautilus-private/nautilus-entry.c: Free details struct
	in ::finalize instead of in ::destroy

	* libnautilus-private/nautilus-icon-dnd.c
	(confirm_switch_to_manual_layout): Compare with GTK_RESPONSE_YES.

	* libnautilus-private/nautilus-file-operations.c
	(confirm_empty_trash): Compare with GTK_RESPONSE_YES.

So now you know what I've been doing during christmas...
2002-01-08 09:41:19 +00:00
Darin Adler
81054a094c Fixed to use g_iconv instead of iconv, starting with a patch from Jean
* libnautilus-private/nautilus-desktop-file-loader.c:
	(validated_strdup): Fixed to use g_iconv instead of iconv,
	starting with a patch from Jean Schurger <jschurger@schurger.org>.

	* libnautilus-private/nautilus-font-factory.c: Remove.
	* libnautilus-private/nautilus-font-factory.h: Remove.
	* libnautilus-private/Makefile.am:
	Remove nautilus-font-factory.[ch].

	* libnautilus-private/nautilus-icon-canvas-item.c:
	(nautilus_icon_canvas_item_finalize),
	(nautilus_icon_canvas_item_set_arg),
	(nautilus_icon_canvas_item_get_arg), (draw_or_measure_label_text),
	(nautilus_icon_canvas_item_class_init):
	Get rid of the "font" arg. We'll have to replace this with something
	that works with Pango -- maybe just a font name.

	* src/file-manager/fm-list-view.c: (truncate_middle_callback),
	(get_cell_text): Turn off the GdkFont ellipsizing code. I hope this
	just goes away when Anders finishes his port to GtkTextView.

	* src/file-manager/fm-properties-window.c:
	(fm_properties_window_class_init), (real_destroy), (real_finalize):
	Fix a bug where it would try to disconnect a signal on an object
	that is already NULL by that time.

	* src/nautilus-profiler.c:
	(nautilus_profiler_bonobo_ui_report_callback): Disable the dump
	window, pending a port to GtkTextView instead of GtkText.

	* components/music/nautilus-music-view.c:
	* components/news/nautilus-news.c:
	* components/notes/nautilus-notes.c:
	* components/text/nautilus-text-view.c:
	* libnautilus-private/nautilus-file-operations-progress.c:
	* libnautilus-private/nautilus-file-operations.c:
	* libnautilus-private/nautilus-icon-container.c:
	* src/file-manager/fm-icon-view.c:
	* src/nautilus-sidebar-title.c:
	Get rid of some includes of unused headers.
2002-01-08 01:11:21 +00:00
Darin Adler
4bf5e65ed8 Integrate patches from Frank Worsley <fworlsey@shaw.ca>.
* libnautilus-private/nautilus-link.c:
	(get_link_style_for_mime_type): Fix porting mistake that caused all
	desktop files to be treated as Nautilus links.

	* libnautilus-private/nautilus-file.c: (rename_callback):
	Fix storage leak.
2002-01-07 17:33:40 +00:00
Dave Camp
25e8b156f3 Put back the accidentally removed g_free (theme_selector)->details.
2002-01-07  Dave Camp  <dave@ximian.com>

	* src/nautilus-theme-selector.c (theme_selector_finalize): Put
	back the accidentally removed g_free (theme_selector)->details.
2002-01-07 17:22:50 +00:00
Dave Camp
fa0d91ebce Take out the return. The EelLabel exorcism did in fact mostly fix the
2002-01-07  Dave Camp  <dave@ximian.com>

	* src/nautilus-preferences-dialog.c
	(preferences_dialog_populate_themes_group): Take out the return.
	The EelLabel exorcism did in fact mostly fix the theme selector.

	* src/nautilus-theme-selector.c (theme_selector_finalize): Moved here
	from theme_selector_destroy.
	(nautilus_theme_selector_class_init): Fixed the argument type list for
	the theme_changed signal, and reflect the destroy->finalize change.
2002-01-07 17:06:26 +00:00
Michael Meeks
e0d36ccafb prune
2002-01-05  Michael Meeks  <michael@ximian.com>

	* configure.in (IMLIB_REQUIRED, GDK_PIXBUF_REQUIRED),
	(POPT_REQUIRED, GCONF_REQUIRED): prune
2002-01-05 21:24:16 +00:00
Havoc Pennington
e60f2abe9f add preload of the gconf cache, to hopefully avoid a zillion round trips
2002-01-04  Havoc Pennington  <hp@pobox.com>

	* libnautilus-private/nautilus-global-preferences.c
	(nautilus_global_preferences_init): add preload of the gconf
	cache, to hopefully avoid a zillion round trips to gconfd on
	startup.

	* test/test.c (test_window_new): remove weird gtk_window_set_policy

	* test/test-nautilus-preferences-display.c: remove user level
	stuff

	* test/test-nautilus-preferences-change.c: remove user level stuff

	* libnautilus-private/nautilus-global-preferences.c: the default
	click policy was SPEED_TRADEOFF_LOCAL_ONLY, fix

	* libnautilus-private/nautilus.schemas: add schemas file,
	incomplete, needs to be finished and installed

	* libnautilus-private/nautilus-global-preferences.c: strip out
	user levels

	* src/nautilus-shell-ui.xml: strip out user level menu

	* src/nautilus-window-menus.c: strip out user level menu
2002-01-05 04:05:26 +00:00
Darin Adler
f2ae2a4476 Fix rubberband selection when the icon view is scrolled by using the
* libnautilus-private/nautilus-icon-container.c:
	(rubberband_timeout_callback): Fix rubberband selection when
	the icon view is scrolled by using the bin_window.

	* src/nautilus-sidebar.c: (nautilus_sidebar_destroy):
	Fix one of those "double-destroy" problems.

	* TODO: Formatting tweak.
	* configure.in: Formatting tweak.
2002-01-04 22:22:08 +00:00
Dave Camp
ae4d6027a0 Renamed from nautilus_get_modified_bonobo_zoomable_epv and changed to
2002-01-04  Dave Camp  <dave@ximian.com>

	* components/adapter/nautilus-zoomable-proxy.c
	(nautilus_zoomable_prozy_init_epv): Renamed from
	nautilus_get_modified_bonobo_zoomable_epv and changed to
	initialize a passed in epv rather than allocating a new one.
	(nautilus_zoomable_proxy_destroy):
	(nautilus_zoomable_proxy_finalize):
	(nautilus_zoomable_proxy_class_init):
	(nautilus_zoomable_proxy_get):
	(nautilus_zoomable_proxy_get_type): Derive from BonoboObject rather
	than BonoboZoomable, as this object fully implements the Zoomable
	interface.

	* components/adapter/nautilus-adapter.c (nautilus_adapter_new):
	Replaced gtk_signal_connect_object with g_signal_connect_swapped,
	cast callbacks to G_CALLBACK, and use a weak reference rather than
	a "destroy" handler.
	(nautilus_adapter_activate_callback): Pass NULL as the opt_ev
	parameter to bonobo_control_get_remote_ui_container().

	* components/adapter/nautilus-adapter-stream-load-strategy.c
	(nautilus_adapter_stream_load_strategy_load_location): The
	bonobo-stream-vfs code was moved to the VFS moniker in gnome-vfs,
	so use it here.

	* components/adapter/nautilus-adapter-load-strategy.c
	(nautilus_adapter_load_strategy_class_init): replaced
	eel_marshal_VOID__DOUBLE with g_cclosure_marshal_VOID__DOUBLE.
	(nautilus_adapter_load_strategy_get): Disabled the progressive
	data sink code using GNOME2_CONVERSION_COMPLETE.

	* components/adapter/nautilus-adapter-factory-server.c (nautilus_adapter_factory_server_class_init):
	(nautilus_adapter_factory_server_init):
	(nautilus_adapter_factory_server_finalize):
	(adapter_object_destroyed):
	(impl_Nautilus_ComponentAdapterFactory_create_adapter):
	(nautilus_adapter_factory_server_get_type): Changed to the new
	style of deriving from BonoboObject.
	(impl_Nautilus_ComponentAdapterFactory_create_adapter): Use a weak
	reference to the adapter view rather than connecting to "destroy".

	* components/adapter/nautilus-adapter-embed-strategy.c (nautilus_adapter_embed_strategy_class_init): Fixed the argument type lists for the
	activate and open_location signals.
	(nautilus_adapter_embed_strategy_get): Disable use of the embeddable
	embed strategy using GNOME2_CONVERSION_COMPLETE.

	* components/adapter/nautilus-adapter-control-embed-strategy.c
	(nautilus_adapter_control_embed_strategy_new): Pass NULL for the
	opt_ev parameter of bonobo_control_frame_bind_to_control().

	* components/adapter/main.c (main): Replaced initialization
	functions with bonobo_ui_init, and put an #ifdef
	GNOME2_CONVERSION_COMPLETE around
	gnome_client_disable_master_connect().
	(adapter_factory_make_object): Use a weak reference rather than a
	destroy signal handler.
	(adapter_factory_object_weak_notify): Moved here from
	adapter_factory_object_destroy, use bonobo_main_quit() rather than
	gtk_main_quit().

	* components/adapter/Makefile.am: Removed
	nautilus-adapter-progressive-load-strategy.[ch], and moved
	nautilus-adapter-embeddable-embed-strategy.[ch] out of the build,
	removed bonobo-stream-vfs.[ch] replaced
	NAUTILUS_PRIVATE_CFLAGS/LIBS with COMPONENT_CFLAGS/LIBS.

	* src/nautilus-component-adapter-factory.c: Removed
	no-longer-necessary #if GNOME2_CONVERSION_COMPLETE lines.
	(activate_factory): Replaced BonoboObjectClient code with a call to
	bonobo_get_object().
2002-01-04 20:52:16 +00:00
Frédéric Crozat
4ef5d92e67 Add esound cflags to CORE_CFLAGS, Call GNOME_COMMON_INIT to correctly
* configure.in: Add esound cflags to CORE_CFLAGS,
  Call GNOME_COMMON_INIT to correctly initialize
  AC_LOCAL flags
2002-01-04 17:28:28 +00:00
Anders Carlsson
995efcdfaf Update to matched changed return value from nautilus_program_chooser_new
2002-01-04  Anders Carlsson  <andersca@gnu.org>

	* libnautilus-private/nautilus-program-choosing.c:
	Update to matched changed return value from
	nautilus_program_chooser_new ().

	* libnautilus-private/nautilus-program-chooser.h:
	* libnautilus-private/nautilus-program-chooser.c:
	Port to GtkTreeView, and make NautilusProgramChooser
	into a real object.

	* components/Makefile.am: Re-enable the music
	view.

	* components/music/nautilus-music-view.c: Port to
	GtkTreeView and GNOME2.
2002-01-04 13:15:14 +00:00
Andy Hertzfeld
eaca367340 made remote sound previewing work by using gnome-vfs to read from the
* src/file-manager/fm-icon-view.c: (play_file), (preview_audio),
	made remote sound previewing work by using gnome-vfs to read from
	the remote source and feeding the data to the sound player via popen.

	* (should_preview_sound):
	removed code that disabled remote sound previewing even if the
	preference was set
2002-01-04 04:13:57 +00:00
Darin Adler
ad4d0191ad Remove some smooth-font related stuff to get rid of the dependency on
* libnautilus-private/nautilus-global-preferences.c:
	(nautilus_global_preferences_init):
	Remove some smooth-font related stuff to get rid of the
	dependency on EelFontManager.

	* TODO: Quick update.
2002-01-04 00:14:17 +00:00
Darin Adler
1cb7f70f8f Don't use the eel_eat function.
* test/test.c: (test_text_caption_get_text_as_int):
	Don't use the eel_eat function.
2002-01-03 23:21:01 +00:00
Darin Adler
3eec4d53e1 Turn on test subdirectory.
* Makefile.am: Turn on test subdirectory.
	* test/test.c: (test_init), (test_label_new):
	* test/test.h:
	Build without using EelLabel.

	* src/nautilus-sidebar-title.c: Remove unused header include.
2002-01-03 23:18:38 +00:00
Darin Adler
baa6401268 Updated.
* TODO: Updated.

	* libnautilus-private/nautilus-icon-canvas-item.c:
	(create_label_layout): Use eel_pango_layout_set_underline.

	* components/music/nautilus-music-view.c:
	Don't include EelList.
2002-01-03 22:48:25 +00:00
Darin Adler
33a7797c26 Use GnomeCanvasRect instead of EelCanvasRect. We can redo the
* libnautilus-private/nautilus-icon-container.c:
	(start_rubberbanding):
	Use GnomeCanvasRect instead of EelCanvasRect. We can redo the
	EelCanvasRect optimization if we want to, but it should really
	be put into libgnomecanvas.

	* components/music/common.c:
	* components/music/nautilus-music-view.c:
	* libnautilus-private/nautilus-customization-data.c:
	* libnautilus-private/nautilus-desktop-file-loader.c:
	* libnautilus-private/nautilus-directory-async.c:
	* libnautilus-private/nautilus-directory.c:
	* libnautilus-private/nautilus-file.c:
	* src/file-manager/fm-desktop-icon-view.c:
	* src/file-manager/fm-icon-view.c:
	* src/nautilus-property-browser.c:
	* src/nautilus-sidebar-title.c:
	* src/nautilus-window.c:
	Remove lots of unneeded includes, including all cases of
	including the locale-sensitive <ctype.h>.
2002-01-03 20:36:46 +00:00
Darin Adler
3ae6111714 Remove some help sidebar panel remnants.
* libnautilus-private/nautilus-global-preferences.c:
	(nautilus_global_preferences_init):
	* libnautilus-private/nautilus-sidebar-functions.c:
	(sidebar_panel_make_preference_key):
	* libnautilus-private/nautilus-sidebar-functions.h:
	Remove some help sidebar panel remnants.
2002-01-03 20:19:17 +00:00
Michael Meeks
6b5cf550d3 fix build. 2002-01-03 15:28:16 +00:00
John Fleck
dff4399113 //bugzilla.gnome.org/show_bug.cgi?id=47433
2002-01-03  John Fleck <jfleck@inkstain.net>

	* help/nautilus-quick-reference/C/index.html
	removing duplicate width tags, fixing
	http://bugzilla.gnome.org/show_bug.cgi?id=47433
2002-01-03 13:53:03 +00:00
Darin Adler
277c026168 Explicitly depend on librsvg instead of getting it through eel.
* configure.in:
	Explicitly depend on librsvg instead of getting it through eel.
2002-01-03 00:55:24 +00:00
Anders Carlsson
3aaa9809b4 Fix warnings by putting #ifdef GNOME2_CONVERSION_COMPLETE around unused
2002-01-03  Anders Carlsson  <andersca@gnu.org>

	* src/nautilus-component-adapter-factory.c: Fix warnings by
	putting #ifdef GNOME2_CONVERSION_COMPLETE around unused functions
	and variables.
2002-01-03 00:50:06 +00:00
Darin Adler
fa2a9d0085 Port from EelLabel to GtkLabel.
* components/hardware/nautilus-hardware-view.c:
	(update_uptime_text), (setup_overview_form):
	* components/music/nautilus-music-view.c:
	* src/file-manager/nautilus-indexing-info.c:
	(update_progress_display):
	* src/nautilus-property-browser.c:
	(nautilus_property_browser_init), (labeled_image_configure),
	(labeled_image_new), (make_category),
	(property_browser_category_button_new),
	(nautilus_property_browser_update_contents):
	* test/test.h:
	* src/nautilus-shell.c:
	* src/nautilus-sidebar-title.c: (nautilus_sidebar_title_init):
	Port from EelLabel to GtkLabel.

	* components/news/nautilus-news.c: (do_destroy),
	(draw_rss_logo_image), (draw_rss_title), (draw_rss_items),
	(nautilus_news_set_title), (free_channel),
	(empty_message_size_allocate), (set_up_main_widgets),
	(make_news_view):
	* libnautilus-private/nautilus-icon-private.h:
	* src/nautilus-sidebar-tabs.c:
	(nautilus_sidebar_tabs_load_theme_data),
	(nautilus_sidebar_tabs_init), (nautilus_sidebar_tabs_destroy),
	(draw_one_tab_plain), (draw_one_tab_themed), (get_tab_width),
	(nautilus_sidebar_tabs_add_view):
	Port to Pango text instead of Eel text.

	* libnautilus-private/nautilus-customization-data.c:
	(add_reset_text):
	* libnautilus-private/nautilus-icon-factory.c:
	(embedded_text_font_changed_callback), (embed_text):
	* src/nautilus-about.c: (draw_aa_string), (draw_author_list),
	(nautilus_about_draw_info), (nautilus_about_update_authors):
	Disable Eel text and ifdef with GNOME2_CONVERSION_COMPLETE.

	* libnautilus-private/nautilus-global-preferences.h:
	* libnautilus-private/nautilus-global-preferences.c:
	Turn off font-related preferences. Maybe delete later or
	convert for Pango fonts.

	* libnautilus-private/nautilus-icon-canvas-item.h:
	* libnautilus-private/nautilus-icon-container.h:
	Remove eel-scalable-font.h includes.

	* src/nautilus-component-adapter-factory.c:
	(nautilus_component_adapter_factory_create_adapter):
	Disable the adapter because it was causing problems.
2002-01-03 00:11:12 +00:00
Frédéric Crozat
2b4a8d9728 Remove flash when Nautilus desktop is started with a pixmap background
* libnautilus-private/nautilus-directory-background.c:
        (initialize_background_from_settings): Remove flash when
        Nautilus desktop is started with a pixmap background

        * src/nautilus-desktop-window.c: (map): Remove unneeded variable
2002-01-02 19:24:40 +00:00
Michael Meeks
b14ecf3268 fix strcmp style for Darin.
2001-12-18  Michael Meeks  <michael@ximian.com>

	* components/hardware/nautilus-hardware-view.c
	(setup_overview_form): fix strcmp style for Darin.

	* components/music/fileinfo.c (find_genre_id),
	(file_info_http): ditto.

	* libnautilus-private/nautilus-customization-data.c
	(nautilus_customization_data_get_next_element_for_display),
	(nautilus_customization_data_new): ditto.

	* src/nautilus-property-browser.c
	(nautilus_property_browser_drag_data_get),
	(make_category_link, make_drag_image): ditto.

	* libnautilus-private/nautilus-volume-monitor.c
	(option_list_has_option): ditto.

2001-12-17  Michael Meeks  <michael@ximian.com>

	* src/file-manager/fm-directory-view.c
	(fm_directory_view_init): set mask.

	* src/nautilus-view-frame.c
	(create_corba_objects): set ambient property bag.
	(create_ambient_properties),
	(nautilus_view_frame_get_prop): impl.
	(nautilus_view_frame_title_changed),
	(nautilus_view_frame_selection_changed),
	(send_history): re-implement to fire event instead.

	* components/history/nautilus-history-view.c
	(nautilus_history_view_instance_init): set mask.
	(history_changed_callback, update_history): constify.

	* libnautilus/nautilus-view.c
	(impl_Nautilus_View_title_changed),
	(impl_Nautilus_View_history_changed): kill.
	(impl_Nautilus_View_selection_changed): kill.
	(nautilus_view_construct_from_bonobo_control):
	connect to set_frame.
	(nautilus_view_set_frame_callback): impl.
	(nautilus_view_dispose): impl. to unset the frame
	(nautilus_view_class_init): upd signals, epv & hook
	dispose.
	(nautilus_view_frame_property_changed_callback): impl.
	(nautilus_view_get_ambient_properties): impl.
	(nautilus_view_set_listener_mask): impl.

	* libnautilus/nautilus-view-component.idl: remove
	title_changed and history_changed - use a propert
	and the more flexible listener interface.
2001-12-21 11:32:29 +00:00
Darin Adler
0e61a2dc6f Do text drawing with Pango for the anti-aliased case. Remove all use of
* libnautilus-private/nautilus-icon-canvas-item.h:
	* libnautilus-private/nautilus-icon-canvas-item.c:
	(nautilus_icon_canvas_item_init),
	(nautilus_icon_canvas_item_finalize),
	(nautilus_icon_canvas_item_invalidate_label_size),
	(nautilus_icon_canvas_item_set_arg),
	(nautilus_icon_canvas_item_get_arg), (draw_or_measure_label_text),
	(measure_label_text), (create_label_layout), (get_label_layout),
	(draw_label_layout), (draw_or_measure_label_text_aa),
	(draw_label_text_aa), (nautilus_icon_canvas_item_class_init):
	Do text drawing with Pango for the anti-aliased case. Remove all
	use of the non-Pango Eel anti-aliased text drawing code.

	* libnautilus-private/nautilus-icon-container.h:
	* libnautilus-private/nautilus-icon-container.c: (finalize),
	(nautilus_icon_container_init),
	(nautilus_icon_container_update_icon),
	(nautilus_icon_container_set_label_font_for_zoom_level):
	* src/file-manager/fm-icon-view.c: (create_icon_container),
	(fm_icon_view_init):
	Remove the smooth-font stuff. We're going to use a single font
	once we change everything to use Pango.

	* icons/Makefile.am: Remove help-system icons.
	* icons/hyperbola-*: Remove help-system icons.
2001-12-18 00:57:46 +00:00
Seth Nickell
0e8a902c00 The programs:/ URI is now applications:/ to conform with the HIG and GDP
2001-12-14  Seth Nickell  <snickell@stanford.edu>

        The programs:/ URI is now applications:/ to conform with the
	HIG and GDP word list.

	* data/Makefile.am:
	* data/applications.desktop.in:
	* data/programs.desktop.in:

	Move programs.desktop.in to applications.desktop.in and change
	the URI and Name in the desktop entry.
2001-12-14 13:40:35 +00:00
Seth Nickell
7c8800b6a2 Install nautilus and help .desktop files into the proper location for
2001-12-14  Seth Nickell  <snickell@stanford.edu>

	* Makefile.am:

	Install nautilus and help .desktop files into the proper
	location for GNOME2 menu entries ($datadir/applications).
2001-12-14 12:23:40 +00:00
Darin Adler
22ac93ef82 Deleted help component as it is not slated to be part of Gnome 2.
* components/Makefile.am:
	* components/help/*:
	* nautilus.spec.in:
	Deleted help component as it is not slated to be part of Gnome 2.

	* RENAMING: No need to rename hyperbola if it's gone.

	* configure.in: Removed ScrollKeeper check. Took a cut at making
	the medusa check use pkg-config, it's probably messed up but at
	least we won't define HAVE_MEDUSA if we see the Gnome 1 medusa.

	* libnautilus-private/nautilus-icon-canvas-item.c:
	(nautilus_icon_canvas_item_init),
	(nautilus_icon_canvas_item_finalize),
	(nautilus_icon_canvas_item_set_arg),
	(nautilus_icon_canvas_item_get_arg),
	(draw_or_measure_label_text_aa), (draw_label_text_aa),
	(nautilus_icon_canvas_item_class_init):
	Quick cut at porting to Pango from Eel font code. It's all under
	ifdef USE_EEL_TEXT because it's not working well yet. At the moment
	the text looks bad, and it's very slow, and it's not centered.

	* libnautilus-private/nautilus-icon-factory.c: (embed_text):
	Baby steps at doing the port to Pango here too.

        * src/file-manager/fm-directory-view.c: (real_update_menus):
        Add a check for NULL that seems required. This change was
        suggested by the backtrace in bug 66809, but it's not clear
        if this really fixes anything. (Rolled from stable branch.)

	* src/file-manager/fm-icon-view.c: (icon_view_handle_uri_list):
	Fix code that passed a path instead of a URI when creating a
        desktop file. (Rolled from stable branch.)

	* TODO: Minor updates.
2001-12-13 23:37:55 +00:00
Michael Meeks
612ed122c7 fix container ref leak.
2001-12-12  Michael Meeks  <michael@ximian.com>

	* src/file-manager/fm-icon-view.c
	(fm_icon_view_merge_menus): fix container ref leak.

	* src/file-manager/fm-search-list-view.c
	(real_merge_menus): ditto.

	* src/file-manager/fm-desktop-icon-view.c
	(fm_desktop_icon_view_destroy): more guards.
	(real_merge_menus): fix container ref leak.
2001-12-12 23:19:36 +00:00
Michael Meeks
f9769d4cd3 protect vs. double destroy.
2001-12-12  Michael Meeks  <michael@ximian.com>

	* src/nautilus-window.c (nautilus_window_destroy):
	protect vs. double destroy.

	* src/nautilus-window-manage-views.c (disconnect_view):
	start macro definitions on the first line.

	* src/nautilus-sidebar.c (nautilus_sidebar_destroy):
	protect vs. double destroy.

	* src/nautilus-sidebar-tabs.c
	(nautilus_sidebar_tabs_destroy): protect vs. double destroy
	and theoretical re-enterancy hazard.

	* src/nautilus-sidebar-title.c
	(nautilus_sidebar_title_destroy): protect vs. double
	destroys.

	* src/nautilus-application.c (create_object): re-enable
	list view.

	* src/file-manager/fm-list-view.c: re-enable.
2001-12-12 20:14:52 +00:00
Laszlo Peter
57b746384e s/__FUNCTION__/G_GNUC_FUNCTION/
2001-12-11  Laszlo Peter  <laca@ireland.sun.com>

        * libnautilus-private/nautilus-authn-manager.c:
        s/__FUNCTION__/G_GNUC_FUNCTION/

        * libnautilus-private/nautilus-directory-background.c: get rid of
        _gdk_display_name

        * libnautilus-private/nautilus-volume-monitor.c
        (nautilus_volume_get_device_type): remove "const" to match the
        prototype.
2001-12-11 18:29:55 +00:00
Darin Adler
0df7aba68d Do fix based on patch from Martin Wehner <mwehner@tfh-berlin.de> to
* libnautilus-private/nautilus-file-operations.c:
	(handle_transfer_ok): Do fix based on patch from Martin Wehner
	<mwehner@tfh-berlin.de> to prevent cancel of emptying trash or
	deleting from core dumping.

	* Makefile.am:
	* configure.in:
	* docs/.cvsignore:
	* docs/Makefile.am:
	Add files in the docs directory to tarball.

	* libnautilus/nautilus-view-standard-main.c:
	(nautilus_view_standard_main_multi): Whitespace tweak.
2001-12-09 20:45:12 +00:00
Anders Carlsson
d58fa91abd Remove conflict markers 2001-12-08 13:18:21 +00:00
Anders Carlsson
1ab16a8b04 Update for new bonobo property bag API.
2001-12-08  Anders Carlsson  <andersca@gnu.org>

	* components/throbber/nautilus-throbber.c:
	(nautilus_throbber_instance_init):
	* src/nautilus-window.c: (nautilus_window_allow_stop):
	Update for new bonobo property bag API.
2001-12-08 13:17:07 +00:00
Michael Meeks
84204ad084 unroll control creation, connect to "activate" signal handler not map /
2001-12-08  Michael Meeks  <michael@ximian.com>

	* components/tree/nautilus-tree-view.c
	(nautilus_tree_view_init): unroll control creation,
	connect to "activate" signal handler not map / unmap
	on no-window widget GtkScrolledWindow.
	(tree_map_callback, tree_unmap_callback): kill.
	(tree_activate_callback): impl.

	* components/tree/libmain.c
	(BonoboActivation_Plugin_info) ->
	(Bonobo_Plugin_info).

	* components/tree/Makefile.am: setup ldflags
	correctly, and a LIBADD so we can activate it
	independantly.

	* components/throbber/main.c (main): fix for
	bonobo-activation-server race condition.

	* libnautilus-private/nautilus-marshal.list:
	add VOID:STRING,STRING
2001-12-08 10:46:18 +00:00
Michael Meeks
a0f24894de if we were already registered - due to a beautifuly inefficient activation
2001-12-06  Michael Meeks  <michael@ximian.com>

	* libnautilus/nautilus-view-standard-main.c
	(nautilus_view_standard_main_multi): if we were
	already registered - due to a beautifuly inefficient
	activation server race - just quit.
2001-12-08 08:36:35 +00:00
Darin Adler
c9b8fca3c2 Tweak some documents, removing obsolete ones.
* docs/design.txt:
	* docs/gnomad-notes.txt:
	* docs/metaitems.txt:
	* docs/nautilus.faq:
	* docs/use-cases.txt:
	Tweak some documents, removing obsolete ones.
2001-12-08 06:03:44 +00:00
Darin Adler
95b0620d80 Moved mozilla component into its own module.
* components/Makefile.am:
	* components/mozilla/.cvsignore:
	* components/mozilla/Makefile.am:
	* components/mozilla/Nautilus_View_mozilla.server.in:
	* components/mozilla/bonobo-extensions.c:
	* components/mozilla/bonobo-extensions.h:
	* components/mozilla/main.c:
	* components/mozilla/mozilla-components.cpp:
	* components/mozilla/mozilla-components.h:
	* components/mozilla/mozilla-events.cpp:
	* components/mozilla/mozilla-events.h:
	* components/mozilla/mozilla-preferences.cpp:
	* components/mozilla/mozilla-preferences.h:
	* components/mozilla/nautilus-mozilla-content-view.c:
	* components/mozilla/nautilus-mozilla-content-view.h:
	* components/mozilla/nautilus-mozilla-embed-extensions.cpp:
	* components/mozilla/nautilus-mozilla-embed-extensions.h:
	* components/mozilla/nautilus-mozilla-encoding-tables.c:
	* components/mozilla/nautilus-mozilla-encoding-tables.h:
	* components/mozilla/nautilus-mozilla-ui.xml:
	* configure.in:
	* nautilus.spec.in:
	Moved mozilla component into its own module.
2001-12-07 02:47:06 +00:00
Darin Adler
5a749ac982 lots of files Get rid of casts in callers to g_object_ref/g_object_unref.
* lots of files
	Get rid of casts in callers to g_object_ref/g_object_unref.
	Remove parameters to eel_make_warnings_and_criticals_stop_in_debugger.
2001-12-07 00:55:34 +00:00
Gediminas Paulauskas
60c93330fb remove cut'n'pasted functions which are in glib now. don't set close key
2001-12-05  Gediminas Paulauskas <menesis@delfi.lt>

	* libnautilus-private/nautilus-desktop-file-loader.c: remove
	cut'n'pasted functions which are in glib now.
	* src/nautilus-about.c (nautilus_about_instance_init): don't set
	close key accelerator, Gtk+ does that already.

2001-12-05  Gediminas Paulauskas <menesis@delfi.lt>

	* configure.in, libnautilus/Makefile.am,
	libnautilus/libnautilus.pc.in: make libnautilus know to pkg-config

2001-12-05  Gediminas Paulauskas <menesis@delfi.lt>

	* components/hardware/main.c, components/help/hyperbola-main.c,
	components/image-viewer/nautilus-image-view.c,
	components/mozilla/main.c, libnautilus/nautilus-view-standard-main.c,
	src/nautilus-main.c: (main) get translated messages from nautilus
	text domain in utf-8.
	* src/nautilus-window-menus.c: (help_menu_about_nautilus_callback)
	replace copyright symbol with utf-8 version of it.
2001-12-05 18:58:07 +00:00
Darin Adler
b1dda7219f Fix bugs exposed by "make check".
* libnautilus-private/nautilus-directory-async.c:
	(is_dot_or_dot_dot), (should_skip_file),
	(dequeue_pending_idle_callback), (directory_load_one),
	(count_non_skipped_files), (directory_count_callback),
	(start_monitoring_file_list), (deep_count_one), (mime_list_one):
	Add new code to handle stuff that we did with a gnome-vfs filter
	in the old version.

	* libnautilus-private/nautilus-search-uri.c:
	(strip_uri_beginning), (tokenize_uri): Fix use of g_strsplit since
	the meaning of the parameter has changed.
2001-12-04 19:49:24 +00:00
Darin Adler
26b95469d4 Use GNOME_DOT_GNOME.
* src/file-manager/fm-directory-view.c:
	(set_up_scripts_directory_global): Use GNOME_DOT_GNOME.
2001-12-03 18:00:54 +00:00
Darin Adler
f576768c40 Skip over non-element nodes when walking libxml DOM tree.
* src/nautilus-property-browser.c: (remove_color),
	(make_properties_from_xml_node),
	(nautilus_property_browser_update_contents):
	Skip over non-element nodes when walking libxml DOM tree.

	* libnautilus-private/nautilus-theme.c:
	(nautilus_theme_get_theme_data_from_theme): Whitespace tweak.
2001-12-01 04:17:20 +00:00
Darin Adler
a238fef0fe Roll double-free bug fix from the branch.
* libnautilus-private/nautilus-directory-async.c:
	(top_left_read_callback): Roll double-free bug fix from the branch.

	* TODO: Some small updates.

	* components/hardware/nautilus-hardware-view.c:
	* data/browser.xml:
	* icons/crux_eggplant/crux_eggplant.xml:
	* icons/crux_teal/crux_teal.xml:
	* icons/default.xml:
	* icons/gnome/gnome.xml:
	* icons/sierra/sierra.xml:
	* icons/tahoe/tahoe.xml:
	* libnautilus-private/nautilus-directory-background.c:
	(nautilus_file_background_write_desktop_settings):
	* libnautilus-private/nautilus-icon-container.c:
	(start_rubberbanding):
	* libnautilus-private/nautilus-icon-text-item.c:
	(fetch_themed_color):
	* src/nautilus-property-browser.c: (add_color_to_browser):
	* src/nautilus-sidebar-tabs.c: (setup_light_text),
	(setup_dark_text), (nautilus_sidebar_tabs_init),
	(nautilus_sidebar_tabs_receive_dropped_color):
	* src/nautilus-sidebar-title.c:
	(nautilus_sidebar_title_select_text_color):
	* src/nautilus-sidebar.c: (receive_dropped_color):
	Changed all rgb:RRRR/GGGG/BBBB to #RRGGBB. We still probably have
	to handle the old format just for old data files.

	* libnautilus-private/.cvsignore:
	nautilus-marshal-guts.h -> nautilus-marshal.h

	* src/file-manager/fm-directory-view.c:
	(update_directory_in_scripts_menu): Add filter so that we don't
	see invisible or backup files in the scripts menu. In the old
	days, gnome-vfs supplied the filtering.

	* src/nautilus-about.c: (nautilus_about_finalize),
	(nautilus_about_instance_init), (nautilus_about_hide),
	(nautilus_about_hide_on_response),
	(nautilus_about_hide_on_delete), (nautilus_about_class_init):
	Get rid of double-destroy problem with about, and fix OK button.

	* src/nautilus-bookmarks-window.c:
	(nautilus_bookmarks_window_response_callback): Fix Done button.
	(create_bookmarks_window): Hook up response callback.
	(on_window_delete_event), (handle_close_accelerator): Get rid of
	save_geometry_and_hide, since hide already does that.

	* src/nautilus-main.c: (main): Add some missing domains for better
	debugging. We should figure out a way to do this without a list of
	domains.
2001-12-01 01:05:38 +00:00
Seth Nickell
b61c743047 Change list format for Categories field.
2001-11-27  Seth Nickell  <snickell@stanford.edu>

	* nautilus-help.desktop.in:
	* nautilus.desktop.in:

	Change list format for Categories field.
2001-11-28 00:55:59 +00:00
Seth Nickell
63a77e5507 Add "Categories=" section to work with George's new vfolder panel menu
2001-11-27  Seth Nickell  <snickell@stanford.edu>

	* nautilus.desktop.in:

	Add "Categories=" section to work with George's
	new vfolder panel menu system.
2001-11-27 09:26:32 +00:00
Owen Taylor
6b6368db2f Return from get_type() functions is GType, not guint. Deal with errant
Mon Nov 26 20:34:52 2001  Owen Taylor  <otaylor@redhat.com>
        * libnautilus-private/nautilus-icon-factory.c:
        * libnautilus-private/nautilus-icon-container.h
          libnautilus-private/nautilus-file-operations-progress.h: Return
        from get_type() functions is GType, not guint.
        * components/sample/nautilus-sample-content-view.c
          libnautilus/nautilus-undo-private.h: Deal with
        errant gobject/* includes. (George Karabin)
2001-11-27 01:46:16 +00:00
Michael Meeks
7e6e6bd8cb listen for changed on the text buffer. (notes_load_metainfo): set buffer
2001-11-22  Michael Meeks  <michael@ximian.com>

	* components/notes/nautilus-notes.c (make_notes_view):
	listen for changed on the text buffer.
	(notes_load_metainfo): set buffer to "" not NULL.

	* libnautilus/nautilus-view-standard-main.c
	(delayed_quit_timeout_callback): do a bonobo_main_quit.
	(object_destroyed): GObject-ify.

	* components/throbber/main.c (main): upd.
2001-11-22 06:49:46 +00:00
Michael Meeks
50a26e5813 fix marshaller.
2001-11-22  Michael Meeks  <michael@ximian.com>

	* libnautilus-private/nautilus-icon-container.c
	(nautilus_icon_container_class_init): fix marshaller.

	* libnautilus-private/nautilus-marshal.list: add
	INT_POINTER_BOOLEAN

	* src/file-manager/fm-properties-window.c
	(real_destroy): protect against double destroys.

Tue Nov 20 21:45:43 2001  Owen Taylor  <otaylor@redhat.com>

	* configure.in: Add [quoting] around AC_CHECK_HEADERS needed for
	some autoconf versions.

	* components/text/nautilus-text-view.c (file_read_callback):
	text_view->details->text_display is set to NULL in
	nautilus_text_view_destroy(), so simply check for non-NULL
	rather than calling GTK_OBJECT_DESTROYED().

	* src/file-manager/fm-properties-window.c (real_destroy): NULL
	out name_field here, since it will be destroyed, so we
	can avoid accessing it in rename_callback.

	* libnautilus-private/Makefile.am (nautilus-marshal-guts.c): Get rid
	of nautilus-marshal-guts.h, since glib-genmarshal now generates correct
	standalone headers.

	* libnautilus/nautilus-clipboard.c (select_all_callback),
	* libnautilus-private/nautilus-entry.c (nautilus_entry_select_all_at_idle):
	Remove the idle on destrunction of the widget, rather than checking
	GTK_OBJECT_DESTROYED().
2001-11-22 05:58:33 +00:00
Michael Meeks
7a030297d9 fix.
2001-11-21  Michael Meeks  <michael@ximian.com>

	* test/test-nautilus-wrap-table.c (main): fix.

	* test/test-nautilus-mime-actions.c (main): upd. init.

	* test/test.c (test_init): upd.
	(test_label_new): kill tile_pixbuf support.
	(test_image_new): ditto.

	* test/test-nautilus-async-activation.c (main): upd.

	* test/Makefile.am: add CORE_CFLAGS, update LDADD.

	* libnautilus-private/nautilus-directory.c
	(nautilus_directory_destroy): rename to
	(nautilus_directory_dispose): this, but leave as a
	gtk object for now, double emission protect, move
	removal from directories list to head & split into:
	(nautilus_directory_finalize): here.

	* libnautilus-private/nautilus-directory-async.c
	(nautilus_directory_async_state_changed): fully remove
	GTK_OBJECT_DESTROYED check.
2001-11-21 08:34:57 +00:00
Michael Meeks
44af9fae6c kill g_log_domain_glib.
2001-11-21  Michael Meeks  <michael@ximian.com>

	* src/nautilus-main.c (main): kill g_log_domain_glib.

	* components/news/nautilus-news.c (main): ditto.

	* libnautilus-private/nautilus-marshal.h: upd.

	* libnautilus/nautilus-view.c (nautilus_view_class_init):
	update for new marshallers.

	* libnautilus-private/nautilus-directory-async.c
	(nautilus_directory_async_state_changed): #ifdef out
	GTK_OBJECT_DESTROYED check.

	* libnautilus/nautilus-clipboard.c
	(select_all_idle_callback): kill GTK_OBJECT_DESTROYED
	check; unneccessary.

	* libnautilus-private/nautilus-directory.c
	(nautilus_directory_find_file_by_internal_uri): ditto.

	* libnautilus-private/nautilus-entry.c
	(select_all_at_idle): ditto.

	* components/text/nautilus-text-view.c
	(file_read_callback): ditto.

	* src/file-manager/fm-properties-window.c
	(rename_callback): ditto.
2001-11-21 06:14:51 +00:00
Ramiro Estrugo
5eed5fb9ed Workaround the crashing preferences dialog problem. Turn off the theme
* src/nautilus-preferences-dialog.c:
	(preferences_dialog_populate_themes_group):
	Workaround the crashing preferences dialog problem.  Turn off the
	theme chooser for now.  The image chooser is broken because of
	EelLabel usage.  Im hopeful that a general exorcism of EelLabel
	will fix this along with many other label related problems.
2001-11-15 11:16:01 +00:00
Michael Meeks
89a3d81710 allow double destroys & split out (nautilus_tree_view_finalize): impl.
2001-11-13  Michael Meeks  <michael@ximian.com>

	* components/tree/nautilus-tree-view.c
	(nautilus_tree_view_destroy): allow double destroys &
	split out
	(nautilus_tree_view_finalize): impl.
	(nautilus_tree_view_class_init): upd.

	* components/text/nautilus-text-view.c
	(nautilus_text_view_class_init): upd.
	(nautilus_text_view_destroy): allow double destroys.
	(nautilus_text_view_finalize): impl.

	* components/music/nautilus-music-view.c
	(nautilus_music_view_class_init): upd.
	(nautilus_music_view_destroy): upd.
	(nautilus_music_view_finalize): impl.

	* components/notes/nautilus-notes.c (do_destroy): don't
	do hacks around the old bonobo.

	* components/adapter/nautilus-adapter.c
	(nautilus_adapter_new): don't gtk_signal_connect_object to a
	BonoboObject.
2001-11-15 07:06:10 +00:00
Darin Adler
5b8e3d4436 Remove g_log_domain_gruntime.
* src/nautilus-main.c: (main): Remove g_log_domain_gruntime.
2001-11-14 23:22:41 +00:00
Frédéric Crozat
cf6567d4d1 Add detection of automounted volume, don't eject automounted CDROMs
* libnautilus-private/nautilus-volume-monitor.c:
(volume_is_automounted), (mount_volume_deactivate):
Add detection of automounted volume, don't eject automounted CDROMs

* libnautilus-private/nautilus-volume-monitor.c:
(nautilus_volume_monitor_set_volume_name):
Fix search for volume to modify
2001-11-14 10:28:13 +00:00