🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #85546

Re: My most wanted (and difficult) slrn feature

#85546
From: Norbert Tretkowski
Date: Sun, 14 Oct 2001 07:35
29 lines
1966 bytes
* bowman wrote:
> David Gerard <fun@thingy.apana.org.au> wrote:
>> OK, here is a better feature request: an 'Are you sure you want to do
>> this?' warning on c, and maybe on esc-u.
> Shouldn't be too hard to add a call to slrn_get_yesno() to the code.

--- art.c.orig  Mon Aug 20 20:41:05 2001
+++ art.c       Sun Oct 14 09:17:02 2001
@@ -7151,7 +7151,8 @@

 static void catch_up_all (void) /*{{{*/
 {
-   for_all_headers (delete_header, 1);
+   if (slrn_get_yesno (0, "Mark all articles as read") != 0)
+      for_all_headers (delete_header, 1);
 }

 /*}}}*/
@@ -7165,7 +7166,8 @@

 static void catch_up_to_here (void) /*{{{*/
 {
-   for_all_headers (delete_header, 0);
+   if (slrn_get_yesno (0, "Mark all articles as read") != 0)
+      for_all_headers (delete_header, 0);
 }

 /*}}}*/
Technical Details
Message-ID: <slrn9sig1s.njr.tretkowski@rollcage.bzimage.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!pd95667d7.dip.t-dialin.NET!not-for-mail
References: <slrn9sdj0u.7b.fun@aspc083.nop> <slrn9sdrqe.k4v.bowman@odin.mshome> <slrn9sdtnl.7b.fun@aspc083.nop> <Xns91397956279BEmerlincharternet77@207.126.101.100> <slrn9sgts4.68.fun@aspc083.nop> <slrn9sicm5.204.bowman@odin.mshome>

Show Full Headers
Complete Article Headers
Message-ID: <slrn9sig1s.njr.tretkowski@rollcage.bzimage.de>
Subject: Re: My most wanted (and difficult) slrn feature
Date: Sun, 14 Oct 2001 09:35:24 +0200
From: Norbert Tretkowski <tretkowski@bzimage.de>
References: <slrn9sdj0u.7b.fun@aspc083.nop> <slrn9sdrqe.k4v.bowman@odin.mshome> <slrn9sdtnl.7b.fun@aspc083.nop> <Xns91397956279BEmerlincharternet77@207.126.101.100> <slrn9sgts4.68.fun@aspc083.nop> <slrn9sicm5.204.bowman@odin.mshome>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!pd95667d7.dip.t-dialin.NET!not-for-mail
Newsgroups: news.software.readers
Supersedes: <slrn9sif46.kv0.tretkowski@rollcage.bzimage.de>
Organization: Sick And Twisted
Lines: 28
NNTP-Posting-Host: pd95667d7.dip.t-dialin.net (217.86.103.215)
X-Trace: fu-berlin.de 1003044766 23941127 217.86.103.215 (16 [25387])
User-Agent: slrn/0.9.7.2 (Linux)