don't show popup menu for group that can't be renamed
This commit is contained in:
parent
42fcc71bc0
commit
fe98c5fc55
|
@ -1309,6 +1309,9 @@ class RosterWindow:
|
||||||
'''Make group's popup menu'''
|
'''Make group's popup menu'''
|
||||||
model = self.tree.get_model()
|
model = self.tree.get_model()
|
||||||
path = model.get_path(iter)
|
path = model.get_path(iter)
|
||||||
|
group = model[iter][C_JID]
|
||||||
|
if group in helpers.special_groups + (_('General'),):
|
||||||
|
return
|
||||||
|
|
||||||
menu = gtk.Menu()
|
menu = gtk.Menu()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue