fixe default value to a variable.

This commit is contained in:
Yann Leboulanger 2006-11-02 21:13:36 +00:00
parent 3acfe5f359
commit 77df1f0986
1 changed files with 1 additions and 0 deletions

View File

@ -3908,6 +3908,7 @@ _('If "%s" accepts this request you will know his or her status.') % jid)
def show_title(self):
change_title_allowed = gajim.config.get('change_roster_title')
nb_unread = 0
if change_title_allowed:
start = ''
nb_unread = gajim.events.get_nb_events(['chat', 'normal',