Skip to content
Snippets Groups Projects
Commit fe98c5fc authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

don't show popup menu for group that can't be renamed

parent 42fcc71b
No related branches found
No related tags found
No related merge requests found
......@@ -1309,6 +1309,9 @@ class RosterWindow:
'''Make group's popup menu'''
model = self.tree.get_model()
path = model.get_path(iter)
group = model[iter][C_JID]
if group in helpers.special_groups + (_('General'),):
return
menu = gtk.Menu()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment