diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-27 23:52:32 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-27 23:52:32 +0000 |
commit | a0a9577b170540cf58981def1c1616070afbd06f (patch) | |
tree | 15ae29176225715048d6fc98dd0598717ae9c78a /chrome/browser/gtk/find_bar_gtk.cc | |
parent | 9d4d1e4dff1bb10542adbdf568b3920f2ba47a4a (diff) | |
download | chromium_src-a0a9577b170540cf58981def1c1616070afbd06f.zip chromium_src-a0a9577b170540cf58981def1c1616070afbd06f.tar.gz chromium_src-a0a9577b170540cf58981def1c1616070afbd06f.tar.bz2 |
Dangerous download dialog for linux.
BUG=11780
TEST=go to cygwin.com, click "install or update now". The download shelf should appear with a dangerous download dialog, which should animate properly and without undue jank. Clicking "cancel" should delete the item and hide the shelf (since it's the only thing in the shelf). Clicking "save" should make it become a normal download item.
Review URL: http://codereview.chromium.org/113920
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17041 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/find_bar_gtk.cc')
-rw-r--r-- | chrome/browser/gtk/find_bar_gtk.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/gtk/find_bar_gtk.cc b/chrome/browser/gtk/find_bar_gtk.cc index 73f5c11..7270b2a 100644 --- a/chrome/browser/gtk/find_bar_gtk.cc +++ b/chrome/browser/gtk/find_bar_gtk.cc @@ -185,10 +185,10 @@ void FindBarGtk::InitWidgets() { gtk_box_pack_start(GTK_BOX(centering_vbox), border_bin_aa, TRUE, FALSE, 0); gtk_box_pack_end(GTK_BOX(hbox), centering_vbox, FALSE, FALSE, 0); - // We show just the GtkFixed and |border_| (but not the dialog). + // We take care to avoid showing the slide animator widget. + gtk_widget_show_all(container_); gtk_widget_show(widget()); gtk_widget_show(border_); - gtk_widget_show(match_count_label_); } GtkWidget* FindBarGtk::slide_widget() { |