Re: count the number of file "executions" ? - crude implementation (patch)

"Thomas Leonard" <[email protected]>
Newsgroups gmane.comp.desktop.rox.devel
Message-ID <[email protected]>
2008/5/25 Janek Kozicki <[email protected]>:
> Hi,
>
> Finally I got around to implement this thing in rox. The
> implementation is totally inefficient and slow, due to my very
> limited gtk and rox core knowledge. So the patch I'm attaching here
> is by no means supposed to be applied to rox filer source.
[...]
>  2. If the current view is view with extra details (view_details.c),
>     the number of times you execute each file in this directory will be
>     shown.
[...]
> I have high hopes, that rox developers will like this feature, and
> agree to add it to rox using a better implementation.
>
> In fact I want it so badly, that I offer 30 euros to person (or
> persons, in which case money are divided as you decide to divide it)
> who will work to make it into an official rox release.

In case anyone is thinking of doing this:

The feature itself is clearly not general enough to go in a main release.
However, a feature to display an arbitrary extended attribute in an extra
column in the details view would be fine, and the code for updating the
counter can go in its own script, set by the run action, of course.

BTW, if you got the source code using GIT then you can upgrade to the
latest version fairly easily with git-pull and it should merge your changes
in, so maintaining the code out-of-tree shouldn't be very hard, unless
ROX development suddenly speeds up a lot!


-- 
Dr Thomas Leonard	http://rox.sourceforge.net
GPG: 9242 9807 C985 3C07 44A6 8B9A AE07 8280 59A5 3CC1

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.