Gentoo Archives: gentoo-commits

From: "Ulrich Mueller (ulm)" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] eselect r636 - in trunk: . modules
Date: Sat, 22 Aug 2009 17:08:57
Message-Id: E1Meu5H-0003Ch-JL@stork.gentoo.org
1 Author: ulm
2 Date: 2009-08-22 17:08:55 +0000 (Sat, 22 Aug 2009)
3 New Revision: 636
4
5 Modified:
6 trunk/ChangeLog
7 trunk/modules/news.eselect
8 Log:
9 Output read/unread tag first.
10
11 Modified: trunk/ChangeLog
12 ===================================================================
13 --- trunk/ChangeLog 2009-08-20 20:53:40 UTC (rev 635)
14 +++ trunk/ChangeLog 2009-08-22 17:08:55 UTC (rev 636)
15 @@ -1,3 +1,7 @@
16 +2009-08-22 Ulrich Mueller <ulm@g.o>
17 +
18 + * modules/news.eselect (do_list): Output read/unread tag first.
19 +
20 2009-08-19 Ulrich Mueller <ulm@g.o>
21
22 * configure.ac: Update version to 1.2_rc1.
23
24 Modified: trunk/modules/news.eselect
25 ===================================================================
26 --- trunk/modules/news.eselect 2009-08-20 20:53:40 UTC (rev 635)
27 +++ trunk/modules/news.eselect 2009-08-22 17:08:55 UTC (rev 636)
28 @@ -188,10 +188,10 @@
29 IFS=${ifs_save}
30 if [[ ${stat} = unread ]]; then
31 write_numbered_list_entry $((i++)) "$(highlight \
32 - "${posted}$(space $((12 - ${#posted})))(unread) ${title}")"
33 + "unread ${posted}$(space $((12 - ${#posted})))${title}")"
34 else
35 write_numbered_list_entry $((i++)) \
36 - "${posted}$(space $((12 - ${#posted})))(read) ${title}"
37 + "read ${posted}$(space $((12 - ${#posted})))${title}"
38 fi
39 done
40 [[ $# -eq 0 && ${ESELECT_OUTPUT_MODE} != brief ]] \