[nautilus-actions] nautilus-actions-new: mimetypes default to */*



commit 1dba07b9095eaf5fe8569de56e2be8fa9fbcedf1
Author: Pierre Wieser <pwieser trychlos org>
Date:   Mon Feb 21 05:14:46 2011 +0100

    nautilus-actions-new: mimetypes default to */*

 ChangeLog                        |    4 ++++
 src/utils/nautilus-actions-new.c |    3 ---
 2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 0e3a51a..fee4f47 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-02-21 Pierre Wieser <pwieser trychlos org>
+
+	* src/utils/nautilus-actions-new.c: Mimetypes default to */*.
+
 2011-02-20 Pierre Wieser <pwieser trychlos org>
 
 	* src/core/na-icontext-factory.c (NAFO_DATA_TRY_EXEC,
diff --git a/src/utils/nautilus-actions-new.c b/src/utils/nautilus-actions-new.c
index e68acfc..64b1d61 100644
--- a/src/utils/nautilus-actions-new.c
+++ b/src/utils/nautilus-actions-new.c
@@ -457,9 +457,6 @@ get_action_from_cmdline( void )
 		g_warning( "%s", msg );
 		g_free( msg );
 	}
-	if( !isfile && !isdir ){
-		isfile = TRUE;
-	}
 	if( isfile && isdir ){
 		mimetypes = g_slist_prepend( mimetypes, g_strdup( "*/*" ));
 	} else if( isfile ){



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