Article View: news.software.readers
Article #85545Re: My most wanted (and difficult) slrn feature
From: Norbert Tretkowski
Date: Sun, 14 Oct 2001 07:19
Date: Sun, 14 Oct 2001 07:19
29 lines
1917 bytes
1917 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, "Are you sure you want to catchup") != 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, "Are you sure you want to catchup") != 0)
+ for_all_headers (delete_header, 0);
}
/*}}}*/
Technical Details
Message-ID:
<slrn9sif46.kv0.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!p3e9ea20f.dip.t-dialin.NET!not-for-mailReferences:
<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: <slrn9sif46.kv0.tretkowski@rollcage.bzimage.de> Subject: Re: My most wanted (and difficult) slrn feature Date: Sun, 14 Oct 2001 09:19:34 +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!p3e9ea20f.dip.t-dialin.NET!not-for-mail Newsgroups: news.software.readers Organization: Sick And Twisted Lines: 28 NNTP-Posting-Host: p3e9ea20f.dip.t-dialin.net (62.158.162.15) X-Trace: fu-berlin.de 1003043864 23722715 62.158.162.15 (16 [25387]) User-Agent: slrn/0.9.7.2 (Linux)