[epiphany] downloads-popover: Disappear more smoothly



commit 20fb5551e11a6f4f185ca3345da172a8de0cc5ee
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Sun Dec 20 18:49:08 2015 -0600

    downloads-popover: Disappear more smoothly
    
    Hide the popover before removing the download widgets, else the popover
    "crumples" visibly.

 lib/widgets/ephy-downloads-popover.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/lib/widgets/ephy-downloads-popover.c b/lib/widgets/ephy-downloads-popover.c
index b6f2b7b..7e7f316 100644
--- a/lib/widgets/ephy-downloads-popover.c
+++ b/lib/widgets/ephy-downloads-popover.c
@@ -124,6 +124,8 @@ clear_button_clicked_cb (EphyDownloadsPopover *popover)
   GList *children, *l;
   EphyDownloadsManager *manager;
 
+  gtk_widget_hide (GTK_WIDGET (popover));
+
   manager = ephy_embed_shell_get_downloads_manager (ephy_embed_shell_get_default ());
   g_signal_handlers_block_by_func (manager, download_removed_cb, popover);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]