diff options
author | Darin Adler <darin@src.gnome.org> | 2000-10-27 23:28:06 +0000 |
---|---|---|
committer | Darin Adler <darin@src.gnome.org> | 2000-10-27 23:28:06 +0000 |
commit | b2535f9195a0503d27e663ace41f1db00046f2bc (patch) | |
tree | d0d2e5139e2200e4cf75af0d0dd0fd8b4263231a /libnautilus | |
parent | d02ef0b67d1c21fbeec292824f8c8a0285511c66 (diff) | |
download | nautilus-b2535f9195a0503d27e663ace41f1db00046f2bc.tar.gz |
Fixed bugs in file renaming. These changes along with the
gnome-vfs ones take care of bug 3846 (cancel dialog persists after
renaming online storage folder).
* libnautilus-extensions/nautilus-file.c:
(nautilus_file_get_gnome_vfs_uri): Moved higher so it could be
used by rename code.
(operation_remove): Separated out the remove operation so we can
remove the operation before the callback. This makes it safe to
do a nautlius_file_cancel from inside a callback.
(operation_free): Call the separate remove. Also cut down because
we don't need so much state in the operation object any more.
(operation_complete): Call remove before calling callback as
described above.
(rename_callback): A new callback that uses set_file_info results
instead of the old one that used xfer.
(nautilus_file_rename): Change to use set_file_info instead of
xfer. Also updates the MIME type now, which will fix a bug I
think.
(nautilus_file_update_info): Use gnome_vfs_file_info_dup instead
of gnome_vfs_file_info_ref so it works with any info, including
static ones on the stack.
(set_permissions_callback), (nautilus_file_set_permissions),
(set_owner_and_group_callback), (set_owner_and_group): Change to
use the info returned by the async. set_file_info. This simplifies
things a lot.
* src/file-manager/fm-error-reporting.c: (rename_callback),
(cancel_rename_callback), (cancel_rename), (fm_rename_file):
Rewrote renaming code. Use object data to keep track of pending
renames so we can cancel a previous one if we try to re-rename the
same file again. This allowed the code to get a lot simpler too.
* libnautilus-extensions/nautilus-directory-async.c:
(directory_load_done): Fixed bug that prevented the directory from
ever noticing files that are no longer around. This code never
worked because we checked for the wrong error code (EOF means
success here).
* po/Makefile.in.in: Re-removed this file. Seth checked it in by
accident. This is a generated file, not one that should be checked
in.
* src/nautilus-window.c: (nautilus_window_realize): Got rid of
"//"-style comments and used #if 0 instead.
* components/loser/content/nautilus-content-loser-ui.xml.h:
* components/loser/sidebar/nautilus-sidebar-loser-ui.xml.h:
* components/mozilla/nautilus-mozilla-ui.xml.h:
* components/sample/nautilus-sample-content-view-ui.xml.h:
* components/services/summary/nautilus-view/nautilus-summary-view-ui.xml.h:
* libnautilus/nautilus-clipboard-ui.xml.h:
* src/file-manager/nautilus-directory-view-ui.xml.h:
* src/file-manager/nautilus-icon-view-ui.xml.h:
* src/file-manager/nautilus-search-list-view-ui.xml.h:
* src/nautilus-service-ui.xml.h:
* src/nautilus-shell-ui.xml.h:
Someone checked in some .xml.h files generated with an old
Bonobo. Soon, this nightmare will be over and we won't check these
files in any more.
Diffstat (limited to 'libnautilus')
-rw-r--r-- | libnautilus/nautilus-clipboard-ui.xml.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libnautilus/nautilus-clipboard-ui.xml.h b/libnautilus/nautilus-clipboard-ui.xml.h index 467e98e0a..a02b15725 100644 --- a/libnautilus/nautilus-clipboard-ui.xml.h +++ b/libnautilus/nautilus-clipboard-ui.xml.h @@ -14,3 +14,11 @@ gchar *s = N_("Remove the selected text without putting it on the clipboard"); gchar *s = N_("_Copy Text"); gchar *s = N_("_Cut Text"); gchar *s = N_("_Paste Text"); +gchar *s = N_("C_lear Text"); +gchar *s = N_("Copy the selected text to the clipboard"); +gchar *s = N_("Cut the selected text to the clipboard"); +gchar *s = N_("Paste the text stored on the clipboard"); +gchar *s = N_("Remove the selected text without putting it on the clipboard"); +gchar *s = N_("_Copy Text"); +gchar *s = N_("_Cut Text"); +gchar *s = N_("_Paste Text"); |