Commit graph

5229 commits

Author SHA1 Message Date
Alexander Larsson
9b1386e5c2 Remove deprecated usage of gnome-config. Patch by Diego González
2002-04-21  Alexander Larsson  <alla@lysator.liu.se>

	* libnautilus-private/nautilus-directory-background.c:
	Remove deprecated usage of gnome-config.
	Patch by Diego González <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