Revision: 6403
http://skim-app.svn.sourceforge.net/skim-app/?rev=6403&view=rev
Author: hofman
Date: 2010-03-31 21:24:30 +0000 (Wed, 31 Mar 2010)
Log Message:
-----------
invert check for drawers
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2010-03-31 17:33:57 UTC (rev 6402)
+++ trunk/SKMainWindowController.m 2010-03-31 21:24:30 UTC (rev 6403)
@@ -315,14 +315,14 @@
// make sure the first thing we call on the side view controllers is its
view so their nib is loaded
NSRect rect = [leftSideContentView bounds];
- if (mwcFlags.usesDrawers) {
+ if (mwcFlags.usesDrawers == 0) {
rect = NSInsetRect(rect, -1, -1);
rect.size.height -= 1;
}
[[leftSideController view] setFrame:rect];
[leftSideContentView addSubview:leftSideController.view];
rect = [rightSideContentView bounds];
- if (mwcFlags.usesDrawers) {
+ if (mwcFlags.usesDrawers == 0) {
rect = NSInsetRect(rect, -1, -1);
rect.size.height -= 1;
}
@@ -1270,7 +1270,7 @@
if ([[leftSideWindow firstResponder]
isDescendantOf:leftSideController.view])
[leftSideWindow makeFirstResponder:nil];
NSRect rect = [leftSideContentView bounds];
- if (mwcFlags.usesDrawers) {
+ if (mwcFlags.usesDrawers == 0) {
rect = NSInsetRect(rect, -1, -1);
rect.size.height -= 1;
}
@@ -1296,7 +1296,7 @@
if ([[rightSideWindow firstResponder]
isDescendantOf:rightSideController.view])
[rightSideWindow makeFirstResponder:nil];
NSRect rect = [rightSideContentView bounds];
- if (mwcFlags.usesDrawers) {
+ if (mwcFlags.usesDrawers == 0) {
rect = NSInsetRect(rect, -1, -1);
rect.size.height -= 1;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit