Created
April 22, 2010 23:43
-
-
Save bdimcheff/375990 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 374e89988be7084a3ee441468e88941eb53dee56 Mon Sep 17 00:00:00 2001 | |
From: Brandon Dimcheff <[email protected]> | |
Date: Thu, 22 Apr 2010 10:48:14 -0400 | |
Subject: [PATCH] keep downloads bar from making the window bigger | |
--- | |
chrome/browser/cocoa/browser_window_controller.mm | 3 +-- | |
1 files changed, 1 insertions(+), 2 deletions(-) | |
diff --git a/chrome/browser/cocoa/browser_window_controller.mm b/chrome/browser/cocoa/browser_window_controller.mm | |
index ceee615..1be2941 100644 | |
--- a/chrome/browser/cocoa/browser_window_controller.mm | |
+++ b/chrome/browser/cocoa/browser_window_controller.mm | |
@@ -775,8 +775,7 @@ | |
BOOL shouldAdjustBookmarkHeight = | |
[bookmarkBarController_ isAnimatingBetweenState:bookmarks::kHiddenState | |
andState:bookmarks::kShowingState]; | |
- if ((shouldAdjustBookmarkHeight && view == [bookmarkBarController_ view]) || | |
- view == [downloadShelfController_ view]) { | |
+ if ((shouldAdjustBookmarkHeight && view == [bookmarkBarController_ view])) { | |
[[self window] disableScreenUpdatesUntilFlush]; | |
CGFloat deltaH = height - frame.size.height; | |
[self adjustWindowHeightBy:deltaH]; | |
-- | |
1.7.0.5+GitX |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment