[nautilus-actions] Update some comments



commit 3728d37b373bab14337637a6abcab216457537c2
Author: Pierre Wieser <pwieser trychlos org>
Date:   Sat Dec 19 15:27:33 2009 +0100

    Update some comments

 TODO                                       |   10 ++++++++++
 nautilus-actions/plugin/nautilus-actions.c |    6 ++++++
 2 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/TODO b/TODO
index a4c9eff..391f298 100644
--- a/TODO
+++ b/TODO
@@ -99,3 +99,13 @@
 - DBus service: list current I/O providers
 
 - DBus service: import/export an action or a menu
+
+- reunion of TargetSelection and TargetFolder
+  as TargetFolder is just a special case of TargetSelection
+  > add special case 'x-nautilus-desktop:///' as a special folder
+  > remove GConf entry
+  > remove importing
+  > remove exporting
+  > remove in n-a-c-t
+  > remove in n-a-n
+  > remove in action class
diff --git a/nautilus-actions/plugin/nautilus-actions.c b/nautilus-actions/plugin/nautilus-actions.c
index b600d17..0621744 100644
--- a/nautilus-actions/plugin/nautilus-actions.c
+++ b/nautilus-actions/plugin/nautilus-actions.c
@@ -288,6 +288,12 @@ static void nautilus_menu_provider_emit_items_updated_signal (NautilusMenuProvid
  * the menu items are available :
  * a) in File menu
  * b) in contextual menu of the folder if there is no current selection
+ *
+ * get_background_items is very similar, from the user point of view, to
+ * get_file_items when:
+ * - either there is zero item selected - current_folder should so be the
+ *   folder currently displayed in the file manager view
+ * - or when there is only one selected directory
  */
 static GList *
 get_background_items( NautilusMenuProvider *provider, GtkWidget *window, NautilusFileInfo *current_folder )



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]