From 42fcc71bc065b44c2ad863095928b44d209736d3 Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Thu, 30 Mar 2006 21:37:45 +0000
Subject: [PATCH]  prevent renaming of General group. Fixes #1780

---
 src/roster_window.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/roster_window.py b/src/roster_window.py
index 92a4ae1fc9..290ceed101 100644
--- a/src/roster_window.py
+++ b/src/roster_window.py
@@ -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
-- 
GitLab