aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2020-05-31 16:40:36 +0200
committerPapoteur <papoteur@mageia.org>2020-05-31 16:41:09 +0200
commitee285b1324091261d2642e42ad9294ec9bedf765 (patch)
treec23ec3fda9b8f75d8380a68127ebf116bcaab1af /src
parent0e866b3ea99621cd5d58ca3bf04be897ae1e53b7 (diff)
downloadnet_monitor-ee285b1324091261d2642e42ad9294ec9bedf765.tar
net_monitor-ee285b1324091261d2642e42ad9294ec9bedf765.tar.gz
net_monitor-ee285b1324091261d2642e42ad9294ec9bedf765.tar.bz2
net_monitor-ee285b1324091261d2642e42ad9294ec9bedf765.tar.xz
net_monitor-ee285b1324091261d2642e42ad9294ec9bedf765.zip
Check the button according to the displayed graph in statistics
Diffstat (limited to 'src')
-rwxr-xr-xsrc/net_monitor1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net_monitor b/src/net_monitor
index 3076c64..adb5410 100755
--- a/src/net_monitor
+++ b/src/net_monitor
@@ -547,6 +547,7 @@ class MonitorGui:
button.connect('toggled', self.update_stat_iface, (iface, graph_vnstat, "top"))
vbox.pack_start(button, False, False, 0)
button.join_group(first_button)
+ button.set_active(True)
else:
label = Gtk.Label(label=_("Network accounting was not enabled on interface %s.\nPlease enable network accounting on the interface in order to view traffic statistics and restart your network connection to start collecting traffic statistics.") % iface)
stats_vbox.add(label)