diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-06 05:16:50 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-06 05:16:50 +0000 |
commit | c9cd22294bf1ef854e41c547d7c9f722b13593f6 (patch) | |
tree | f6fa6d01d068631718ef36f32470a22386bc6cec /chrome/browser/gtk/download_shelf_gtk.cc | |
parent | 2ac844349bbe511cf17e597bfc3e8a0aaab9ceab (diff) | |
download | chromium_src-c9cd22294bf1ef854e41c547d7c9f722b13593f6.zip chromium_src-c9cd22294bf1ef854e41c547d7c9f722b13593f6.tar.gz chromium_src-c9cd22294bf1ef854e41c547d7c9f722b13593f6.tar.bz2 |
Merge two TabContents::InvalidateTypes types and properly update tab download icon.
INVALIDATE_FAVICON and INVALIDATE_TITLE become INVALIDATE_TAB. Also removed some dead code.
TEST=starting a download in a tab should show the download icon. Closing the dshelf should make the icon disappear.
Review URL: http://codereview.chromium.org/109050
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15387 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/download_shelf_gtk.cc')
-rw-r--r-- | chrome/browser/gtk/download_shelf_gtk.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/gtk/download_shelf_gtk.cc b/chrome/browser/gtk/download_shelf_gtk.cc index bf27bbd..d6d96ff 100644 --- a/chrome/browser/gtk/download_shelf_gtk.cc +++ b/chrome/browser/gtk/download_shelf_gtk.cc @@ -164,6 +164,7 @@ void DownloadShelfGtk::OnButtonClick(GtkWidget* button, DownloadShelfGtk* shelf) { if (button == shelf->close_button_->widget()) { shelf->slide_widget_->Close(); + shelf->tab_contents_->SetDownloadShelfVisible(false); } else { // The link button was clicked. shelf->ShowAllDownloads(); |