diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-08 23:42:25 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-08 23:42:25 +0000 |
commit | e7ef2785c24227ec59e5e906d17185ebcaa8af76 (patch) | |
tree | d75363112496def057e4bd87fa8d305d4fb6b596 /app/resource_bundle.cc | |
parent | 70be00a42dc3288f483ff16e8c94a2a84b382cf6 (diff) | |
download | chromium_src-e7ef2785c24227ec59e5e906d17185ebcaa8af76.zip chromium_src-e7ef2785c24227ec59e5e906d17185ebcaa8af76.tar.gz chromium_src-e7ef2785c24227ec59e5e906d17185ebcaa8af76.tar.bz2 |
Some views GTK fixes.
Fix the crazy font on infobars by reducing the "medium" font size.
Make tab dragging not immediately crash by crating a dragged tab container.
Review URL: http://codereview.chromium.org/155253
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20209 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/resource_bundle.cc')
-rw-r--r-- | app/resource_bundle.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/resource_bundle.cc b/app/resource_bundle.cc index 4acac71..e04f79e 100644 --- a/app/resource_bundle.cc +++ b/app/resource_bundle.cc @@ -170,7 +170,11 @@ void ResourceBundle::LoadFontsIfNecessary() { *small_font_ = base_font_->DeriveFont(-2); medium_font_.reset(new gfx::Font()); +#if defined(OS_LINUX) && defined(TOOLKIT_VIEWS) + *medium_font_ = base_font_->DeriveFont(2); +#else *medium_font_ = base_font_->DeriveFont(3); +#endif medium_bold_font_.reset(new gfx::Font()); *medium_bold_font_ = |