Hi,
On 24.12.2008, at 22:32, Martin Papadopoulos wrote:
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.
Yeah, also as T2 is about "not /too/ many extra features patches in the
default package config. Several other software, including file managers
or even the xsane graphical scan interface and optical media writing
software show simillar messages.
Maybe better left for specific targets - thus the "system integrator"'s
choice?
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
--
René Rebe - ExactCODE GmbH - Europe, Germany, Berlin
http://exactcode.de | http://t2-project.org | http://rene.rebe.name
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2