higing some menuitem strings
This commit is contained in:
parent
5ebc240eeb
commit
e5d0ea8b87
|
@ -436,56 +436,56 @@ class Groupchat_window(chat.Chat):
|
||||||
jid = model.get_value(iter, 2)
|
jid = model.get_value(iter, 2)
|
||||||
|
|
||||||
menu = gtk.Menu()
|
menu = gtk.Menu()
|
||||||
item = gtk.MenuItem(_('Privileges'))
|
item = gtk.MenuItem(_('_Privileges'))
|
||||||
menu.append(item)
|
menu.append(item)
|
||||||
|
|
||||||
sub_menu = gtk.Menu()
|
sub_menu = gtk.Menu()
|
||||||
item.set_submenu(sub_menu)
|
item.set_submenu(sub_menu)
|
||||||
item = gtk.MenuItem(_('Kick'))
|
item = gtk.MenuItem(_('_Kick'))
|
||||||
sub_menu.append(item)
|
sub_menu.append(item)
|
||||||
item.connect('activate', self.kick, room_jid, nick)
|
item.connect('activate', self.kick, room_jid, nick)
|
||||||
item = gtk.MenuItem(_('Grant voice'))
|
item = gtk.MenuItem(_('_Grant Voice'))
|
||||||
sub_menu.append(item)
|
sub_menu.append(item)
|
||||||
item.connect('activate', self.grant_voice, room_jid, nick)
|
item.connect('activate', self.grant_voice, room_jid, nick)
|
||||||
item = gtk.MenuItem(_('Revoke voice'))
|
item = gtk.MenuItem(_('_Revoke Voice'))
|
||||||
sub_menu.append(item)
|
sub_menu.append(item)
|
||||||
item.connect('activate', self.revoke_voice, room_jid, nick)
|
item.connect('activate', self.revoke_voice, room_jid, nick)
|
||||||
item = gtk.MenuItem(_('Grant moderator'))
|
item = gtk.MenuItem(_('_Grant Moderator'))
|
||||||
sub_menu.append(item)
|
sub_menu.append(item)
|
||||||
item.connect('activate', self.grant_moderator, room_jid, nick)
|
item.connect('activate', self.grant_moderator, room_jid, nick)
|
||||||
item = gtk.MenuItem(_('Revoke moderator'))
|
item = gtk.MenuItem(_('_Revoke Moderator'))
|
||||||
sub_menu.append(item)
|
sub_menu.append(item)
|
||||||
item.connect('activate', self.revoke_moderator, room_jid, nick)
|
item.connect('activate', self.revoke_moderator, room_jid, nick)
|
||||||
if jid:
|
if jid:
|
||||||
item = gtk.MenuItem()
|
item = gtk.MenuItem()
|
||||||
sub_menu.append(item)
|
sub_menu.append(item)
|
||||||
|
|
||||||
item = gtk.MenuItem(_('Ban'))
|
item = gtk.MenuItem(_('_Ban'))
|
||||||
sub_menu.append(item)
|
sub_menu.append(item)
|
||||||
item.connect('activate', self.ban, room_jid, jid)
|
item.connect('activate', self.ban, room_jid, jid)
|
||||||
item = gtk.MenuItem(_('Grant membership'))
|
item = gtk.MenuItem(_('_Grant Mem_bership'))
|
||||||
sub_menu.append(item)
|
sub_menu.append(item)
|
||||||
item.connect('activate', self.grant_membership, room_jid, jid)
|
item.connect('activate', self.grant_membership, room_jid, jid)
|
||||||
item = gtk.MenuItem(_('Revoke membership'))
|
item = gtk.MenuItem(_('_Revoke Membership'))
|
||||||
sub_menu.append(item)
|
sub_menu.append(item)
|
||||||
item.connect('activate', self.revoke_membership, room_jid, jid)
|
item.connect('activate', self.revoke_membership, room_jid, jid)
|
||||||
item = gtk.MenuItem(_('Grant admin'))
|
item = gtk.MenuItem(_('_Grant Admin'))
|
||||||
sub_menu.append(item)
|
sub_menu.append(item)
|
||||||
item.connect('activate', self.grant_admin, room_jid, jid)
|
item.connect('activate', self.grant_admin, room_jid, jid)
|
||||||
item = gtk.MenuItem(_('Revoke admin'))
|
item = gtk.MenuItem(_('_Revoke Admin'))
|
||||||
sub_menu.append(item)
|
sub_menu.append(item)
|
||||||
item.connect('activate', self.revoke_admin, room_jid, jid)
|
item.connect('activate', self.revoke_admin, room_jid, jid)
|
||||||
item = gtk.MenuItem(_('Grant owner'))
|
item = gtk.MenuItem(_('_Grant Owner'))
|
||||||
sub_menu.append(item)
|
sub_menu.append(item)
|
||||||
item.connect('activate', self.grant_owner, room_jid, jid)
|
item.connect('activate', self.grant_owner, room_jid, jid)
|
||||||
item = gtk.MenuItem(_('Revoke owner'))
|
item = gtk.MenuItem(_('_Revoke Owner'))
|
||||||
sub_menu.append(item)
|
sub_menu.append(item)
|
||||||
item.connect('activate', self.revoke_owner, room_jid, jid)
|
item.connect('activate', self.revoke_owner, room_jid, jid)
|
||||||
|
|
||||||
item = gtk.MenuItem()
|
item = gtk.MenuItem()
|
||||||
menu.append(item)
|
menu.append(item)
|
||||||
|
|
||||||
item = gtk.MenuItem(_('Information'))
|
item = gtk.MenuItem(_('_Information'))
|
||||||
menu.append(item)
|
menu.append(item)
|
||||||
item.connect('activate', self.on_info, jid)
|
item.connect('activate', self.on_info, jid)
|
||||||
|
|
||||||
|
@ -516,9 +516,9 @@ class Groupchat_window(chat.Chat):
|
||||||
self.nicks[room_jid] = nick
|
self.nicks[room_jid] = nick
|
||||||
self.subjects[room_jid] = ''
|
self.subjects[room_jid] = ''
|
||||||
self.list_treeview[room_jid] = self.xmls[room_jid].get_widget(
|
self.list_treeview[room_jid] = self.xmls[room_jid].get_widget(
|
||||||
'list_treeview')
|
'list_treeview')
|
||||||
conversation_textview = self.xmls[room_jid].get_widget(
|
conversation_textview = self.xmls[room_jid].get_widget(
|
||||||
'conversation_textview')
|
'conversation_textview')
|
||||||
|
|
||||||
#status_image, nickname, real_jid, status
|
#status_image, nickname, real_jid, status
|
||||||
store = gtk.TreeStore(gtk.Image, str, str, str)
|
store = gtk.TreeStore(gtk.Image, str, str, str)
|
||||||
|
|
Loading…
Reference in New Issue