higing some menuitem strings

This commit is contained in:
Nikos Kouremenos 2005-05-13 17:58:54 +00:00
parent 5ebc240eeb
commit e5d0ea8b87
1 changed files with 16 additions and 16 deletions

View File

@ -436,56 +436,56 @@ class Groupchat_window(chat.Chat):
jid = model.get_value(iter, 2)
menu = gtk.Menu()
item = gtk.MenuItem(_('Privileges'))
item = gtk.MenuItem(_('_Privileges'))
menu.append(item)
sub_menu = gtk.Menu()
item.set_submenu(sub_menu)
item = gtk.MenuItem(_('Kick'))
item = gtk.MenuItem(_('_Kick'))
sub_menu.append(item)
item.connect('activate', self.kick, room_jid, nick)
item = gtk.MenuItem(_('Grant voice'))
item = gtk.MenuItem(_('_Grant Voice'))
sub_menu.append(item)
item.connect('activate', self.grant_voice, room_jid, nick)
item = gtk.MenuItem(_('Revoke voice'))
item = gtk.MenuItem(_('_Revoke Voice'))
sub_menu.append(item)
item.connect('activate', self.revoke_voice, room_jid, nick)
item = gtk.MenuItem(_('Grant moderator'))
item = gtk.MenuItem(_('_Grant Moderator'))
sub_menu.append(item)
item.connect('activate', self.grant_moderator, room_jid, nick)
item = gtk.MenuItem(_('Revoke moderator'))
item = gtk.MenuItem(_('_Revoke Moderator'))
sub_menu.append(item)
item.connect('activate', self.revoke_moderator, room_jid, nick)
if jid:
item = gtk.MenuItem()
sub_menu.append(item)
item = gtk.MenuItem(_('Ban'))
item = gtk.MenuItem(_('_Ban'))
sub_menu.append(item)
item.connect('activate', self.ban, room_jid, jid)
item = gtk.MenuItem(_('Grant membership'))
item = gtk.MenuItem(_('_Grant Mem_bership'))
sub_menu.append(item)
item.connect('activate', self.grant_membership, room_jid, jid)
item = gtk.MenuItem(_('Revoke membership'))
item = gtk.MenuItem(_('_Revoke Membership'))
sub_menu.append(item)
item.connect('activate', self.revoke_membership, room_jid, jid)
item = gtk.MenuItem(_('Grant admin'))
item = gtk.MenuItem(_('_Grant Admin'))
sub_menu.append(item)
item.connect('activate', self.grant_admin, room_jid, jid)
item = gtk.MenuItem(_('Revoke admin'))
item = gtk.MenuItem(_('_Revoke Admin'))
sub_menu.append(item)
item.connect('activate', self.revoke_admin, room_jid, jid)
item = gtk.MenuItem(_('Grant owner'))
item = gtk.MenuItem(_('_Grant Owner'))
sub_menu.append(item)
item.connect('activate', self.grant_owner, room_jid, jid)
item = gtk.MenuItem(_('Revoke owner'))
item = gtk.MenuItem(_('_Revoke Owner'))
sub_menu.append(item)
item.connect('activate', self.revoke_owner, room_jid, jid)
item = gtk.MenuItem()
menu.append(item)
item = gtk.MenuItem(_('Information'))
item = gtk.MenuItem(_('_Information'))
menu.append(item)
item.connect('activate', self.on_info, jid)