prevent renaming of General group. Fixes #1780

This commit is contained in:
Yann Leboulanger 2006-03-30 21:37:45 +00:00
parent ba7ef979b7
commit 42fcc71bc0
1 changed files with 1 additions and 1 deletions

View File

@ -1106,7 +1106,7 @@ class RosterWindow:
name = contact.name
model[iter][C_NAME] = gtkgui_helpers.escape_for_pango_markup(name)
elif row_type == 'group':
if jid in helpers.special_groups:
if jid in helpers.special_groups + (_('General'),):
return
model[iter][C_EDITABLE] = True # set 'editable' to True