[nautilus-actions] Re-check status of pasted items
- From: Pierre Wieser <pwieser src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus-actions] Re-check status of pasted items
- Date: Mon, 7 Dec 2009 21:21:23 +0000 (UTC)
commit bd7b88f3cb68554cd9db785e631be76689c7586e
Author: Pierre Wieser <pwieser trychlos org>
Date: Mon Dec 7 21:39:13 2009 +0100
Re-check status of pasted items
ChangeLog | 3 +++
TODO | 2 --
nautilus-actions/nact/nact-main-menubar.c | 1 +
3 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 9ff5292..c6f104f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2009-12-07 Pierre Wieser <pwieser trychlos org>
+ * nautilus-actions/nact/nact-main-menubar.c (prepare_for_paste):
+ Recheck status of pasted items.
+
* nautilus-actions/io-provider-desktop/nadp-desktop-file.c
(nadp_desktop_file_get_label, nadp_desktop_file_get_tooltip,
nadp_desktop_file_get_icon): Return an empty string rather than NULL.
diff --git a/TODO b/TODO
index 7adaf9b..960557c 100644
--- a/TODO
+++ b/TODO
@@ -97,8 +97,6 @@
- nact: new action assistant
-- nact: copy/paste: only the action is copied without its profiles
-
- nact: when pasting an item, should reset provider and read-only flag
- desktop provider: fix default toolbar label
diff --git a/nautilus-actions/nact/nact-main-menubar.c b/nautilus-actions/nact/nact-main-menubar.c
index 736045e..a7344f1 100644
--- a/nautilus-actions/nact/nact-main-menubar.c
+++ b/nautilus-actions/nact/nact-main-menubar.c
@@ -1067,6 +1067,7 @@ prepare_for_paste( NactMainWindow *window )
relabel = nact_main_menubar_is_pasted_object_relabeled( NA_OBJECT( it->data ), pivot );
na_object_prepare_for_paste( it->data, relabel, renumber, action );
+ na_object_check_status( it->data );
}
g_debug( "%s: action=%p (%s)",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]