[550] in BarnOwl Developers
[D-O-H] r666 - in trunk: . owl
daemon@ATHENA.MIT.EDU (nelhage@MIT.EDU)
Thu Oct 29 18:07:19 2009
Resent-From: nelhage@mit.edu
Resent-To: barnowl-dev-mtg@charon.mit.edu
To: dirty-owl-hackers@mit.edu
From: nelhage@MIT.EDU
Reply-to: dirty-owl-hackers@MIT.EDU
Date: Thu, 15 Mar 2007 14:14:52 -0400 (EDT)
Author: nelhage
Date: 2007-03-15 14:14:52 -0400 (Thu, 15 Mar 2007)
New Revision: 666
Modified:
trunk/
trunk/owl/perlwrap.pm
Log:
r19588@phanatique: nelhage | 2007-03-15 14:08:21 -0400
Strengthening the personal/private distinction slightly, and only
boldifying personal messages.
Property changes on: trunk
___________________________________________________________________
Name: svk:merge
- bb873fd7-8e23-0410-944a-99ec44c633eb:/branches/owl/filter-rewrite:15925
bb873fd7-8e23-0410-944a-99ec44c633eb:/local/d-o-h/trunk:19579
+ bb873fd7-8e23-0410-944a-99ec44c633eb:/branches/owl/filter-rewrite:15925
bb873fd7-8e23-0410-944a-99ec44c633eb:/local/d-o-h/trunk:19588
Modified: trunk/owl/perlwrap.pm
===================================================================
--- trunk/owl/perlwrap.pm 2007-03-14 23:25:05 UTC (rev 665)
+++ trunk/owl/perlwrap.pm 2007-03-15 18:14:52 UTC (rev 666)
@@ -242,8 +242,8 @@
use base qw( BarnOwl::Message );
-# all loopback messages are personal
-sub is_personal {
+# all loopback messages are private
+sub is_private {
return 1;
}
@@ -254,8 +254,8 @@
use base qw( BarnOwl::Message );
-# all non-loginout AIM messages are personal for now...
-sub is_personal {
+# all non-loginout AIM messages are private for now...
+sub is_private {
return !(shift->is_loginout);
}
@@ -599,7 +599,7 @@
$header .= " " x (4 - ((length $header) % 4));
$header .= "(" . $sender . ")";
my $message = $header . "\n". indentBody($m);
- if($m->is_private && $m->direction eq "in") {
+ if($m->is_personal && $m->direction eq "in") {
$message = BarnOwl::Style::boldify($message);
}
return $message;