Commit graph

5734 commits

Author SHA1 Message Date
Mark McLoughlin
3e6bfd6af6 Merge the multihead branch into HEAD and :
2002-10-02  Mark McLoughlin  <mark@skynet.ie>

        * acconfig.h: define HAVE_GTK_MULTIHEAD for
        egg-screen-exec methods.

        * configure.in: require gtk 2.1.0 and don't
        define HAVE_GTK_MULTIHEAD.

        * libnautilus-private/nautilus-multihead-hacks.h: kill.

        * libnautilus-private/nautilus-directory-background:
        (make_root_pixmap), (set_root_pixmap): use
         gdk_screen_get_display instead of assuming the default
        display.

        * src/nautilus-shell.c: (restore_one_window_callback):
        add backwards compat support for sessions without
        a screen number.
2002-10-02 05:36:58 +00:00
Alexander Larsson
3fa3cfe91a Try to avoid flashing when moving the rename widget.
2002-10-01  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-icon-container.c:
	Try to avoid flashing when moving the rename widget.
2002-10-01 08:02:44 +00:00
Narayana Pattipati
16a6ad223a Unescape the media path so that nautilus link is removed properly when it
2002-09-30  Narayana Pattipati  <narayana.pattipati@wipro.com>

        * src/file-manager/fm-desktop-icon-view.c: Unescape the media path so
        that nautilus link is removed properly when it has special characters
        like #.

        * libnautilus-private/nautilus-link-desktop-file.c: Escape the media
        path so that media name is created properly when it has special
        characters like #.
2002-09-30 16:07:09 +00:00
Alexander Larsson
e9eb6762c0 Make the delete accelerator <Ctrl>t, as otherwise it overrides the one in
2002-09-30  Alexander Larsson  <alexl@redhat.com>

	* src/file-manager/fm-directory-view.c (real_update_menus):
	Make the delete accelerator <Ctrl>t, as otherwise it overrides
	the one in the rename widget (and others).

	* src/file-manager/nautilus-directory-view-ui.xml:
	Add a keysym "Delete" to the trash accel.
2002-09-30 15:43:09 +00:00
Alexander Larsson
d977253b2f Do i2w conversion
2002-09-30  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-icon-canvas-item.c
	(nautilus_icon_canvas_item_get_icon_rectangle):
	Do i2w conversion

	* libnautilus-private/nautilus-icon-container.c:
	(nautilus_icon_container_start_renaming_selected_item):
	Correct rename widget placement
2002-09-30 13:56:23 +00:00
Alexander Larsson
a747db4137 Correctly do the rename ui op merging
2002-09-30  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-icon-container.c:
	(nautilus_icon_container_start_renaming_selected_item):
	* src/file-manager/fm-icon-view.c: (renaming_icon_callback):
	Correctly do the rename ui op merging
2002-09-30 12:59:50 +00:00
Alexander Larsson
7ba2110153 Fix text rect zoom handling. Fixes redraw issues at 75%.
2002-09-30  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-icon-canvas-item.c (compute_text_rectangle):
	Fix text rect zoom handling. Fixes redraw issues at 75%.
2002-09-30 09:16:12 +00:00
Dave Camp
03081f4bd4 version markers 2002-09-27 17:40:19 +00:00
Dave Camp
0dacd5fe64 #include <libnautilus-private/nautilus-theme.h>. Updated.
2002-09-27  Dave Camp  <dave@ximian.com>

	* src/nautilus-window-manage-views.c: #include
	<libnautilus-private/nautilus-theme.h>.
	* NEWS: Updated.
2002-09-27 17:34:23 +00:00
Alexander Larsson
d049d5e039 Require eel 2.1.0, libgnomeui 2.1.0 Bump version to 2.1.0
2002-09-27  Alexander Larsson  <alexl@redhat.com>

	* configure.in:
	Require eel 2.1.0, libgnomeui 2.1.0
	Bump version to 2.1.0

	* libnautilus-private/Makefile.am:
	* libnautilus-private/gnome-icon-lookup.[ch]:
	* libnautilus-private/gnome-thumbnail-pixbuf-utils.c:
	* libnautilus-private/gnome-thumbnail.[ch]:
	Removed. Moved to libgnomeui.

	* libnautilus-private/nautilus-icon-factory.[ch]:
	* libnautilus-private/nautilus-link-desktop-file.c:
	Update to new APIs.
2002-09-27 10:40:25 +00:00
Alexander Larsson
a4566e42ff Remove unused files.
2002-09-26  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/Makefile.am:
	* libnautilus-private/nautilus-find-icon-image.c:
	* libnautilus-private/nautilus-find-icon-image.h:
	* libnautilus-private/nautilus-thumbnails-jpeg.c:
	* libnautilus-private/nautilus-thumbnails-jpeg.h:
	* libnautilus-private/nautilus-thumbnails.c:
	Remove unused files.

2002-09-26  Alexander Larsson  <alexl@redhat.com>
2002-09-26 11:37:48 +00:00
Alexander Larsson
81cba58ca4 Update to new canvas use DITHER_NORMAL instead of DITHER_MAX for
2002-09-26  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-icon-canvas-item.[ch]:
	Update to new canvas
	use DITHER_NORMAL instead of DITHER_MAX for performance on non-24bit
	and remote.
	* libnautilus-private/nautilus-icon-container.[ch]:
	* libnautilus-private/nautilus-icon-dnd.[ch]:
	* libnautilus-private/nautilus-icon-private.h:
	Update to new canvas and rename widget.

	* src/nautilus-sidebar-title.c:
	Build fix.
2002-09-26 10:07:47 +00:00
Dave Camp
a8658e4da4 Removed the current image indicator. (nautilus_side_pane_init),
2002-09-23  Dave Camp  <dave@ximian.com>

	* src/nautilus-side-pane.c: (switch_page_callback): Removed the
	current image indicator.
	(nautilus_side_pane_init), (nautilus_side_pane_destroy): Put a
	tooltip on the close button.
	(nautilus_side_pane_show_panel): New function.
	(shortcut_clicked_callback),
	(create_shortcut), (nautilus_side_pane_set_panel_image): Take a
	GdkPixbuf instead of a GtkImage.  Create a shortcut on the side
	pane for panels with images.
	* src/nautilus-side-pane.h:
	* src/nautilus-window-manage-views.c: (set_side_panel_image): Pass
	a pixbuf rather than a GtkImage.
2002-09-23 18:08:46 +00:00
Dave Camp
731c567a8c Attach and detach the menu widget. (nautilus_side_pane_init),
2002-09-22  Dave Camp  <dave@ximian.com>

	* src/nautilus-side-pane.h:
	* src/nautilus-side-pane.c: (menu_detach_callback),
	(nautilus_side_pane_destroy), (nautilus_side_pane_init): Attach
	and detach the menu widget.
	(nautilus_side_pane_init), (update_current_image),
	(switch_page_callback), (nautilus_side_pane_set_panel_image):
	Allow the user to set images for each panel.
	(nautilus_side_pane_add_panel), (nautilus_side_pane_remove_panel):
	Added preconditions, use GtkImageMenuItem instead of GtkMenuItem
	for panel menu items.
	* src/nautilus-window-manage-views.c: (set_side_panel_image),
	(side_panel_image_changed_callback), (connect_side_panel),
	(view_loaded_callback): Listen to the "tab_image" property on side
	panels, and update the side pane with the proper images.
	* src/nautilus-window-private.h:
	* src/nautilus-window.c: (side_panel_set_open),
	(side_pane_switch_page_callback),
	(nautilus_window_set_up_sidebar): Set the "close" property of
	panels as they are shown and hidden.
2002-09-22 17:18:44 +00:00
Dave Camp
dc6eeeafd2 Added a switch_page signal to the side pane.
2002-09-22  Dave Camp  <dave@ximian.com>

	* src/nautilus-side-pane.h:
	* src/nautilus-side-pane.c: (switch_page_callback),
	(nautilus_side_pane_class_init): Added a switch_page signal to the
	side pane.
	(select_button_press_callback),
	(select_button_key_press_callback), (menu_deactivate_callback),
	(nautilus_side_pane_init): Depress the menu button while the menu
	is popped up.
2002-09-22 13:48:08 +00:00
Dave Camp
d1de21fab5 Set window->information_panel to NULL.
2002-09-21  Dave Camp  <dave@ximian.com>

	* src/nautilus-window.c (nautilus_window_tear_down_sidebar): Set
	window->information_panel to NULL.
2002-09-21 19:53:27 +00:00
Dave Camp
f5c2f1f263 Removed sidebar_tab_pieces from the Makefiles and theme definitions.
2002-09-21  Dave Camp  <dave@ximian.com>

	* configure.in:
	* icons/Makefile.am:
	* icons/crux_eggplant/Makefile.am:
	* icons/crux_eggplant/crux_eggplant.xml:
	* icons/crux_teal/Makefile.am:
	* icons/crux_teal/crux_teal.xml:
	* icons/default/default.xml:
	* icons/gnome/Makefile.am:
	* icons/gnome/gnome.xml:
	* icons/sierra/sierra.xml: Removed sidebar_tab_pieces from the
	Makefiles and theme definitions.
	* src/nautilus-sidebar.c:
	* src/nautilus-sidebar.h: Removed.
2002-09-21 19:52:36 +00:00
Dave Camp
6f2fe2a953 Removed #include "nautilus-sidebar.h".
2002-09-21  Dave Camp  <dave@ximian.com>

	* src/nautilus-sidebar-title.c: Removed #include
	"nautilus-sidebar.h".
2002-09-21 19:23:28 +00:00
Dave Camp
e8f710baea Added F9 as an accelerator for Show Hide Sidebar, for consistency with
2002-09-21  Dave Camp  <dave@ximian.com>

	* src/nautilus-shell-ui.xml: Added F9 as an accelerator for Show
	Hide Sidebar, for consistency with mozilla.
2002-09-21 16:39:26 +00:00
Dave Camp
b0facd37c2 New files, container for the side panels.
2002-09-21  Dave Camp  <dave@ximian.com>

	* src/nautilus-side-pane.c:
	* src/nautilus-side-pane.h: New files, container for the side
	panels.
	* src/nautilus-information-panel.c:
	* src/nautilus-information-panel.h: Moved nautilus-sidebar.[ch] here,
	converted it into just another panel, instead of a container.
	* src/Makefile.am: Build nautilus-information-panel.[ch] and
	nautilus-side-pane.[ch].
	* src/nautilus-window-manage-views.c: (update_title),
	(update_for_new_location), (handle_view_failure),
	(nautilus_window_set_sidebar_panels):
	* src/nautilus-window-private.h:
	* src/nautilus-window.h:
	* src/nautilus-window.c: (side_pane_close_requested_callback),
	(side_pane_size_allocate_callback), (setup_side_pane_width),
	(nautilus_window_set_up_sidebar),
	(nautilus_window_add_sidebar_panel),
	(nautilus_window_remove_sidebar_panel): Use the new information
	panel and side pane.
2002-09-21 16:31:23 +00:00
Alexander Larsson
4422d7163b Some small performance enhancements
2002-09-21  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-icon-factory.c:
	Some small performance enhancements
2002-09-21 14:59:13 +00:00
Padraig O'Briain
3e42a5b904 Add CLEANFILES so that make clean deletes $(server_DATA) and
* components/adapter/Makefile.am:
* components/hardware/Makefile.am:
* components/history/Makefile.am:
* components/loser/content/Makefile.am:
* components/loser/sidebar/Makefile.am:
* components/music/Makefile.am:
* components/notes/Makefile.am:
* components/sample/Makefile.am:
* components/text/Makefile.am:
* components/throbber/Makefile.am:
* components/tree/Makefile.am:
Add CLEANFILES so that make clean deletes $(server_DATA) and
$(server_DATA).in
2002-09-20 08:01:13 +00:00
Alexander Larsson
8972c4bde2 Write docs.
2002-09-19  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/gnome-icon-lookup.c:
	* libnautilus-private/gnome-thumbnail-pixbuf-utils.c:
	* libnautilus-private/gnome-thumbnail.c:
	Write docs.
2002-09-19 15:17:25 +00:00
Alexander Larsson
20124f6d1e Correct thumbnail loading icon.
2002-09-19  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-icon-factory.c (ICON_NAME_THUMBNAIL_LOADING):
	Correct thumbnail loading icon.

	* libnautilus-private/nautilus-file.c (update_info_internal):
	Don't invalidate DISPLAY_NAME for all files, since this will re-load
	file_info making directory loads very slow! As a workaround, only do
	this if file->details->display_name is already set. I don't know
	if this is the correct way though.
2002-09-19 11:21:35 +00:00
Alexander Larsson
c05eef2e30 Merge the new-icon-factory-branch branch to HEAD.
2002-09-18  Alexander Larsson  <alexl@redhat.com>

	Merge the new-icon-factory-branch branch to HEAD.
2002-09-18 18:26:12 +00:00
Dave Camp
1cf7800410 Fixes bug #88596.
2002-09-15  Dave Camp  <dave@ximian.com>

	Fixes bug #88596.

	* components/music/nautilus-music-view.c:
	(set_adjustment_value): New function, blocks the value_changed handler.
	(reset_playtime), (play_status_display): Use set_adjustment_value.
	(nautilus_music_view_destroy),  (changed_idle_callback),
	(slider_changed_callback): When the value changes and the slider isn't being dragged,
	queue a seek in an idle handler.
	(add_play_controls): Tweak the page size.
2002-09-15 21:12:04 +00:00
Dave Camp
06d33d4a73 Provide accessible descriptions for the speed tradeoff items.
2002-09-15  Dave Camp  <dave@ximian.com>

	* src/nautilus-preferences-dialog.c: Provide accessible
	descriptions for the speed tradeoff items.
2002-09-15 19:47:31 +00:00
Dave Camp
6a6c029493 Fixes bug #89616.
2002-09-15  Dave Camp  <dave@ximian.com>

        Fixes bug #89616.

	* libnautilus-private/nautilus-directory.c:
	(nautilus_directory_notify_files_added): If a NautilusFile already
	exists for this file, send a changed notification rather than an
	added notification.
	* libnautilus-private/nautilus-directory.h:
	* libnautilus-private/nautilus-file.c: (update_info_internal):
	Invalidate the display name.
2002-09-15 17:35:33 +00:00
Dave Camp
271a78a3bd Removed background-modification code.
2002-09-10  Dave Camp  <dave@ximian.com>

	* libnautilus-private/nautilus-icon-container.c: (realize):
	Removed background-modification code.
	(nautilus_icon_container_instance_init): Call
	eel_background_set_use_base().

	This fixes the updating problem on theme switches.
2002-09-10 21:23:59 +00:00
Dave Camp
399bf43c16 Activate files on space.
2002-09-10  Dave Camp  <dave@ximian.com>

	* libnautilus-private/nautilus-icon-container.c: (keyboard_space):
	* src/file-manager/fm-list-view.c: (key_press_callback): Activate
	files on space.
2002-09-10 15:11:09 +00:00
Dave Camp
65907ba915 Make accessible_parent_class variables static. Patch from
2002-09-09  Dave Camp  <dave@ximian.com>

	* libnautilus-private/nautilus-icon-container.c:
	* src/nautilus-zoom-control.c: Make accessible_parent_class
	variables static.  Patch from padraig.obriain@sun.com.
2002-09-09 17:21:36 +00:00
Havoc Pennington
0243a2d77f never set "Use default background" item insensitive for the desktop.
2002-09-04  Havoc Pennington  <hp@pobox.com>

	* src/file-manager/fm-desktop-icon-view.c (real_update_menus):
	never set "Use default background" item insensitive for the
	desktop.

	* src/file-manager/fm-desktop-icon-view.c
	(reset_background_callback): Just unset the gconf keys for the
	background in order to "use default background", instead of
	getting background from nautilus theme.
2002-09-05 02:52:41 +00:00
Dave Camp
88aebd7edd Don't start a search for a trash directory if one is already running.
2002-09-04  Dave Camp  <dave@ximian.com>

	* libnautilus-private/nautilus-trash-directory.c: (add_volume):
	Don't start a search for a trash directory if one is already
	running.
2002-09-04 20:31:22 +00:00
David Bordoley
89b5ad9fbf Added escape keybinding to the stop button (bug 83691)
2002-08-31  David Bordoley <bordoley@msu.edu>

        * src/nautilus-shell-ui.xml:
        Added escape keybinding to the stop button (bug 83691)

        * src/file-manager/fm-directory-view.c:
        * src/file-manager/nautilus-directory-view-ui.xml:
        Removed the "Remove Custom Icon" entry from the view menu
        and context menu (bug 82117 also sort of takes care of
        bug 86179).
        Changed keybinding for "Move to Trash" to delete
        and for "Delete" to shift+delete (bug 83218 this fixes bug
        78120 as well).
        Use GTK_STOCK_DELETE in a bunch of dialogs instead of our own string.
        Changed broken link dialog string to "Do you want to move this
        link to the Trash?" and changed confirming button to
        "Mo_ve to Trash" to be consistent with the rest of the UI.
2002-08-31 21:59:32 +00:00
Alexander Larsson
118c35dd7e Branched off Gnome 2.0.x development on the gnome-2-0 branch.
2002-08-30  Alexander Larsson  <alexl@redhat.com>

	Branched off Gnome 2.0.x development on the gnome-2-0 branch.
2002-08-30 19:03:43 +00:00
Alexander Larsson
05c9341f8f Don't mark loopback mounts as CDROM.
2002-08-29  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-volume-monitor.c (mount_volume_iso9660_add):
	Don't mark loopback mounts as CDROM.
2002-08-29 10:56:02 +00:00
Alexander Larsson
e4ae512026 Allow other apps that do their own CD switching to temporary disable
2002-08-29  Alexander Larsson  <alexl@redhat.com>

	* src/nautilus-application.c (volume_mounted_callback):
	Allow other apps that do their own CD switching to temporary disable
	nautilus from popping up CD windows by grabbing the
	_NAUTILUS_DISABLE_MOUNT_WINDOW selection.
2002-08-29 10:15:42 +00:00
Alexander Larsson
a31c78c2dd version markers 2002-08-28 17:01:27 +00:00
Alexander Larsson
e61146dcec Bump version to 2.0.6
2002-08-28  Alexander Larsson  <alexl@redhat.com>

	* NEWS:
	* configure.in:
	Bump version to 2.0.6
2002-08-28 16:44:11 +00:00
Alexander Larsson
0c930cd2e6 New functions: nautilus_volume_copy, nautilus_volume_free,
2002-08-28  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-volume-monitor.h:
	* libnautilus-private/nautilus-volume-monitor.c:
	New functions: nautilus_volume_copy, nautilus_volume_free,
	nautilus_volume_hash, nautilus_volume_is_equal.

	* libnautilus-private/nautilus-trash-directory.c:
	NautilusVolumes are not persistant. Don't keep pointers to old
	ones, keep copies instead.
2002-08-28 16:09:19 +00:00
Alexander Larsson
8477af8665 Correct start_with_sidebar key. Patch from hp@redhat.com
2002-08-23  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/apps_nautilus_preferences.schemas:
	Correct start_with_sidebar key. Patch from hp@redhat.com
2002-08-23 14:23:14 +00:00
Alexander Larsson
dfd4efd1f7 Version markers 2002-08-23 14:20:40 +00:00
Alexander Larsson
3732b5e329 Bump to 2.0.5.
2002-08-23  Alexander Larsson  <alexl@redhat.com>

	* configure.in:
	* NEWS:
	Bump to 2.0.5.
2002-08-23 13:35:18 +00:00
Michael Meeks
c6ea83e743 fix in-icon svg rendering, also obey thumbnailing preferences for svg
2002-08-21  Michael Meeks  <michael@ximian.com>

        * libnautilus-private/nautilus-icon-factory.c
        (nautilus_icon_factory_get_icon_for_file): fix
        in-icon svg rendering, also obey thumbnailing
        preferences for svg files (!).
2002-08-21 12:07:25 +00:00
Alexander Larsson
15e1c17bbe New function nautilus_link_desktop_file_local_is_utf8.
2002-08-20  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-link-desktop-file.c:
	* libnautilus-private/nautilus-link-desktop-file.h:
	New function nautilus_link_desktop_file_local_is_utf8.

	* libnautilus-private/nautilus-link.c:
	* libnautilus-private/nautilus-link.h:
	New function nautilus_link_local_is_utf8.

	* src/file-manager/fm-desktop-icon-view.c
	(update_desktop_directory):
	Recreate trash and homedir links if they are not in utf8.
2002-08-20 10:35:45 +00:00
Dave Camp
010d502704 Save the source so the idle callback can cancel the weak ref.
2002-08-15  Dave Camp  <dave@ximian.com>

	* libnautilus/nautilus-clipboard.c (select_all_callback): Save the
	source so the idle callback can cancel the weak ref.
	(select_all_idle_callback): Cancel the weak ref so the source
	isn't destroyed twice.
	This should fix #74403.
2002-08-15 16:08:36 +00:00
Alexander Larsson
a9acc6aec1 Work around our strange size allocation problems by always assuming the
2002-08-15  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-icon-container.c (icon_set_position):
	Work around our strange size allocation problems by always assuming
	the size of fixed_size containers is the size of the screen.
	This fixes the problem where all desktop icons end up in a pile in the
	top left corner on startup.
	We really need to fix our size allocation.
2002-08-15 14:47:25 +00:00
Dave Camp
b373e215dd Install a frame_text gtk style property, so that accessible themes can
2002-08-14  Dave Camp  <dave@ximian.com>

	* libnautilus-private/nautilus-icon-container.c:
	(nautilus_icon_container_class_init): Install a frame_text gtk
	style property, so that accessible themes can force the icon
	container to put a frame around unselected text.
	(setup_label_gcs): Use text[SELECTED] for the highlight text
	color, since it is now displayed against base[SELECTED].  If
	frame_text is set, use text[NORMAL] for normal text, since it will
	be displayed against base[NORMAL].
	(nautilus_icon_container_set_use_drop_shadows): If frame_text is
	set, don't enable drop shadows, but save that they were requested.
	(style_set): Update use_drop_shadows based on whether frame_text
	is set and whether drop shadows were requested.
	(nautilus_icon_container_theme_changed): Call setup_label_gcs().

	* libnautilus-private/nautilus-icon-canvas-item.c: (draw_frame):
	New function.
	(draw_or_measure_label_text): Rearranged for clarity, make it work
	when it is called for draw without being called for measure (ugh).
	Fixed a PangoLayout leak.  If frame_text is set on the icon
	container, draw a background rectangle.
	(draw_label_layout): Don't drop shadow selected text.  Drawing
	with text[SELECTED] on base[SELECTED] should look just fine
	without a drop shadow.

	* libnautilus-private/nautilus-icon-private.h: Added a
	drop_shadow_requested member.
2002-08-14 21:55:01 +00:00
Alexander Larsson
effb898ecb Added version markers 2002-08-14 09:39:34 +00:00
Alexander Larsson
cb40d682ec Bump to 2.0.4
2002-08-14  Alexander Larsson  <alexl@redhat.com>

	* NEWS:
	* configure.in:
	Bump to 2.0.4
2002-08-14 09:20:57 +00:00
Dave Camp
0459d0d0c7 Unref target_uri before returning when eel_uri_is_trash
2002-08-12  Dave Camp  <dave@ximian.com>

	* libnautilus-private/nautilus-dnd.c:
	(nautilus_drag_default_drop_action_for_icons): Unref target_uri
	before returning when eel_uri_is_trash (target_uri_string).
	* libnautilus-private/nautilus-file-operations.c:
	(append_basename): Free the filename returned from
	gnome_vfs_uri_etract_short_name().
	* libnautilus-private/nautilus-theme.c: (attributes_free): Free
	the attributes struct.
	* libnautilus-private/nautilus-undo-manager.c: (finalize): Free
	the details struct.
	* src/nautilus-bookmark-list.c: (append_bookmark_node): Free the
	mime type string.
2002-08-12 20:01:54 +00:00
Alexander Larsson
1144bec381 Don't actually change desktop files when renaming and the new and old name
2002-08-12  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-file.c (rename_guts):
	Don't actually change desktop files when renaming and the
	new and old name are the same. This happens in the properties dialog
	when you switch notebook pages and is especially bad for vfolder
	directories.
2002-08-12 16:08:18 +00:00
Frank Worsley
c308d2be0a use a timeout for showing the progress dialog
2002-08-11  Frank Worsley  <fworsley@shaw.ca>

	* libnautilus-private/nautilus-file-operations-progress.h:
	* libnautilus-private/nautilus-file-operations-progress.c:
	(nautilus_file_operations_progress_update),
	(nautilus_file_operations_progress_destroy), (map_callback),
	(delayed_show_callback), (nautilus_file_operations_progress_new),
	(nautilus_file_operations_progress_new_file),
	(nautilus_file_operations_progress_done),
	(nautilus_file_operations_progress_pause_timeout),
	(nautilus_file_operations_progress_resume_timeout):
	use a timeout for showing the progress dialog

	* libnautilus-private/nautilus-file-operations.c:
	(create_transfer_dialog), (handle_transfer_vfs_error),
	(handle_transfer_overwrite), (nautilus_file_operations_copy_move),
	(nautilus_file_operations_delete), (do_empty_trash):
	modified to support timeouts
2002-08-11 20:36:19 +00:00
Jody Goldberg
6d0e196616 if the mime db changes invalidate a pile of stuff for anything that is
2002-07-10  Jody Goldberg <jody@gnome.org>

	* libnautilus-private/nautilus-directory-async.c
	(mime_db_changed_callback) : if the mime db changes invalidate a pile
	  of stuff for anything that is monitoring file information.
	(nautilus_directory_monitor_add_internal) : add a mime-db monitor if
	  necessary.
2002-08-11 15:55:51 +00:00
Dave Camp
07cc9c27cd Don't add files to the work queue of a directory they don't belong to.
2002-08-09  Dave Camp  <dave@ximian.com>

	* libnautilus-private/nautilus-directory.c
	(call_files_changed_common): Don't add files to the work queue of
	a directory they don't belong to.

	* libnautilus-private/nautilus-directory-async.c
	(mime_list_start): Replaced got_directory_count with
	got_mime_list.
	(nautilus_directory_add_file_to_work_queue): Added a
	g_return_if_fail (file->details->directory == directory)
2002-08-09 19:38:37 +00:00
Federico Mena Quintero
05fda33c06 Added the "highlight_color_rgba" attribute to directory lists so that they
2002-08-08  Federico Mena Quintero  <federico@ximian.com>

	* icons/crux_teal/crux_teal.xml: Added the "highlight_color_rgba"
	attribute to directory lists so that they will look pretty.
2002-08-08 20:32:27 +00:00
Dave Camp
871cff384e Remove the file from the work queue.
2002-08-08  Dave Camp  <dave@ximian.com>

	* libnautilus-private/nautilus-directory-async.c
	(nautilus_directory_cancel_loading_file_attributes): Remove the
	file from the work queue.
2002-08-08 19:04:17 +00:00
Michael Meeks
92fb67bcf2 fix ugly leak and daftness.
2002-08-08  Michael Meeks  <michael@ximian.com>

        * libnautilus-private/nautilus-icon-factory.c
        (nautilus_gdk_pixbuf_supported): fix ugly leak and
        daftness.
2002-08-08 09:06:44 +00:00
Federico Mena Quintero
7ed2abf1de Move sub-block variables to the function level, making this uglier, less
2002-08-07  Federico Mena Quintero  <federico@ximian.com>

	* libnautilus-private/nautilus-icon-container.c
	(nautilus_icon_container_theme_changed): Move sub-block variables
	to the function level, making this uglier, less clear, and more
	prone to uninitialized values, but following the Nautilus coding
	guidelines, which in this respect are incompatible with the GNOME
	Programming Guidelines via the GNU Coding Standards.

	* libnautilus-private/nautilus-icon-canvas-item.c
	(draw_or_measure_label_text): Likewise.
2002-08-07 18:43:14 +00:00
Michael Meeks
94c8b8b83a pass in info if we have it already.
2002-08-07  Michael Meeks  <michael@ximian.com>

        * libnautilus-private/nautilus-file.c
        (nautilus_file_can_rename): pass in info if we
        have it already.

        * src/file-manager/fm-desktop-icon-view.c
        (update_trash_link_and_delete_copies),
        (update_home_link_and_delete_copies),
        (delete_all_mount_links): kill in favour of
        (update_desktop_directory): so we don't stat / mime
        sniff everything 3+ times.
        (update_link_and_delete_copies): push this method and
        it's file / sniff loop upwards.

        * src/file-manager/fm-directory-view.c
        (special_link_in_selection): upd.
        (fm_directory_link_type_in_selection): kill, unused.

        * libnautilus-private/nautilus-link.c
        (get_link_style_for_local_file): operate on the passed
        in GnomeVFSInfo if we have it.

        * libnautilus-private/nautilus-dnd.c
        (nautilus_drag_selection_includes_special_link): upd
        for efficiency.
2002-08-07 16:08:08 +00:00
Alex Graveley
ca662271d8 Use eel_vfs_has_capability() to check if file is local (instead of
2002-08-06  Alex Graveley  <alex@ximian.com>

        * libnautilus-private/nautilus-file.c (rename_guts): Use
        eel_vfs_has_capability() to check if file is local (instead of
        explicitly looking for a file:/// uri) so that renaming .desktop
        files works with vfolder uris.  Fixes #73773.
2002-08-06 22:53:13 +00:00
Jody Goldberg
2547d51a58 That a NautilusFile and pass both the mime type and the name to the
2002-07-02  Jody Goldberg <jody@gnome.org>

	* libnautilus-private/nautilus-program-chooser.c
	(launch_mime_capplet) : That a NautilusFile and pass both the mime
	  type and the name to the capplet so that it can make more
	  intelligent defaults if necessary.
	(launch_mime_capplet_on_ok) : adjust to changes in launch_mime_capplet.
	(launch_mime_capplet_and_close_dialog) : ditto.
2002-08-06 18:52:56 +00:00
Federico Mena Quintero
a52b4a412b Fixes #82194.
2002-08-06  Federico Mena Quintero  <federico@ximian.com>

	Fixes #82194.

	* icons/text-selection-frame.png: Made the base frame image white
	with rounded corners over a transparent background.

	* libnautilus-private/nautilus-icon-container.c
	(nautilus_icon_container_theme_changed): If the theme does not
	specify a color for the text highlight color, use the widget
	style's base[GTK_STATE_SELECTED].

	* libnautilus-private/nautilus-icon-canvas-item.c
	(draw_or_measure_label_text): Multiply the (white) selection
	pixbuf by the highlight color so that we get a tinted pixbuf with
	proper alpha.
2002-08-06 18:33:59 +00:00
Dave Camp
6dad1055e1 version markers 2002-08-06 00:45:50 +00:00
Dave Camp
cb38af9865 updated. 2.0.3
2002-08-05  Dave Camp  <dave@ximian.com>

	* NEWS: updated.
	* configure.in: 2.0.3
2002-08-06 00:31:48 +00:00
Michael Meeks
67fd89caa1 don't do a synchronous mime sniff on every icon we load.
2002-08-02  Michael Meeks  <michael@ximian.com>

        * libnautilus-private/nautilus-icon-factory.c
        (path_represents_svg_image): don't do a synchronous mime
        sniff on every icon we load.

2002-08-02  Thomas Meeks  <thomas@imaginator.com>

        * libnautilus-private/nautilus-icon-factory.c
        (nautilus_gdk_pixbuf_supported): impl. we need
        this to detect small, local image files that gdk-pixbuf
        can't render.
        (nautilus_icon_factory_get_icon_for_file): fix logic
        bug, so that we do get_thumbnail_uri for small, local
        images that may be tractable to 'convert'.
2002-08-02 15:42:34 +00:00
Dave Camp
f491a59cc4 Get the selection color from the gtk theme if none is specified in the
2002-08-01  Dave Camp  <dave@ximian.com>

	* libnautilus-private/nautilus-icon-container.c:
	(start_rubberbanding): Get the selection color from the gtk theme
	if none is specified in the nautilus theme.
	(realize): Use gtk_widget_modify_bg() to set the background color.
	(style_set): Call nautilus_icon_container_theme_changed(), as
	changes to the style can now affect the theme.
2002-08-01 19:59:55 +00:00
Frank Worsley
313f3b73c3 be smarter about appending local paths or uris to command
2002-07-31  Frank Worsley  <fworsley@shaw.ca>

	* libnautilus-private/nautilus-program-choosing.c:
	(nautilus_launch_desktop_file):
	be smarter about appending local paths or uris to command
2002-08-01 06:41:25 +00:00
Dave Camp
389ce003e1 Use gtk_drag_check_threshold() to check for drag distance. Handle a
2002-07-31  Dave Camp  <dave@ximian.com>

	* libnautilus-private/nautilus-icon-container.c:
	(motion_notify_event): Use gtk_drag_check_threshold() to check for
	drag distance.
	* libnautilus-private/nautilus-icon-dnd.c:
	(nautilus_icon_dnd_begin_drag): Handle a gtk_drag_begin() that
	returns NULL.
2002-07-31 20:16:49 +00:00
Michael Meeks
646d6d4c4f fall back to the other routines if source_name is NULL [ eg. permission
2002-07-31  Michael Meeks  <michael@ximian.com>

	* libnautilus-private/nautilus-file-operations.c
	(build_error_string): fall back to the other routines if
	source_name is NULL [ eg. permission failure moving a
	whole directory not a single file ] #87686
2002-07-31 13:50:26 +00:00
Dave Camp
6d68b5844d Fixed a problem where shortcutting || was preventing the fallback theme
2002-07-27  Dave Camp  <dave@ximian.com>

	* libnautilus-private/nautilus-icon-factory.c
	(icon_theme_changed_callback): Fixed a problem where shortcutting
	|| was preventing the fallback theme from being set. Fixes
	#89178.
2002-07-28 03:06:25 +00:00
Dave Camp
a3e16c3282 Update the current_background_color, the current_background_image, and
2002-07-27  Dave Camp  <dave@ximian.com>

	* src/nautilus-sidebar.c:
	(background_settings_changed_callback): Update the
	current_background_color, the current_background_image, and
	is_default_background.
2002-07-27 23:56:53 +00:00
Dave Camp
b696248509 Save the events to be propagated in order. (fixes #89214)
2002-07-27  Dave Camp  <dave@ximian.com>

	* libnautilus-private/eggtreemultidnd.c: (stop_drag_check),
	(egg_tree_multi_drag_button_release_event),
	(egg_tree_multi_drag_button_press_event):  Save the events to be
	propagated in order.  (fixes #89214)
2002-07-27 18:00:55 +00:00
Dave Camp
34733e864e Added eggtreemultidnd.[ch].
2002-07-26  Dave Camp  <dave@ximian.com>

	* libnautilus-private/Makefile.am: Added eggtreemultidnd.[ch].
	* libnautilus-private/eggtreemultidnd.c:
	* libnautilus-private/eggtreemultidnd.h: New files.
	* src/file-manager/fm-list-model.c:
	(fm_list_model_multi_row_draggable),
	(fm_list_model_file_for_path),
	(each_path_get_data_binder), (fm_list_model_multi_drag_data_get),
	(fm_list_model_multi_drag_data_delete),
	(fm_list_model_set_drag_view), (fm_list_model_get_drag_types),
	(fm_list_model_multi_drag_source_init), (fm_list_model_get_type):
	Implemented the multi drag source.
	* src/file-manager/fm-list-model.h:
	* src/file-manager/fm-list-view.c: (event_after_callback): Moved
	the context menu out of here...
	(button_release_callback): to here.
	(button_press_callback): Pass the current view and the position
	to the model.
	(create_and_set_up_tree_view): Enable drag source on the view.
2002-07-26 22:57:25 +00:00
Michael Meeks
00d63e190e upd. (nautilus_icon_factory_init): upd. (is_theme_in_user_directory): move
2002-07-25  Michael Meeks  <michael@ximian.com>

	* libnautilus-private/nautilus-icon-factory.c
	(icon_theme_changed_callback): upd.
	(nautilus_icon_factory_init): upd.
	(is_theme_in_user_directory): move from here.
	(set_theme_name): kill.
	(nautilus_icon_factory_init, cache_icon_new),
	(cache_icon_ref, cache_icon_unref): only do the
	cache_icons thing when debugging is turned on.

	* libnautilus-private/nautilus-find-icon-image.c
	(is_theme_in_user_directory): move to here.
	(nautilus_icon_theme_set_names),
	(nautilus_icon_theme_destroy),
	(nautilus_icon_theme_new): impl.
	(choose_theme): upd.
	(get_themed_icon_file_path): don't do the XML parse of
	i-regular.xml twice, just pass scalable_details in to
	read_details.
	(details_from_doc_node): split from
	(read_details): upd.
2002-07-26 00:45:59 +00:00
Dave Camp
8fed4ca3ef New functions. (create_tree): Create a NautilusTreeViewDragDest.
2002-07-25  Dave Camp  <dave@ximian.com>

	* components/tree/nautilus-tree-view.c: (get_root_uri_callback),
	(get_file_for_path_callback), (move_copy_items_callback): New
	functions.
	(create_tree): Create a NautilusTreeViewDragDest.
	(nautilus_tree_view_dispose): Unref the DragDest object.
	(nautilus_tree_view_class_init): initialize dispose.
	* libnautilus-private/Makefile.am: Build
	nautilus-tree-view-drag-dest.[ch].
	* libnautilus-tree-view-drag-dest.c:
	* libnautilus-tree-view-drag-dest.h: New files.
	* libnautilus-private/nautilus-dnd.c:
	(nautilus_drag_selection_includes_special_link): Moved here
	from nautilus-icon-dnd.c.
	* libnautilus-private/nautilus-dnd.h: Prototype for
	nautilus_drag_selection_includes_special_link.
	* libnautilus-private/nautilus-file.c:
	(nautilus_file_get_drop_target_uri): Moved here from
	fm-directory-view.
	* libnautilus-private/nautilus-file.h:
	* libnautilus-private/nautilus-icon-dnd.c:
	(nautilus_icon_container_receive_dropped_icons): Call
	nautilus_drag_selection_includes_special_link().
	* libnautilus-private/nautilus-marshal.list: New marshallers.
	* src/file-manager/fm-icon-view.c:
	(get_icon_drop_target_uri_callback): Use
	nautilus_file_get_drop_target_uri().
	* src/file-manager/fm-list-view.c: (get_root_uri_callback),
	(get_file_for_path_callback), (move_copy_items_callback): New
	functions.
	(create_and_set_up_tree_view): Create a NautilusViewDragDest
	object.
	(fm_list_view_dispose): Unref the DragDest object.
2002-07-25 20:59:17 +00:00
Dave Camp
c53f887dd2 Release markers 2002-07-25 17:54:34 +00:00
Dave Camp
737422d36b Add news items. Bump requirements, patch from Rodney Dawes. Bump version
2002-07-25  Dave Camp  <dave@ximian.com>

	* NEWS: Add news items.
	* configure.in: Bump requirements, patch from Rodney Dawes.
	Bump version to 2.0.2.
2002-07-25 17:41:16 +00:00
Dave Camp
f2661b1cc9 (nautilus_music_view_init): Use an EelBackgroundBox instead of a
2002-07-24  Dave Camp  <dave@ximian.com>

	(nautilus_music_view_init): Use an EelBackgroundBox instead of a
	GtkEventBox.
	* components/music/nautilus-music-view.c:
	* src/nautilus-sidebar.c: Derive from EelBackgroundBox instead of
	GtkEventBox.
	(nautilus_sidebar_style_set): Removed special case for
	EelBackgroundStyle.
2002-07-24 20:20:51 +00:00
Michael Meeks
2955fe077a only set the location bookmark if it's non NULL. #87889
2002-07-24  Michael Meeks  <michael@ximian.com>

	* src/nautilus-window-manage-views.c
	(update_title): only set the location bookmark if
	it's non NULL. #87889
2002-07-24 16:26:19 +00:00
Michael Meeks
9d236e79e6 NULL various elements, including the sidebar here: #87414
2002-07-24  Michael Meeks  <michael@ximian.com>

	* src/nautilus-window.c (nautilus_window_destroy):
	NULL various elements, including the sidebar
	here: #87414
2002-07-24 07:45:10 +00:00
Dave Camp
f5c5ab05bd version markers 2002-07-23 04:30:28 +00:00
Alexander Larsson
ce2dc4c4f9 Add major news items
2002-07-22  Alexander Larsson  <alexl@redhat.com>

	* NEWS:
	Add major news items

	* configure.in:
	Bump version to 2.0.1
	Require eel 2.0.1
2002-07-23 00:14:09 +00:00
Alexander Larsson
7abb7e6e4b Fixup usage of ellipses. Patch from Gregory Merchan <merchan@phys.lsu.edu>
2002-07-22  Alexander Larsson  <alexl@redhat.com>

	* src/file-manager/fm-desktop-icon-view.c:
	* src/file-manager/fm-directory-view.c:
	* src/file-manager/nautilus-directory-view-ui.xml:
	* src/nautilus-shell-ui.xml:
	* src/nautilus-sidebar.c:
	Fixup usage of ellipses.
	Patch from Gregory Merchan  <merchan@phys.lsu.edu>
2002-07-22 18:03:51 +00:00
Alexander Larsson
a0cde05ec6 i2002-07-22 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-file.c (rename_guts):
	Allow renaming desktop files to have a slash in them.
2002-07-22 16:36:40 +00:00
Alexander Larsson
f669811a65 Fix wrong location.
2002-07-22  Alexander Larsson  <alexl@redhat.com>

	* components/history/Nautilus_View_history.server.in.in:
	* components/notes/Nautilus_View_notes.server.in.in:
	Fix wrong location.
2002-07-22 15:52:42 +00:00
Alexander Larsson
1e876d9892 Fix for #86073. Don't show removable media options for non removable
2002-07-22  Alexander Larsson  <alexl@redhat.com>

	* src/file-manager/fm-desktop-icon-view.c:
	Fix for #86073. Don't show removable media options for non
	removable media. Also name the unmount menu item "Eject" for
	removable media.
2002-07-22 15:46:50 +00:00
Federico Mena Quintero
fa5dfae9e6 Fixes the Nautilus part of #46238; see eel for the other part.
2002-07-19  Federico Mena Quintero  <federico@ximian.com>

	Fixes the Nautilus part of #46238; see eel for the other part.

	* components/hardware/nautilus-hardware-view.c
	(nautilus_hardware_view_init): Do not set a hardcoded background
	color; just use the color from the GTK+ theme.  We still set up
	the EelBackground as this handles dragged colors, but it does not
	save them anywhere.

	* components/notes/nautilus-notes.c (make_notes_view): Do not set
	up an EelBackground at all for the text view; just let it use the
	default color from the GTK+ theme.  This code did not handle
	dragged colors or anything, anyways.

	* src/nautilus-property-browser.c
	(nautilus_property_browser_init): Do not set a hardcoded
	background color.

	* src/nautilus-sidebar.c (nautilus_sidebar_style_set):
	::style_set() handler; we act as if the theme changed.

	* icons/gnome/gnome.xml: Removed hardcoded colors and background
	images so that we follow the current GTK+ theme.  It's bland but good.
2002-07-19 20:27:29 +00:00
Frank Worsley
4552eb2e3c improve saving of geometry. only save it if we really resize a window, not
2002-07-17  Frank Worsley  <fworsley@shaw.ca>

	* src/nautilus-application.c: (save_window_geometry_timeout),
	(nautilus_window_configure_event_callback),
	(nautilus_window_unrealize_event_callback):
	improve saving of geometry. only save it if we really resize
	a window, not when a window is first shown or viewport change

	* src/nautilus-shell.c: (open_window):
	* src/nautilus-bookmarks-window.c:
	(nautilus_bookmarks_window_restore_geometry):
	update for changed eel function


	* src/nautilus-window-manage-views.c:
	(pending_location_already_showing): added new
	(position_and_show_window_callback):
	ignore saved window position if same window already showing

	* src/nautilus-window.c: (nautilus_window_instance_init),
	(nautilus_window_save_geometry):
	* src/nautilus-window.h:
	updated for new eel function and changes described above
2002-07-18 05:58:23 +00:00
jacob berkman
e501c9f92b fixup
2002-07-17  jacob berkman  <jacob@ximian.com>

	* components/adapter/Makefile.am (EXTRA_DIST): fixup
2002-07-17 17:18:47 +00:00
Michael Meeks
31af021307 fixup name.
2002-07-17  Michael Meeks  <michael@ximian.com>

	* components/hardware/Makefile.am
	(server_in_files): fixup name.
2002-07-17 16:04:05 +00:00
Bastien Nocera
bd78f1315d - fix should_look_for_dot_directory_file 2002-07-17 08:23:59 +00:00
Michael Meeks
046369b55d components/*/.server.in -> *.server.in.in move stuff into $(libexec) and
2002-07-11  Michael Meeks  <michael@ximian.com>

	* components/*/.server.in -> *.server.in.in
	* components/*/Makefile.am: move stuff into $(libexec)
	and $(libdir)/bonobo - a very, very boring ( and likely to
	be buggy ) patch, watch the tinderbox...

	* libnautilus-private/nautilus-icon-container.c
	(nautilus_icon_container_class_init): upd.
	(expose_event): add for debugging, looks like most icons
	areas get 3 expose events each on startup.
2002-07-16 22:17:57 +00:00
Dave Camp
1eaa6d588a Use "folder" instead of "directory" in the accessible description.
2002-07-16  Dave Camp  <dave@ximian.com>

	* src/nautilus-window-manage-views.c (load_content_view): Use
	"folder" instead of "directory" in the accessible description.
2002-07-16 20:08:10 +00:00
Federico Mena Quintero
795a59bbed Fix window/background_window typo.
2002-07-15  Federico Mena Quintero  <federico@ximian.com>

	* libnautilus-private/nautilus-directory-background.c
	(image_loading_done_callback): Fix window/background_window typo.
2002-07-15 18:34:28 +00:00
Rohit R
31d4b306d5 Laavanya K R <laavanya.gopalan@wipro.com>
2002-07-15  Rohit R  <rohit.raveendran@wipro.com>
            Laavanya K R  <laavanya.gopalan@wipro.com>

	* src/file-manager/fm-directory-view.c: (can_move_uri_to_trash)
	* libnautilus-private/nautilus-dnd.c
        (nautilus_drag_default_drop_action_for_icons): Changed the file
	permission from 0777 to 0 for the .Trash while calling
	gnome_vfs_find_directory, since gnome-vfs now ignores the
	permissions parameter when creating trash.
2002-07-15 18:13:23 +00:00
jacob berkman
0c8a313b1a check that our window and the pixmap have the same depth
2002-07-15  jacob berkman  <jacob@ximian.com>

	* libnautilus-private/nautilus-directory-background.c
	(image_loading_done_callback): check that our window and the
	pixmap have the same depth
2002-07-15 15:10:49 +00:00
Damon Chaplin
40eae92d79 add a Help button. (help_cb): show the help page corresponding to the
2002-07-12  Damon Chaplin  <damon@ximian.com>

	* libnautilus-private/nautilus-program-chooser.c
	(nautilus_program_chooser_instance_init): add a Help button.
	(help_cb): show the help page corresponding to the current dialog mode.
	Fixes bug #85804.
2002-07-12 18:46:12 +00:00
Damon Chaplin
94c96e6dca ui-review fixes to add an icon to the 'Empty' button, add a mnemonic, make
2002-07-12  Damon Chaplin  <damon@ximian.com>

	* libnautilus-private/nautilus-file-operations.c (confirm_empty_trash):
	ui-review fixes to add an icon to the 'Empty' button, add a mnemonic,
	make 'Empty' the default button, and change the title.
	Fixes bug #85666. (Though I didn't make it non-modal as that is a bit
	awkward.)
2002-07-12 18:36:13 +00:00
Damon Chaplin
45e9ceaf24 ui-review changes. added '_Name:' label for filename, added mnemonics, and
2002-07-11  Damon Chaplin  <damon@ximian.com>

	* src/file-manager/fm-properties-window.c: ui-review changes.
	added '_Name:' label for filename, added mnemonics, and used standard
	capitalization. On the permissions page I added _Read/_Write/E_xecute
	labels to the checkbuttons, since it improves keynav. Currently
	GtkCheckButton doesn't show a focus indicator if there is no label.
	Even if that were fixed (there is a patch on bug #74830) mnemonic
	accelerators work better with labels for all the checkbuttons.
	Fixes bug #85658.
2002-07-11 17:54:29 +00:00
jacob berkman
c685554d18 use a macro to portably access the fs type (fixes bug #87889)
2002-07-11  jacob berkman  <jacob@ximian.com>

	* libnautilus-private/nautilus-volume-monitor.c (entry_is_supermounted_volume):
	(has_removable_mntent_options): use a macro to portably access the
	fs type (fixes bug #87889)
	(entry_is_supermounted_volume): #ifdef HAVE_HASMNTOPT around the
	body of this
	(get_removable_volumes): fix typos etc. when HAVE_GETMNTINFO is
	defined

	* configure.in: add checks for getmntinfo and sys/mount.h so that
	bsd mount code paths actually get built / run
2002-07-11 17:11:51 +00:00
Dave Camp
6e83617cfa Cancel loading of attributes in the old directory before moving to the new
2002-07-11  Dave Camp  <dave@ximian.com>

	* libnautilus-private/nautilus-directory.c
	(nautilus_directory_notify_files_moved): Cancel loading of
	attributes in the old directory before moving to the new directory.
2002-07-11 14:19:04 +00:00
Michael Meeks
c7994562b9 impl, split, upd. (nautilus_icon_container_get_label_color): don't fetch
2002-07-11  Michael Meeks  <michael@ximian.com>

	* libnautilus-private/nautilus-icon-container.c
	(setup_gc_with_fg, setup_label_gcs, update_label_color):
	impl, split, upd.
	(nautilus_icon_container_get_label_color): don't
	fetch the style for no good reason, get the colored
	gc from an array instead. rename to
	(nautilus_icon_container_get_label_color_and_gc): this
	(realize, unrealize): setup / free the gcs.

	* libnautilus-private/nautilus-icon-canvas-item.c
	(draw_or_measure_label_text): use cached gc(s) from
	the container, instead of thrashing them.
	(antialias_selection_rectangle): upper case, and #define
	since it's always true.
2002-07-11 13:43:31 +00:00
Michael Meeks
0a8851768b move the render out of update_bounds so we request_redraw if the bounds
2002-07-11  Michael Meeks  <michael@ximian.com>

	* libnautilus-private/nautilus-icon-canvas-item.c
	(nautilus_icon_canvas_item_update): move the render out of
	update_bounds so we request_redraw if the bounds don't change,
	odd that we need to do that.
2002-07-11 09:52:21 +00:00
Dave Camp
1fd5f2c162 Added a relation between the label and entry. Changed "file names" to
2002-07-11  Dave Camp  <dave@ximian.com>

	* src/nautilus-location-bar.c: (nautilus_location_bar_init): Added
	a relation between the label and entry.
	* src/nautilus-preferences-dialog.c: Changed "file names" to
	"filenames" on request of the ui-review.
	* src/nautilus-window-manage-views.c: (load_content_view),
	(nautilus_window_set_sidebar_panels): Added some a11y names and
	descriptions.
2002-07-11 08:16:20 +00:00
Dave Camp
0d24958244 Don't block the selection_changed signal. (row_activated_callback): Moved
2002-07-11  Dave Camp  <dave@ximian.com>

	* components/history/nautilus-history-view.c: (update_history):
	Don't block the selection_changed signal.
	(row_activated_callback): Moved here from
	selection_changed_callback.
	(update_click_policy), (click_policy_changed_callback): New
	functions.
	(nautilus_history_view_instance_init): Connect to row_activated,
	set up a preferences callback for the click policy, and call
	update_click_policy().
	(nautilus_history_view_finalize): Remove the preferences callback.
2002-07-11 06:31:04 +00:00
Michael Meeks
443ac50e67 make is_renaming a bit-field to save ~4+ bytes per canvas item.
2002-07-10  Michael Meeks  <michael@ximian.com>

	* libnautilus-private/nautilus-icon-canvas-item.c
	(nautilus_icon_canvas_item_set_renaming): make is_renaming
	a bit-field to save ~4+ bytes per canvas item.
	(nautilus_icon_canvas_item_update): don't request another
	re-draw on the item immediately after returning, save some uta
	thrash.
2002-07-10 19:37:49 +00:00
Damon Chaplin
e709bcbed7 don't pass GNOME_DESKTOP_ITEM_LOAD_ONLY_IF_EXISTS to
2002-07-10  Damon Chaplin  <damon@ximian.com>

	* libnautilus-private/nautilus-program-choosing.c
	(nautilus_launch_desktop_file): don't pass
	GNOME_DESKTOP_ITEM_LOAD_ONLY_IF_EXISTS to
	gnome_desktop_item_new_from_uri(), as it returns NULL if the executable
	isn't found and we crash. Nautilus will find out that it doesn't exist
	when it tries to run it, and it will show an error dialog.
	Fixes bug #87286.
2002-07-10 18:54:07 +00:00
Michael Meeks
3dc4400b80 update the title color only if the background has changed;
2002-07-10  Michael Meeks  <michael@ximian.com>

	* src/nautilus-sidebar.c (nautilus_sidebar_update_appearance):
	update the title color only if the background has changed;
	(nautilus_sidebar_finalize):
	keep the current background colour/image on the sidebar as well
	as the defaults.
	(value_different, nautilus_sidebar_update_appearance): update
	only when the values are different, pass the background in.
	(nautilus_sidebar_create_context_menu): use stored boolean.
	(nautilus_sidebar_background_is_default): do this
	(nautilus_sidebar_update_appearance): inline, once here.

	* src/nautilus-sidebar-title.c
	(nautilus_sidebar_title_background_is_default): kill this method
	cut and paste coded from nautilus-sidebar.c
	(realize_callback, appearance_changed_callback): remove contorted
	'wizard'ry ( and redundant pixbuf colouring logic )
	(nautilus_sidebar_title_theme_changed): don't do title changed,
	nautilus-sidebar.c will do it for us.
	(update_all): don't update the title colour, every time we move
	directory a file ( with pixbuf darkness test, etc. etc. )
	(nautilus_sidebar_title_select_text_color): bin
	background == NULL mess, it never happens now.
	(nautilus_sidebar_title_background): more applied spaghetti hurling
	gone.
2002-07-10 16:23:34 +00:00
Michael Meeks
3953463c36 disable the look_for_kdesktop_recursive code, since this takes ~1 second
2002-07-10  Michael Meeks  <michael@ximian.com>

	* src/nautilus-application.c (is_kdesktop_present): disable
	the look_for_kdesktop_recursive code, since this takes ~1 second
	at startup on my Ultra 2.
	(look_for_kdesktop_recursive, has_wm_state, get_self_typed_prop):
	don't compile these either.
2002-07-10 10:19:34 +00:00
Damon Chaplin
d9defa5a5d updated pane names so help for "Side Panes" and "Performance" pages works
2002-07-09  Damon Chaplin  <damon@ximian.com>

	* src/nautilus-preferences-dialog.c (dialog_button_response_callback):
	updated pane names so help for "Side Panes" and "Performance" pages
	works again.
2002-07-09 21:12:19 +00:00
Damon Chaplin
6fa7dd8de4 add bug num 2002-07-09 20:58:10 +00:00
Damon Chaplin
03e6fa098d if WEB_NAVIGATION_ENABLED is not defined don't ever append the static
2002-07-09  Damon Chaplin  <damon@ximian.com>

	* src/nautilus-window-menus.c (refresh_bookmarks_menu): if
	WEB_NAVIGATION_ENABLED is not defined don't ever append the static
	(system default) bookmarks. Since nautilus isn't a good web browser
	at present these make little sense.
	(append_static_bookmarks):
	(get_static_bookmarks_file_path): ifdeffed out unused functions.

	* src/file-manager/fm-desktop-icon-view.c
	(update_home_link_and_delete_copies):
	* src/nautilus-window.c (nautilus_window_go_home):
	* src/nautilus-window-manage-views.c
	(determined_initial_view_callback): use #ifdef WEB_NAVIGATION_ENABLED
	to determine whether we use the NAUTILUS_PREFERENCES_HOME_URI
	preference or just use the user's $HOME. WEB_NAVIGATION_ENABLED isn't
	defined for now.

	* src/nautilus-preferences-dialog.c: Lots of string changes.
	Hid the 'Navigation' pane.
	(global_preferences_populate_sidebar_panels_callback): just use the
	side pane name as the preference name, rather than 'Display %s tab in
	side pane'.
	(preferences_dialog_populate_themes_group): set the theme selector
	height to 300 so it fills its page a bit better. (Would be nicer if
	we could set an 'expand' option but that is more complicated.)

	* libnautilus-private/nautilus-global-preferences.c: change
	'Local Files Only' to 'Local File Only'.
2002-07-09 20:57:18 +00:00
Michael Meeks
b6a8847c77 build radio button & set mode. (category_clicked_callback): cut most of it
2002-07-09  Michael Meeks  <michael@ximian.com>

	* src/nautilus-property-browser.c
	(property_browser_category_button_new): build
	radio button & set mode.
	(category_clicked_callback): cut most of it out.
	(make_category_link): upd.
	(build_radio_accessibility_relations): kill - uses
	real radio buttons now.
2002-07-09 08:48:13 +00:00
Dave Camp
c0c9fde06f Moved here from select_previous_or_next_name(), select the next item in
2002-07-09  Dave Camp  <dave@ximian.com>

	* libnautilus-private/nautilus-icon-container.c:
	(select_previous_or_next_icon): Moved here from
	select_previous_or_next_name(), select the next item in the sort
	order instead of the next alphabetically.
	(key_press_event): Use select_previous_or_next_icon().
2002-07-09 05:12:32 +00:00
Michael Meeks
38b457f60f short circuit via use_drop_shadows doing a horribly expensive
2002-07-08  Michael Meeks  <michael@ximian.com>

	* libnautilus-private/nautilus-icon-container.c
	(update_label_color): short circuit via use_drop_shadows
	doing a horribly expensive eel_background_is_dark on the
	(potentially huge) desktop background.
2002-07-08 19:16:34 +00:00
Michael Meeks
b958002565 add pre-condition.
2002-07-08  Michael Meeks  <michael@ximian.com>

	* src/nautilus-zoom-control.c
	(nautilus_zoom_control_set_parameters): add pre-condition.

	* src/nautilus-location-bar.c
	(editable_event_after_callback): if shift or control are
	down, don't pop to the end of the field to help
	auto-completers.
2002-07-08 16:52:18 +00:00
Alexander Larsson
832d22ff78 Use the normal gnome home icon by tigert.
2002-07-08  Alexander Larsson  <alexl@redhat.com>

	* icons/default/desktop-home.png:
	Use the normal gnome home icon by tigert.
2002-07-08 15:59:19 +00:00
Michael Meeks
9fc4ed622b handle [C/S]-F10 for popup a11y. (handle_popups): impl.
2002-07-08  Michael Meeks  <michael@ximian.com>

	* libnautilus-private/nautilus-icon-container.c
	(key_press_event): handle [C/S]-F10 for popup a11y.
	(handle_popups): impl.
2002-07-08 15:49:12 +00:00
Gregory Merchan
192f597c51 Modified Files: ChangeLog components/music/nautilus-music-view.c
Modified Files:
	ChangeLog components/music/nautilus-music-view.c
	components/news/nautilus-news.c
	libnautilus-private/nautilus-customization-data.c
	libnautilus-private/nautilus-directory-async.c
	libnautilus-private/nautilus-file-utilities.c
	libnautilus-private/nautilus-file-utilities.h
	libnautilus-private/nautilus-find-icon-image.c
	libnautilus-private/nautilus-icon-factory.c
	libnautilus-private/nautilus-link-historical.c
	libnautilus-private/nautilus-theme.c
	src/nautilus-application.c src/nautilus-bookmark-list.c
	src/nautilus-first-time-druid.c
	src/nautilus-property-browser.c src/nautilus-window-menus.c
	src/file-manager/fm-desktop-icon-view.c
Removed nautilus_make_path and calls to it. Fixes bug #42424
2002-07-08 15:32:10 +00:00
Michael Meeks
eae9b63ddb re-instate label boldness for Alex. (make_category_link): return the
2002-07-08  Michael Meeks  <michael@ximian.com>

	* src/nautilus-property-browser.c
	(nautilus_property_browser_init): re-instate label
	boldness for Alex.
	(make_category_link): return the button widget.
	(nautilus_property_browser_update_contents): keep track
	of the buttons & call relation setup in
	(build_radio_accessibility_relations): here.
2002-07-08 13:20:43 +00:00
Frédéric Crozat
e57a335332 Add support for supermount.
* libnautilus-private/filesystem-attributes.xml:
* libnautilus-private/nautilus-volume-monitor.c:
(has_removable_mntent_options), (get_removable_volumes),
(entry_is_supermounted_volume), (volume_is_removable),
(mount_volume_make_cdrom_name), (get_mount_list),
(mount_unmount_callback),
(nautilus_volume_monitor_mount_unmount_removable),
(finish_creating_volume):
Add support for supermount.

* libnautilus-private/nautilus-volume-monitor.c:
(eject_device):
Fix crash when eject media.
2002-07-08 12:06:25 +00:00
Dave Camp
ca5016e41c Changed "Reset Background" to "Use Default Background" and put it at the
2002-07-05  Dave Camp  <dave@ximian.com>

	* src/nautilus-sidebar.c (nautilus_sidebar_create_context_menu):
	Changed "Reset Background" to "Use Default Background" and put it
	at the end of the menu for consistency with the icon view.
2002-07-05 20:58:44 +00:00
Dave Camp
259bd5b658 Update menu paths and mnemonics. Moved Duplicate, Make Link, Rename, Move
2002-07-05  Dave Camp  <dave@ximian.com>

	* src/file-manager/fm-directory-view.c: (real_merge_menus),
	(real_update_menus): Update menu paths and mnemonics.
	* src/file-manager/nautilus-directory-view-ui.xml: Moved Duplicate,
	Make Link, Rename, Move to Trash, and Delete from the File menu to
	the Edit menu.  Removed the gtk-new pixmap from New Folder (it is
	confusing).  Removed Go to Trash, this was put in the shell.
	* src/file-manager/nautilus-icon-view-ui.xml: Changed mnemonics.
	* src/nautilus-shell-ui.xml: Moved "Dangerous File Items"
	placeholder from File to Edit, added a "File Items Placeholder" in
	Edit, added a Stop button to the view menu, changed the
	Show/Hide menuitems to toggle buttons, and added a Go To Trash
	menu item.
	* src/nautilus-window-menus.c: (go_menu_go_to_trash_callback),
	(view_menu_show_hide_sidebar_state_changed_callback),
	(view_menu_show_hide_toolbar_state_changed_callback),
	(view_menu_show_hide_location_bar_state_changed_callback),
	(view_menu_show_hide_statusbar_state_changed_callback): New
	functions.
	(nautilus_window_update_show_hide_menu_items): Change toggle state
	instead of menu item text.
	(nautilus_window_initialize_menus_part_1): Connect bonobo
	listeners to the toggle menu items.
2002-07-05 20:37:24 +00:00
Alexander Larsson
5e238ba7c0 Don't use window geometry metadata to place the desktop window.
2002-07-05  Alexander Larsson  <alexl@redhat.com>

	* src/nautilus-window-manage-views.c:
	Don't use window geometry metadata to place the desktop window.

	* libnautilus-private/nautilus-icon-factory.[ch]:
	Add a GnomeIconLoader to NautilusIconFactory.
	This is just initial code for handling icon themes in desktop
	file icons.

	* libnautilus-private/nautilus-link-desktop-file.c:
	Use GnomeIconLoader to load desktop file icons.

	* configure.in:
	Add gnome-desktop to COMPONENT_MODULES.
2002-07-05 10:51:03 +00:00
Damon Chaplin
0d9f4054d7 for .desktop files invalidate the file's
2002-07-02  Damon Chaplin  <damon@ximian.com>

	* libnautilus-private/nautilus-file.c (rename_guts): for .desktop files
	invalidate the file's NAUTILUS_FILE_ATTRIBUTE_DISPLAY_NAME attribute
	rather than calling nautilus_file_changed(), since otherwise it will
	just use the old display name. Fixes bug #85966.
2002-07-02 20:40:34 +00:00
Damon Chaplin
a8d6acb028 set the initial pixbuf column to match the initial zoom level, 25%.
2002-07-01  Damon Chaplin  <damon@ximian.com>

	* src/file-manager/fm-list-view.c (create_and_set_up_tree_view): set
	the initial pixbuf column to match the initial zoom level, 25%.
	Otherwise the pixbuf column may not be set and the icons don't appear.
	Fixes bug #85286.
2002-07-02 20:36:43 +00:00
Michael Meeks
8026489569 sidebar -> side pane.
2002-07-02  Michael Meeks  <michael@ximian.com>

	* src/nautilus-preferences-dialog.c
	(global_preferences_populate_sidebar_panels_callback),
	(dialog_button_response_callback): sidebar -> side pane.

	* src/nautilus-window-menus.c
	(nautilus_window_update_show_hide_menu_items): ditto.

	* components/tree/Nautilus_View_tree.server.in,
	* components/notes/Nautilus_View_notes.server.in,
	* components/history/Nautilus_View_history.server.in: ditto.
2002-07-02 18:30:08 +00:00
Michael Meeks
81e2b8dc2c use new eel_glade_get_file.
2002-07-02  Michael Meeks  <michael@ximian.com>

	* src/nautilus-bookmarks-window.c
	(create_bookmarks_window): use new eel_glade_get_file.

	* configure.in: hack libglade out, we use eel now,
	requires a recent eel.

	* data/browser.xml: add mnemonics

	* src/nautilus-property-browser.c
	(nautilus_property_browser_init): don't shrink the
	description text, un-bold description [ makes it
	look ugly, but hey ].
2002-07-02 16:07:26 +00:00
Michael Meeks
65d96db5d4 remove cut and paste complexity.
2002-07-02  Michael Meeks  <michael@ximian.com>

	* src/nautilus-bookmarks-window.c
	(repopulate): remove cut and paste complexity.

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

	* src/nautilus-bookmarks-window.c
	(create_bookmark_store): split out
	(create_bookmarks_window): UI review changes.
	(repopulate): set style.
	(bookmarks_set_empty): impl.
	(get_selected_bookmark): upd.
	(on_remove_button_clicked): upd.

	* configure.in: add libglade checks.
2002-07-02 11:00:20 +00:00
Dave Camp
7455977d5e Applied patches from Juan Salaverria <rael@vectorstar.net> to change "Up a
2002-07-02  Dave Camp  <dave@ximian.com>

	* src/nautilus-shell-ui.xml: Applied patches from Juan Salaverria
	<rael@vectorstar.net> to change "Up a Level" to "Up", and to add a
	separator between Up and Home.  Fixes ui review bugs 82313 and
	82109.
2002-07-02 10:41:36 +00:00
Dave Camp
19ad22c307 Use nautilus_bonobo_set_label instead of
2002-07-02  Dave Camp  <dave@ximian.com>

	* src/file-manager/fm-icon-view.c: (fm_icon_view_update_menus):
	* src/file-manager/fm-directory-view.c:
	(reset_bonobo_open_with_menu), (real_update_menus): Use
	nautilus_bonobo_set_label instead of
	nautilus_bonobo_set_label_for_menu_item_and_command, since popups
	should now have mnemonics.
	* src/file-manager/nautilus-desktop-icon-view-ui.xml:
	* src/file-manager/nautilus-directory-view-ui.xml:
	* src/file-manager/nautilus-icon-view-ui.xml:
	* src/nautilus-shell-ui.xml: Added mnemonics to items on the popup
	menus, changed some mnemonics to prevent duplicates (including a
	patch from David Bordoley <bordoley@msu.edu>
	* libnautilus-private/nautilus-bonobo-extensions.c:
	(nautilus_bonobo_set_label_for_toolitem_and_command): Moved here
	from nautilus_bonobo_set_label_for_menu_item_and_command, since
	popups should display mnemonics.  This function isn't used
	anymore, but I'm leaving it in because it is still useful if we
	ever want to change the label of a verb with a toolbar button
	associated with it.
2002-07-02 09:32:25 +00:00
Dave Camp
3bf0d3bea1 Set the restart style to RESTART_IF_RUNNING instead of RESTART_NEVER when
2002-07-02  Dave Camp  <dave@ximian.com>

	* src/nautilus-application.c (set_session_restart): Set the
	restart style to RESTART_IF_RUNNING instead of RESTART_NEVER when
	restart is FALSE.
2002-07-02 07:33:04 +00:00
Dave Camp
952f9e5346 Change wording as suggested in the ui review, bug #85668.
2002-07-01  Dave Camp  <dave@ximian.com>

	* src/nautilus-window-menus.c: (forget_history_if_confirmed):
	Change wording as suggested in the ui review, bug #85668.
2002-07-01 21:29:39 +00:00
David Emory Watson
418943b317 Remove all old script menus before rebuilding...
2002-07-01  David Emory Watson  <dwatson@cs.ucr.edu>

	* src/file-manager/fm-directory-view.c:
	(update_scripts_menu): Remove all old script menus before rebuilding...

	* src/file-manager/fm-list-view.c:
	(button_press_callback): Fix memory leak.
2002-07-01 19:19:52 +00:00
Dave Camp
ca197b7bc5 Changes from the UI review, bug #85669.
2002-07-01  Dave Camp  <dave@ximian.com>

	Changes from the UI review, bug #85669.

	* libnautilus-private/nautilus-program-chooser.c:
	(run_program_configurator_callback): Changed the wording.
	(nautilus_program_chooser_instance_init): Added a mnemonic to the
	Choose button.
	(nautilus_program_chooser_new): Refer to the File Types and
	Programs dialog rather than the (now nonexistant) GNOME Control
	Center.
	(nautilus_program_chooser_show_no_choices_message): Changed the
	wording.
2002-07-01 18:55:53 +00:00
Gregory Merchan
65790a7dfc Modified Files: ChangeLog src/nautilus-desktop-window.c Patch for bug
Modified Files:
	ChangeLog src/nautilus-desktop-window.c
Patch for bug #85784
2002-06-29 03:58:37 +00:00
Christian Rose
758daa86e5 Added line break to help error message.
2002-06-28  Christian Rose  <menthos@menthos.com>

	* src/nautilus-bookmarks-window.c,
	src/nautilus-preferences-dialog.c,
	src/nautilus-property-browser.c: Added line break to help error
	message.
2002-06-28 15:40:30 +00:00
Alexander Larsson
a69507212f Fix bounds so we don't leave trails from the selected text rect.
2002-06-28  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-icon-canvas-item.c (nautilus_icon_canvas_item_bounds):
	Fix bounds so we don't leave trails from the selected text rect.
2002-06-28 15:23:07 +00:00
Alexander Larsson
c245367195 New throbber for gnome theme. Drawn by Ben FrantzDale
2002-06-28  Alexander Larsson  <alexl@redhat.com>

	* icons/gnome/throbber/Makefile.am:
	* icons/gnome/throbber/001-006.png:
	* icons/gnome/gnome.xml:
	New throbber for gnome theme.
	Drawn by Ben FrantzDale <bfrantzdale@hmc.edu>
2002-06-28 14:40:10 +00:00
Michael Meeks
0960198c1b use the key here.
2002-06-28  Michael Meeks  <michael@ximian.com>

	* libnautilus-private/nautilus-directory.c
	(nautilus_directory_file_list_length_reached): use the
	key here.

	* libnautilus-private/apps_nautilus_preferences.schemas:
	add directory_limit, so it's not a hard coded '4000'.
2002-06-28 14:28:27 +00:00
Frédéric Crozat
ce1f58ebe9 Fix url, since it is a redirection and nautilus-gtkhtml doesn't support
* icons/default/default.xml:
Fix url, since it is a redirection and nautilus-gtkhtml
doesn't support that.
2002-06-28 14:23:45 +00:00
Alexander Larsson
a8175c6686 libnautilus-private/apps_nautilus_preferences.schemas
2002-06-28  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/apps_nautilus_preferences.schemas
	* libnautilus-private/nautilus-global-preferences.c
	* libnautilus-private/nautilus-global-preferences.h
	* libnautilus-private/nautilus-program-choosing.c
	Removed xalf preferences and all remaining code references
	to xalf since we no longer support xalf in nautilus.

	* src/nautilus-window-menus.c
	Removed unused define for old help.

	Patch from David Bordoley <bordoley@msu.edu>
2002-06-28 14:13:48 +00:00
Alexander Larsson
0754d1e50c Added new 192 pixel versions of trash icon. Drawn by Ben FrantzDale
2002-06-28  Alexander Larsson  <alexl@redhat.com>

	* icons/default/Makefile.am (icon_DATA):
	* icons/default/trash-empty-192.png:
	* icons/default/trash-full-192.png:
	Added new 192 pixel versions of trash icon.
	Drawn by Ben FrantzDale <bfrantzdale@hmc.edu>
2002-06-28 13:51:01 +00:00
Alexander Larsson
11faf9b4bf Don't eject when things are unmounted. Eject when we're explicitly
2002-06-28  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-volume-monitor.c:
	Don't eject when things are unmounted.
	Eject when we're explicitly unmounting a volume.

	* libnautilus-private/nautilus-volume-monitor.h:
	Add should_eject to nautilus_volume_monitor_mount_unmount_removable.

	* src/file-manager/fm-desktop-icon-view.c:
	Pass should_eject right.
2002-06-28 10:59:09 +00:00
Alexander Larsson
916d33649d Quote rawdevice_path. Patch from rajeev.karale@wipro.com
2002-06-28  Alexander Larsson  <alexl@redhat.com>

	* src/file-manager/fm-desktop-icon-view.c (volume_ops_callback):
	Quote rawdevice_path. Patch from rajeev.karale@wipro.com
2002-06-28 08:38:43 +00:00
Frank Worsley
d10671c872 use eel vfs capabilities to determine if file is safe to launch
2002-06-27  Frank Worsley  <fworsley@shaw.ca>

	* libnautilus-private/nautilus-program-choosing.c:
	(nautilus_launch_desktop_file): use eel vfs capabilities
	to determine if file is safe to launch
2002-06-28 02:35:15 +00:00
Dave Camp
1949be0b54 Save the volume device earlier, since nfs and smbfs file systems were
2002-06-27  Dave Camp  <dave@ximian.com>

	* libnautilus-private/nautilus-volume-monitor.c
	(finish_creating_volume): Save the volume device earlier, since
	nfs and smbfs file systems were causing the function to return
	before the device was being saved.  This fixes a bug where the
	"Unmount Volume" menu item wasn't working on nfs and smbfs mounts.
2002-06-27 22:20:14 +00:00
Mark McLoughlin
e162fa8ea3 more typo fixage.
2002-06-26  Mark McLoughlin  <mark@skynet.ie>

        * src/file-manager/fm-desktop-icon-view.c:
        (desktop_icon_view_property_filter): more typo fixage.
2002-06-26 04:53:47 +00:00
Shivram U
bf759d2f96 Set the Colormap for the GdkPixmap created via gdk_pixmap_foreign_new().
2002-06-25  Shivram U  <shivaram.upadhyayula@wipro.com>

	* libnautilus-private/nautilus-directory-background.c
	(make_root_pixmap): Set the Colormap for the GdkPixmap created via
	gdk_pixmap_foreign_new().  Fix for bug #83259.
2002-06-25 20:06:43 +00:00
Frank Worsley
f0a1aa5778 implement viewing/opening and executing of files for the tree view
2002-06-25  Frank Worsley  <fworsley@shaw.ca>

	* components/tree/nautilus-tree-view.c:
	(got_activation_uri_callback):
	implement viewing/opening and executing of files
	for the	tree view

	* libnautilus-private/nautilus-dnd.c:
	* libnautilus-private/nautilus-link-desktop-file.c:
	* libnautilus-private/nautilus-link-historical.c:
	updated for new desktop-file: command specifier to allow
	proper launching of desktop files

	* libnautilus-private/nautilus-program-choosing.c:
	(nautilus_launch_desktop_file):
	new function to launch desktop files with proper exec
	parameter support

	* libnautilus-private/nautilus-program-choosing.h:
	define command specifiers in one place

	* src/file-manager/fm-directory-view.c:
	(get_executable_text_file_action):
	add "run in terminal" button, partial fix for #41773

	(activate_callback), (fm_directory_view_move_copy_items):
	support proper launching of and dnd to desktop files
2002-06-25 19:32:12 +00:00
Dave Camp
cb4d4395fa Use eel_vfs_has_capability() to test for locality of the drop target.
2002-06-25  Dave Camp  <dave@ximian.com>

	* src/file-manager/fm-icon-view.c (get_icon_drop_target_uri_callback):
	Use eel_vfs_has_capability() to test for locality of the drop
	target.  Fixes #82644.
2002-06-25 19:22:07 +00:00
Damon Chaplin
1e832d842b Check for "/.nautilus/thumbnails/" rather than "/.thumbnails/". Fixes bug
2002-06-25  Damon Chaplin  <damon@ximian.com>

	* libnautilus-private/nautilus-icon-factory.c (load_icon_from_path):
	Check for "/.nautilus/thumbnails/" rather than "/.thumbnails/".
	Fixes bug #82780.
2002-06-25 18:22:26 +00:00
Dave Camp
d019422403 Use the eel_vfs_has_capability() functon.
2002-06-25  Dave Camp  <dave@ximian.com>

	* src/file-manager/fm-icon-view.c (icon_view_handle_uri_list):
	Use the eel_vfs_has_capability() functon.
2002-06-25 18:03:00 +00:00
Rajeev Karale
698b633bcc Doing fix for pcfs solaris specific issue. Rajeev. 2002-06-25 05:22:05 +00:00
Mark McLoughlin
b69e686e36 its _NET_WORKAREA, not _NET_WM_WORKAREA. Requires latest metacity.
2002-06-25  Mark McLoughlin  <mark@skynet.ie>

        * src/file-manager/fm-desktop-icon-view.c:
        (net_workarea_changed), (desktop_icon_view_property_filter),
        (fm_desktop_icon_view_init): its _NET_WORKAREA, not
        _NET_WM_WORKAREA. Requires latest metacity.
2002-06-25 01:17:51 +00:00
Damon Chaplin
91281b743a if there are no tracks in the list just return "". (play_current_file): if
2002-06-24  Damon Chaplin  <damon@ximian.com>

	* components/music/nautilus-music-view.c (get_song_text): if there are
	no tracks in the list just return "".
	(play_current_file): if there are no tracks in the list just return.
	Fixes bug #85975.
2002-06-24 16:44:36 +00:00
Damon Chaplin
5ac30493b2 added a final NULL argument to g_signal_emit(). Fixes bug #85399.
2002-06-24  Damon Chaplin  <damon@ximian.com>

	* src/nautilus-theme-selector.c (theme_selector_changed_callback):
	added a final NULL argument to g_signal_emit(). Fixes bug #85399.

	* src/nautilus-preferences-dialog.c (theme_changed_callback): just
	return if selected_theme is NULL. This can happen when the dialog is
	being destroyed.
2002-06-24 16:40:01 +00:00
Mark McLoughlin
5a81b0cc06 impl method to set icon container margins from workarea geometries.
2002-06-20  Mark McLoughlin  <mark@skynet.ie>

        * src/file-manager/fm-desktop-icon-view.c:
        (icon_container_set_workarea): impl method to set icon
        container margins from workarea geometries.
        (net_wm_workarea_changed): renamed from panel_desktop_area_changed
        and uses _NET_WM_WORKAREA instead of GNOME_PANEL_DESKTOP_AREA.
        (desktop_icon_view_property_filter), (fm_desktop_icon_view_init):
        update.
2002-06-21 03:40:16 +00:00
Dave Camp
9058af7df7 Add DESKTOP_PAD_[HORIZONTAL,VERTICAL] to width and height to avoid new
2002-06-17  Dave Camp  <dave@ximian.com>

	* libnautilus-private/nautilus-icon-container.c:
	(find_open_grid_space), (mark_icon_location_in_grid): Add
	DESKTOP_PAD_[HORIZONTAL,VERTICAL] to width and height to avoid new
	icons from being placed too closely to other icons, and don't
	place an icon partially outside of the grid.
	(lay_down_icons_tblr): Wrap before placing the icon if necessary,
	and reset max_width when moving to a new column.
2002-06-18 16:49:56 +00:00
Damon Chaplin
5947b57b43 new function to show the help file. (dialog_button_response_callback):
2002-06-14  Damon Chaplin  <damon@ximian.com>

	* src/nautilus-preferences-dialog.c (preferences_show_help): new
	function to show the help file.
	(dialog_button_response_callback): handle the Help button and show
	the appropriate help file.
	(preferences_dialog_create): add a Help button.
	Based on patch from Satyajit Kanungo  <satyajit.kanungo@wipro.com>.

	Fixes bug #83511.
2002-06-14 21:28:59 +00:00
Dave Camp
1ae94a4976 Escape the symlink name before constructing the uri. Fixes #84004.
2002-06-13  Dave Camp  <dave@ximian.com>

	* libnautilus-private/nautilus-file.c:
	(nautilus_file_get_symbolic_link_target_uri): Escape the symlink
	name before constructing the uri.  Fixes #84004.
2002-06-13 18:26:13 +00:00
Damon Chaplin
c059ffdc2e Add a 'Help' button on the bottom-left of the dialog. Also used
2002-06-12  Damon Chaplin  <damon@ximian.com>

	* src/nautilus-property-browser.c (nautilus_property_browser_init):
	Add a 'Help' button on the bottom-left of the dialog. Also used
	gtk_window_set_default_size() rather than gtk_widget_set_size_request()
	so the dialog grows if necessary.
	(help_button_callback): new callback to show the help page.
	Based on patch from Satyajit Kanungo  <satyajit.kanungo@wipro.com>.

	Fixes bug #83524.
2002-06-12 18:37:50 +00:00
Damon Chaplin
4bef8eb8b6 use $(prefix)/${DATADIRNAME}/locale rather than $(datadir)/locale so it
2002-06-12  Damon Chaplin  <damon@ximian.com>

	* test/Makefile.am (INCLUDES):
	* src/Makefile.am (INCLUDES):
	* components/tree/Makefile.am (INCLUDES):
	* components/throbber/Makefile.am (INCLUDES):
	* components/text/Makefile.am (INCLUDES):
	* components/notes/Makefile.am (INCLUDES):
	* components/news/Makefile.am (INCLUDES):
	* components/music/Makefile.am (INCLUDES):
	* components/history/Makefile.am (INCLUDES):
	* components/hardware/Makefile.am (INCLUDES): use
	$(prefix)/${DATADIRNAME}/locale rather than $(datadir)/locale so
	it works on Solaris. Fixes bug #83636.
2002-06-12 18:18:40 +00:00
David Emory Watson
29133f4dcb New, protects us from illegal preferences.
2002-06-03  David Emory Watson  <dwatson@cs.ucr.edu>

	* src/file-manager/fm-list-view.c:
	(get_derfault_zoom_level): New, protects us from illegal preferences.
	(set_zoom_level_from_metadata_and_preferences),
	(fm_list_view_reset_to_defaults),
	(fm_list_view_set_zoom_level),
	(fm_list_view_restore_default_zoom_level): Update.
	(fm_list_view_scale_font_size): Replace switch with loop and always
	use default font at default zoom level.
	(click_policy_changed_callback): Make underlines appear or disappear
	when the click policy changes.

2002-06-02  David Emory Watson  <dwatson@cs.ucr.edu>

	* components/text/nautilus-text-view.c:
	(nautilus_text_view_instance_init): Turn on word wrapping.
2002-06-12 16:34:59 +00:00
Alexander Larsson
fc99a07b32 change vbox spacing to 5.
2002-06-12  Alexander Larsson  <alla@lysator.liu.se>

	* libnautilus-private/nautilus-program-chooser.c: change
	vbox spacing to 5.

	Patch from Jorn Baayen  <jorn@nl.linux.org>
2002-06-12 14:21:59 +00:00
Alexander Larsson
d584278697 Fix indentation.
2002-06-11  Alexander Larsson  <alla@lysator.liu.se>

	* src/nautilus-window.h (nautilus_window_save_geometry):
	* src/nautilus-window-manage-views.c (determined_initial_view_callback):
	* src/nautilus-application.c (nautilus_application_create_window):
	Fix indentation.

	* NEWS:
	Update version

	* configure.in:
	Bump requirements to latest versions.
2002-06-11 08:57:14 +00:00
Frank Worsley
97c0382309 always load the saved window geometry and save the geometry whenever a
2002-06-10  Frank Worsley  <fworsley@shaw.ca>

	* src/nautilus-application.c:
	* src/nautilus-window-manage-views.c:
	* src/nautilus-window.c:
	* src/nautilus-window.h:
	always load the saved window geometry and save the geometry
	whenever a window is resized
2002-06-11 03:42:25 +00:00
Rajeev Karale
0b5ca92698 Change log entry for nautilus-volume-monitor.c changes. Rajeev. 2002-06-10 08:43:09 +00:00
Federico Mena Quintero
fde7521660 Fix the ChangeLog - Federico 2002-06-06 20:02:29 +00:00
Satyajit Kanungo
4bc40de435 added a help button in the bookmark dialog box. put the help callback to
2002-05-29  Satyajit Kanungo  <satyajit.kanungo@wipro.com>

	* nautilus-bookmarks-window.c: added a help button in the bookmark
	dialog box.  put the help callback to link the help button to
	appropiate section in the help document.  Fixes #83515.
2002-06-06 19:14:29 +00:00
Michael Meeks
1e38d5b983 use new eel capabilities test.
2002-06-06  Michael Meeks  <michael@ximian.com>

	* src/file-manager/fm-icon-view.c
	(icon_view_handle_uri_list): use new eel
	capabilities test.

	* configure.in: require various gnome 2.0 releases.

	* Version 2.0.0
2002-06-06 16:57:05 +00:00
Michael Meeks
833d94f1a9 Only enable the hardware view on Linux, if explicitely requested with
2002-06-06  Michael Meeks  <michael@ximian.com>

	* configure.in: Only enable the hardware view on
	Linux, if explicitely requested with --enable-hardware
	add status printout at the end of configure.

	* components/hardware/Makefile.am
	(bin_PROGRAMS): only setup if ENABLE_HARDWARE_VIEW
2002-06-06 15:50:06 +00:00
Alexander Larsson
1857386d8f Version tags 2002-06-03 23:13:40 +00:00
Alex Larsson
482bcc4b3b Add some news.
2002-06-03  Alex Larsson  <alexl@redhat.com>

	* NEWS:
	Add some news.
2002-06-03 22:58:05 +00:00
Alexander Larsson
66cdce3e10 Bump version to 1.1.19 and update requirements.
2002-06-03  Alexander Larsson  <alla@lysator.liu.se>

	* configure.in:
	* NEWS:
	Bump version to 1.1.19 and update requirements.
2002-06-03 21:22:14 +00:00
Frank Worsley
12936d48fb always use the user selected font at default zoom nice if you have a
2002-06-02  Frank Worsley  <fworsley@shaw.ca>

	* src/file-manager/fm-icon-view.c:
	* src/file-manager/fm-list-view.c:
	always use the user selected font at default zoom
	nice if you have a small/large default zoom so you
	don't have a tiny/large font
2002-06-03 21:16:17 +00:00
Dave Camp
0bb8ebf8e3 Removed gtk_window_set_role() call.
2002-06-03  Dave Camp  <dave@ximian.com>

	* src/nautilus-window-manage-views.c (update_title): Removed
	gtk_window_set_role() call.
2002-06-03 19:16:56 +00:00
John Fleck
3b910a66c7 src/nautilus-window-menus.c fix help - it was pointing at the wrong spot
2002-06-01 John Fleck <jfleck@inkstain.net>

	* src/nautilus-window-menus.c
	fix help - it was pointing at the wrong spot
2002-06-02 04:06:20 +00:00
David Emory Watson
27a2a812f5 Added schemas for the list view.
2002-06-01  David Emory Watson  <dwatson@cs.ucr.edu>

	* libnautilus-private/apps_nautilus_preferences.schemas: Added schemas
	for the list view.
2002-06-02 03:23:03 +00:00
John Fleck
e25fa34c1e Makefile.am configure.in remove old help docs from build
2002-06-01 John Fleck <jfleck@inkstain.net>

	* Makefile.am
	* configure.in
	remove old help docs from build
2002-06-02 03:12:52 +00:00
Satyajit Kanungo
4c7de08ca8 Added the help callback to link the Help documents present under
2002-05-28  Satyajit Kanungo <satyajit.kanungo@wipro.com>

	* nautilus-window-menus.c : Added the help callback to link the
	  Help documents present under user-guide for nautilus.
2002-06-02 02:00:14 +00:00
Alex Larsson
d449c07205 Draw drop shadows if use_drop_shadows.
2002-05-31  Alex Larsson <alexl@redhat.com>

	* libnautilus-private/nautilus-icon-canvas-item.c:
	Draw drop shadows if use_drop_shadows.

	* libnautilus-private/nautilus-icon-container.c:
	Implement nautilus_icon_container_set_use_drop_shadows.
	Use light color for labels if use_drop_shadows.

	* libnautilus-private/nautilus-icon-container.h:
	Add new function nautilus_icon_container_set_use_drop_shadows.

	* libnautilus-private/nautilus-icon-private.h:
	Add use_grop_shadow variable.

	* src/file-manager/fm-desktop-icon-view.c:
	Call nautilus_icon_container_set_use_drop_shadows()
2002-06-01 00:05:49 +00:00
Damon Chaplin
e6df4a2422 realize the desktop window immediately, and do a gdk_flush(), so the
2002-05-31  Damon Chaplin  <damon@ximian.com>

	* src/nautilus-application.c
	(nautilus_application_create_desktop_window): realize the desktop
	window immediately, and do a gdk_flush(), so the
	NAUTILUS_DESKTOP_WINDOW_ID property is set and gnome-settings-daemon
	can tell that nautilus is running. Fixes part of #74311.
2002-05-31 20:00:56 +00:00
Michael Meeks
be0eed841e upd. (get_file_load_method): impl.
2002-05-31  Michael Meeks  <michael@ximian.com>

	* components/adapter/nautilus-adapter-file-load-strategy.c
	(nautilus_adapter_file_load_strategy_load_location): upd.
	(get_file_load_method): impl.

	* components/adapter/nautilus-adapter-stream-load-strategy.c
	(nautilus_adapter_stream_load_strategy_load_location): upd.
	(unref_stream_cb, get_stream_load_method): impl.

	* components/adapter/nautilus-adapter-load-strategy.c
	(nautilus_adapter_load_strategy_load_async): impl.
	(nautilus_adapter_load_strategy_report_async_status): impl.
	(nautilus_adapter_load_strategy_report_load_failed),
	(nautilus_adapter_load_strategy_report_load_complete): prune.
2002-05-31 16:18:12 +00:00
Michael Meeks
bfb2a60cd1 only NIL the idle_id if we are going to return FALSE and disconnect
2002-05-31  Michael Meeks  <michael@ximian.com>

	* src/file-manager/fm-directory-view.c
	(display_pending_idle_callback): only NIL the idle_id
	if we are going to return FALSE and disconnect
	ourselves #83591
2002-05-31 05:41:53 +00:00
Dave Camp
6ffc2786af Setup the root window to receive PropertyNotify events.
2002-05-30  Dave Camp  <dave@ximian.com>

	* src/file-manager/fm-desktop-icon-view.c
	(fm_desktop_icon_view_init): Setup the root window to receive
	PropertyNotify events.
2002-05-31 00:03:02 +00:00
Dave Camp
1d192654da Don't add files to old_changed_files if they are not shown.
2002-05-30  Dave Camp  <dave@ximian.com>

	* src/file-manager/fm-directory-view.c (process_new_files): Don't
	add files to old_changed_files if they are not shown.
2002-05-31 00:00:50 +00:00
Dave Camp
133d7c9b9d Don't set the restart command here. (save_session): Implemented.
2002-05-30  Dave Camp  <dave@ximian.com>

	* src/nautilus-application.c (set_session_restart): Don't set the
	restart command here.
	(save_session): Implemented.

	* src/nautilus-window-manage-views.c (update_title): Set the role
	to the displayed uri.
2002-05-30 23:58:09 +00:00
David Bordoley
c15c6b6450 *src/nautilus-window-menus.c *src/nautilus-shell-ui.xml Changed names of
2002-05-25  David Bordoley <bordoley@msu.edu>

	*src/nautilus-window-menus.c
	*src/nautilus-shell-ui.xml
	Changed names of callbacks for "backgrounds and emblems" and preferences
	to make them more descriptive.

	*src/nautilus-windows-menus.c
	Removed unused code relating to eazel customer feedback
	Use stock clear button in the clear history dialog
2002-05-30 21:37:19 +00:00
George Lebl
9ff91c484d Rename the New Launcher verb to "New Launcher Desktop" since it's sort of
Thu May 30 13:14:58 2002  George Lebl <jirka@5z.com>

	* src/file-manager/fm-desktop-icon-view.c,
	  src/file-manager/nautilus-desktop-icon-view-ui.xml:  Rename
	  the New Launcher verb to "New Launcher Desktop" since it's sort
	  of a more special case then the one in directory-view.  This
	  fixes the issue with the fix of #72715
2002-05-30 21:10:17 +00:00
Damon Chaplin
29e5dd5f05 use a separate pointer for each of the patterns/emblems/color dialogs, and
2002-05-30  Damon Chaplin  <damon@ximian.com>

	* src/nautilus-property-browser.c: use a separate pointer for each
	of the patterns/emblems/color dialogs, and make them not modal.

	It was using 'property_browser->details->category' in some of the
	callbacks, which meant it didn't work if the user had switched to one
	of the other patterns/colors/emblems pages. I hard-coded "patterns"
	and "emblems" instead.
2002-05-30 19:55:56 +00:00
Damon Chaplin
fe41a44f49 removed PLAYER_NEXT state, as it wasn't really necessary and was a bit
2002-05-30  Damon Chaplin  <damon@ximian.com>

	* components/music/nautilus-music-view.c: removed PLAYER_NEXT state,
	as it wasn't really necessary and was a bit confusing.
	(selection_changed): updated to make sure we update the displayed
	song title.
	(play_status_display): changed the code to move to the next track,
	as we don't use PLAYER_NEXT any more.
	(play_current_file): use esdout_can_play() to check if we can connect
	to esd.
	(go_to_previous_track): use 3000 instead of 300. (1000 is 1 second,
	see play_status_display()).
	(get_player_state): just return the state. Don't call esdout_playing().

	* components/music/esd-audio.c (esdout_can_play): added new function
	to check if we can connect to esd.
	(esdout_playing): updated this so it only checks if we are currently
	playing a track. It doesn't try to connect to esd any more.

	Fixes bug #79231.
2002-05-30 19:32:06 +00:00
Damon Chaplin
132da2adfe Added support for DnD using GtkTreeView. I added on_row_changed() and
2002-05-30  Damon Chaplin  <damon@ximian.com>

	* src/nautilus-bookmarks-window.c: Added support for DnD using
	GtkTreeView. I added on_row_changed() and on_row_deleted() and removed
	the old on_row_move(). I also added an extra column to the table to
	store a pointer to the bookmark object, so we can handle DnD.
	And a few hacks to keep the list store in sync with the bookmarks
	list. Fixes bug #80986.
2002-05-30 19:21:04 +00:00
Alex Larsson
3aec5152a8 Don't relayout when window height changes unless we need it. Based on a
2002-05-30  Alex Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-icon-container.c (size_allocate):
	Don't relayout when window height changes unless we need it.
	Based on a patch by Jrgen Viksell <jorgen.viksell@telia.com>
2002-05-30 19:12:03 +00:00
George Lebl
44e687c915 Add a New Launcher and Edit Launcher menu items for directories of type
Thu May 30 10:02:30 2002  George Lebl <jirka@5z.com>

	* src/Nautilus_shell.server.in, src/file-manager/fm-directory-view.c,
	  src/file-manager/nautilus-directory-view-ui.xml:  Add a New
	  Launcher and Edit Launcher menu items for directories of type
	  x-directory/vfolder-desktop, also have the icon and list view
	  be able to view these just as the normal dirs.  This should fix
	  #72715, although since the monitors aren't yet working you have
	  to hit reload after making a change.  You also need an up to date
	  panel (to get a well working gnome-desktop-item-edit proggie)
2002-05-30 17:57:00 +00:00
Michael Meeks
4796d20939 remove the file from the link hash if it is going, since we bin the file
2002-05-29  Michael Meeks  <michael@ximian.com>

	* libnautilus-private/nautilus-file.c
	(nautilus_file_mark_gone): remove the file from
	the link hash if it is going, since we bin the
	file info here and thus can't remove it later
	#74120
2002-05-29 16:49:35 +00:00
Laszlo Peter
b634b41c68 #include <signal.h> for kill() and SIGKILL.
2002-05-28  Laszlo Peter  <laca@sun.com>

	 * libnautilus-private/nautilus-thumbnails.c: #include <signal.h> for
        kill() and SIGKILL.
2002-05-28 16:45:50 +00:00
Michael Meeks
f5132be756 split out into eel. (nautilus_file_get_display_name_nocopy): upd. requires
2002-05-27  Michael Meeks  <michael@ximian.com>

	* libnautilus-private/nautilus-file.c (make_valid_utf8):
	split out into eel.
	(nautilus_file_get_display_name_nocopy): upd.
	requires HEAD eel, re-re-close #77892
2002-05-27 17:59:24 +00:00
Alexander Larsson
0795b10025 Added version markers 2002-05-27 17:37:46 +00:00
Alexander Larsson
79bd4197a5 Bump version to 1.1.18 and update requirements.
2002-05-27  Alexander Larsson  <alla@lysator.liu.se>

	* configure.in:
	* NEWS:
	Bump version to 1.1.18 and update requirements.
2002-05-27 17:22:42 +00:00
Jonathan Blandford
77781baac9 make flag storage more efficient. (report_node_inserted): report has_child
2002-05-27  Jonathan Blandford  <jrb@gnome.org>

	* components/tree/nautilus-tree-model.c
	(TreeNode): make flag storage more efficient.
	(report_node_inserted): report has_child toggled before
	reporting row_inserted.

	* components/tree/nautilus-tree-view.c
	(row_inserted_expand_node_callback): remove evil hack to
	emit has_child toggled on the view.
2002-05-27 12:05:09 +00:00
Chris Lyttle
0e1df12e41 updated docs files for new omf build system 2002-05-27 09:17:42 +00:00
Anders Carlsson
5146ed7629 Don't exit if the file is local. Sigh, won't people test their code?
2002-05-24  Anders Carlsson  <andersca@gnu.org>

	* src/file-manager/fm-desktop-icon-view.c: (volume_ops_callback):
	Don't exit if the file is local. Sigh, won't people test their code?

	* src/file-manager/fm-directory-view.c: (activate_callback):
	Special case "file" type URIs, so that people can still open
	their nfs mounted directories.

	* src/nautilus-window-private.h:
	* src/nautilus-window-toolbars.c:
	(nautilus_window_initialize_toolbars):
	* src/nautilus-window.c: (nautilus_window_finalize):
	Remove un-needed theme code.
2002-05-24 21:54:10 +00:00
Michael Meeks
5f92272dd8 work around the aformentioned gtk+ bug, since it seems not to be being
2002-05-24  Michael Meeks  <michael@ximian.com>

	* components/tree/nautilus-tree-view.c
	(row_inserted_expand_node_callback): work around the
	aformentioned gtk+ bug, since it seems not to be being fixed.
2002-05-24 15:21:27 +00:00
Michael Meeks
44e0b9a91a fix proximate cause of #80896
2002-05-24  Michael Meeks  <michael@ximian.com>

	* libnautilus-private/nautilus-icon-dnd.c
	(drag_data_received_callback): fix proximate cause of #80896

	* libnautilus-private/nautilus-icon-container.c
	(nautilus_icon_container_update_icon): fix proximate cause
	of #78568.
2002-05-24 08:44:23 +00:00
Alex Graveley
72884ab193 Fix typo which was horking monitors.
2002-05-24  Alex Graveley  <alex@ximian.com>

	* libnautilus-private/nautilus-monitor.c (monitor_add_internal):
	Fix typo which was horking monitors.
2002-05-24 05:14:40 +00:00
Alex Graveley
708804faf9 Don't dup the string if there is an icon.
2002-05-23  Alex Graveley  <alex@ximian.com>

	* libnautilus-private/nautilus-link-desktop-file.c
	(nautilus_link_desktop_file_local_create): Don't dup the string if
	there is an icon.
2002-05-23 23:13:56 +00:00
Damon Chaplin
677fc0edf1 major changes to use a thread to create thumbnails instead of forking for
2002-05-23  Damon Chaplin  <damon@ximian.com>

	* libnautilus-private/nautilus-thumbnails.c: major changes to use a
	thread to create thumbnails instead of forking for each one. May fix
	bug #78542 and #76338.
2002-05-23 21:52:02 +00:00
Michael Meeks
3a67004365 This change only partially works, it works correctly with a fix to Gtk+
2002-05-23  Michael Meeks  <michael@ximian.com>

	This change only partially works, it works correctly
	with a fix to Gtk+ from jrb, but then dies with multiple
	views.

	* components/tree/nautilus-tree-view.c
	(nautilus_tree_view_finalize): don't de-queue idle
	epansion state save.
	(schedule_save_expansion_state_callback),
	(save_expansion_state_idle_callback): kill.
	(create_tree): don't save the gconf key on each
	row expand / contract.
	(nautilus_tree_view_instance_init): setup expanded_uris.
	(load_expansion_state): kill.
	(row_inserted_expand_node_callback): impl.
	(create_tree): connect signal, always expand root.
	(load_expansion_state): impl.
	(save_expansion_state_callback): rename.
	(expand_row_if_stored): impl.
	Sigh - I spent hours working out there was a sort_path.

	* components/tree/nautilus-tree-model.c
	(nautilus_tree_model_new): optionally set the root.
	(nautilus_tree_model_set_root_uri): publicise.
	(nautilus_tree_model_iter_has_child): add some debug.
2002-05-23 16:34:22 +00:00
Alex Larsson
385ba7c4e3 Move disconnect_model_handlers from finalize to destroy. This fixes a
2002-05-23  Alex Larsson  <alexl@redhat.com>

	* src/file-manager/fm-directory-view.c:
	Move disconnect_model_handlers from finalize to destroy.
	This fixes a problem with signals arrive after the view is destroyed.

	Patch from Gustavo Girldez <gustavo.giraldez@gmx.net>
2002-05-23 15:35:56 +00:00
Alex Larsson
7c758ce4a0 Update to new gnome-desktop api.
2002-05-23  Alex Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-link-historical.c (nautilus_link_historical_local_create_from_gnome_entry):
	Update to new gnome-desktop api.
2002-05-23 15:16:08 +00:00
Yanko Kaneti
70a8c9a7dd Added Bulgarian - bg.
2002-05-23  Yanko Kaneti  <yaneti@declera.com>

        * configure.in: (ALL_LINGUAS) Added Bulgarian - bg.

   * bg.po: Added Bulgarian translation from
   Borislav Aleksandrov <B.Aleksandrov@cnsys.bg>.
2002-05-23 13:00:28 +00:00
Alex Graveley
93fd3d1018 Remove FAM check.
2002-05-22  Alex Graveley  <alex@ximian.com>

	* configure.in: Remove FAM check.

	* acconfig.h: Remove HAVE_LIBFAM.

	* libnautilus-private/nautilus-monitor.[ch]: Convert to using
	gnome-vfs monitors.  nautilus_monitor_active() now checks if FAM
	can be used by creating a monitor for the user's desktop
	directory, and caches this if successful.  Adds an idle handler to
	call nautilus_file_changes_consume_changes(), so multiple file
	changes have a chance of being chunked together.
2002-05-22 21:34:19 +00:00
Bastien Nocera
f25b7013cb - add some new filesystem types, fix smbfs' name, fix display name for device with a trailing '/' in the mount, point (ie. /foo/), add some more matching prefixes, add smb, windows, and apple types. create the launcher with i-smb for smb mounts, update to use gconf like magicdev for gnome2 2002-05-22 18:39:20 +00:00
Jorn Baayen
7adbdb655b always use the gtk stock icons in toolbars, set the priority property for
2002-05-20  Jorn Baayen  <jorn@nl.linux.org>

	* src/nautilus-shell-ui.xml:
	* src/nautilus-window-private.h:
	* src/nautilus-window-toolbars.c: always use the gtk stock
	icons in toolbars, set the priority property for some buttons,
	add history dropdown buttons, remove rightclick menu.
2002-05-22 16:26:31 +00:00
Eric Baudais
db472a19ee help/nautilus-user-manual/C/nautilus-user-manual-C.omf Updated the OMF
2002-05-22  Eric Baudais  <baudais@okstate.edu>

	* help/nautilus-user-manual/C/nautilus-user-manual-C.omf
	Updated the OMF file for GNOME 2.0.
2002-05-22 15:19:05 +00:00
Michael Meeks
9adec15ca2 hold a ref during the duration of the call, to guard against re-enterancy
2002-05-22  Michael Meeks  <michael@ximian.com>

	* src/file-manager/fm-directory-view.c
	(display_selection_info_idle_callback): hold a ref
	during the duration of the call, to guard against
	re-enterancy related sudden death #72991
	(display_pending_timeout_callback),
	(update_menus_timeout_callback),
	(display_pending_idle_callback): ditto for good
	measure.
2002-05-22 11:41:54 +00:00
Michael Meeks
4a1ebc6bda hold a ref on the window while we do a load of possibly re-enterant stuff.
2002-05-22  Michael Meeks  <michael@ximian.com>

	* src/nautilus-window.c (ui_idle_handler): hold a ref
	on the window while we do a load of possibly
	re-enterant stuff. #82050
2002-05-22 10:24:19 +00:00
Michael Meeks
2c1fa37db6 add the full, non-mangled, clean, escaped URI.
2002-05-22  Michael Meeks  <michael@ximian.com>

	* libnautilus-private/nautilus-dnd.c (add_one_uri):
	add the full, non-mangled, clean, escaped URI.
	(is_path_that_gnome_uri_list_extract_filenames_can_parse),
	(add_one_compatible_uri): #ifdef out these abominations :-)
	Fixes bug #48423, breaks a certain level of
	compatibility with gnome-libs 1.4, inasmuch that
	complex URLs, containing strange characters will not
	be backwards compatible.

	* src/nautilus-window-manage-views.c (open_location):
	add a eel_uri_is_valid check, so the next #48423 is easier
	to track.
2002-05-22 09:51:23 +00:00
Frank Worsley
087bf9c88c allow creation of desktop files without a nautilus icon
2002-05-21  Frank Worsley  <fworsley@shaw.ca>

	* libnautilus-private/nautilus-link-desktop-file.c:
	(nautilus_link_desktop_file_local_create): allow creation
	of desktop files without a nautilus icon

	* src/file-manager/fm-icon-view.c:
	(icon_view_handle_uri_list): make dnd of uri lists work right
2002-05-21 18:24:19 +00:00
Michael Meeks
a0c5277868 cache the property bag item, so we're not forever querying for it.
2002-05-21  Michael Meeks  <michael@ximian.com>

	* src/nautilus-sidebar-tabs.c (get_property_bag):
	cache the property bag item, so we're not forever
	querying for it.
	(tab_item_destroy): re-write, belt and braces.
	(nautilus_sidebar_tabs_connect_view): update.
	(get_tab_image_name): don't release the property bag.
	(nautilus_sidebar_tabs_update_indicator): kill, unused.
	(nautilus_sidebar_tabs_add_view): associate the tab
	with it's parent.
	(tab_indicator_changed_callback): update just 1 tab.
	(nautilus_sidebar_tabs_update_all_indicators): remove,
	not what we wanted anyway.
	(nautilus_sidebar_tabs_update_tab_item): update sig.
2002-05-21 11:27:23 +00:00
Michael Meeks
fc8d249c7c move this code (event_after_callback): into here, it seems we get the
2002-05-21  Michael Meeks  <michael@ximian.com>

	* src/file-manager/fm-list-view.c
	(list_activate_callback): move this code
	(event_after_callback): into here, it seems we get
	the event after the callback whether handled or not.
	(create_and_set_up_tree_view): unhook list_activate.

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

	* src/nautilus-window-menus.c
	(refresh_bookmarks_menu): hold refs on the window,
	in case we re-enter during bookmark build and destroy
	it.
2002-05-21 09:43:37 +00:00
Alex Graveley
059297b9f4 Force saving of desktop file to counteract bug in libgnome-desktop.
2002-05-20  Alex Graveley  <alex@ximian.com>

	* libnautilus-private/nautilus-link-desktop-file.c
	(nautilus_link_desktop_file_local_create): Force saving of desktop
	file to counteract bug in libgnome-desktop.
2002-05-20 23:53:07 +00:00
Anders Carlsson
354be67bc2 Schedule an idle instead of a timeout when we know all the files in the
2002-05-21  Anders Carlsson  <andersca@gnu.org>

	* src/file-manager/fm-directory-view.c: (finish_loading):
	Schedule an idle instead of a timeout when we know all the
	files in the directory.
2002-05-20 23:34:56 +00:00
Alexander Larsson
8dc89ec6dc Version markers. 2002-05-20 15:46:05 +00:00
Alex Larsson
c5c255f78b Bumped to 1.1.17. Require eel 1.1.15.
2002-05-20  Alex Larsson  <alexl@redhat.com>

	* configure.in:
	* NEWS:
	Bumped to 1.1.17.
	Require eel 1.1.15.
2002-05-20 14:47:26 +00:00
Alex Larsson
cc93716322 Remove libpng checks. They are not used.
2002-05-17  Alex Larsson  <alexl@redhat.com>

	* configure.in:
	Remove libpng checks. They are not used.
2002-05-17 20:19:56 +00:00
Alex Graveley
caeca3acbf Pass file URI to nautilus_link_*, instead of local path.
2002-05-17  Alex Graveley  <alex@ximian.com>

	* src/file-manager/fm-icon-view.c
	(get_icon_drop_target_uri_callback): Pass file URI to
	nautilus_link_*, instead of local path.
	(icon_view_handle_uri_list): Ditto, for parent directory.
	(icon_view_handle_uri_list): Ditto.

	* src/file-manager/fm-icon-container.c
	(fm_icon_container_get_icon_text): Pass file URI to
	nautilus_link_*, instead of local path.
	(get_sort_category): Ditto.

	* src/file-manager/fm-directory-view.c
	(fm_directory_link_type_in_selection): Pass file URI to
	nautilus_link_*, instead of local path.
	(special_link_in_selection): Ditto.

	* src/file-manager/fm-desktop-icon-view.c (volume_ops_callback):
	Pass file URI to nautilus_link_*, instead of local path.
	(trash_link_is_selection): Ditto.
	(volume_link_is_selection): Ditto
	(volume_link_device_type): Ditto.

	* libnautilus-private/nautilus-file.c (rename_guts): Pass file URI
	to nautilus_link_desktop_file_local_set_text(), handle non-local
	launchers gracefully.

	* libnautilus-private/nautilus-link-desktop-file.c: Use URIs
	throughout, and load desktop items using
	gnome_desktop_item_new_from_uri.
	(nautilus_link_desktop_file_local_create): Use
	gnome_desktop_item_new_from_string, instead of using fputs
	directly.

	* libnautilus-private/nautilus-link-historical.c: Use URIs instead
	of local paths throughout.

	* libnautilus-private/nautilus-link.c: Use URIs instead of local
	paths throughout.
2002-05-17 19:58:13 +00:00
Damon Chaplin
7a00454036 new function to activate the selected items when Return is pressed, to
2002-05-17  Damon Chaplin  <damon@ximian.com>

	* src/file-manager/fm-list-view.c (key_press_callback): new function
	to activate the selected items when Return is pressed, to match the
	icon view. Fixes bug #74976.
2002-05-17 19:32:20 +00:00
Alex Larsson
1e8203cf24 Fix my email address.
2002-05-15  Alex Larsson  <alexl@redhat.com>

	* MAINTAINERS:
	Fix my email address.
2002-05-17 17:53:46 +00:00
Michael Meeks
a8708eb85f require libbonoboui >= 1.116.1 [ CVS ]
2002-05-17  Michael Meeks  <michael@ximian.com>

	* configure.in: require libbonoboui >= 1.116.1 [ CVS ]

	* src/file-manager/fm-list-model.c
	(fm_list_model_clear): add pre-condition.

	* src/file-manager/fm-list-view.c
	(create_and_set_up_tree_view): hold a ref on the model.
	(fm_list_view_dispose): impl.
	(fm_list_view_class_init): upd.
	(fm_list_view_clear): only clear a non NULL model.

	* src/file-manager/fm-icon-view.c
	(get_icon_container): return NULL if we've no container.
	(fm_icon_view_clear): tolerate a NIL icon_container
	( on a 2nd dispose perhaps )

	* libnautilus-private/nautilus-directory-background.c
	(nautilus_file_background_read_desktop_settings): check
	the wallpaper_filename is not empty.

	* src/file-manager/fm-directory-view.c
	(fm_directory_view_destroy): hoist pointer
	NULLification up the method.

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

	* libnautilus-private/nautilus-bookmark.c
	(nautilus_bookmark_get_pixmap_and_mask): kill, unused.
2002-05-17 14:11:25 +00:00
Anders Carlsson
1046a3339c Remove some old, unused code.
2002-05-17  Anders Carlsson  <andersca@gnu.org>

	* src/file-manager/fm-directory-view.c: Remove some
	old, unused code.
2002-05-17 11:16:24 +00:00
Alexander Larsson
add1f9d318 Add copyright notice.
2002-05-17  Alexander Larsson  <alexl@redhat.com>

	* components/history/nautilus-history-view.h:
	Add copyright notice.

	* components/notes/Makefile.am:
	* components/notes/Nautilus_View_notes.server.in:
	* components/notes/nautilus-notes.c:
	Make the notes component a shlib component.
2002-05-17 05:14:07 +00:00
Damon Chaplin
1d484190b2 applied patch from Ali Akcaagac to save the language and switch to C++.
2002-05-16  Damon Chaplin  <damon@ximian.com>

	* configure.in (FAM_LIBS): applied patch from Ali Akcaagac to save the
	language and switch to C++. Almost identical to the gnome-vfs patch
	which has been approved. Fixes bug #80827.
2002-05-16 21:41:01 +00:00
Michael Meeks
d055815895 free match_state's name if we have no icon.
2002-05-16  Michael Meeks  <michael@ximian.com>

	* libnautilus-private/nautilus-icon-container.c
	(select_matching_name): free match_state's name
	if we have no icon.

	* libnautilus-private/nautilus-undo-signal-handlers.c
	(editable_register_edit_undo): don't leak undo_text.

	* src/nautilus-location-bar.c (try_to_expand_path):
	unref the URI after use.
2002-05-16 15:09:45 +00:00
Kwok-Koon Cheung
87ebbbc518 trivial fix for schemas file 2002-05-16 13:17:51 +00:00
Michael Meeks
3f461b7fb3 put back the old nautilus values, keep the new values in
2002-05-16  Michael Meeks  <michael@ximian.com>

	* icons/tahoe/tahoe.xml:
	* icons/gnome/gnome.xml:
	* icons/sierra/sierra.xml:
	* icons/crux_teal/crux_teal.xml:
	* icons/crux_eggplant/crux_eggplant.xml:
	* icons/default/default.xml: put back the old
	nautilus values, keep the new values in
	number_v_2_offset.

	* src/nautilus-zoom-control.c (draw_number):
	ask for number_v_2_offset so we can keep theme
	compatibility and get offsets right. Mostly
	we want 0 for the offset anyway, so this
	automagically gets most things right.
2002-05-16 09:54:51 +00:00
Jacob Berkman
08ca67a0f2 include nautilus-history-view.h
2002-05-16  Jacob Berkman  <jacob@ximian.com>

	* components/history/Makefile.am
	(libnautilus_history_view_la_SOURCES): include
	nautilus-history-view.h
2002-05-16 05:08:48 +00:00
Sean Atkinson
12da6796bd Remove icon XML string from HistoryItem.
2002-05-15  Sean Atkinson  <sean@cantab.net>

	* src/nautilus-window-manage-views.c
	(get_history_list_callback):
	* libnautilus/nautilus-view.c (history_dup):
	* libnautilus/nautilus-view-component.idl:
	Remove icon XML string from HistoryItem.

	* components/history/nautilus-history-view.c
	(update_history): Use bookmark icon, not XML one.

	* components/history/nautilus-history-view.h: Moved some stuff
	from nautilus-history-view.c here for libmain.c.

	* components/history/Nautilus_View_history.server.in: Changed exe
	to shlib to run history in-process.

	* components/history/libmain.c: Added for shared library.

	* components/history/Makefile.am: Build shared library.
2002-05-15 15:57:22 +00:00
Frank Worsley
25a3c0f1b1 enable renaming of .desktop files by setting the Name attribute within the
2002-05-13  Frank Worsley  <fworsley@shaw.ca>

	* libnautilus-private/nautilus-file.c:
	enable renaming of .desktop files by setting the Name
	attribute within the .desktop file

	* libnautilus-private/nautilus-link-desktop-file.c:
	added nautilus_link_desktop_file_local_set_text
2002-05-14 18:31:25 +00:00
David Emory Watson
eb5a45f856 Update to use click_policy_auto_value. (rows_reordered_callback): Renamed
2002-05-10  David Emory Watson  <dwatson@cs.ucr.edu>

	* src/file-manager/fm-list-view.c:
	(list_activate_callback),
	(click_policy_changed),
	(fm_list_view_class_init): Update to use click_policy_auto_value.
	(rows_reordered_callback): Renamed to
	(sort_column_changed_callback): this and only write preferences to disk
	if they differ from the defaults.
	(default_sort_order_changed_callback)
	(fm_list_view_instance_init): React to changes in the defaults.

	* src/file-manager/fm-list-model.c:
	* src/file-manager/fm-list-model.h:
	(fm_list_model_get_nautilus_file_sort_type): Renamed to
	(fm_list_model_get_sort_type_from_sort_column_id): this.
	(fm_list_model_compare_func): Update.
	(fm_list_model_add_file): Update.
2002-05-13 22:12:47 +00:00
Alexander Larsson
5fce7166d7 Added version markers 2002-05-13 18:41:16 +00:00
Alex Larsson
4757eb2c21 Bump version number
2002-05-13  Alex Larsson  <alexl@redhat.com>

	* configure.in:
	* NEWS:
	Bump version number

2002-05-13  Alex Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-file-operations.c:
	Make empty trash confirmation dialog title say "Empty Trash?"
	instead	of "Delete Trash Contents?".
2002-05-13 17:46:15 +00:00
Michael Meeks
03a2dbc312 activate the throbber in case we didn't earlier.
2002-05-13  Michael Meeks  <michael@ximian.com>

	* src/nautilus-window.c (nautilus_window_show_toolbar):
	activate the throbber in case we didn't earlier.

	* src/nautilus-window-toolbars.c
	(nautilus_window_activate_throbber): split out of
	(nautilus_window_initialize_toolbars): here,
	only activate the throbber if we are starting
	with a toolbar.

	* src/nautilus-window.c:
	(nautilus_window_show_toolbar, nautilus_window_hide_toolbar): move
	into nautilus-window-toolbars.

	* libnautilus/nautilus-view-standard-main.c
	(object_destroyed): upd. comment.
	(make_object): prune bogus comment.
	(nautilus_view_instrument_for_failure): impl.
	(object_destroyed): only do 1 destroy ever, rename
	(view_object_destroy): to this.
	(make_object): upd.
	(nautilus_view_never_got_frame_timeout),
	(nautilus_view_set_frame_callback),
	(nautilus_view_cnx_broken_callback): impl.
2002-05-13 16:04:02 +00:00
Dave Camp
878ff2caa6 Added mnemonics.
2002-05-12  Dave Camp  <dave@ximian.com>

	* libnautilus-private/nautilus-global-preferences.c:
	* src/nautilus-bookmarks-window.c: (create_bookmarks_window):
	* src/nautilus-preferences-dialog.c: Added mnemonics.
2002-05-13 03:45:27 +00:00
Alexander Larsson
889efa286a Make sure to keep a ref to the view until we got the response. Handle the
2002-05-12  Alexander Larsson  <alla@lysator.liu.se>

	* src/file-manager/fm-directory-view.c
	(clipboard_targets_received, real_update_menus):
	Make sure to keep a ref to the view until we got the response.
	Handle the case the detail->ui was destroyed (it's a weak ref).
2002-05-13 03:31:05 +00:00
Dave Camp
b3e25c8c4c Handle files that are moved/removed and not ready.
2002-05-10  Dave Camp  <dave@ximian.com>

	* src/file-manager/fm-directory-view.c (process_new_files): Handle
	files that are moved/removed and not ready.
2002-05-13 03:02:16 +00:00
Alex Larsson
9ebd9e2020 Don't use custom font.
2002-05-11  Alex Larsson  <alexl@redhat.com>

	* components/music/nautilus-music-view.c: (set_up_tree_view):
	Don't use custom font.

	* libnautilus-private/apps_nautilus_preferences.schemas:
	Add preferences/desktop_font.
	Remove old fonts keys

	* libnautilus-private/nautilus-file.c:
	(nautilus_file_get_display_name_nocopy):
	Don't leak.

	* libnautilus-private/nautilus-global-preferences.c:
	* libnautilus-private/nautilus-global-preferences.h:
	Remove old font prefs. Add desktop font prefs.

	* libnautilus-private/nautilus-icon-canvas-item.c:
	(create_label_layout):
	Use default widget font unless one is set.

	* libnautilus-private/nautilus-icon-container.c: (finalize),
	(style_set), (nautilus_icon_container_class_init),
	(nautilus_icon_container_instance_init),
	(nautilus_icon_container_set_font):
	* libnautilus-private/nautilus-icon-container.h:
 	* libnautilus-private/nautilus-icon-private.h:
	Change nautilus_icon_container_set_font_name to
	nautilus_icon_container_set_font.
	Change font_size_table to have the difference from the base font size.
	Invalidate labels on style_set.

	* libnautilus-private/nautilus-icon-factory.c:
	(embedded_text_font_changed_callback), (embed_text):
	Use default widget font for embedded text.

	* src/nautilus-preferences-dialog.c:
	* src/nautilus-sidebar-title.c:
	Remove font prefs. Update on style_set.

	* src/nautilus-sidebar-tabs.c: (nautilus_sidebar_tabs_class_init),
	(nautilus_sidebar_tabs_load_theme_data), (style_set),
	(nautilus_sidebar_tabs_init), (nautilus_sidebar_tabs_destroy),
	(make_tab_text_layout):
	Use normal gtk+ fonts.

	* src/file-manager/fm-desktop-icon-view.c: (font_changed_callback),
	(fm_desktop_icon_view_update_icon_container_fonts),
	(fm_desktop_icon_view_init):
	Use desktop font.

	* src/file-manager/fm-icon-view.c:
	(default_zoom_level_changed_callback), (create_icon_container),
	(fm_icon_view_instance_init):
	(nautilus_sidebar_title_class_init), (style_set),
	(nautilus_sidebar_title_init), (update_title_font):
	Remove font handling.
2002-05-11 23:53:50 +00:00
Anders Carlsson
adce739233 Check that the file exists before trying to parse it. This stops libxml
2002-05-10  Anders Carlsson  <andersca@gnu.org>

	* src/nautilus-bookmark-list.c: (nautilus_bookmark_list_load_file):
	Check that the file exists before trying to parse it. This stops
	libxml from spewing crack "entity not found" messages.
2002-05-10 20:17:05 +00:00