From cd2db84aa8939a8e46fdf0a68e09175ddbf82e92 Mon Sep 17 00:00:00 2001 From: Felix Zhang Date: Thu, 17 Jul 2014 18:56:28 +0800 Subject: [PATCH] network: Fix typo in NetworkManager version checking The code is meant to work with NetworkManager of version 0.9.0+ or 0.8.992+ https://bugzilla.gnome.org/show_bug.cgi?id=733309 --- panels/network/cc-network-panel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panels/network/cc-network-panel.c b/panels/network/cc-network-panel.c index 3c17897..0352195 100644 --- a/panels/network/cc-network-panel.c +++ b/panels/network/cc-network-panel.c @@ -1264,7 +1264,7 @@ panel_check_network_manager_version (CcNetworkPanel *panel) } /* is it too new or old */ - if (major > 0 || major > 9 || (minor <= 8 && micro < 992)) { + if (major > 0 || minor > 9 || (minor <= 8 && micro < 992)) { ret = FALSE; /* do modal dialog in idle so we don't block startup */ -- 2.1.0