[mate-file-manager] add mate-file-manager_x-caja-windows.patch

Wolfgang Ulbrich raveit65 at fedoraproject.org
Tue Nov 12 01:12:55 UTC 2013


commit 91c8bb0a10e7e8892acdd60048f4ec259b479b19
Author: raveit65 <chat-to-me at raveit.de>
Date:   Tue Nov 12 02:13:06 2013 +0100

    add mate-file-manager_x-caja-windows.patch

 mate-file-manager_x-caja-windows.patch |   35 ++++++++++++++++++++++++++++++++
 1 files changed, 35 insertions(+), 0 deletions(-)
---
diff --git a/mate-file-manager_x-caja-windows.patch b/mate-file-manager_x-caja-windows.patch
new file mode 100644
index 0000000..60f451b
--- /dev/null
+++ b/mate-file-manager_x-caja-windows.patch
@@ -0,0 +1,35 @@
+diff --git a/src/caja-main.c b/src/caja-main.c
+index dcd9df1..73fada8 100644
+--- a/src/caja-main.c
++++ b/src/caja-main.c
+@@ -62,6 +62,8 @@
+ 	#include <exempi/xmp.h>
+ #endif
+ 
++#include <syslog.h>
++
+ /* Keeps track of everyone who wants the main event loop kept active */
+ static GSList* event_loop_registrants;
+ 
+@@ -466,6 +468,20 @@ static void sigusr1_handler (int sig)
+         no_desktop = FALSE;
+     }
+ 
++    if (no_default_window) {
++        openlog ("caja", LOG_CONS | LOG_PID | LOG_NDELAY, LOG_LOCAL1);
++        syslog(LOG_INFO, "Starting caja with -n option, ignoring any remaining arguments...");
++        if (remaining != NULL)
++        {            
++            for (i=0; remaining[i] != NULL; i++)
++            {
++                syslog(LOG_INFO, "Ignoring argument: '%s'", remaining[i]);
++            }
++        }        
++        remaining = NULL;
++        closelog ();
++    }
++
+     if (perform_self_check && remaining != NULL)
+     {
+         /* translators: %s is an option (e.g. --check) */
+


More information about the scm-commits mailing list