Spelling language submenu more close from spell hints one

This commit is contained in:
Jean-Marie Traissard 2006-09-30 00:18:58 +00:00
parent 724bcc827d
commit 30f31c522e
1 changed files with 5 additions and 5 deletions

View File

@ -228,6 +228,11 @@ class ChatControlBase(MessageControl):
item = gtk.SeparatorMenuItem()
menu.prepend(item)
item = gtk.ImageMenuItem(gtk.STOCK_CLEAR)
menu.prepend(item)
id = item.connect('activate', self.msg_textview.clear)
self.handlers[id] = item
if gajim.config.get('use_speller') and HAS_GTK_SPELL:
item = gtk.MenuItem(_('Spelling language'))
menu.prepend(item)
@ -241,11 +246,6 @@ class ChatControlBase(MessageControl):
id = item.connect('activate', _on_select_dictionary, langs[lang])
self.handlers[id] = item
item = gtk.ImageMenuItem(gtk.STOCK_CLEAR)
menu.prepend(item)
id = item.connect('activate', self.msg_textview.clear)
self.handlers[id] = item
menu.show_all()
# moved from ChatControl