Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/model/BuddyModel.py
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2007-07-01 09:25:35 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2007-07-01 09:25:35 (GMT)
commit84c94ecabeb21541d7ef888e1b480c3b6fa72130 (patch)
tree88d200d3676352481b8a84d154ed0afac1e4e7ec /shell/model/BuddyModel.py
parent3ca87cd46deeb901dec638954392d441c0c99415 (diff)
Restrict palette positioning to screen height/width - 1 grid cell.
Diffstat (limited to 'shell/model/BuddyModel.py')
-rw-r--r--shell/model/BuddyModel.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/model/BuddyModel.py b/shell/model/BuddyModel.py
index ca58531..6c134e3 100644
--- a/shell/model/BuddyModel.py
+++ b/shell/model/BuddyModel.py
@@ -13,6 +13,7 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+import logging
from sugar.presence import presenceservice
from sugar.graphics.xocolor import XoColor
@@ -49,6 +50,7 @@ class BuddyModel(gobject.GObject):
self._pservice = presenceservice.get_instance()
self._buddy = None
+ self._nick = None
# If given just a key, try to get the buddy from the PS first
if not buddy: