mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-11-05 16:04:31 +00:00
for .desktop files invalidate the file's
2002-07-02 Damon Chaplin <damon@ximian.com> * libnautilus-private/nautilus-file.c (rename_guts): for .desktop files invalidate the file's NAUTILUS_FILE_ATTRIBUTE_DISPLAY_NAME attribute rather than calling nautilus_file_changed(), since otherwise it will just use the old display name. Fixes bug #85966.
This commit is contained in:
parent
a8d6acb028
commit
0d9f4054d7
2 changed files with 11 additions and 2 deletions
|
@ -1,4 +1,11 @@
|
|||
2002-07-01 Damon Chaplin <damon@ximian.com>
|
||||
2002-07-02 Damon Chaplin <damon@ximian.com>
|
||||
|
||||
* libnautilus-private/nautilus-file.c (rename_guts): for .desktop files
|
||||
invalidate the file's NAUTILUS_FILE_ATTRIBUTE_DISPLAY_NAME attribute
|
||||
rather than calling nautilus_file_changed(), since otherwise it will
|
||||
just use the old display name. Fixes bug #85966.
|
||||
|
||||
2002-07-02 Damon Chaplin <damon@ximian.com>
|
||||
|
||||
* src/file-manager/fm-list-view.c (create_and_set_up_tree_view): set
|
||||
the initial pixbuf column to match the initial zoom level, 25%.
|
||||
|
|
|
@ -1032,7 +1032,9 @@ rename_guts (NautilusFile *file,
|
|||
g_free (uri);
|
||||
|
||||
if (success) {
|
||||
nautilus_file_changed (file);
|
||||
GList attributes = { 0 };
|
||||
attributes.data = NAUTILUS_FILE_ATTRIBUTE_DISPLAY_NAME;
|
||||
nautilus_file_invalidate_attributes (file, &attributes);
|
||||
(* callback) (file, GNOME_VFS_OK, callback_data);
|
||||
return;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue