diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-07 00:33:11 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-07 00:33:11 +0000 |
commit | 4ddfc624d3eacb9b839b06f9a84d34516247bd5f (patch) | |
tree | 103d79e3018ead28b7ce082323b0e5903b6e6973 /chrome/browser/gtk | |
parent | f7c1695a068d43a0313daa36e8bda3bb1b43f008 (diff) | |
download | chromium_src-4ddfc624d3eacb9b839b06f9a84d34516247bd5f.zip chromium_src-4ddfc624d3eacb9b839b06f9a84d34516247bd5f.tar.gz chromium_src-4ddfc624d3eacb9b839b06f9a84d34516247bd5f.tar.bz2 |
GTK: Refresh the visibliity of other download items when removing a download item from the shelf.
BUG=31612
TEST=1. navigate to cygwin.com
2. save page
3. make page just narrow enough to only hold a dangerous download dialog
4. click on the cygwin.exe link
5. discard
6. save page item should reappear
Review URL: http://codereview.chromium.org/523111
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35667 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk')
-rw-r--r-- | chrome/browser/gtk/download_item_gtk.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/gtk/download_item_gtk.cc b/chrome/browser/gtk/download_item_gtk.cc index 38034fc..0512239 100644 --- a/chrome/browser/gtk/download_item_gtk.cc +++ b/chrome/browser/gtk/download_item_gtk.cc @@ -340,6 +340,7 @@ DownloadItemGtk::~DownloadItemGtk() { get_download()->RemoveObserver(this); g_signal_handlers_disconnect_by_func(parent_shelf_->GetHBox(), reinterpret_cast<gpointer>(OnShelfResized), this); + gtk_widget_show_all(parent_shelf_->GetHBox()); hbox_.Destroy(); progress_area_.Destroy(); |