Use nick name consistently in the profile
This commit is contained in:
@@ -46,7 +46,7 @@ class ShellOwner(gobject.GObject):
|
||||
def __init__(self):
|
||||
gobject.GObject.__init__(self)
|
||||
|
||||
self._nick = profile.get_name()
|
||||
self._nick = profile.get_nick_name()
|
||||
|
||||
self._icon = None
|
||||
self._icon_hash = ""
|
||||
|
||||
@@ -41,7 +41,7 @@ class FriendsBox(hippo.CanvasBox):
|
||||
self._owner_icon = CanvasIcon(icon_name='computer-xo', cache=True,
|
||||
xo_color=profile.get_color())
|
||||
self._owner_icon.props.size = style.LARGE_ICON_SIZE
|
||||
palette = Palette(profile.get_name())
|
||||
palette = Palette(profile.get_nick_name())
|
||||
self._owner_icon.set_palette(palette)
|
||||
self._layout.add_center(self._owner_icon)
|
||||
|
||||
|
||||
@@ -149,7 +149,7 @@ class HomeMyIcon(MyIcon):
|
||||
self._shell = shell
|
||||
|
||||
def enable_palette(self):
|
||||
palette = Palette(profile.get_name())
|
||||
palette = Palette(profile.get_nick_name())
|
||||
|
||||
reboot_menu_item = gtk.MenuItem(_('Reboot'))
|
||||
reboot_menu_item.connect('activate', self._reboot_activate_cb)
|
||||
|
||||
Reference in New Issue
Block a user