[pkg-fso-commits] [SCM] freesmartphone.org demo GUI branch, master, updated. milestone4-28-g19ac3e4
Michael 'Mickey' Lauer
mickey at vanille-media.de
Mon Feb 2 18:44:24 UTC 2009
The following commit has been merged in the master branch:
commit 635dcb2c8acf16665e301125fa531a7fb3d1604e
Author: Michael 'Mickey' Lauer <mickey at vanille-media.de>
Date: Wed Jan 21 11:42:24 2009 +0100
serving cell + up to 6 neighbour cells = 7 cells :D
diff --git a/src/zhone b/src/zhone
index 7d64204..6ac5fa1 100755
--- a/src/zhone
+++ b/src/zhone
@@ -922,7 +922,7 @@ class pyphone_contacts(edje_group):
class pyphone_wireless( edje_group ):
#----------------------------------------------------------------------------#
class NeighbourGraph( evas.ClippedSmartObject ):
- MAXCELLS = 6
+ MAXCELLS = 7
MAXRXLEV = 100
def __init__( self, *args, **kargs ):
evas.ClippedSmartObject.__init__( self, *args, **kargs )
@@ -969,7 +969,8 @@ class pyphone_wireless( edje_group ):
self.ctx.rectangle(0.0, 0.0, 1.0, 1.0)
self.ctx.fill()
rows = []
- if self.cells:
+ if self.cells is not None:
+ logger.debug( "updating %d cells", len(self.cells) )
for cell in self.cells:
signal = cell["rxlev"]
text = []
--
freesmartphone.org demo GUI
More information about the pkg-fso-commits
mailing list