summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/download_item_gtk.cc
diff options
context:
space:
mode:
authormdm@chromium.org <mdm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-31 00:40:15 +0000
committermdm@chromium.org <mdm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-31 00:40:15 +0000
commit1b2fca9f6e4d36fc2aa72eb2c3409f3de3175273 (patch)
tree0453433e11a19bdc984a3aa17a641ebab2be1301 /chrome/browser/gtk/download_item_gtk.cc
parent48f2336c6595318dd8f07f1e54a60091607382dc (diff)
downloadchromium_src-1b2fca9f6e4d36fc2aa72eb2c3409f3de3175273.zip
chromium_src-1b2fca9f6e4d36fc2aa72eb2c3409f3de3175273.tar.gz
chromium_src-1b2fca9f6e4d36fc2aa72eb2c3409f3de3175273.tar.bz2
Linux: convert classes GtkUtil/GtkTreeUtil back to namespaces gtk_util/gtk_tree_util.
BUG=none TEST=none Review URL: http://codereview.chromium.org/160417 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22130 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/download_item_gtk.cc')
-rw-r--r--chrome/browser/gtk/download_item_gtk.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/gtk/download_item_gtk.cc b/chrome/browser/gtk/download_item_gtk.cc
index ece9424..78a0b46 100644
--- a/chrome/browser/gtk/download_item_gtk.cc
+++ b/chrome/browser/gtk/download_item_gtk.cc
@@ -211,8 +211,8 @@ DownloadItemGtk::DownloadItemGtk(DownloadShelfGtk* parent_shelf,
gtk_misc_set_alignment(GTK_MISC(name_label_), 0, 0.5);
gtk_misc_set_alignment(GTK_MISC(status_label_), 0, 0.5);
// Until we switch to vector graphics, force the font size.
- GtkUtil::ForceFontSizePixels(name_label_, 13.4); // 13.4px == 10pt @ 96dpi
- GtkUtil::ForceFontSizePixels(status_label_, 13.4); // 13.4px == 10pt @ 96dpi
+ gtk_util::ForceFontSizePixels(name_label_, 13.4); // 13.4px == 10pt @ 96dpi
+ gtk_util::ForceFontSizePixels(status_label_, 13.4); // 13.4px == 10pt @ 96dpi
// Stack the labels on top of one another.
GtkWidget* text_stack = gtk_vbox_new(FALSE, 0);
@@ -298,7 +298,7 @@ DownloadItemGtk::DownloadItemGtk(DownloadShelfGtk* parent_shelf,
GtkWidget* dangerous_label = gtk_label_new(NULL);
// Until we switch to vector graphics, force the font size.
// 13.4px == 10pt @ 96dpi
- GtkUtil::ForceFontSizePixels(dangerous_label, 13.4);
+ gtk_util::ForceFontSizePixels(dangerous_label, 13.4);
gtk_label_set_markup(GTK_LABEL(dangerous_label), label_markup);
gtk_label_set_line_wrap(GTK_LABEL(dangerous_label), TRUE);
// We pass TRUE, TRUE so that the label will condense to less than its
@@ -313,14 +313,14 @@ DownloadItemGtk::DownloadItemGtk(DownloadShelfGtk* parent_shelf,
l10n_util::GetStringUTF8(IDS_SAVE_DOWNLOAD).c_str());
g_signal_connect(dangerous_accept, "clicked",
G_CALLBACK(OnDangerousAccept), this);
- GtkUtil::CenterWidgetInHBox(dangerous_hbox_, dangerous_accept, false, 0);
+ gtk_util::CenterWidgetInHBox(dangerous_hbox_, dangerous_accept, false, 0);
// Create the nevermind button.
GtkWidget* dangerous_decline = gtk_button_new_with_label(
l10n_util::GetStringUTF8(IDS_DISCARD_DOWNLOAD).c_str());
g_signal_connect(dangerous_decline, "clicked",
G_CALLBACK(OnDangerousDecline), this);
- GtkUtil::CenterWidgetInHBox(dangerous_hbox_, dangerous_decline, false, 0);
+ gtk_util::CenterWidgetInHBox(dangerous_hbox_, dangerous_decline, false, 0);
// Put it in an alignment so that padding will be added on the left and
// right.