[gnome-control-center/gnome-3-8] network: Fix typo in NetworkManager version checking
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/gnome-3-8] network: Fix typo in NetworkManager version checking
- Date: Thu, 7 Aug 2014 11:06:53 +0000 (UTC)
commit cd2db84aa8939a8e46fdf0a68e09175ddbf82e92
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 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 */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]