[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gap-dev-discuss] get rid of #ifdef MACOSX in GNUMails MailHeaderCell.m
From: |
Sebastian Reitenbach |
Subject: |
[Gap-dev-discuss] get rid of #ifdef MACOSX in GNUMails MailHeaderCell.m |
Date: |
Sat, 01 Sep 2012 10:39:59 +0200 |
User-agent: |
SOGoMail 1.3.17 |
Hi,
attached patch just only fiddles a bit with the offset of the mail
header shown in the mail viewer,
which I think looks better to me.
OK?
Sebastian
$OpenBSD$
--- Framework/GNUMail/MailHeaderCell.m.orig Fri Aug 31 18:37:02 2012
+++ Framework/GNUMail/MailHeaderCell.m Fri Aug 31 18:37:17 2012
@@ -70,11 +70,7 @@
{
float h;
-#ifdef MACOSX
h = [[self attributedStringValue] size].height+5;
-#else
- h = [[self attributedStringValue] size].height+20;
-#endif
//
// We want the MailHeaderCell to be at least as high
@@ -225,9 +221,7 @@
}
// We fill our cell
-#ifdef MACOSX
theFrame.origin.y += 4;
-#endif
theFrame.size.width -= 10;
[_color set];
aRoundRect = [NSBezierPath bezierPath];
- [Gap-dev-discuss] get rid of #ifdef MACOSX in GNUMails MailHeaderCell.m,
Sebastian Reitenbach <=