Commit graph

5604 commits

Author SHA1 Message Date
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
Damon Chaplin
d0cae5ea47 moved the nautilus_file_unref() to the end of the function. Hopefully
2002-05-10  Damon Chaplin  <damon@ximian.com>

	* libnautilus-private/nautilus-directory-async.c (link_info_read_done):
	moved the nautilus_file_unref() to the end of the function.
	Hopefully fixes bug #80207.
2002-05-10 18:49:04 +00:00
Damon Chaplin
d9618fc61e if the file size is 0, just report loading is complete and return. Fixes
2002-05-09  Damon Chaplin  <damon@ximian.com>

	* components/text/nautilus-text-view.c (read_file_callback): if the
	file size is 0, just report loading is complete and return.
	Fixes bug #79745.
2002-05-09 20:49:46 +00:00
Alex Larsson
6c78446b5d Fix menu mnemonic collision. Patch by Samuel Stringham <sams@e-sa.com>.
2002-05-09  Alex Larsson  <alexl@redhat.com>

	* src/file-manager/fm-icon-view.c: (fm_icon_view_update_menus):
	* src/file-manager/nautilus-icon-view-ui.xml:
	Fix menu mnemonic collision.
	Patch by Samuel Stringham <sams@e-sa.com>.

2002-05-09  Stuart MacLean <stuart@cs.dal.ca>
	* src/nautilus-window-menus.c
	(forget_history_if_confirmed): Make Clear History dialog
	consistent with other Nautilus dialogs.
2002-05-09 20:40:53 +00:00
Dave Camp
8c9311cbb1 Plug leaks. (nautilus_mime_set_short_list_applications_for_file): Free the
2002-05-09  Dave Camp  <dave@ximian.com>

	* libnautilus-private/nautilus-mime-actions.c:
	(nautilus_mime_get_default_action_type_for_file):
	(nautilus_mime_get_default_application_for_file_internal):
	(nautilus_mime_get_default_component_for_file_internal):
	(nautilus_mime_get_short_list_applications_for_file):
	(nautilus_mime_get_short_list_components_for_file):
	(nautilus_mime_get_all_applications_for_file):
	(nautilus_mime_extend_all_applications_for_file):
	(nautilus_mime_remove_from_all_applications_for_file): Plug leaks.
	(nautilus_mime_set_short_list_applications_for_file): Free the
	normal_short_list after computing the delta, and use g_list_free
	on normal_short_list_ids rather than eel_g_list_free_deep.
	(str_list_difference): Duplicate the strings before inserting them
	into the list.
2002-05-09 20:21:34 +00:00
Dave Camp
4a9cd1696b Don't hold references to the view.
2002-05-03  Dave Camp  <dave@ximian.com>

	* src/file-manager/fm-desktop-icon-view.c (mount_parameters_new):
	(mount_parameters_free): Don't hold references to the view.
2002-05-09 20:07:05 +00:00
Alex Larsson
5436207882 Remove public metadata
2002-05-08  Alex Larsson  <alexl@redhat.com>

	* libnautilus-private/apps_nautilus_preferences.schemas:
	* libnautilus-private/nautilus-file-utilities.c:
	* libnautilus-private/nautilus-file-utilities.h:
	* libnautilus-private/nautilus-file.c:
	* libnautilus-private/nautilus-file.h:
	* libnautilus-private/nautilus-global-preferences.c:
	* libnautilus-private/nautilus-global-preferences.h:
	* libnautilus-private/nautilus-metafile.c:
	* libnautilus-private/nautilus-metafile.h:
	* libnautilus-private/nautilus-thumbnails.c:
	* libnautilus-private/nautilus-vfs-directory.c:
	* src/nautilus-preferences-dialog.c:
	Remove public metadata
2002-05-09 19:49:33 +00:00
Dave Camp
0051a8bd57 Unref the style after setting it on the widget.
2002-05-09  Dave Camp  <dave@ximian.com>

	* libnautilus-private/nautilus-icon-container.c (realize): Unref
	the style after setting it on the widget.
2002-05-09 19:41:55 +00:00
Alex Larsson
e7833472a1 More emblems from jimmac.
2002-05-08  Alex Larsson  <alexl@redhat.com>

	* data/browser.xml:
	* data/emblems/Makefile.am:
	* data/emblems/documents.png:
	* data/emblems/multimedia.png:
	* data/emblems/package.png:
	* data/emblems/web.png:
	* icons/default/Makefile.am:
	* icons/default/emblem-documents.png:
	* icons/default/emblem-multimedia.png:
	* icons/default/emblem-package.png:
	* icons/default/emblem-web.png:
	More emblems from jimmac.
2002-05-08 22:34:12 +00:00
Alex Larsson
93008154e5 Show Properties -> Properties.
2002-05-08  Alex Larsson  <alexl@redhat.com>

	* src/file-manager/fm-directory-view.c:
	* src/file-manager/nautilus-directory-view-ui.xml:
	Show Properties -> Properties.
2002-05-08 22:06:59 +00:00
Damon Chaplin
c783f8dc3c handle the icon selector dialog being returned as NULL, which can happen
2002-05-08  Damon Chaplin  <damon@ximian.com>

	* src/nautilus-property-browser.c (add_new_pattern): handle the
	icon selector dialog being returned as NULL, which can happen if the
	user presses Escape or clicks OK/Cancel while the icons are loading.
	Fixes part of bug #75387.
2002-05-08 20:33:52 +00:00
Damon Chaplin
e65593348b If we can't move in the given direction just return, and if the given
2002-05-08  Damon Chaplin  <damon@ximian.com>

	* src/nautilus-window-manage-views.c (nautilus_window_back_or_forward):
	If we can't move in the given direction just return, and if the given
	distance to move is off the end of our history list just jump to the
	end. Do all this rather than a g_assert(). Fixes bug #77681.
2002-05-08 20:18:50 +00:00
Alex Larsson
6b93b00894 Add some new emblems from tigert's set.
2002-05-08  Alex Larsson  <alexl@redhat.com>

	* data/browser.xml:
	* data/emblems/Makefile.am:
	* data/emblems/art.png:
	* data/emblems/camera.png:
	* data/emblems/mail.png:
	* data/emblems/pictures.png:
	* data/emblems/sound.png:
	* icons/default/Makefile.am:
	* icons/default/emblem-art.png:
	* icons/default/emblem-camera.png:
	* icons/default/emblem-mail.png:
	* icons/default/emblem-pictures.png:
	* icons/default/emblem-sound.png:
	Add some new emblems from tigert's set.
2002-05-08 18:53:29 +00:00
Alex Larsson
ce80b3f59e Use gtk-new icon for new document. Ctrl-n is new window and Shift-Ctrl-n
2002-05-08  Alex Larsson  <alexl@redhat.com>

	* src/file-manager/nautilus-directory-view-ui.xml:
	* src/nautilus-shell-ui.xml:
	Use gtk-new icon for new document.
	Ctrl-n is new window and Shift-Ctrl-n is new folder.
2002-05-08 16:34:34 +00:00
Alex Larsson
306e74fa3c Remove all references to the http proxy settings. These are now handled by
2002-05-08  Alex Larsson <alexl@redhat.com>

	* libnautilus-private/nautilus-global-preferences.c:
	* libnautilus-private/nautilus-global-preferences.h:
	* src/nautilus-preferences-dialog.c:
	Remove all references to the http proxy settings.
	These are now handled by gnome-vfs and the control-center.
2002-05-08 15:41:47 +00:00
Alexander Larsson
bb5d9c77c5 Version markers 2002-05-06 18:37:09 +00:00
Alex Larsson
38bb44e999 Bump version to 1.1.15.
2002-05-06  Alex Larsson  <alexl@redhat.com>

	* NEWS:
	* configure.in:
	Bump version to 1.1.15.
2002-05-06 15:56:48 +00:00
David Emory Watson
7000b9a5b1 Don't expand ~ or ~/ until the user presses enter, bug 47239.
2002-05-05  David Emory Watson  <dwatson@cs.ucr.edu>

	* src/nautilus-location-bar.c:
	(editable_event_after_callback): Don't expand ~ or ~/ until the user
	presses enter, bug 47239.
	(has_exactly_one_slash): Removed.
2002-05-05 19:16:06 +00:00
David Emory Watson
70fac9c9d0 Make list view default to 75% zoom to get "nice" looking font size while
2002-05-05  David Emory Watson  <dwatson@cs.ucr.edu>

	* libnautilus-private/nautilus-global-preferences.c: Make list view
	default to 75% zoom to get "nice" looking font size while maintaining
	range of different font sizes.

	* src/file-manager/fm-list-view.c:
	(button_press_callback): Don't let the list view unselect anything when
	the user attempts to get the right-click menu on a selection.
	(fm_list_view_set_zoom_level): Invent equivalent of XXX_LARGE and make
	the font size at all zoom levels one bigger.
2002-05-05 19:03:34 +00:00
David Emory Watson
9d68db819d Require eel 1.1.13.
2002-05-04  David Emory Watson  <dwatson@cs.ucr.edu>

	* configure.in: Require eel 1.1.13.

	* src/nautilus-location-bar.c:
	(try_to_expand_path): Handle filenames with embeded or trailing white-
	space.  Fixes bug 46582.  Also fixes a minor utf8 bug that crept into
	the build.
2002-05-05 15:40:29 +00:00
Christophe Merlet
dbb4a76c24 Updated French translation. 2002-05-05 08:41:35 +00:00
David Emory Watson
17d646524d Remove extranious check (we always expand "~/" before we get here) and
2002-05-03  David Emory Watson  <dwatson@cs.ucr.edu>

	* src/nautilus-location-bar.c:
	(try_to_expand_path): Remove extranious check (we always expand "~/"
	before we get here) and call set_position_and_selection_to_end () since
	the behavior of gtk_entry_set_text () has changed.
	(editable_event_after_callback): Useless optimization.
	(nautilus_location_bar_set_location): Call set_position_and_selectio...
2002-05-04 14:55:48 +00:00
David Emory Watson
987a36d4aa Implement zooming for the list view and other small cleanups.
2002-05-01  David Emory Watson  <dwatson@cs.ucr.edu>

	Implement zooming for the list view and other small cleanups.

	* src/file-manager/fm-list-view.c:
	(create_and_set_up_tree_view): Keep track of cell renderers.
	(fm_list_view_begin_loading): Set initial zoom level.
	(set_zoom_level_from_metadata_and_preferences),
	(fm_list_view_set_zoom_level),
	(fm_list_view_bump_zoom_level),
	(fm_list_view_zoom_to_level),
	(fm_list_view_restore_default_zoom_level),
	(fm_list_view_can_zoom_in),
	(fm_list_view_can_zoom_out),
	(default_zoom_level_changed): Impl.
	(fm_list_view_class_init): Hook up zoom auto value.
	(fm_list_view_instance_init): Use while_alive to monitor changes to
	default_zoom_level and click_policy.
	(fm_list_view_finalize): Update click_policy callback.

	Added a column for each pixbuf size to the model.

	* src/file-manager/fm-list-model.c,
	src/file-manager/fm-list-model.h:
	(fm_list_model_get_column_type): Update.
	(fm_list_model_get_column_id_from_zoom_level),
	(fm_list_model_get_zoom_level_from_column_id): Impl.
	(fm_list_model_get_value): Update.
2002-05-02 23:03:29 +00:00
David Bordoley
d5d0d847d5 src/nautilus-shell-ui.xml Made bookmark shortcut keys hig compliant
2002-05-01  David Bordoley <bordoley@msu.edu>

	* src/nautilus-shell-ui.xml
	Made bookmark shortcut keys hig compliant
	Switched Home shortcut key to Alt-Home

	* src/file-manager/nautilus-directory-view-ui.xml
	Removed shortcut key for duplicate
2002-05-02 21:22:18 +00:00
David Bordoley
a291b73abe Remove favorites .desktop file
2002-05-01 David Bordoley <bordoley@msu.edu>

       * data/Makefile.am:
       Remove favorites .desktop file

       * src/file-manager/nautilus-directory-view-ui.xml:
       Added stock icon for move to trash

       * src/nautilus-shell-ui.xml:
       Removed nautilus quick references
       Changed "Nautilus User Manual" to "Contents"
       Added stock help icon
       Added F1 shortcut key for help

       * src/nautilus-windows-menus.c:
       Removed nautilus quick references
2002-05-02 21:16:28 +00:00
Alex Larsson
21d6ff4089 Encode new desktop files in UTF8.
2002-04-30  Alex Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-link-desktop-file.c (nautilus_link_desktop_file_local_create):
	Encode new desktop files in UTF8.
2002-05-02 20:38:41 +00:00
Jacob Berkman
9e93c17003 remove new sidebar
2002-05-01  Jacob Berkman  <jacob@ximian.com>

	* configure.in (AC_OUTPUT): remove new sidebar
2002-05-01 14:31:30 +00:00
Alex Larsson
b976380bdf Disable news sidebar.
2002-04-30  Alex Larsson  <alexl@redhat.com>

	* components/Makefile.am:
	Disable news sidebar.
2002-04-30 22:21:40 +00:00
Alex Larsson
bc063520ed Removed ellipsis from items that are meant brings up dialog and nothing
2002-04-30  Alex Larsson  <alexl@redhat.com>

	* src/nautilus-shell-ui.xml:
	Removed ellipsis from items that are meant brings up dialog and
	nothing more. IE: About, Preferences and Edit Bookmarks.
	Change Back/Forward/Up keyboard shortcuts to be Alt-<cursor-key>

	* libnautilus-private/nautilus-icon-container.c (key_press_event):
	Don't eat alt-down key events.

	* src/nautilus-preferences-dialog.c:
	Disable news preferences.

	* src/file-manager/nautilus-directory-view-ui.xml:
	Use Alt-down as alternative open.


2002-04-29 David Bordoley <bordoley@msu.edu>

       * src/nautilus-shell-ui.xml:
       Changed tooltip for up arrow

       * file-manager/fm-directory-view.c
       * file-manager/nautilus-directory-view-ui.xml:
	Changed "Show Properties" to "Properties"

       * src/file-manager/nautilus-desktop-icon-view-ui.xml:
       * src/file-manager/nautilus-directory-view-ui.xml:
       Change "Reset Background" to "Use Default Background".
2002-04-30 22:12:33 +00:00
Alexander Larsson
0395e9cf27 Version tags 2002-04-29 01:50:28 +00:00
Alexander Larsson
892143df6b Bump version to 1.1.14. Require eel 1.1.12
2002-04-28  Alexander Larsson  <alla@lysator.liu.se>

	* NEWS:
	* configure.in:
	Bump version to 1.1.14.
	Require eel 1.1.12
2002-04-29 01:09:42 +00:00
Alexander Larsson
22fe6c761d Make dnd modifiers behave like standard Gtk+ (#76789). Implemented "Set as
2002-04-27  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-dnd.c:
	(nautilus_drag_default_drop_action_for_icons),
	(nautilus_drag_drop_action_ask):
	* libnautilus-private/nautilus-dnd.h:
	* libnautilus-private/nautilus-icon-dnd.c:
	(selection_is_image_file),
	(nautilus_icon_container_receive_dropped_icons),
	(nautilus_icon_container_get_drop_action), (drag_motion_callback):
	Make dnd modifiers behave like standard Gtk+ (#76789).
	Implemented "Set as Background" for dnd action == ASK.
2002-04-28 03:08:07 +00:00
Alexander Larsson
607b8dbf42 Name is now "Desktop Preferences"
2002-04-27  Alexander Larsson  <alexl@redhat.com>

	* data/preferences.desktop.in:
	Name is now "Desktop Preferences"

	* src/file-manager/fm-directory-view.c:
	* src/file-manager/nautilus-directory-view-ui.xml:
        "Remove Custom Images" -> "Remove Custom Icons" for consistency

	* src/nautilus-shell-ui.xml:
	Move preferences to bottom of menu.

	patches from Dave Bordoley <bordoley@msu.edu>
2002-04-27 23:52:51 +00:00
Dave Camp
17eaaad1b1 Initialize current_value.
2002-04-27  Dave Camp  <dave@ximian.com>

	* src/nautilus-zoom-control.c (nearest_preferred): Initialize
	current_value.
2002-04-27 16:40:16 +00:00
Alex Larsson
768e4421e6 Close window at end of menu according to HIG.
2002-04-26  Alex Larsson <alexl@redhat.com>

	* src/nautilus-shell-ui.xml:
	Close window at end of menu according to HIG.

	patch from Dave Bordoley <bordoley@msu.edu>
2002-04-26 23:54:46 +00:00
Alex Larsson
f9acc97fd7 HIG compliant toolbar button ordering
2002-04-26  Alex Larsson <alexl@redhat.com>

	* src/nautilus-shell-ui.xml:
	HIG compliant toolbar button ordering
2002-04-26 23:23:12 +00:00
Alex Larsson
c80f1c5083 Stock icons for new window, and zooming. Don't use stock icons for close
2002-04-26  Alex Larsson  <alexl@redhat.com>

	* src/file-manager/nautilus-directory-view-ui.xml:
	Stock icons for new window, and zooming. Don't use
	stock icons for close all (duplicate use of stock).

	* src/nautilus-shell-ui.xml:
	Stock icon for open.
	"Reset View to Match _Preferences" -> "Reset View to _Defaults"
	Stock icons for cut and paste.
	Stock icons for open.

	* src/nautilus-window-menus.c: (refresh_go_menu):
	Limit history to 10 entries.

	Based on patches from Dave Bordoley <bordoley@msu.edu>
2002-04-26 22:26:31 +00:00
Damon Chaplin
cfbfe7c63a turn on word-wrapping for the GtkTextView. Fixes bug #75209. (Approved by
2002-04-26  Damon Chaplin  <damon@ximian.com>

	* components/notes/nautilus-notes.c (make_notes_view): turn on
	word-wrapping for the GtkTextView. Fixes bug #75209.
	(Approved by Alex Larsson)
2002-04-26 19:46:58 +00:00
Dave Camp
6470cc2fe4 Replace doubles in the zoom interfaces with floats to match the bonobo
2002-04-24  Dave Camp  <dave@ximian.com>

	* src/nautilus-view-frame.c: (nautilus_view_frame_set_zoom_level):
	* src/nautilus-view-frame.h:
	* src/nautilus-window-manage-views.c:
	(zoom_parameters_changed_callback):
	* src/nautilus-window-private.h:
	* src/nautilus-window.c: (nautilus_window_zoom_to_level): Replace
	doubles in the zoom interfaces with floats to match the bonobo
	zoomable interface.

	* src/nautilus-zoom-control.c:
	(nautilus_zoom_control_expose): Draw the focus rectangle if the
	zoom control is focused.
	(nautilus_zoom_control_button_press_event): Grab focus.
	(zoom_menu_callback), (create_zoom_menu_item),
	(nautilus_zoom_control_change_value),
	(nautilus_zoom_control_set_zoom_level),
	(nautilus_zoom_control_set_parameters): Replace double with float.
	(nautilus_zoom_control_class_init): Initialize keybindings.
	(nautilus_zoom_control_get_accessible),
	(nautilus_zoom_control_accessible_do_action),
	(nautilus_zoom_control_accessible_get_n_actions),
	(nautilus_zoom_control_accessible_action_get_description),
	(nautilus_zoom_control_accessible_action_get_name),
	(nautilus_zoom_control_accessible_action_interface_init),
	(nautilus_zoom_control_accessible_get_current_value),
	(nautilus_zoom_control_accessible_get_maximum_value),
	(nautilus_zoom_control_accessible_get_minimum_value),
	(nearest_preferred),
	(nautilus_zoom_control_accessible_set_current_value),
	(nautilus_zoom_control_accessible_value_interface_init),
	(nautilus_zoom_control_accessible_get_name),
	(nautilus_zoom_control_accessible_get_description),
	(nautilus_zoom_control_accessible_class_init),
	(nautilus_zoom_control_accessible_get_type): Implement the zoom
	accessible.
	* src/nautilus-zoom-control.h: Added the change_value signal.
2002-04-26 19:45:22 +00:00
Damon Chaplin
7bae31df7a check the ev for errors. If an error occurs output a warning and return
2002-04-26  Damon Chaplin  <damon@ximian.com>

	* libnautilus-private/nautilus-directory-metafile.c
	(nautilus_directory_get_file_metadata): check the ev for errors.
	If an error occurs output a warning and return the default value.
	Fixes bug #73456. (Approved by Alex Larsson)
2002-04-26 19:41:58 +00:00
Benedikt Roth
32108a6120 Changed OK to Yes, as this is a Yes/No question. Fixed dialog to really
2002-04-26  Benedikt Roth  <Benedikt.Roth@gmx.net>

	* libnautilus-private/nautilus-program-chooser.c:
	(launch_mime_capplet_on_ok),
	(nautilus_program_chooser_show_no_choices_message):
	Changed OK to Yes, as this is a Yes/No question.
	Fixed dialog to really open the capplet when choosing yes (#75372).

	* nautilus.desktop.in: (Bugzilla Bug: 75830) Use the stock home icon
	for the Home folder in applications menu.
	(Patch from Dennis Cranston <dennis_cranston@yahoo.com>)
2002-04-26 19:25:01 +00:00
Alex Larsson
e423d40ece Allow installation of tared themes.
2002-04-26  Alex Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-theme.c:
	(nautilus_theme_install_user_theme):
	Allow installation of tared themes.

	* libnautilus-private/nautilus-theme.h:
	* src/nautilus-theme-selector.c:
	(file_selection_ok_clicked_callback):
	Better warnings for non-theme files.
2002-04-26 19:07:11 +00:00
Alex Larsson
b3b4fb38cf Added new function nautilus_volume_get_device_path.
2002-04-26  Alex Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-volume-monitor.c:
	* libnautilus-private/nautilus-volume-monitor.h:
	Added new function nautilus_volume_get_device_path.

	* src/file-manager/fm-desktop-icon-view.c:
	(have_volume_format_app), (have_volume_properties_app),
	(have_volume_protection_app), (volume_ops_callback),
	(volume_link_device_type), (real_update_menus), (real_merge_menus):
	* src/file-manager/nautilus-desktop-icon-view-ui.xml:
	Add support for various volume properties helper applications.

	Based on patch from Rajeev Karale <rajeev.karale@wipro.com>
2002-04-26 18:01:11 +00:00
Jonathan Blandford
367205c97f s/Server Configuration/Server Settings
Thu Apr 25 12:22:57 2002  Jonathan Blandford  <jrb@gnome.org>

	* data/serverconfig.directory.in (_Name):
	* data/serverconfig.desktop.in (_Name):
	s/Server Configuration/Server Settings

	* src/nautilus-bookmarks-window.c (nautilus-bookmarks-window.c):
	Small UI tweaks.
2002-04-26 00:47:38 +00:00
Jody Goldberg
1cd3466d0c suppress warning to fix the build.
2002-04-24  Jody Goldberg <jody@gnome.org>

	* src/file-manager/fm-list-model.c
	(fm_list_model_get_attribute_from_sort_column_id) : suppress warning
	  to fix the build.
2002-04-24 14:40:56 +00:00
Murray Cumming
5139840ce7 Added the necessary bonobo_object_ref() to my previous commit, to prevent
2002-04-24  Murray Cumming  <murrayc@usa.net>

* Added the necessary bonobo_object_ref() to my previous commit,
to prevent crashing during the unref when the window closes.
2002-04-24 01:32:46 +00:00
Murray Cumming
65d1b6d043 Now that BonoboWindow has been fixed, it is no longer necessary to create
2002-04-23  Murray Cumming  <murrayc@usa.net>

* src/nautilus-window.c (nautilus_window_instance_init):
Now that BonoboWindow has been fixed, it is no longer necessary
to create and set the UIContainer.
2002-04-24 00:38:25 +00:00
Diego González
4427790cef fix for bug 73469 2002-04-24 00:16:50 +00:00
Owen Taylor
d075649b9e Fix build breakage from misapplied patch in last commit.
Tue Apr 23 16:18:05 2002  Owen Taylor  <otaylor@redhat.com>

        * src/nautilus-preferences-dialog.c (dialog_button_response_callback):
        Fix build breakage from misapplied patch in last commit.
2002-04-23 20:20:23 +00:00
Ganesan Sethuraman
c7b90ab485 Handled the "delete_event" signal. Fixes bug #73850
2002-04-23  Ganesan Sethuraman <ganesan.sethuraman@wipro.com>

         * src/nautilus-preferences-dialog.c : Handled the "delete_event"
         signal. Fixes bug #73850
2002-04-23 19:15:29 +00:00
Benedikt Roth
5bdf7a8737 Don't show the normal extra information for desktop files (#74910).
2002-04-23  Benedikt Roth  <Benedikt.Roth@gmx.net>

	* src/file-manager/fm-icon-container.c:
	(fm_icon_container_get_icon_text):
	Don't show the normal extra information for desktop files (#74910).
2002-04-23 16:06:14 +00:00
Rajeev Karale
0ad6e62c9d finish_creating_volume() Bug Fixing : #77313. Mount_path for volume is
2002-04-23  Rajeev Karale <rajeev.karale@wipro.com>

	* libnautilus-private/nautilus-volume-monitor.c: finish_creating_volume()
	Bug Fixing : #77313. Mount_path for volume is different for solaris.
2002-04-23 14:24:14 +00:00
Anders Carlsson
bc234da622 Take pixels_per_unit into account when setting width and height.
2002-04-22  Anders Carlsson  <andersca@gnu.org>

	* libnautilus-private/nautilus-icon-container.c:
	(lay_down_icons_tblr):
	Take pixels_per_unit into account when setting width and height.
2002-04-22 13:05:19 +00:00
Anders Carlsson
aa1ef63395 Re-add the length limit for color and emblem names. Also fix button
2002-04-22  Anders Carlsson  <andersca@gnu.org>

	* src/nautilus-property-browser.c:
	(nautilus_property_browser_init), (nautilus_emblem_dialog_new),
	(nautilus_color_selection_dialog_new), (add_new_pattern),
	(add_new_color), (nautilus_property_browser_update_contents):
	Re-add the length limit for color and emblem names. Also fix
	button ordering to be Add, Remove. Finally, set up focus correctly
	for entries.

	* src/nautilus-theme-selector.c: (create_button_with_stock_image),
	(nautilus_theme_selector_instance_init):
	Add stock icons to Add and Remove buttons.
2002-04-22 09:44:48 +00:00
Alexander Larsson
0b254f9719 Version markers 2002-04-22 01:23:48 +00:00
Alexander Larsson
8bef0b8dba Bump version to 1.1.13. Require eel 1.1.11
2002-04-21  Alexander Larsson  <alla@lysator.liu.se>

	* NEWS:
	* configure.in:
	Bump version to 1.1.13.
	Require eel 1.1.11
2002-04-22 00:57:27 +00:00
Alexander Larsson
9b1386e5c2 Remove deprecated usage of gnome-config. Patch by Diego Gonzlez
2002-04-21  Alexander Larsson  <alla@lysator.liu.se>

	* libnautilus-private/nautilus-directory-background.c:
	Remove deprecated usage of gnome-config.
	Patch by Diego Gonzlez <diego@pemas.net>
2002-04-22 00:04:13 +00:00
Alexander Larsson
d6ca884ced Forgot to mention whose patch it was: 2002-04-21 23:46:14 +00:00
Alexander Larsson
cad3fcdac3 Add close button.
2002-04-21  Alexander Larsson  <alla@lysator.liu.se>

	* src/file-manager/fm-properties-window.c
	(create_properties_window): Add close button.
2002-04-21 23:42:11 +00:00
Alexander Larsson
1e698c9c50 Stock icons for back, forward, up, home, new, close, add bookmarks
2002-04-21  Alexander Larsson  <alla@lysator.liu.se>

	* src/nautilus-shell-ui.xml:
	Stock icons for back, forward, up, home, new, close,
	add bookmarks

	* icons/default/default.xml:
        * icons/crux_teal/crux_teal.xml:
	* icons/crux_eggplant/crux_eggplant.xml:
	Point throbber to http://www.gnome.org/nautilus/

	* icons/default/Makefile.am:
        * icons/crux_teal/Makefile.am:
	* icons/crux_eggplant/Makefile.am:
	* icons/default/Makefile.am:
	* icons/*/[Back|Forward|Home|Refresh|Stop|Up].png:
	Use stock toolbar items for all out themes.

	Patches from Dave Bordoley <bordoley@msu.edu>
2002-04-21 23:25:08 +00:00
Alexander Larsson
0cec2a0215 Patches from sander for better HIG compliance Lay Out Items -> Arrange
2002-04-21  Alexander Larsson  <alla@lysator.liu.se>

	* src/nautilus-preferences-dialog.c:
	* src/file-manager/fm-icon-view.c:
	* src/nautilus-shell-ui.xml:
	* src/nautilus-window-menus.c:
	* src/file-manager/nautilus-directory-view-ui.xml:
	* src/file-manager/nautilus-icon-view-ui.xml:
	Patches from sander for better HIG compliance
	Lay Out Items -> Arrange Items
	View Preferences -> View Defaults
	Forget History -> Clear History
	Reset View to Match Preferences -> Reset View to Default
2002-04-21 22:41:18 +00:00
Anders Carlsson
fcd2906dfb Read .desktop files sync if they're local. This speeds up loading
2002-04-22  Anders Carlsson  <andersca@gnu.org>

	* libnautilus-private/nautilus-directory-async.c:
	(should_read_link_info_sync), (link_info_read_done),
	(link_info_start):
	Read .desktop files sync if they're local. This speeds
	up loading directories that have .desktop files in them.
2002-04-21 22:30:49 +00:00
Alexander Larsson
d854458030 Check the return value of XOpenDisplay and handle failures.
2002-04-21  Alexander Larsson  <alla@lysator.liu.se>

	* libnautilus-private/nautilus-directory-background.c
	(image_loading_done_callback), (make_root_pixmap):
	Check the return value of XOpenDisplay and handle
	failures.
2002-04-21 22:15:03 +00:00
Alexander Larsson
84b62cbdd1 Disable the whole flash-workaround hack since it doesn't work and is
2002-04-21  Alexander Larsson  <alla@lysator.liu.se>

	* src/nautilus-desktop-window.c (nautilus_desktop_window_class_init):
	Disable the whole flash-workaround hack since it doesn't work
	and is causing crashes on solaris.
2002-04-21 21:35:55 +00:00
Alexander Larsson
df81a1e428 Only display toplevel window when it's fully constructed.
2002-04-21  Alexander Larsson  <alla@lysator.liu.se>

	* src/nautilus-window.h:
	* src/nautilus-window-manage-views.c:
	Only display toplevel window when it's fully constructed.

	* src/nautilus-desktop-window.c (nautilus_desktop_window_new):
	* src/nautilus-application.c (nautilus_application_create_desktop_window):
	Don't show desktop window here. It's shown later when the view
	is loaded.

	* libnautilus-private/nautilus-horizontal-splitter.c
	(nautilus_horizontal_splitter_pack2): Remove old code that is
	not neccesary when we display the window fully constructed.
2002-04-21 21:15:41 +00:00
Anders Carlsson
819f9a0fa0 Take pixels_per_unit into account when dealing with widget coordinates in
2002-04-21  Anders Carlsson  <andersca@gnu.org>

	* libnautilus-private/nautilus-icon-container.c:
	(icon_set_position),
	(nautilus_icon_container_update_scroll_region):
	Take pixels_per_unit into account when dealing with widget
	coordinates in the fixed mode.

	* src/file-manager/fm-desktop-icon-view.c:
	(fm_desktop_icon_view_finalize), (get_default_zoom_level),
	(default_zoom_level_changed), (fm_desktop_icon_view_init):
	Have the desktop view use the default icon view zoom level.
2002-04-21 19:29:43 +00:00
Anders Carlsson
1dd22af76a Don't do anything with double-click or triple-click events.
2002-04-21  Anders Carlsson  <andersca@gnu.org>

	* src/nautilus-zoom-control.c
	(nautilus_zoom_control_button_press_event):
	Don't do anything with double-click or triple-click events.
2002-04-21 18:14:40 +00:00
Anders Carlsson
97616a49c3 Fix some whitespace issues. 2002-04-21 16:56:13 +00:00
Anders Carlsson
a025dcff61 NautilusView is a GObject, not a GtkObject.
2002-04-21  Anders Carlsson  <andersca@gnu.org>

	* components/text/nautilus-text-view.c:
	(nautilus_text_view_finalize), (nautilus_text_view_class_init):
	NautilusView is a GObject, not a GtkObject.

	* src/nautilus-sidebar-title.c:
	(nautilus_sidebar_title_select_text_color),
	Set shadow color and offset using new eel functions.

	* src/nautilus-window-menus.c: (help_menu_about_nautilus_callback):
	Don't show translator credits when we don't need to.
	Also add myself as an author :)
2002-04-21 16:55:15 +00:00
Diego González
e2cf4674b7 fix for bug 72931 2002-04-21 14:09:36 +00:00
Diego González
ca86288ec9 Fix icon handling for mime types 2002-04-21 14:06:01 +00:00
Anders Carlsson
ac8df201d5 Disable drag window registration for now.
2002-04-20  Anders Carlsson  <andersca@gnu.org>

	* libnautilus-private/nautilus-drag-window.c:
	(nautilus_drag_window_register):
	Disable drag window registration for now.

	* libnautilus-private/nautilus-global-preferences.c:
	Change extra monitor paths to account for the rename.

	* nautilus.desktop.in:
	Update icon path.

	* src/file-manager/fm-properties-window.c: (reset_icon),
	(fm_properties_window_drag_data_received), (set_icon_callback):
	Add support for dragging the reset icon to remove custom icons.

	* src/nautilus-property-browser.c: (nautilus_emblem_dialog_new),
	(nautilus_color_selection_dialog_new), (emblem_keyword_valid),
	(add_new_emblem):
	Fix "Add new emblem" dialog and add mnemonics.
2002-04-20 21:11:31 +00:00
Alexander Larsson
40de40cbb4 Add more keys to the schemas files. Based on work by Luis Gutierrez
2002-04-20  Alexander Larsson  <alla@lysator.liu.se>

	* libnautilus-private/apps_nautilus_preferences.schemas:
	Add more keys to the schemas files. Based on work by
	Luis Gutierrez <luisgtz@megared.net.mx>
2002-04-20 20:15:00 +00:00
Alexander Larsson
fb233dfded libnautilus-private/nautilus-global-preferences.h Use underscore instead
2002-04-20  Alexander Larsson  <alla@lysator.liu.se>

	* libnautilus-private/nautilus-global-preferences.h
	Use underscore instead of dashes in gconf keys.

	* libnautilus-private/Makefile.am
	* libnautilus-private/nautilus.schemas:
	* libnautilus-private/apps_nautilus_preferences.schemas:
	Renamed schemas file to apps_nautilus_preferences.schemas.
	Some new keys are documented.

	This patch is from Jonathan Blandford <jrb@redhat.com>
2002-04-20 18:15:39 +00:00
Alexander Larsson
6f1c3fe091 Fruitless attempt to optimize icon layout. It turns out it is text-measure
2002-04-20  Alexander Larsson  <alla@lysator.liu.se>

	* libnautilus-private/nautilus-icon-container.c (lay_down_icons_horizontal):
	Fruitless attempt to optimize icon layout. It turns out it is text-measure and
	icon lookup bound. I'm checking in this optimization anyway, even though it
	doesn't help much.
	(nautilus_icon_container_class_init): icon_removed was using the wrong
	struct offset.

	* src/nautilus-window-menus.c:
	Add me to authors :)
2002-04-20 17:49:27 +00:00
Anders Carlsson
d813d0fc7c Fix profiler CFLAGS.
2002-04-20  Anders Carlsson  <andersca@gnu.org>

	* configure.in:
	Fix profiler CFLAGS.

	* libnautilus-private/nautilus-file-utilities.c:
	* libnautilus-private/nautilus-file-utilities.h:
	Remove time stamp and build message functions.
	* src/nautilus-profiler.c: (widget_set_busy_cursor),
	(dump_dialog_new):
	Remove deprecated functions.

	* src/nautilus-window-manage-views.c: (update_title):
	Remove time stamp in title.

	* src/nautilus-window-menus.c: (help_menu_about_nautilus_callback):
	Remove unused build_message variable.

	* src/nautilus-window.c: (nautilus_window_instance_init):
	Set initial title to "Nautilus". Fixes #74627.
2002-04-19 22:28:48 +00:00
Diego González
b261127c43 fix for bug 74949 2002-04-19 16:53:26 +00:00
Anders Carlsson
cb38b690db Free targets.
2002-04-19  Anders Carlsson  <andersca@gnu.org>

	* src/file-manager/fm-directory-view.c:
	(clipboard_targets_received):
	Free targets.

	* src/nautilus-component-adapter-factory.c:
	Fix a spelling error, #79195.
2002-04-19 12:06:45 +00:00
Anders Carlsson
1143bec727 Abort on GTK_RESPONSE_DELETE_EVENT. Fixes #78948.
2002-04-19  Anders Carlsson  <andersca@gnu.org>

	* libnautilus-private/nautilus-file-operations.c
	(handle_transfer_vfs_error): Abort on GTK_RESPONSE_DELETE_EVENT.
	Fixes #78948.
2002-04-19 00:10:21 +00:00
Anders Carlsson
f8239032fe Remove NAUTILUS_PREFERENCES_CAN_ADD_CONTENT.
2002-04-19  Anders Carlsson  <andersca@gnu.org>

	* libnautilus-private/nautilus-global-preferences.c:
	* libnautilus-private/nautilus-global-preferences.h:
	Remove NAUTILUS_PREFERENCES_CAN_ADD_CONTENT.

	* src/file-manager/fm-list-view.c: (event_after_callback),
	(button_release_callback), (create_and_set_up_tree_view):
	When in single-click mode, activate files on button release
	instead of button press.

	* src/nautilus-property-browser.c:
	(nautilus_property_browser_init),
	(nautilus_property_browser_destroy),
	(nautilus_property_browser_new),
	(nautilus_color_selection_dialog_new), (add_new_pattern),
	(add_color_to_browser), (show_color_selection_window),
	(nautilus_property_browser_update_contents):
	Fix the add and remove dialogs and add a few mnemonics. Fixes
	#79123.

	* src/nautilus-sidebar-title.c: (update_title), (update_more_info),
	(update_emblems), (update_notes):
	Remove fixed FIXMEs.
2002-04-18 23:51:44 +00:00
Anders Carlsson
52de6bb61d Make the throbber smaller if we're using a toolbar without text labels.
2002-04-19  Anders Carlsson  <andersca@gnu.org>

	* components/throbber/nautilus-throbber.c: (get_bonobo_properties),
	(set_bonobo_properties), (nautilus_throbber_instance_init),
	(load_themed_image), (nautilus_throbber_load_images):
	Make the throbber smaller if we're using a toolbar without
	text labels. Fixes #47777.
2002-04-18 23:35:51 +00:00
Michael Meeks
e72152dd8e replace all the OAFIIDs with more sensibly named ones, that follow the
2002-04-18  Michael Meeks  <michael@ximian.com>

	* *.server.in, *.c: replace all the OAFIIDs with more
	sensibly named ones, that follow the namespacing
	guidelines in the libbonobo/docs/FAQ. Needs a new
	gnome-vfs to work well.

	* src/nautilus-window-toolbars.c
	(throbber_set_throbbing): impl.
	(throbber_created_callback): upd.
	(nautilus_window_allow_stop): upd.

	* libnautilus-private/nautilus-mime-actions.c
	(nautilus_do_component_query): remove hack around bonobo's
	sample text component, we no longer have one.
2002-04-18 18:39:01 +00:00
Anders Carlsson
a69268afdc Get the "exactly one" check right. Fixes #75187.
2002-04-17  Anders Carlsson  <andersca@gnu.org>

	* src/file-manager/fm-properties-window.c:
	(fm_properties_window_drag_data_received):
	Get the "exactly one" check right. Fixes #75187.
2002-04-17 21:21:26 +00:00
Anders Carlsson
6adf4a12cb Query the clipboard TARGET types so we can set the sensitivity of the
2002-04-17  Anders Carlsson  <andersca@gnu.org>

	* src/file-manager/fm-directory-view.c:
	(clipboard_targets_received), (real_update_menus):
	Query the clipboard TARGET types so we can set the sensitivity
	of the "Paste Files" items accordingly.
2002-04-17 20:52:15 +00:00
Anders Carlsson
99edfb77e2 Plug memory leaks.
2002-04-17  Anders Carlsson  <andersca@gnu.org>

	* libnautilus-private/nautilus-customization-data.c:
	(add_reset_text):
	* libnautilus-private/nautilus-theme.c:
	(nautilus_theme_make_preview_pixbuf):
	* src/nautilus-property-browser.c: (element_clicked_callback):
	Plug memory leaks.
2002-04-17 20:35:01 +00:00
Anders Carlsson
82836cbb16 Use ::finalize instead of ::destroy so we don't free data twice.
2002-04-17  Anders Carlsson  <andersca@gnu.org>

	* components/hardware/nautilus-hardware-view.c:
	(nautilus_hardware_view_class_init),
	(nautilus_hardware_view_finalize):
	Use ::finalize instead of ::destroy so we don't free
	data twice.
2002-04-17 13:46:11 +00:00
Anders Carlsson
fafef2d5d8 Remove debugging output.
2002-04-17  Anders Carlsson  <andersca@gnu.org>

	* libnautilus-private/nautilus-volume-monitor.c:
	(nautilus_file_system_type_free):
	Remove debugging output.

	* src/file-manager/fm-directory-view.c: (fm_directory_view_init),
	(fm_directory_view_finalize), (convert_file_list_to_string),
	(get_clipboard_callback), (clear_clipboard_callback),
	(copy_or_cut_files), (clipboard_received_callback),
	(paste_files_callback), (fm_directory_view_class_init):
	Use GtkClipboard instead of using a selection on the window.
	This simplifies a lot of the code and fixes #77684.
2002-04-17 13:28:21 +00:00
Anders Carlsson
ca22d6609b Fixup padding so that the dialog looks more like the Nautilus 1.0 one.
2002-04-17  Anders Carlsson  <andersca@gnu.org>

	* libnautilus-private/nautilus-file-operations-progress.c:
	(nautilus_file_operations_progress_init):
	Fixup padding so that the dialog looks more like the
	Nautilus 1.0 one.

	* libnautilus-private/nautilus-icon-canvas-item.c:
	(nautilus_icon_canvas_item_finalize):
	Unref the layouts.

	* libnautilus-private/nautilus-volume-monitor.c:
	(load_file_system_table), (nautilus_volume_monitor_class_init),
	(nautilus_volume_monitor_finalize), (get_mount_list),
	(nautilus_file_system_type_free),
	(load_additional_mount_list_info):
	Free the file system table on ::finalize.

	* src/file-manager/fm-list-model.c: (fm_list_model_finalize):
	Free details on ::finalize.
2002-04-17 12:29:11 +00:00
Pablo Saratxaga
ca90235fb8 Added Vietnamese file 2002-04-17 12:03:13 +00:00
Alexander Larsson
dc63bd71be Added version markers 2002-04-14 17:36:06 +00:00
Alexander Larsson
f85807d956 Bump version to 1.1.12. Require eel 1.1.10
2002-04-14  Alexander Larsson  <alla@lysator.liu.se>

	* NEWS:
	* configure.in:
	Bump version to 1.1.12.
	Require eel 1.1.10
2002-04-14 17:16:40 +00:00
Alexander Larsson
4cba30654e Avoid gnome-canvas move to top operation if there is no rubber-band
2002-04-14  Alexander Larsson  <alla@lysator.liu.se>

	* libnautilus-private/nautilus-icon-container.c (nautilus_icon_container_add):
	Avoid gnome-canvas move to top operation if there is no
	rubber-band selection, because the new item will be on top already,
	and the extra move_to_top was showing up badly on profiles.
2002-04-14 06:42:20 +00:00
Alexander Larsson
516f65d074 New text view, by Dave Camp <dave@ximian.com>
2002-04-13  Alexander Larsson  <alla@lysator.liu.se>

	* components/text/Makefile.am:
	* components/text/Nautilus_View_text.server.in:
	* components/text/nautilus-text-view.c:
	New text view, by Dave Camp <dave@ximian.com>
2002-04-14 02:08:07 +00:00
Alexander Larsson
9d79e3731c Forgot parts of changelog 2002-04-14 00:04:40 +00:00
Alexander Larsson
563b49d4ed Fix tooltip name for Home. Patch from dave <dm9211@bris.ac.uk>
2002-04-13  Alexander Larsson  <alla@lysator.liu.se>

	* src/nautilus-shell-ui.xml:
	Fix tooltip name for Home. Patch from dave <dm9211@bris.ac.uk>
2002-04-14 00:00:14 +00:00
Jody Goldberg
4cba9cb188 Change file-types-capplet to gnome-file-types-properties.
2002-04-11  Jody Goldberg <jody@gnome.org>

	* libnautilus-private/nautilus-program-chooser.c :
	Change file-types-capplet to gnome-file-types-properties.

2002-03-30  Jody Goldberg <jody@gnome.org>

	* libnautilus-private/nautilus-mime-actions.c
	(nautilus_mime_set_short_list_components_for_file) : Don't free the
	  objects while we're still looking at their iids.  Don't double free
	  the iids.
2002-04-11 18:47:01 +00:00
Michael Meeks
f105ba21fb return an invalid type in an inaccessible scenario.
2002-04-11  Michael Meeks  <michael@ximian.com>

	* libnautilus-private/nautilus-icon-canvas-item.c
	(nautilus_icon_canvas_item_accessible_get_type): return
	an invalid type in an inaccessible scenario.
	(nautilus_icon_canvas_item_accessible_create): return
	a no-op object if no a11y enabled.

2002-04-10  Michael Meeks  <michael@ximian.com>

	* libnautilus-private/nautilus-icon-canvas-item.h:
	remove bounds_changed.
2002-04-11 17:13:07 +00:00
David Emory Watson
f29d7eec9e Fix mixed up comparison. (set_sort_order_from_metadata_and_preferences),
2002-04-07  David Emory Watson  <dwatson@cs.ucr.edu>

	* src/file-manager/fm-list-model.c:
	(fm_list_model_add_file): Fix mixed up comparison.
	(set_sort_order_from_metadata_and_preferences),
	(fm_list_view_reset_to_defaults): Should be GTK_SORT_DESCENDING when
	sort_reversed, bug 77174.
	* src/file-manager/fm-list-view.c:
	(fm_list_view_finalize): Oops, I screwed up the disconnect last time...
2002-04-10 17:32:08 +00:00
Michael Meeks
8f48097fb1 remove unused 'bounds_changed' signal.
2002-04-09  Michael Meeks  <michael@ximian.com>

	* libnautilus-private/nautilus-icon-canvas-item.c
	(nautilus_icon_canvas_item_class_init): remove unused
	'bounds_changed' signal.
	(nautilus_icon_canvas_item_update_bounds): don't emit
	it either.

	* src/file-manager/fm-icon-view.c
	(icon_container_compare_icons_callback): kill.
	(icon_container_compare_icons_by_name_callback): kill.
	(fm_icon_view_compare_files): publicize.
	(compare_files_cover): upd.

	* src/file-manager/fm-desktop-icon-view.c
	(desktop_icons_compare_callback): move
	(fm_desktop_icon_view_init): upd.

	* libnautilus-private/nautilus-icon-container.c
	(nautilus_icon_container_get_icon_text),
	(nautilus_icon_container_get_icon_images): wrap the
	virtual methods.
	(nautilus_icon_container_update_icon): upd. to use them.
	(sort_icons_by_name, compare_icons_by_name),
	(compare_icons, sort_icons): use the virtual methods
	instead for speed.
	(nautilus_icon_container_class_init): prune some signals.

	* src/file-manager/fm-icon-view.c
	(create_icon_container): use the fm-icon-container.
	(create_icon_container): upd.
	(get_icon_images_callback),
	(get_icon_text_callback): move

	* src/file-manager/fm-icon-container.[ch]: impl.
	(fm_icon_container_get_icon_images),
	(fm_icon_container_get_icon_text): move
	(fm_icon_container_compare_icons),
	(fm_icon_container_compare_icons_by_name): impl.
	(fm_icon_container_icons_compare): move here.
	create this to handle special desktop bits.
	(fm_icon_container_set_sort_desktop): impl.
2002-04-09 13:51:12 +00:00
Alexander Larsson
da215d502c Handle svg emblems.
2002-04-09  Alexander Larsson  <alla@lysator.liu.se>

	* libnautilus-private/nautilus-customization-data.c:
	* src/nautilus-property-browser.c (make_drag_image):
	Handle svg emblems.
2002-04-09 05:28:05 +00:00
Diego González
d05eb69a78 add a "New Launcher" item to desktop popup and fix bug 74749 2002-04-08 07:42:22 +00:00
David Emory Watson
524a345bf0 Size was incorrectly returning name, bug 76191.
2002-04-06  David Emory Watson  <dwatson@cs.ucr.edu>

	* src/file-manager/fm-list-model.c:
	(fm_list_model_get_sort_column_id_from_sort_type): Size was incorrectly
	returning name, bug 76191.
2002-04-08 07:20:39 +00:00
Alexander Larsson
aba2607292 Keep track of file size in addition to mtime when determining if the cache
2002-04-07  Alexander Larsson  <alla@lysator.liu.se>

	* libnautilus-private/nautilus-icon-factory.c:
	Keep track of file size in addition to mtime when
	determining if the cache is uptodate.
	I needed this for a script that changes the size
	of the file, but keeps the mtime.
2002-04-07 21:25:22 +00:00
Alexander Larsson
4220c40a42 NAUTILUS_PREFERENCES_IMAGE_FILE_THUMBNAIL_LIMIT is an integer
2002-04-07  Alexander Larsson  <alla@lysator.liu.se>

	* libnautilus-private/nautilus-global-preferences.c:
	NAUTILUS_PREFERENCES_IMAGE_FILE_THUMBNAIL_LIMIT is an integer
	(global_preferences_register_enumerations): Allow integer enum
	prefs.

	* src/nautilus-preferences-dialog.c:
	Make NAUTILUS_PREFERENCES_IMAGE_FILE_THUMBNAIL_LIMIT a
	EEL_PREFERENCE_ITEM_ENUMERATION_MENU_INTEGER.
2002-04-07 19:42:17 +00:00
David Emory Watson
6c7f6cd689 This fixes single click activation in the list view, bug 76197.
2002-03-30  David Emory Watson  <dwatson@cs.ucr.edu>

	This fixes single click activation in the list view, bug 76197.

	* src/file-manager/fm-list-view.c:
	(list_activate_callback): only do this if the double click activation
	preference is set.
	(event_after_callback): handle single click activation preference.
	(click_policy_changed): new function to handle whether file names
	are underlined or not.
	(create_and_set_up_tree_view): connect click policy preference callback
	(fm_list_view_finalize): disconnect.
2002-04-05 18:25:57 +00:00
David Emory Watson
c2a199be3c now g_strsplit returns an additional empty string when a delimiter is
2002-04-05  David Emory Watson  <dwatson@cs.ucr.edu>

	* src/nautilus-sidebar.c:
	(receive_dropped_uri_list): now g_strsplit returns an additional empty
	string when a delimiter is present at the end of the parameter string.
2002-04-05 15:34:45 +00:00
Darin Adler
6046985f69 I commited this for Darin:
2002-04-05  Darin Adler  <darin@bentspoon.com>

	* libnautilus-private/nautilus-metafile.c:
	(metafile_read_check_for_directory): fix bug 77520 by replacing assert
	with conditional call to metafile_read_done.
2002-04-05 15:31:04 +00:00
Michael Meeks
0790b62532 impl. (nautilus_throbber_class_init): upd.
2002-04-05  Michael Meeks  <michael@ximian.com>

	* components/throbber/nautilus-throbber.c
	(nautilus_throbber_accessible_class_init),
	(nautilus_throbber_accessible_initialize),
	(nautilus_throbber_accessible_get_type),
	(nautilus_throbber_get_accessible): impl.
	(nautilus_throbber_class_init): upd.
	(nautilus_throbber_accessible_image_get_size):
	(nautilus_throbber_accessible_image_interface_init):
	(nautilus_throbber_set_location): split out of
	(nautilus_throbber_button_release_event): here.
	(nautilus_icon_container_accessible_do_action): use it.
	(nautilus_throbber_accessible_get_n_actions),
	(nautilus_throbber_accessible_action_get_description),
	(nautilus_throbber_accessible_action_get_name),
	(nautilus_throbber_accessible_action_get_keybinding),
	(nautilus_throbber_accessible_action_set_description),
	(nautilus_throbber_accessible_action_interface_init): impl.

2002-04-04  Michael Meeks  <michael@ximian.com>

	* src/nautilus-window-toolbars.c
	(create_back_or_forward_toolbar_item): add tooltip
	parameter so we can get a11y descriptions.
	(nautilus_window_initialize_toolbars): upd.

	* src/nautilus-window.c
	(nautilus_window_instance_init): create a tooltips object.
	(nautilus_window_destroy): kill it.

	* src/nautilus-shell-ui.xml: prune some cruft.

	* components/music/nautilus-music-view.c
	(nautilus_music_view_set_album_image): set image name.
2002-04-05 11:54:35 +00:00
jacob berkman
7d4860dd61 the background crapplet changed names (again)
2002-04-04  jacob berkman  <jacob@ximian.com>

	* src/file-manager/fm-desktop-icon-view.c
	(change_background_callback): the background crapplet changed
	names (again)
2002-04-04 19:59:25 +00:00
Michael Meeks
684be6bd53 This commit requires a newer eel, which requires gail.
2002-04-02  Michael Meeks  <michael@ximian.com>

	* This commit requires a newer eel, which requires gail.

	* libnautilus-private/nautilus-icon-canvas-item.c
	(nautilus_icon_canvas_item_finalize): free text util.
	(nautilus_icon_canvas_item_set_property): sync the text.
	(nautilus_icon_canvas_item_accessible_create): create the
	text util idly as required.
	(nautilus_icon_canvas_item_image_interface_init),
	(nautilus_icon_canvas_item_get_text): impl.
	(nautilus_icon_canvas_item_class_init): add interface,
	should do it in a get_type, but artefact of boilerplate
	macros hiding that.
	(nautilus_icon_canvas_item_get_type): bin boilerplate
	so we can add an interface.
	(nautilus_icon_canvas_item_set_property): add atk
	focus notification / tracking.

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

	* libnautilus-private/nautilus-icon-container.c
	(start_rubberbanding): set name / description on the
	selection rectangle.
2002-04-04 11:35:41 +00:00
Dave Camp
6e1a53295b New functions. (nautilus_icon_canvas_item_accessible_class_init):
2002-03-30  Dave Camp  <dave@ximian.com>

        * libnautilus-private/nautilus-icon-canvas-item.c:
        (nautilus_icon_canvas_item_accessible_get_parent):
        (nautilus_icon_canvas_item_accessible_get_index_in_parent): New
        functions.
        (nautilus_icon_canvas_item_accessible_class_init): Initialize
        get_parent and get_index_in_parent.

        * libnautilus-private/nautilus-icon-container.c: (get_accessible),
        (nautilus_icon_container_class_init): Init get_accessible, add
        icon_added, icon_removed, and cleared signals.
        (finish_adding_icon): Emit icon_added.
        (nautilus_icon_container_remove): Emit icon_removed.
        (accessible_get_priv),
        (nautilus_icon_container_accessible_do_action),
        (nautilus_icon_container_accessible_get_n_actions),
        (nautilus_icon_container_accessible_action_get_description),
        (nautilus_icon_container_accessible_action_get_name),
        (nautilus_icon_container_accessible_action_get_keybinding),
        (nautilus_icon_container_accessible_action_set_description),
        (nautilus_icon_container_accessible_action_interface_init),
        (nautilus_icon_container_accessible_update_selection),
        (nautilus_icon_container_accessible_selection_changed_cb),
        (nautilus_icon_container_accessible_icon_added_cb),
        (nautilus_icon_container_accessible_icon_removed_cb),
        (nautilus_icon_container_accessible_cleared_cb),
        (nautilus_icon_container_accessible_add_selection),
        (nautilus_icon_container_accessible_clear_selection),
        (nautilus_icon_container_accessible_ref_selection),
        (nautilus_icon_container_accessible_get_selection_count),
        (nautilus_icon_container_accessible_is_child_selected),
        (nautilus_icon_container_accessible_remove_selection),
        (nautilus_icon_container_accessible_select_all_selection),
        (nautilus_icon_container_accessible_selection_interface_init),
        (nautilus_icon_container_accessible_get_n_children),
        (nautilus_icon_container_accessible_ref_child),
        (nautilus_icon_container_accessible_initialize),
        (nautilus_icon_container_accessible_finalize),
        (nautilus_icon_container_accessible_class_init),
        (nautilus_icon_container_accessible_get_type): New functions.

        * libnautilus-private/nautilus-icon-container.h: Added class
        members for the icon_added, icon_removed, and cleared signals.
2002-04-01 08:10:26 +00:00
Darin Adler
1a8424f07f New. (metafile_write_local): Use write_all to do the multiple writes that
* libnautilus-private/nautilus-metafile.c: (write_all): New.
	(metafile_write_local): Use write_all to do the multiple writes that
	might be necessary in some cases.
2002-03-31 05:10:33 +00:00
Darin Adler
4af5e3de48 Fixed security problem where we would write the metafile without
protecting against potential symbolic links.

	* libnautilus-private/nautilus-metafile.c: (finalize): Update to
	use more text URIs, and fewer GnomeVFSURI objects.
	(construct_private_metafile_uri): Make a text URI, not a GnomeVFSURI.
	(nautilus_metafile_set_directory_uri): Use text URIs, not GnomeVFSURIs,
	for the locations of the public and private metafiles.
	(metafile_get_file_uri): Much simplified to use text URIs.
	(metafile_read_restart): Simplified to use text URIs.
	(metafile_write_succeeded): Broke out this common code needed for
	both local and async. success cases.
	(metafile_write_success_close_callback): Call metafile_write_succeeded.
	(metafile_write_local): New, does a metafile write safely using mkstemp
	and rename. All synchronous, which should be OK most of the time.
	(metafile_write_start): Use metafile_write_local for "file:" URLs and
	the existing code for other URLs.
2002-03-30 08:44:18 +00:00
Jody Goldberg
17237a2a90 http://bugzilla.gnome.org/show_bug.cgi?id=75222
2002-03-29  Jody Goldberg <jody@gnome.org>

	* libnautilus-private/nautilus-program-chooser.c
	(launch_mime_capplet_and_close_dialog) : don't delete the dialog, we
	  need to have it send a response (anything but OK I think) so that
	  the nested main loop will exit.
2002-03-29 17:57:04 +00:00
Mark McLoughlin
5e1f1820a9 don't assume its a local uri, but instead use
2002-03-27  Mark McLoughlin  <mark@skynet.ie>

        * src/file-manager/fm-icon-view.c: (icon_view_handle_uri_list): don't
        assume its a local uri, but instead use gnome_desktop_item_new_from_uri.
2002-03-29 15:29:06 +00:00
Alexander Larsson
a1b977d52e Nasty libjpeg b0rkage workarounds. Now jpeg thumbnailing should work
2002-03-28  Alexander Larsson  <alla@lysator.liu.se>

	* libnautilus-private/nautilus-thumbnails-jpeg.c:
	Nasty libjpeg b0rkage workarounds. Now jpeg
	thumbnailing should work again.
2002-03-29 04:02:59 +00:00
Alex Larsson
c239d8439d Temporary revert libjpeg patch to keep it building. Will fix for real
2002-03-28  Alex Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-thumbnails-jpeg.c:
	Temporary revert libjpeg patch to keep it building.
	Will fix for real later.
2002-03-28 23:09:19 +00:00
Alex Larsson
78e627c149 Thumbnail in a low priority idle handler instead of in a 400ms timeout.
2002-03-28  Alex Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-thumbnails.c:
	Thumbnail in a low priority idle handler instead of
	in a 400ms timeout. Damn, it's fast!
2002-03-28 22:53:13 +00:00
Alex Larsson
383310e474 Don't define JCONFIG_INCLUDED. That breaks libjpeg for me.
2002-03-28  Alex Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-thumbnails-jpeg.c:
	Don't define JCONFIG_INCLUDED. That breaks libjpeg for me.

	* libnautilus-private/nautilus-thumbnails.c:
	Use the global thumbnail if there is one, and the local
	one had the wrong timestamp. Otherwise we will loop if
	the local one is wrong and we can't write to the local
	directory.
2002-03-28 21:47:25 +00:00
Dave Camp
cec1840cd9 Check for and include X libraries explicitly.
2002-03-28  Dave Camp  <dave@ximian.com>

	* configure.in: Check for and include X libraries explicitly.
2002-03-28 19:54:40 +00:00
Dave Emory Watson
1749b72da0 Changed the comment for nautilus_link_local_is_special_link to be more
2002-03-28  Dave Emory Watson  <dwatson@cs.ucr.edu>

	* libnautilus-private/nautilus-link.h: Changed the comment for
	nautilus_link_local_is_special_link to be more clear.
2002-03-28 19:50:36 +00:00
David Emory Watson
fdd5f0d74d Fix changelog..
Fix changelog..
2002-03-28 04:16:37 +00:00
Dave Camp
990e8aa524 Use nautilus_file_get_symbolic_link_target_uri.
2002-03-27  Dave Camp  <dave@ximian.com>

	* libnautilus-private/nautilus-file.c
	(nautilus_file_get_activation_uri): Use
	nautilus_file_get_symbolic_link_target_uri.
	(nautilus_file_get_symbolic_link_target_uri): New function.
2002-03-27 18:11:19 +00:00
Michael Meeks
f07e4909dd impl. (nautilus_icon_canvas_item_accessible_get_image_position): stub.
* libnautilus-private/nautilus-icon-canvas-item.c
	(nautilus_icon_canvas_item_accessible_get_image_description),
	(nautilus_icon_canvas_item_accessible_get_image_size),
	(nautilus_icon_canvas_item_accessible_image_interface_init),
	(nautilus_icon_canvas_item_accessible_get_image_position): impl.
	(nautilus_icon_canvas_item_accessible_get_image_position): stub.
	(nautilus_icon_canvas_item_accessible_get_type): upd.
2002-03-27 15:23:57 +00:00
Michael Meeks
27aad15694 specify the type name explicitely.
2002-03-27  Michael Meeks  <michael@ximian.com>

	* libnautilus-private/nautilus-icon-canvas-item.c:
	specify the type name explicitely.

	* src/nautilus-window.c
	(nautilus_window_constructed): move some of the fast setup
	(nautilus_window_instance_init): to here, so it will be
	done by the time the throbber async activate comes in.
2002-03-27 14:12:45 +00:00
Michael Meeks
88f073b2dd kill nasty gconf re-enterancy hazard moving the auto_enum to
2002-03-26  Michael Meeks  <michael@ximian.com>

	* libnautilus-private/nautilus-icon-canvas-item.c
	(nautilus_icon_canvas_item_class_init): kill nasty gconf
	re-enterancy hazard moving the auto_enum to
	(nautilus_icon_canvas_item_init): here.
	(nautilus_icon_canvas_item_class_init): add the a11y
	factory & instantiate the factory boilerplate.
	(nautilus_icon_canvas_item_accessibile_create),
	(nautilus_icon_canvas_item_accessible_get_name),
	(nautilus_icon_canvas_item_accessible_class_init),
	(nautilus_icon_canvas_item_accessible_get_type): impl.
2002-03-26 19:24:11 +00:00
Mark McLoughlin
442b578662 also hide the scripts seperator on the background menu.
2002-03-25  Mark McLoughlin  <mark@skynet.ie>

        * src/file-manager/fm-directory-view.c: (update_scripts_menu): also
        hide the scripts seperator on the background menu.
2002-03-25 15:49:12 +00:00
Alexander Larsson
5826d1a9dc Port to gnome 2. (have_broken_filenames), (accumulate_name_utf8),
2002-03-25  Alexander Larsson  <alla@lysator.liu.se>

	* src/nautilus-location-bar.c: (style_set_handler):
	Port to gnome 2.
	(have_broken_filenames), (accumulate_name_utf8),
	(accumulate_name_locale), (try_to_expand_path):
	Fix filename completion, add support for G_BROKEN_FILENAMES
2002-03-25 06:28:40 +00:00
Alexander Larsson
adc59380b3 Version markers 2002-03-24 22:36:04 +00:00
Alexander Larsson
28be9a9e4d bump version
2002-03-24  Alexander Larsson  <alla@lysator.liu.se>

	* NEWS:
	bump version

	* configure.in:
	Require eel 1.1.9. Bump version to 1.1.11
2002-03-24 21:17:11 +00:00
Dave Camp
161b60aeb9 Remove references to the "Use Emacs-style keyboard shortcuts" preference.
2002-03-24  Dave Camp  <dave@ximian.com>

	* libnautilus-private/nautilus-entry.c: (nautilus_entry_init):
	* libnautilus-private/nautilus-global-preferences.c:
        * libnautilus-private/nautilus-global-preferences.h:
	* src/nautilus-preferences-dialog.c: Remove references to the
	"Use Emacs-style keyboard shortcuts" preference.
2002-03-24 16:49:49 +00:00