the package xfe gives a message if run as root

the attached patch suppresses it.

one can debate if it is a good idea to do so.

just in case
diff -ur xfe-1.19.2/src/XFileExplorer.cpp xf1/src/XFileExplorer.cpp
--- xfe-1.19.2/src/XFileExplorer.cpp	2008-07-17 15:09:41.000000000 +0200
+++ xf1/src/XFileExplorer.cpp	2008-12-19 00:08:00.886656226 +0100
@@ -1115,7 +1115,7 @@
 	// Running as root?
     FXbool root_warn=getApp()->reg().readUnsignedEntry("OPTIONS","root_warn",TRUE);
 	if(getuid()==0 && root_warn)
-        MessageBox::information(this,BOX_OK,_("Warning"),_("Running Xfe as root!"));
+        //MessageBox::information(this,BOX_OK,_("Warning"),_("Running Xfe as root!"));
 
 	// Show window
     show();
----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to