[Nix-dev] Re: [Nix-commits] SVN commit: nix - 17314 - MarcWeber - in nixpkgs/trunk/pkgs: applications/misc/evince top-level

Ludovic Courtès ludo at gnu.org
Mon Sep 21 00:51:51 CEST 2009


Hi Marc,

Marc Weber <marco-oweber at gmx.de> writes:

> You can view the changes in this commit at:
>    https://svn.nixos.org/viewvc/nix?rev=17314&view=rev

[...]

> evince: allow overriding number of items shown in recent opened list

[...]

> +  postUnpack = if recentListSize != null then ''
> +    sed -i 's/\(gtk_recent_chooser_set_limit .*\)5)/\1${builtins.toString recentListSize})/' */shell/ev-open-recent-action.c
> +    sed -i 's/\(if (++n_items == \)5\(.*\)/\1${builtins.toString recentListSize}\2/' */shell/ev-window.c
> +  '' else "";

IMO this kind of patch doesn’t belong in a distribution.  If you think
Evince’s behavior is wrong, or should be customizable, then you should
report it upstream.

(I suppose the GNOMish way to do it would be via GConf or some such.)

Thanks,
Ludo’.



More information about the nix-dev mailing list