Filer: Modifying source to remove permissions display
Greg Bell <[email protected]> Tue, 08 Sep 2009 21:38:13 +1000
| Newsgroups | gmane.comp.desktop.rox.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Guys,
After years of using and loving ROX-Filer, I finally realised I have no
use for the permissions, user or group columns in the details view. Fun
reason to have a look at the code.
Looking at the source code, I see this in display.c:
static char *details(FilerWindow *filer_window, DirItem *item)
{
.
.
.
else if (filer_window->details_type == DETAILS_TIMES)
{
guchar *ctime, *mtime, *atime;
ctime = pretty_time(&item->ctime);
mtime = pretty_time(&item->mtime);
atime = pretty_time(&item->atime);
buf = g_strdup_printf("a[%s] c[%s] m[%s]", atime, ctime, mtime);
g_free(ctime);
g_free(mtime);
g_free(atime);
}
.
.
.
Nipping this bit of code out and then recompiling (./AppRun --compile)
yields no change to the resulting binary's behaviour. Sorry if this is
a noobie question, but what am I doing wrong?
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july