make sure the icon is shown and close to account if window is small

This commit is contained in:
Nikos Kouremenos 2005-06-29 15:10:10 +00:00
parent 52b0740834
commit 98c8af1d16
1 changed files with 2 additions and 3 deletions

View File

@ -1675,6 +1675,7 @@ _('If "%s" accepts this request you will know his status.') %jid).get_response()
renderer.set_property('font',
gajim.config.get_per('themes', theme, 'accountfont'))
renderer.set_property('xpad', 0)
renderer.set_property('width', 3)
elif model.get_value(iter, 2) == 'group':
renderer.set_property('foreground',
gajim.config.get_per('themes', theme, 'grouptextcolor'))
@ -1705,11 +1706,9 @@ _('If "%s" accepts this request you will know his status.') %jid).get_response()
if model.get_value(iter, 2) == 'account':
renderer.set_property('cell-background',
gajim.config.get_per('themes', theme, 'accountbgcolor'))
renderer.set_property('xalign', 0)
elif model.get_value(iter, 2) == 'group':
renderer.set_property('cell-background',
gajim.config.get_per('themes', theme, 'groupbgcolor'))
#renderer.set_property('xalign', 0.5)
else:
jid = model.get_value(iter, 3)
account = model.get_value(iter, 4)
@ -1720,8 +1719,8 @@ _('If "%s" accepts this request you will know his status.') %jid).get_response()
else:
renderer.set_property('cell-background',
gajim.config.get_per('themes', theme, 'contactbgcolor'))
renderer.set_property('xalign', 0)
#renderer.set_property('width', 20)
#renderer.set_property('xalign', 0)
def get_show(self, luser):
prio = luser[0].priority