s/BuddyPopup/FriendPopup

This commit is contained in:
Marco Pesenti Gritti 2006-09-14 15:21:36 +02:00
parent 2a6d2139ad
commit c36089522b
3 changed files with 4 additions and 3 deletions

View File

@ -5,7 +5,7 @@ from sugar.canvas.CanvasView import CanvasView
from sugar.canvas.CanvasBox import CanvasBox
from sugar.canvas.IconItem import IconItem
class BuddyPopup(gtk.Window):
class FriendPopup(gtk.Window):
def __init__(self, shell, grid, friend):
gtk.Window.__init__(self, gtk.WINDOW_POPUP)

View File

@ -14,6 +14,7 @@ sugar_PYTHON = \
ChatController.py \
ConsoleWindow.py \
FirstTimeDialog.py \
FriendPopup.py \
Friends.py \
Invites.py \
Owner.py \

View File

@ -5,7 +5,7 @@ import goocanvas
from sugar.canvas.IconItem import IconItem
from home.IconLayout import IconLayout
from home.MyIcon import MyIcon
from BuddyPopup import BuddyPopup
from FriendPopup import FriendPopup
from sugar.canvas.Grid import Grid
class FriendIcon(IconItem):
@ -27,7 +27,7 @@ class FriendIcon(IconItem):
grid = Grid()
if not self._popup:
self._popup = BuddyPopup(self._shell, grid, icon.get_friend())
self._popup = FriendPopup(self._shell, grid, icon.get_friend())
[grid_x1, grid_y1] = grid.convert_from_screen(x1, y1)
[grid_x2, grid_y2] = grid.convert_from_screen(x2, y2)