Commit graph

5107 commits

Author SHA1 Message Date
Darin Adler
e4e62eafe0 Don't warn when asked to remove a file that's not in the list. That
* src/file-manager/fm-list-model.c: (fm_list_model_remove_file):
	Don't warn when asked to remove a file that's not in the list.
	That happens relatively often.
2002-03-06 23:15:39 +00:00
Darin Adler
4039bece0e Use g_signal_connect_object instead of g_signal_connnect to make sure we
* libnautilus-private/nautilus-icon-container.c:
	(nautilus_icon_container_instance_init): Use g_signal_connect_object
	instead of g_signal_connnect to make sure we don't get called once
	the widget is dead.
2002-03-06 22:47:45 +00:00
Darin Adler
4e51669764 Say "Close" instead of "Done".
* src/nautilus-bookmarks-window.c: (create_bookmarks_window):
	Say "Close" instead of "Done".

	* src/nautilus-property-browser.c:
	(nautilus_property_browser_init): Say "Close" instead of "Done".

	* src/nautilus-sidebar-title.c: (nautilus_sidebar_title_init): Use
	g_signal_connect_object instead of g_signal_connect_swapped.  This
	will probably fix the theme-switching problem people have been
	complaining about.

	* src/nautilus-preferences-dialog.c: Tweak formatting.
	* src/file-manager/fm-properties-window.c: Tweak formatting.

	* src/nautilus-application.c: Fix bug # in a comment.
2002-03-06 22:37:01 +00:00
Darin Adler
46d19e4525 New name for destroy_unneeded_children, which now starts monitoring for
* components/tree/nautilus-tree-model.c: (update_monitoring): New
	name for destroy_unneeded_children, which now starts monitoring
	for nodes that need it as well as stopping monitoring and
	destroying children for notes that don't need it.
	(update_monitoring_idle_callback): New name.
	(schedule_monitoring_update): New name.
	(nautilus_tree_model_ref_node): Call schedule_monitoring_update when
	a node is ref'd, rather than doing it right away.
	(nautilus_tree_model_unref_node): Hoist the code from last_child_unref
	here, since it's only a single call.

	* components/tree/nautilus-tree-view.c: (sort_model_iter_to_file),
	(compare_rows), (create_tree): Turn on the GtkTreeModelSort code.
	The above fix makes us stop crashing, and the Gtk fix I'll check in
	soon makes the sorting actually work.
2002-03-06 21:08:39 +00:00
Darin Adler
dc7b7ec4cf Fix storage leaks.
* libnautilus-private/nautilus-mime-actions.c:
	(nautilus_mime_set_short_list_applications_for_file),
	(nautilus_mime_set_short_list_components_for_file):
	Fix storage leaks.
2002-03-06 19:24:43 +00:00
Michael Meeks
7f7c846b5d don't try to set properties on a remote container that is being / has been
2002-03-06  Michael Meeks  <michael@ximian.com>

	* src/file-manager/fm-icon-view.c
	(fm_icon_view_update_menus): don't try to set properties
	on a remote container that is being / has been torn down.

	* libnautilus-private/nautilus-global-preferences.c
	(default_icon_view_sort_order_or_manual_layout_changed_callback),
	(nautilus_global_preferences_set_default_folder_viewer),
	(default_folder_viewer_changed_callback): upd. for enum code.

	* libnautilus-private/nautilus-icon-canvas-item.c
	(nautilus_icon_canvas_item_class_init): use
	eel_preferences_add_auto_enum instead of auto_int.

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

	* src/file-manager/fm-icon-view.c
	(get_default_sort_order, get_default_zoom_level_font_size),
	(get_default_zoom_level, fm_icon_view_init): ditto.

	* libnautilus-private/nautilus-thumbnails.c
	(prefer_global_thumbnails_location): ditto.

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

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

2002-03-05  Michael Meeks  <michael@ximian.com>

	* components/music/nautilus-music-view.c
	(nautilus_music_view_init): use
	eel_preferences_get_enum instead of get_integer

	* src/nautilus-switchable-search-bar.c
	(nautilus_search_uri_to_search_bar_mode),
	(nautilus_switchable_search_bar_new): ditto.

	* src/file-manager/fm-icon-view.c
	(fm_icon_view_update_click_mode): ditto.

	* src/file-manager/fm-directory-view.c
	(get_executable_text_file_action): ditto.

	* libnautilus-private/nautilus-metafile.c
	(can_use_public_metafile): ditto.

	* libnautilus-private/nautilus-file.c
	(show_directory_item_count_changed_callback),
	(show_text_in_icons_changed_callback): use get_enum

	* libnautilus-private/nautilus-global-preferences.c
	(preference_defaults): add the PREFERENCE_ENUM type
	and make this a string, as GConf expects.

	* configure.in: add the GConf magic.

	* libnautilus-private/Makefile.am (schemadir):
	add schema installation bits.
2002-03-06 15:36:01 +00:00
Alexander Larsson
30258d0ac7 widget_x/y ->o world_x/y
2002-03-06  Alexander Larsson  <alla@lysator.liu.se>

	* nautilus-icon-private.h: (NautilusIconContainerDetails):
	widget_x/y ->o world_x/y

	* libnautilus-private/nautilus-icon-container.c:
	Fix all the coordinate system problems. Now stretching should
	work correctly again. There are a multitude of issues when
	handling this:
	1) When doing rubberbanding we want to use widget-relative
	   coordinates so that we can auto-scroll.
	2) The widget events (button_press_event, button_release_event
	   and motion_notify_event) report coordintes relative to
	   GTK_LAYOUT(container)->bin_window, aka canvas "window
	   coordinates"
	3) The canvas item events (item_event_callback,
	   handle_icon_button_press) report coordinates in canvas
	   world coordinates (a change since gnome 1 i believe)
2002-03-06 05:57:57 +00:00
David Emory Watson
07456442c1 applied patch by Andrew Burr to add mini icons for refresh, zoom-*, and
2002-03-05  David Emory Watson  <dwatson@cs.ucr.edu>

	* src/nautilus-shell-ui.xml: applied patch by Andrew Burr to add mini
	icons for refresh, zoom-*, and about menu items.
2002-03-06 02:54:01 +00:00
David Emory Watson
e553b63876 fix mini icons in the edit menu so that they don't disappear when the
2002-03-04  David Emory Watson  <dwatson@cs.ucr.edu>

	* src/file-manager/nautilus-directory-view-ui.xml: fix mini icons in
	the edit menu so that they don't disappear when the focus changes.
2002-03-06 02:39:13 +00:00
Darin Adler
9064c5bb8a Remove unneeded g_return_if_fail. We call only one other function, so that
* libnautilus-private/nautilus-bonobo-extensions.c:
	(nautilus_bonobo_set_accelerator): Remove unneeded
	g_return_if_fail. We call only one other function, so that can
	handle parameter checking.
	(nautilus_bonobo_set_label): Ditto.
	(nautilus_bonobo_set_tip): Ditto.
	(nautilus_bonobo_set_sensitive): Ditto.
	(nautilus_bonobo_set_toggle_state): Ditto.
	(nautilus_bonobo_set_hidden): Ditto.
	(nautilus_bonobo_get_label): Ditto.
	(nautilus_bonobo_get_hidden): Add g_return_if_fail.
	(get_numbered_menu_item_name): Remove unused parameters.
	(add_numbered_menu_item_internal): Set label with
	nautilus_bonobo_set_label so there aren't any issues with XML
	entity encoding.
	(nautilus_bonobo_add_submenu): Ditto.
	(nautilus_bonobo_add_menu_separator): Add g_return_if_fail.
	(remove_commands): Remove g_return_if_fail since caller does it.
	(nautilus_bonobo_set_label_for_menu_item_and_command): Add
	g_return_if_fail.
2002-03-06 01:11:27 +00:00
Anders Carlsson
2b5c7d55e3 Only look for .directory files in directories that have a special scheme.
2002-03-06  Anders Carlsson  <andersca@gnu.org>

	* libnautilus-private/nautilus-directory-async.c:
	(should_look_for_dot_directory_file), (lacks_link_info):
	Only look for .directory files in directories that have a
	special scheme.

	(make_dot_directory_uri):
	Remove sync check for .directory files.
2002-03-06 00:29:46 +00:00
Darin Adler
9997d4a01b Put release marker back. 2002-03-05 23:06:27 +00:00
Darin Adler
84c9b32b90 New. (tree_selection_not_empty): New. (tree_view_has_selection): New.
* src/file-manager/fm-list-view.c:
        (tree_selection_foreach_set_boolean): New.
        (tree_selection_not_empty): New.
        (tree_view_has_selection): New.
        (event_after_callback): Handle only clicks in the bin_window.
        Also, decide which menu to display by whether an item is selected
        or not rather than by where the click is.
        (button_press_callback): Deselect all items when you click on the
        background.
        (create_and_set_up_tree_view): Connect the new handler.
2002-03-05 22:35:51 +00:00
Dave Camp
8fab4f52e7 Remove the #ifdef GNOME2_CONVERSION_COMPLETE and replace
2002-03-05  Dave Camp  <dave@ximian.com>

	* components/notes/nautilus-notes.c:
	(notify_listeners_if_changed): Remove the #ifdef
	GNOME2_CONVERSION_COMPLETE and replace
	bonobo_property_bag_notify_listeners with a
	bonobo_event_source_notify_listeners_full call.
	(make_notes_view): Remove the #ifdef GNOME2_CONVERSION_COMPLETE
	and send the proper arguments to bonobo_control_set_properties.
2002-03-05 22:33:27 +00:00
Darin Adler
8838f9d4d4 Tweak. 2002-03-05 21:54:22 +00:00
Anders Carlsson
e697f507b4 Display the background context menu if no item is selected.
2002-03-05  Anders Carlsson  <andersca@gnu.org>

	* src/file-manager/fm-list-view.c
	(event_after_callback):
	Display the background context menu if no item is
	selected.
2002-03-05 21:50:41 +00:00
Darin Adler
c4aba4f1b4 Bump versions for 1.1.8. 2002-03-05 20:53:31 +00:00
Jens Finke
4d6ca7410f Escape '!' character in URIs before using it as a moniker string.
2002-03-05  Jens Finke  <jens@triq.net>

	* components/adapter/nautilus-adapter-stream-load-strategy.c
	(nautilus_adapter_stream_load_strategy_load_location): Escape '!'
	character in URIs before using it as a moniker string.
2002-03-05 20:25:15 +00:00
Anders Carlsson
562a291711 Register default folder viewer enumeration too.
2002-03-05  Anders Carlsson  <andersca@gnu.org>

	* libnautilus-private/nautilus-global-preferences.c
	(nautilus_global_preferences_init_with_folder_browsing):
	Register default folder viewer enumeration too.
2002-03-05 13:44:22 +00:00
Michael Meeks
0e7e5c7153 check if zoomable is non NULL. (fm_directory_view_destroy): NULL the
2002-03-05  Michael Meeks  <michael@ximian.com>

	* src/file-manager/fm-directory-view.c
	(fm_directory_view_supports_zooming): check if
	zoomable is non NULL.
	(fm_directory_view_destroy): NULL the zoomable at
	the same time as the nautilus_view, since they're
	the same aggregate.
2002-03-05 11:54:22 +00:00
Michael Meeks
358d9c192a impl. (cache_icon_new): add the icon to the cache view.
2002-03-05  Michael Meeks  <michael@ximian.com>

	* libnautilus-private/nautilus-icon-factory.c
	(get_image_cache_view): impl.
	(cache_icon_new): add the icon to the cache view.
	(cache_icon_unref): destroy the icon's view widget.
2002-03-05 11:05:12 +00:00
John Fleck
b3fbf52085 help/Makefile.am adding xmldocs.make to EXTRA_DIST
2002-03-04 John Fleck <jfleck@inkstain.net>

	* help/Makefile.am
	adding xmldocs.make to EXTRA_DIST
2002-03-05 04:11:21 +00:00
Darin Adler
cbd843d819 Fix a stray NautilusFile unref that could cause big trouble.
* src/file-manager/fm-directory-view.c: (real_file_limit_reached):
	Fix a stray NautilusFile unref that could cause big trouble.

	* src/file-manager/fm-list-view.c: (event_after_callback): New,
	puts up a menu when you right-click.
	(create_and_set_up_tree_view): Attach new handler.
	(fm_list_view_reset_to_defaults): Make this compile.
2002-03-05 04:00:07 +00:00
Darin Adler
e839e4791a Put a default one in here, since there are only really icon locations for
* src/file-manager/fm-directory-view.c:
	(real_get_selected_icon_locations): Put a default one in here, since
	there are only really icon locations for FMIconView.
	(fm_directory_view_class_init): Set up default get_selected_icon_locations.

	* src/file-manager/fm-list-model.c:
	(fm_list_model_get_sort_column_id_from_attribute): Allow NULL.
	(fm_list_model_get_sort_column_id_from_sort_type): Handle all types.

	* src/file-manager/fm-list-view.c:
	(set_sort_order_from_metadata_and_preferences): Fix to handle unknown
	values in metadata.
	(fm_list_view_reset_to_defaults): New.
	(fm_list_view_class_init): Hoom up the new reset_to_defaults function.
2002-03-05 01:13:01 +00:00
Darin Adler
c3955f7147 Formatting tweaks.
* src/file-manager/fm-directory-view.c: Formatting tweaks.

	* src/file-manager/fm-list-model.c: (remove_link_saving_prev):
	Fix bug where it would skip every other node.

	* src/file-manager/fm-list-view.c: (fm_list_view_select_all): New.
	(fm_list_view_class_init): Add placeholders for things we need to
	implement to satisfy FMDirectoryView. Implement one: select all.
2002-03-05 00:23:33 +00:00
Darin Adler
13626d9eba Release marker 2002-03-04 23:12:30 +00:00
Darin Adler
be5c721faa Bump version. Bump version.
* NEWS: Bump version.
	* configure.in: Bump version.
2002-03-04 20:58:12 +00:00
Darin Adler
f552043628 Call the real nautilus_global_preferences_init. Without this, all hell
* libnautilus-private/nautilus-global-preferences.c:
	(nautilus_global_preferences_init_with_folder_browsing):
	Call the real nautilus_global_preferences_init. Without this, all
	hell breaks loose.

	* libnautilus/nautilus-clipboard.c:
	(merge_in_clipboard_menu_items), (merge_out_clipboard_menu_items):
	Don't do anything if things are NULL. Helps us destroy cleanly.
	(focus_changed_callback): Add missing gboolean return value. These
	days, signal handlers have to be more careful.
	(target_destroy_callback): NULL things out instead of freeing
	since destroy can happen more than once.
	(nautilus_clipboard_set_up_editable): Do a weak ref so the target
	data gets freed.
	(first_focus_callback): Add missing gboolean return value. These
	days, signal handlers have to be more careful.

	* src/file-manager/fm-properties-window.c: (name_field_focus_out):
	Return FALSE, not TRUE.
2002-03-04 20:53:27 +00:00
Darin Adler
bf568c9fe5 Don't pay any attention if we're told about removal of a file we're
* libnautilus-private/nautilus-directory.c:
	(nautilus_directory_notify_files_removed): Don't pay any attention
	if we're told about removal of a file we're renaming.

	* libnautilus-private/nautilus-file-private.h: Add new call to tell
	if the file is being renamed.
	* libnautilus-private/nautilus-file.c: (rename_guts): Set flag to
	say this file is being renamed.
	(nautilus_file_rename_in_progress): New.
2002-03-04 19:53:08 +00:00
Michael Meeks
25db82d2df split out the ultra slow gnome-vfs thrashing bit into here
2002-03-04  Michael Meeks  <michael@ximian.com>

	* libnautilus-private/nautilus-global-preferences.c
	(nautilus_global_preferences_init): split out the ultra slow
	gnome-vfs thrashing bit into here
	(nautilus_global_preferences_init_with_folder_browsing):

	* src/nautilus-main.c (main): do a full init here so we
	get the folder browsing setup.
2002-03-04 19:31:53 +00:00
Darin Adler
85826cc855 Check for a NULL tab_view. (tab_item_destroy): Remove the weak pointer we
* src/nautilus-sidebar-tabs.h:
	* src/nautilus-sidebar-tabs.c: (get_property_bag): Check for a
	NULL tab_view.
	(tab_item_destroy): Remove the weak pointer we now use for the
	tab_view lifetime.
	(nautilus_sidebar_tabs_connect_view): Add g_return_if_fail.
	(nautilus_sidebar_tabs_add_view): Add a weak pointer so we don't
	have trouble outside the tab_view lifetime.
	(nautilus_sidebar_tabs_set_title_mode): Check incoming boolean.
	(nautilus_sidebar_tabs_set_visible): Check incoming boolean.
2002-03-04 19:26:21 +00:00
Darin Adler
f69f1c4359 Remove the web search preference and the remnants of the "go to web
* libnautilus-private/nautilus-global-preferences.c:
	* libnautilus-private/nautilus-global-preferences.h:
	* src/nautilus-preferences-dialog.c:
	* src/nautilus-window-menus.c:
	(nautilus_window_initialize_menus_part_1):
	* src/nautilus-window.c:
	* src/nautilus-window.h:
	Remove the web search preference and the remnants of the "go to
	web search" feature.
2002-03-04 17:54:00 +00:00
David Emory Watson
6bb614f1bc New function. (fm_directory_view_init): Connect to icons_changed_callback
* src/file-manager/fm-directory-view.c:
	(icons_changed_callback): New function.
	(fm_directory_view_init): Connect to icons_changed_callback so that the
	scripts menus will observe theme changes.
	(fm_directory_view_finalize): Remember to remove NAUTILUS_PREFERENCES_*
	callbacks when we are done with them.
2002-03-04 16:49:08 +00:00
Alexander Larsson
b47d34ff89 Bump major soname version to 2. Should fix bug #73142.
2002-03-04  Alexander Larsson  <alla@lysator.liu.se>

	* libnautilus-adapter/Makefile.am:
	* libnautilus-private/Makefile.am:
	* libnautilus/Makefile.am:
	Bump major soname version to 2. Should fix bug #73142.
2002-03-04 05:21:25 +00:00
Alexander Larsson
5e3e277edd Based on patch from Richard Hestilow <hestilow@ximian.com>
2002-03-03  Alexander Larsson  <alla@lysator.liu.se>

	Based on patch from Richard Hestilow <hestilow@ximian.com>

	* Makefile.am: Add libbackground directory

	* configure.in: Add CAPPLET flags and libs for libbackground
	Add libbackground/Makefile to list of Makefiles

	* libnautilus-private/Makefile.am: Add libbackground to
	dependency_static_libs

	* libnautilus-private/nautilus-directory-background.c:
	(nautilus_connect_desktop_background_to_file_metadata),
	(nautilus_file_background_read_desktop_settings),
	(nautilus_file_background_write_desktop_settings),
	(desktop_background_destroyed_callback),
	(desktop_background_gconf_notify_cb),
	(nautilus_file_background_receive_gconf_changes),
	(set_root_pixmap): Implement reading and writing of
	desktop background setting using libbackground.
2002-03-04 04:30:03 +00:00
Yanko Kaneti
9dfc2f07d4 use COMPONENT_LIBS rather than COMPONENT_CFLAGS.
2002-03-03  Yanko Kaneti  <yaneti@declera.com>

   * components/notes/Makefile.am: (LDADD) use COMPONENT_LIBS rather than
   COMPONENT_CFLAGS.
2002-03-04 01:49:01 +00:00
Alexander Larsson
31e720f9fc Patch from Diego González <dggonz@yahoo.com>.
2002-03-03  Alexander Larsson  <alla@lysator.liu.se>

	Patch from Diego González <dggonz@yahoo.com>.

	* libnautilus-private/nautilus-horizontal-splitter.c:
	(splitter_hide), (splitter_show), (splitter_is_hidden),
	(nautilus_horizontal_splitter_expand),
	(nautilus_horizontal_splitter_hide),
	(nautilus_horizontal_splitter_show),
	(nautilus_horizontal_splitter_is_hidden):
	* libnautilus-private/nautilus-horizontal-splitter.h:
	Code to hide and show the sidebar fully.

	* src/nautilus-window.c: (nautilus_window_hide_sidebar),
	(nautilus_window_show_sidebar), (nautilus_window_sidebar_showing):
	Use the new horizontal splitter functions.
2002-03-03 21:34:30 +00:00
Alexander Larsson
5fa121db44 Call eel_background_set_is_constant_size() on the desktop background to
2002-03-03  Alexander Larsson  <alla@lysator.liu.se>

	* libnautilus-private/nautilus-directory-background.c
	(desktop_background_realized):	Call
	eel_background_set_is_constant_size() on the desktop
	background to avoid flashing with gradients.

	* configure.in:
	Require eel 1.1.6
2002-03-03 20:53:28 +00:00
David Emory Watson
a2932720d7 add stock icons to a couple of menu items in the edit menu.
2002-03-02  David Emory Watson  <dwatson@cs.ucr.edu>

	* src/nautilus-shell-ui.xml: add stock icons to a couple of menu items
	in the edit menu.
2002-03-02 21:04:51 +00:00
Darin Adler
6bc9c3fcda Use eel_add_weak_pointer, since it's more foolproof than
* components/throbber/nautilus-throbber.c:
	(nautilus_throbber_instance_init), (nautilus_throbber_finalize):
	* src/file-manager/fm-directory-view.c:
	(fm_directory_view_finalize), (real_merge_menus):
	* src/nautilus-window-menus.c: (help_menu_about_nautilus_callback):
	Use eel_add_weak_pointer, since it's more foolproof than
	g_object_add_weak_pointer. Also fix the about case so that
	it only adds the weak pointer once per created window.
2002-03-02 00:30:55 +00:00
Darin Adler
114ba83275 Move reset constant into header.
* libnautilus-private/nautilus-dnd.h:
	Move reset constant into header.

	* libnautilus-private/nautilus-file.c:
	(nautilus_file_get_display_name): Use g_locale_to_utf8, so this
	works even when G_BROKEN_FILENAMES is not set.

	* libnautilus-private/nautilus-icon-dnd.c:
	Rearrange and clean up code a bit.

	* src/nautilus-property-browser.c:
	(nautilus_property_browser_destroy), (add_new_pattern),
	(show_color_selection_window), (add_new_color), (add_new_emblem):

	* src/nautilus-sidebar-title.c: (update_icon): Get rid of dead
	code that gets uri and doesn't use it. It's been showing up in bug
	reports too, so this is especially nice.

	* src/nautilus-window-manage-views.h:
	* src/nautilus-window-manage-views.c:
	(nautilus_window_manage_views_destroy),
	(nautilus_window_manage_views_finalize): Break this up into two
	functions again.

	* src/nautilus-window.c: (nautilus_window_destroy): Re-add this,
	because some of the cleanup has to be done at destroy time.
	(nautilus_window_finalize): Move some of this out.
	(nautilus_window_class_init): Set up both.

	* components/text/nautilus-text-view.c:
	* components/tree/nautilus-tree-model.c:
	* libnautilus-private/nautilus-file-operations.c:
	* libnautilus-private/nautilus-program-choosing.c:
	* src/file-manager/fm-directory-view.c:
	* src/nautilus-bookmark-list.c:
	Miscellaneous porting to new names of functions, getting off
	less-desirable functions.
2002-03-01 22:57:38 +00:00
Darin Adler
9901edb5e9 Add a ref/unref so that window->details won't go away at an inopportune
* src/nautilus-window-manage-views.h:
	* src/nautilus-window-manage-views.c: (begin_location_change): Add
	a ref/unref so that window->details won't go away at an
	inopportune time.
	(nautilus_window_manage_views_finalize): Rename from destroy.

	* src/nautilus-window.c: (load_mini_icon): Break into separate
	function.
	(set_up_default_icon_list): Break into separate function.
	(nautilus_window_finalize): Change from destroy to finalize.
	(nautilus_window_class_init): Move to bottom of file and simplify the
	code a bit.
2002-03-01 19:23:11 +00:00
Darin Adler
75a2ddae16 Patch from Gaute Lindkvist <lindkvis@stud.ntnu.no> that adds the script
* src/file-manager/fm-directory-view.c:
	(add_script_to_script_menus), (add_submenu_to_script_menus),
	(update_directory_in_scripts_menu):
	* src/file-manager/nautilus-directory-view-ui.xml:
	Patch from Gaute Lindkvist <lindkvis@stud.ntnu.no> that adds
	the script menu to the background right-click menu, not just the one
	you get when you click on an object.
2002-03-01 18:12:30 +00:00
Darin Adler
4b257ed5a8 Check for NULL before calling xmlParseFile.
* libnautilus-private/nautilus-link-historical.c:
	(local_set_root_property): Check for NULL before calling xmlParseFile.
2002-03-01 17:26:16 +00:00
Darin Adler
1ee3afadd4 Remove unneeded code to set icon for the deleted Web Search button.
* src/nautilus-window-toolbars.c: (set_up_toolbar_images):
        Remove unneeded code to set icon for the deleted Web Search button.
        * icons/SearchWeb.png: Remove.
        * icons/crux_eggplant/SearchWeb.png: Remove.
        * icons/crux_teal/SearchWeb.png: Remove.
        * icons/default/SearchWeb.png: Remove.
        * icons/gnome/SearchWeb.png: Remove.
        * icons/search_results.png: Remove.
        * icons/services-rpm-72.png: Remove.

        * libnautilus-private/nautilus-icon-container.c:
        (nautilus_icon_container_theme_changed): Use text-selection-frame.png,
        not text-selection-frame-aa.png.
        * icons/text-selection-frame-aa.png: Rename to remove -aa.
        * icons/text-selection-frame.png: New home for the file.

        * icons/Makefile.am:
        * icons/crux_eggplant/Makefile.am:
        * icons/crux_teal/Makefile.am:
        * icons/default/Makefile.am:
        * icons/gnome/Makefile.am:
        Update as needed for changes above.
2002-03-01 17:15:28 +00:00
Alexander Larsson
a5c313ad17 Events are in bin_window coordinates. Not world coords.
2002-03-01  Alexander Larsson  <alla@lysator.liu.se>

	* libnautilus-private/nautilus-icon-dnd.c (nautilus_icon_dnd_begin_drag):
	Events are in bin_window coordinates. Not world coords.
2002-03-01 06:31:19 +00:00
John Fleck
2946e8565c add help/xmldocs.make configure.in help/nautilus-user-manual/Makefile.am
2002-02-28 John Fleck <jfleck@inkstain.net>

	* add help/xmldocs.make
	* configure.in
	* help/nautilus-user-manual/Makefile.am
	* help/nautilus-user-manual/C/Makefile.am
	* help/nautilus-user-manual/C/nautilus-user-manual-C.omf
	* help/nautilus-user-manual/C/nautilus-user-manual.xml (added with
	cvs magic as a copy of the old sgml doc with history)
	converting old doc to xml and changing the build stuff to the new
	GNOME2 docness
2002-03-01 04:23:25 +00:00
Alexander Larsson
f35f0a558b Don't call gdk_window_set_static_gravities(). That old anti-flicker trick
2002-02-28  Alexander Larsson  <alla@lysator.liu.se>

	* src/nautilus-sidebar.c (nautilus_sidebar_class_init):
	(nautilus_sidebar_realize): Don't call
	gdk_window_set_static_gravities(). That old anti-flicker
	trick was just causing lots of flashing.
	Remove all traces of nautilus_sidebar_realize.
2002-03-01 03:51:44 +00:00
Darin Adler
b41398eb46 Fix handling of files with Icon entries that are full paths.
* libnautilus-private/nautilus-link-desktop-file.c:
	(nautilus_link_desktop_file_get_link_icon_from_desktop):
	Fix handling of files with Icon entries that are full paths.

	* libnautilus-private/nautilus-file.c: Name tweak.
2002-03-01 00:35:04 +00:00
Darin Adler
7ea4b6355c Remove some GNOME2_CONVERSION_COMPLETE code.
* components/notes/nautilus-notes.c: (do_destroy): Remove some
	GNOME2_CONVERSION_COMPLETE code.

	* src/nautilus-theme-selector.h:
	* src/nautilus-theme-selector.c:
	(remove_theme_selector_idle_callback): New.
	(remove_theme_selector_changed_callback): Schedule the remove to be done
	at idle time, since GtkTreeView can't handle changes to the tree from
	inside the selection changed signal.
	(theme_selector_finalize): Cancel idle if it's still around.
	(for_each_theme_callback), (theme_selector_populate_list),
	(theme_selector_update_selected_theme_from_preferences),
	(nautilus_theme_selector_get_selected_theme): Return NULL rather
	than emitting a g_warning when no theme is selected.
2002-02-28 23:47:20 +00:00