[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Pan-users] large # of lines asks to save
From: |
Bruce Bowler |
Subject: |
Re: [Pan-users] large # of lines asks to save |
Date: |
Wed, 2 Jul 2014 12:51:11 +0000 (UTC) |
User-agent: |
Pan/0.140 (Chocolate Salty Balls; Unknown) |
On Wed, 02 Jul 2014 09:24:39 +0000, Duncan wrote:
> Duncan posted on Wed, 02 Jul 2014 04:45:39 +0000 as excerpted:
>
>> Now to go create a patch to drop into /etc/portage/patches to
>> auto-apply on rebuild.
>
> Applied (on top of current git):
>
> --- pan/gui/header-pane.cc.old 2014-07-02 01:44:25.000000000 -0700 +++
> pan/gui/header-pane.cc 2014-07-02 01:49:42.547897074 -0700 @@
> -1274,7 +1274,7 @@ namespace
> const Article * a (pane->get_first_selected_article());
> if (a) {
> const size_t lines = a->get_line_count();
> - const bool is_smallish = lines <= 5000;
> + const bool is_smallish = lines <= 10000;
> const bool is_mediumish = lines <= 20000;
> const bool image_subject = has_image_type_in_subject (*a);
> const bool is_pictures_newsgroup =
> pane->get_group().to_view().strstr("pictures")!=0;
Best would be to make it configurable at run time :-)