yet another string that was commited and didn't obey to HIG nor was marked for translation

This commit is contained in:
Nikos Kouremenos 2005-06-23 21:20:26 +00:00
parent 7e6878e2f3
commit b2d83f092f
1 changed files with 4 additions and 4 deletions

View File

@ -202,8 +202,8 @@ class Chat:
if len(self.xmls) > 1: # if there is more than one tab if len(self.xmls) > 1: # if there is more than one tab
for jid in self.xmls: for jid in self.xmls:
if jid != self.get_active_jid(): if jid != self.get_active_jid():
# FIXME: add icons representing contact's status? # FIXME: do me via glade
item = gtk.MenuItem('switch to %s' % self.names[jid]) item = gtk.MenuItem(_('Switch to %s') % self.names[jid])
item.connect('activate', lambda obj,jid:self.set_active_tab( item.connect('activate', lambda obj,jid:self.set_active_tab(
jid), jid) jid), jid)
menu.append(item) menu.append(item)
@ -213,8 +213,8 @@ class Chat:
# menuitems specific to type of chat # menuitems specific to type of chat
self.populate_popup_menu(menu) self.populate_popup_menu(menu)
item = gtk.CheckMenuItem(_('_Compact View'))# + ' Alt+C') item = gtk.CheckMenuItem(_('_Compact View'))
#FIXME: The accelerator is not used, it's just to show the Alt+c #FIXME: The accelerator is not used, do me via glade
ag = gtk.AccelGroup() ag = gtk.AccelGroup()
item.add_accelerator('activate', ag, ord('c'), gtk.gdk.MOD1_MASK, gtk.ACCEL_VISIBLE) item.add_accelerator('activate', ag, ord('c'), gtk.gdk.MOD1_MASK, gtk.ACCEL_VISIBLE)
item.set_active(self.get_compact_view()) item.set_active(self.get_compact_view())