Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorDan Winship <dwinship@redhat.com>2007-07-26 17:27:26 (GMT)
committer Dan Winship <dwinship@redhat.com>2007-07-26 17:27:26 (GMT)
commit1e5cc3f3475b3c800d2cc4fb83dbbd35c491bd83 (patch)
tree3d1e2efa7d23c35ee450cad834afe3adb111083b /shell
parentec1af196c64e75c5170f32e9f95e1e3dbd51b503 (diff)
x86_64 fix: don't use sys.maxint (which is really maxlong) for int gproperties
Diffstat (limited to 'shell')
-rw-r--r--shell/model/accesspointmodel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/model/accesspointmodel.py b/shell/model/accesspointmodel.py
index f9e1502..1d4d6cb 100644
--- a/shell/model/accesspointmodel.py
+++ b/shell/model/accesspointmodel.py
@@ -37,7 +37,7 @@ class AccessPointModel(gobject.GObject):
gobject.PARAM_READABLE),
'state' : (int, None, None, STATE_CONNECTING,
STATE_NOTCONNECTED, 0, gobject.PARAM_READABLE),
- 'capabilities' : (int, None, None, 0, sys.maxint, 0,
+ 'capabilities' : (int, None, None, 0, 0x7FFFFFFF, 0,
gobject.PARAM_READABLE),
'mode' : (int, None, None, 0, 6, 0, gobject.PARAM_READABLE)
}