diff options
author | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-08 20:56:19 +0000 |
---|---|---|
committer | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-08 20:56:19 +0000 |
commit | d09b0922f3831944386850682b584e4dccf60357 (patch) | |
tree | 3b1d187b5c59a8d6237b7cd5a22bfce341b413f8 /chrome/browser/gtk/about_chrome_dialog.cc | |
parent | 0281b06f8bbde4c064a9276e6d70484ba2a3eaec (diff) | |
download | chromium_src-d09b0922f3831944386850682b584e4dccf60357.zip chromium_src-d09b0922f3831944386850682b584e4dccf60357.tar.gz chromium_src-d09b0922f3831944386850682b584e4dccf60357.tar.bz2 |
Move GTK spacing constants into chrome/common/gtk_util.h
BUG=11507
Review URL: http://codereview.chromium.org/118399
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17894 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/about_chrome_dialog.cc')
-rw-r--r-- | chrome/browser/gtk/about_chrome_dialog.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/gtk/about_chrome_dialog.cc b/chrome/browser/gtk/about_chrome_dialog.cc index f1e005f..c363f16 100644 --- a/chrome/browser/gtk/about_chrome_dialog.cc +++ b/chrome/browser/gtk/about_chrome_dialog.cc @@ -13,6 +13,7 @@ #include "base/gfx/gtk_util.h" #include "chrome/common/chrome_constants.h" #include "chrome/browser/profile.h" +#include "chrome/common/gtk_util.h" #include "grit/chromium_strings.h" #include "grit/generated_resources.h" #include "grit/locale_settings.h" @@ -142,8 +143,9 @@ void ShowAboutDialogForProfile(GtkWindow* parent, Profile* profile) { // We use a separate box for the licensing etc. text. See the comment near // the top of this function about using a special layout for this dialog. - GtkWidget* vbox = gtk_vbox_new(FALSE, 6); - gtk_container_set_border_width(GTK_CONTAINER(vbox), 12); + GtkWidget* vbox = gtk_vbox_new(FALSE, gtk_util::kControlSpacing); + gtk_container_set_border_width(GTK_CONTAINER(vbox), + gtk_util::kContentAreaBorder); GtkWidget* copyright_label = MakeMarkupLabel( "<span size=\"smaller\">%s</span>", |