diff options
author | Jan-Michael Brummer <jan.brummer@tabos.org> | 2020-08-25 17:40:04 +0200 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@gnome.org> | 2020-08-25 16:05:54 +0000 |
commit | f18eb542f96783c011e5dfd6a815aa3e3100c2f8 (patch) | |
tree | 989a73950e9c984a744554ff7a8a1c9dd5a09abf /src | |
parent | 73914f7ffde3dbf644792a2f6511de5556e2154a (diff) | |
download | epiphany-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.c | 3 |
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 |