diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-27 21:55:31 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-27 21:55:31 +0000 |
commit | 6ebbc2204e842e1dd87693ec078b9dba1111c17a (patch) | |
tree | 935e2783bcff31b2fa995ceff7ac5dba2a0c5a3e /chrome/app | |
parent | c445e9a8cfa2a86006f992ddd3260092fea2053e (diff) | |
download | chromium_src-6ebbc2204e842e1dd87693ec078b9dba1111c17a.zip chromium_src-6ebbc2204e842e1dd87693ec078b9dba1111c17a.tar.gz chromium_src-6ebbc2204e842e1dd87693ec078b9dba1111c17a.tar.bz2 |
Properly fix menu display when using dark system themes.
The drawing code in the tab strip was modifying the GC, which affected
the GC used for drawing menus.
Review URL: http://codereview.chromium.org/55022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12713 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app')
-rw-r--r-- | chrome/app/chrome_dll_main.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/chrome/app/chrome_dll_main.cc b/chrome/app/chrome_dll_main.cc index 26e8936..6ef4c20 100644 --- a/chrome/app/chrome_dll_main.cc +++ b/chrome/app/chrome_dll_main.cc @@ -402,10 +402,6 @@ int ChromeMain(int argc, const char** argv) { #endif } else if (process_type.empty()) { #if defined(OS_LINUX) - // Disable user theming. - gchar* default_gtkrc_files[] = { NULL }; - gtk_rc_set_default_files(default_gtkrc_files); - // gtk_init() can change |argc| and |argv|, but nobody else uses them. gtk_init(&argc, const_cast<char***>(&argv)); // Register GTK assertions to go through our logging system. @@ -417,12 +413,6 @@ int ChromeMain(int argc, const char** argv) { G_LOG_LEVEL_WARNING), GtkFatalLogHandler, NULL); - - // This theme is chosen rather abritrarily. We set many colors ourselves, - // so we need to set a light theme or some of the colors will clash. - g_object_set(gtk_settings_get_default(), - "gtk-theme-name", "Mist", - NULL); #endif ScopedOleInitializer ole_initializer; |