Commit graph

10888 commits

Author SHA1 Message Date
Mugurel Tudor 0f79204b04 Updated Romanian translation
2006-03-05  Mugurel Tudor  <mugurelu@gnome.ro>

	* ro.po: Updated Romanian translation
2006-03-05 20:01:08 +00:00
Martin Wehner e8415e3590 Add file to work queue of enclosing directory when recomputing deep count
2006-03-05  Martin Wehner  <martin.wehner@gmail.com>

	* libnautilus-private/nautilus-file.c:
	(nautilus_file_recompute_deep_counts):
	Add file to work queue of enclosing directory when recomputing
	deep count for the properties dialog. Fixes #169342.

	Patch from Christian Neumair
2006-03-05 16:19:20 +00:00
Duarte Loreto 1af8bd5e33 Updated Portuguese translation.
2006-03-04  Duarte Loreto <happyguy_pt@hotmail.com>

	* pt.po: Updated Portuguese translation.
2006-03-04 04:05:17 +00:00
Alexander Larsson 6f8bff3e5d Close window when it gets put in the trash.
2006-03-03  Alexander Larsson  <alexl@redhat.com>

	* src/nautilus-window-manage-views.c:
	* src/nautilus-window-private.h:
	Close window when it gets put in the trash.

	Patch from Christian Neumair
2006-03-03 13:42:24 +00:00
Alexander Larsson 4831172886 measure text in nautilus_icon_canvas_item_get_text_rectangle to avoid
2006-03-03  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-icon-canvas-item.[ch]:
	measure text in nautilus_icon_canvas_item_get_text_rectangle to avoid
	icons jumping around

	* libnautilus-private/nautilus-icon-container.c:
	remove old workaround

	Patch from Christian Neumair
2006-03-03 13:34:54 +00:00
Maxim Dziumanenko c4bf23d8fd Updated Ukrainian translation.
2006-03-03  Maxim Dziumanenko <mvd@mylinux.ua>

	* Updated Ukrainian translation.
2006-03-03 11:49:08 +00:00
Øivind Hoel 46b37b095a Updated Norwegian bokmål translation.
2006-02-03  Øivind Hoel  <ohoel@cvs.gnome.org>

	* nb.po: Updated Norwegian bokmål translation.
2006-03-02 23:11:07 +00:00
Hendrik Richter d56962ea29 Updated German translation.
2006-03-02  Hendrik Richter  <hendrikr@gnome.org>

	* de.po: Updated German translation.
2006-03-02 22:18:32 +00:00
Hendrik Richter a9e4376b03 Updated German translation.
2006-03-02  Hendrik Richter  <hendrikr@gnome.org>

	* de.po: Updated German translation.
2006-03-02 21:55:39 +00:00
Stanislav Brabec 65c5595172 Added initial Khmer translation. 2006-03-02 15:27:35 +00:00
Arangel Angov c803c074a6 Updated Macedonian Translation <arangela@cvs.gnome.org> 2006-03-01 22:40:04 +00:00
Martin Wehner 96b910400a Cancel get_file_info calls for new files too. Fixes a crash when leaving a
2006-03-01  Martin Wehner  <martin.wehner@gmail.com>

	* libnautilus-private/nautilus-directory-async.c:
	(new_files_cancel), (nautilus_directory_cancel):
	Cancel get_file_info calls for new files too. Fixes a crash
	when leaving a directory with pending calls (#152977).
2006-03-01 00:04:56 +00:00
Martin Wehner bbaa10195b Close the window after the file activation, not before. Fixes a crash when
2006-02-28  Martin Wehner  <martin.wehner@gmail.com>

	* src/file-manager/fm-directory-view.c: (activate_callback):
	Close the window after the file activation, not before.
	Fixes a crash when middle-clicking a file (#330491).
2006-02-28 21:56:56 +00:00
Miloslav Trmac 963173d047 Updated Czech translation by Petr Tomeš.
2006-02-28  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation by Petr Tomeš.
2006-02-28 21:43:07 +00:00
Alexander Larsson 11fc1faa32 remove old conflict marker 2006-02-28 12:40:51 +00:00
Alexander Larsson f34f0e5309 Don't show directory count for smb shares, as that can cause lots of
2006-02-28  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-file.c (nautilus_file_should_show_directory_item_count):
	Don't show directory count for smb shares, as that can cause
	lots of network traffic and auth dialogs.
2006-02-28 12:38:28 +00:00
Christian Neumair 4ca1660aa7 Use better icon points for comparing the position of two items in "Text
2007-02-28  Christian Neumair  <chris@gnome-de.org>

	* libnautilus-private/nautilus-icon-container.c:
	(get_cmp_point_x), (get_cmp_point_y),
	(compare_icons_horizontal_first), (compare_icons_vertical_first),
	(closest_in_90_degrees), (record_arrow_key_start):
	Use better icon points for comparing the position of two items in
	"Text Beside Icon" mode. Fixes keynav issues with items that have
	different icon sizes.
2006-02-28 11:22:38 +00:00
Martin Wehner 0a9e352877 Test for the right path in the break condition. Fixes an infinite loop
2006-02-27  Martin Wehner  <martin.wehner@gmail.com>

	* libnautilus-private/nautilus-tree-view-drag-dest.c:
	(get_drop_path):
	Test for the right path in the break condition. Fixes an infinite
	loop when dragging an item over a non-folder child of an expanded
	node in the list view, deadlocking the desktop.
2006-02-27 21:54:58 +00:00
Lasse Bang Mikkelsen 48aeba9eaf Updated Danish translation 2006-02-27 20:18:25 +00:00
Alexander Larsson 8e96ec9e0b Post release version bump
2006-02-27  Alexander Larsson  <alexl@redhat.com>

	* configure.in:
	Post release version bump

=== nautilus 2.13.92 ===
2006-02-27 17:53:46 +00:00
Alexander Larsson 2dc808851c Update for release
2006-02-27  Alexander Larsson  <alexl@redhat.com>

	* NEWS:
	Update for release
2006-02-27 17:19:18 +00:00
Alexander Larsson 861e32ab48 Use lazy positioning for volumes only, not all desktop file icons, as this
2006-02-27  Alexander Larsson  <alexl@redhat.com>

	* src/file-manager/fm-icon-view.c (fm_icon_view_add_file):
	Use lazy positioning for volumes only, not all desktop file icons,
	as this can cause icons to move around, and its mainly required
	for removable volumes anyway.
2006-02-27 17:07:55 +00:00
Inaki Larranaga b5c48ce311 Fixed some typos.
2006-02-27  Inaki Larranaga  <dooteo@euskalgnu.org>

	* eu.po: Fixed some typos.
2006-02-27 16:10:35 +00:00
Alexander Larsson 1dd6a21d79 Don't shortcut the title change when the bookmark name changes. Fixes
2006-02-27  Alexander Larsson  <alexl@redhat.com>

	* src/nautilus-navigation-window.c:
	* src/nautilus-spatial-window.c:
	* src/nautilus-window.[ch]:
	Don't shortcut the title change when the bookmark name changes.
	Fixes #331383
	Patch from Christian Neumair.
2006-02-27 15:51:47 +00:00
Zbigniew Chyla 69facef412 Get users' and groups' names via a cache to avoid calling
2006-02-26  Zbigniew Chyla  <mail@zbigniew.chyla.pl>

	Get users' and groups' names via a cache to avoid calling
	getpwuid/getgrgid too often (i.e. many times during single redraw).

	* libnautilus-private/Makefile.am: (libnautilus_private_la_SOURCES):
	Added nautilus-users-groups-cache.[ch]
	* libnautilus-private/nautilus-users-groups-cache.[ch]: New,
	implementation of cache for getpwuid/getgrgid results.
	* libnautilus-private/nautilus-file.c:
	(get_user_name_from_id): removed
	(get_real_name): accept "name + gecos" pair instead of "struct passwd".
	(get_user_and_real_name_from_id): get user name and gecos using
	nautilus_users_cache_* functions instead of using getpwuid directly.
	(nautilus_get_user_names): adjusted to changed signature of get_real_name.
	(nautilus_file_get_group_name): get group name using
	nautilus_groups_cache_get_name instead of using getgrgid directly.
	(nautilus_file_get_owner_as_string): get user name using
	nautilus_users_cache_get_name.
2006-02-27 15:36:40 +00:00
Zbigniew Chyla e02fe835e5 Don't add all possible columns to GtkTreeView when initializing
2006-02-26  Zbigniew Chyla  <mail@zbigniew.chyla.pl>

	Don't add all possible columns to GtkTreeView when initializing
	FMListView, only the ones we actually show. This way we avoid getting
	unnecessary data from the model, e.g. quite heavy "owner" and "group"
	columns with the default settings.

	* src/file-manager/fm-list-view.c:
	(apply_visible_columns_foreach, apply_visible_columns,
	apply_column_order): removed
	(apply_columns_settings): new function, updates a list of columns in
	GtkTreeView given both a list of visible columns and their ordering,
	replacement for apply_visible_columns and apply_column_order.
	(create_and_set_up_tree_view): when creating details->columns hash
	table, pass g_object_unref as value_destroy_func; before adding
	columns to the hash call g_object_ref+gtk_object_sink on them, don't
	add columns to the view, the appropriate columns will be added when
	applying the configuration; in order to apply initial columns
	settings, call apply_columns_settings (instead of
	apply_visible_columns + apply_column_order).
	(set_visible_columns_from_metadata_and_preferences,
	set_column_order_from_metadata_and_preferences): removed
	(set_columns_settings_from_metadata_and_preferences): new, replacement
	for set_visible_columns_* and set_column_order_*.
	(fm_list_view_begin_loading, column_chooser_changed_callback,
	column_chooser_use_default_callback, fm_list_view_reset_to_defaults,
	default_visible_columns_changed_callback,
	default_column_order_changed_callback): use newly added
	set_columns_settings_from_metadata_and_preferences.
2006-02-27 15:22:50 +00:00
Zbigniew Chyla 00eef46506 Avoid heavy operations inside "motion_notify_event" handler: don't call
2006-02-26  Zbigniew Chyla  <mail@zbigniew.chyla.pl>

	Avoid heavy operations inside "motion_notify_event" handler: don't
	call gtk_tree_model_row_changed (which causes updating the whole
	view), don't create new mouse cursor, change cursor only when
	necessary.
	As a bonus we avoid leaking hand cursor in nautilus and X server.

	* src/file-manager/fm-list-view.c:
	(hand_cursor): new global variable for storing hand cursor used in
	single click mode
	(motion_notify_callback): don't call gtk_tree_model_row_changed on
	the model when changing rows, it's very slow and unnecessary - GTK+
	automatically invalidates parts of the view occupied by old and new
	row; don't leak the hand cursor (GdkCursor), change mouse cursor
	only when necessary (from GDK_HAND2 to default and the other way
	round)
	(leave_notify_callback): don't call gtk_tree_model_row_changed on
	the current row in the model, GTK+ automatically redraws the current
	row
	(enter_notify_callback): in case single click mode is used, update
	details->hover_path and set hand cursor if necessary
	(create_and_set_up_tree_view): connect to enter_notify_event signal
	in addition to leave_notify_event.
	(fm_list_view_click_policy_changed): unref global hand_cursor and
	set it to NULL when changing to double click mode, create new cursor
	and assign it to hand_cursor when changing to single click one.
	(fm_list_view_finalize): free details->hover_path if necessary
	(fm_list_view_init): explicitly set details->hover_path to NULL
2006-02-27 15:08:27 +00:00
Alexander Larsson 3ca224bdc6 Don't close window if old file changed when we're loading a new one
2006-02-27  Alexander Larsson  <alexl@redhat.com>

	* src/nautilus-window-manage-views.c:
	Don't close window if old file changed when we're loading
	a new one (#137027).
	Based on patch from Christian Neumair.
2006-02-27 14:52:58 +00:00
Alexander Larsson 0ac7625ab9 Correctly handle *_margins as pixel values, not world-coords.
2006-02-27  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-icon-container.c:
	Correctly handle *_margins as pixel values, not world-coords.
2006-02-27 14:03:58 +00:00
Federico Mena Quintero 5c26052904 Do not place icons both in the no_position_icons and semi_position_icons
2006-02-27  Federico Mena Quintero  <federico@novell.com>

	* libnautilus-private/nautilus-icon-container.c
	(finish_adding_new_icons): Do not place icons both in the
	no_position_icons and semi_position_icons lists!
	(snap_position): The final *x could be negative if (start_x + icon_width / 2)
	is less than SNAP_SIZE_X, as SNAP_NEAREST_HORIZONTAL() would
	return DESKTOP_PAD_HORIZONTAL.  Then, we would subtract icon_width / 2,
	getting a negative number.  So, we initially test for this and
	start that the first snap column.  The same reasoning applies to
	*y and the baseline.
2006-02-27 13:16:04 +00:00
Alexander Larsson 19b38f50b9 Allow saving a sidebar width of 0 (#331475) Patch from Christian Neumair
2006-02-27  Alexander Larsson  <alexl@redhat.com>

	* src/nautilus-navigation-window.c:
	Allow saving a sidebar width of 0 (#331475)
	Patch from Christian Neumair
2006-02-27 12:58:12 +00:00
Alexander Larsson 04c1c1140b Allow line-breaks after '-', '_', '.' (although not when a short number
2006-02-27  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-icon-canvas-item.c (create_label_layout):
	Allow line-breaks after '-', '_', '.'
	(although not when a short number follows '.')
	Patch from Christian Neumair
2006-02-27 12:45:41 +00:00
Martin Wehner 09740267ed Only allow creation of bookmarks for directories. Fixes #328074.
2006-02-27  Martin Wehner  <martin.wehner@gmail.com>

	* src/nautilus-places-sidebar.c: (can_accept_file_as_bookmark),
	(can_accept_items_as_bookmarks), (drag_motion_callback),
	(bookmarks_drop_uris), (build_selection_list),
	(drag_data_received_callback):
	Only allow creation of bookmarks for directories. Fixes #328074.
2006-02-27 03:59:07 +00:00
Lasse Bang Mikkelsen 5bd589bccd Updated Danish translation 2006-02-26 22:59:27 +00:00
Christian Neumair 7d186d5b25 Plug potential leak.
2006-02-26  Christian Neumair  <chris@gnome-de.org>

	* libnautilus-private/nautilus-directory.c:
	(nautilus_directory_notify_files_removed):
	Plug potential leak.
2006-02-26 17:02:01 +00:00
Martin Wehner 28a50c0b21 Only use the idle reveal mechanism for the list view.
2006-02-26  Martin Wehner  <martin.wehner@gmail.com>

	* src/file-manager/fm-directory-view.c: (done_loading):
	Only use the idle reveal mechanism for the list view.
2006-02-26 15:15:37 +00:00
Martin Wehner 53103444cc Call reveal_selection in an idle callback to work around a bug in
2006-02-26  Martin Wehner  <martin.wehner@gmail.com>

	* src/file-manager/fm-directory-view.c:
	(fm_directory_view_destroy), (reveal_selection_idle_callback),
	(done_loading):
	Call reveal_selection in an idle callback to work around a bug in
	GtkTreeView which produces buggy scroll states when the nodes have
	not yet been allocated. It would make the selection always the top
	row even when it should ignore alignment, among other oddities.
2006-02-26 13:57:07 +00:00
Ales Nyakhaychyk e40434df61 Updated Belarusian translation by Ihar Hrachyshka 2006-02-26 11:35:01 +00:00
Christian Neumair e5ecf797d2 Also consider desktop windows when deciding whether to fallback to home or
2006-02-26  Christian Neumair  <chris@gnome-de.org>

	* src/nautilus-application.c: (nautilus_application_get_n_windows):
	* src/nautilus-application.h:
	* src/nautilus-window-manage-views.c:
	(got_file_info_for_view_selection_callback):
	Also consider desktop windows when deciding whether to fallback to
	home or not. Fixes #331605.
2006-02-26 11:03:25 +00:00
Chao-Hsiung Liao 02e622e027 Updated Traditional Chinese translation(Taiwan). Added Traditional Chinese
2006-02-25  Chao-Hsiung Liao  <j_h_liau@yahoo.com.tw>

	* zh_TW.po: Updated Traditional Chinese translation(Taiwan).
	* zh_HK.po: Added Traditional Chinese translation(Hong Kong).
2006-02-24 23:42:56 +00:00
Alexander Larsson fd804bde39 Use new GNOME_VFS_FILE_INFO_NAME_ONLY flag when counting files. This
2006-02-24  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-directory-async.c:
	(directory_count_start):
	Use new GNOME_VFS_FILE_INFO_NAME_ONLY flag when counting files.
	This avoids lots of stats.

	* configure.in:
	Require vfs 2.13.92 (cvs for now) for the above.
2006-02-24 12:58:22 +00:00
Leonid Kanter 7a2c2a0d6e Updated Russian translation 2006-02-24 11:10:30 +00:00
Martin Wehner d75189dc23 Don't leak bookmark.
2006-02-23  Martin Wehner  <martin.wehner@gmail.com>

	* src/nautilus-places-sidebar.c: (bookmarks_drop_uris):
	Don't leak bookmark.
2006-02-23 22:22:06 +00:00
Martin Wehner 49a004154e Resolve the dropped uris to their drop target, use the same naming logic
2006-02-23  Martin Wehner  <martin.wehner@gmail.com>

	* src/nautilus-places-sidebar.c: (bookmarks_drop_uris):
	Resolve the dropped uris to their drop target, use the same naming
	logic as the bookmark menu and use gnome-fs-directory icon when adding.
	If something more fitting is available it will be updated anyway.
	Fixes #332235.
2006-02-23 22:02:21 +00:00
Martin Wehner 01bb4cc3a7 Set the has_custom_name_flag before setting the name - which would
2006-02-23  Martin Wehner  <martin.wehner@gmail.com>

	* src/nautilus-places-sidebar.c: (bookmarks_edited):
	Set the has_custom_name_flag before setting the name - which would
	otherwise immediately commit the bookmarks to disk without the name.
	Fixes #327744.
2006-02-23 20:37:22 +00:00
Martin Wehner 71b61dd532 Open the popup menu non-modal and pass the button event on to the tree
2006-02-23  Martin Wehner  <martin.wehner@gmail.com>

	* src/nautilus-places-sidebar.c: (bookmarks_popup_menu):
	(bookmarks_button_press_event_cb):
	Open the popup menu non-modal and pass the button event on to the
	tree view. Makes a right click select the item under the cursor
	before bringing up the menu. Fixes #329778.
2006-02-23 19:48:00 +00:00
Clytie Siddall 4bf1e729a6 ka.po: Added Georgian translation. 2006-02-23 06:11:55 +00:00
Inaki Larranaga 8c0818e9f8 Updated Basque translation.
2006-02-22  Inaki Larranaga  <dooteo@euskalgnu.org>

	* eu.po: Updated Basque translation.
2006-02-22 18:54:46 +00:00
Martin Wehner d08b1966c7 Add a cast to fix build for platforms where GnomeVFSFileSize is not
2006-02-21  Martin Wehner  <martin.wehner@gmail.com>

	* libnautilus-private/nautilus-file.c:
	(nautilus_file_get_size_as_string_with_real_size):
	Add a cast to fix build for platforms where GnomeVFSFileSize
	is not defined as long long (e.g. AMD64). Fixes bug #331636.
2006-02-21 22:37:22 +00:00
Alexander Larsson 1dff2b51a7 Add callback to fm_rename_file.
2006-02-21  Alexander Larsson  <alexl@redhat.com>

	* src/file-manager/fm-error-reporting.[ch]:
	Add callback to fm_rename_file.

	* src/file-manager/fm-icon-view.c:
	Pass NULL as above callback

	* src/file-manager/fm-list-view.c:
	Don't activate file when renaming, delay until rename done.
	After rename, scroll to renamed file if not visibile, because it
	may have moved.

	Above based on initial patch by Nelson Benítez <gnel@cenobioracing.com>

	* src/file-manager/fm-list-model.c:
	On file change, if file was re-sorted emit rows_reordered.

	This fixes bug #326581
2006-02-21 15:10:43 +00:00