summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan-Michael Brummer <jan.brummer@tabos.org>2020-08-25 17:40:04 +0200
committerMichael Catanzaro <mcatanzaro@gnome.org>2020-08-25 16:05:54 +0000
commitf18eb542f96783c011e5dfd6a815aa3e3100c2f8 (patch)
tree989a73950e9c984a744554ff7a8a1c9dd5a09abf /src
parent73914f7ffde3dbf644792a2f6511de5556e2154a (diff)
downloadepiphany-f18eb542f96783c011e5dfd6a815aa3e3100c2f8.tar.gz
action-bar-end: Only trigger download theatrics for mapped widgets
Fixes: https://gitlab.gnome.org/GNOME/epiphany/-/issues/1236
Diffstat (limited to 'src')
-rw-r--r--src/ephy-action-bar-end.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ephy-action-bar-end.c b/src/ephy-action-bar-end.c
index 9f0e5b4ab..7775e0ce2 100644
--- a/src/ephy-action-bar-end.c
+++ b/src/ephy-action-bar-end.c
@@ -189,7 +189,8 @@ download_completed_cb (EphyDownloadsManager *manager,
EphyDownload *download,
EphyActionBarEnd *action_bar_end)
{
- begin_complete_theatrics (action_bar_end);
+ if (gtk_widget_get_mapped (GTK_WIDGET (action_bar_end)))
+ begin_complete_theatrics (action_bar_end);
}
static void