Skip to content

connection_box: Pause torrents if moving onto a metered network

Philip Withnall requested to merge pwithnall/Fragments:metered into main

And resume them when moving back onto a non-metered network, unless the user has explicitly paused/resumed them anyway in the meantime.

This displays an infobar while on a metered network to remind the user that bandwidth use could cost money per gigabyte.

The latest GNOME design is to use an Adw.Banner for this, but Gtk.InfoBar is what’s used in the rest of Fragments at the moment, and the libadwaita dependency is not high enough, so use a Gtk.InfoBar for now.

Signed-off-by: Philip Withnall pwithnall@endlessos.org

Merge request reports