[gnome-control-center/gnome-3-10] network: Fix typo in NetworkManager version checking



commit 967c65dc492baa331286aece3e5bbab32f5bb558
Author: Felix Zhang <fezhang suse com>
Date:   Thu Jul 17 18:56:28 2014 +0800

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/network/cc-network-panel.c b/panels/network/cc-network-panel.c
index 4fa3706..232f207 100644
--- a/panels/network/cc-network-panel.c
+++ b/panels/network/cc-network-panel.c
@@ -1280,7 +1280,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 */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]