diff options
author | davemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-23 21:11:14 +0000 |
---|---|---|
committer | davemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-23 21:11:14 +0000 |
commit | 9d722ada61e1d80f0900a9ed7293b8da6e6153e8 (patch) | |
tree | 46dc0b90a43ce44f896bf4631f8f8c5e57afbe92 /chrome/browser/chromeos | |
parent | a129a2bfb9ae935a8f1e56a5e3d4bd50a2168ef0 (diff) | |
download | chromium_src-9d722ada61e1d80f0900a9ed7293b8da6e6153e8.zip chromium_src-9d722ada61e1d80f0900a9ed7293b8da6e6153e8.tar.gz chromium_src-9d722ada61e1d80f0900a9ed7293b8da6e6153e8.tar.bz2 |
Get the About panel to align its links correctly,
but undo a previous change to the way we measure strings in pango.
Review URL: http://codereview.chromium.org/338001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29943 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos')
-rwxr-xr-x[-rw-r--r--] | chrome/browser/chromeos/status_area_view.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/chrome/browser/chromeos/status_area_view.cc b/chrome/browser/chromeos/status_area_view.cc index 59f4f9c..5b268dd 100644..100755 --- a/chrome/browser/chromeos/status_area_view.cc +++ b/chrome/browser/chromeos/status_area_view.cc @@ -33,8 +33,6 @@ namespace { const int kLeftBorder = 1; // Number of pixels to separate the clock from the next item on the right. const int kClockSeparation = 4; -// Number of pixels to adjust the y value of the clock. -const int kClockYAdjustment = 2; // BrowserWindowGtk tiles its image with this offset const int kCustomFrameBackgroundVerticalOffset = 15; @@ -173,10 +171,6 @@ void StatusAreaView::Layout() { // Handle odd number of pixels. cur_y += (height() - cur_size.height()) % 2; - // Adjustment to make clock line up right. - if (cur == clock_view_) - cur_y += kClockYAdjustment; - // Put next in row horizontally, and center vertically. cur->SetBounds(cur_x, cur_y, cur_size.width(), cur_size.height()); |