Spelling language submenu more close from spell hints one
This commit is contained in:
parent
724bcc827d
commit
30f31c522e
|
@ -228,6 +228,11 @@ class ChatControlBase(MessageControl):
|
||||||
item = gtk.SeparatorMenuItem()
|
item = gtk.SeparatorMenuItem()
|
||||||
menu.prepend(item)
|
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:
|
if gajim.config.get('use_speller') and HAS_GTK_SPELL:
|
||||||
item = gtk.MenuItem(_('Spelling language'))
|
item = gtk.MenuItem(_('Spelling language'))
|
||||||
menu.prepend(item)
|
menu.prepend(item)
|
||||||
|
@ -241,11 +246,6 @@ class ChatControlBase(MessageControl):
|
||||||
id = item.connect('activate', _on_select_dictionary, langs[lang])
|
id = item.connect('activate', _on_select_dictionary, langs[lang])
|
||||||
self.handlers[id] = item
|
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()
|
menu.show_all()
|
||||||
|
|
||||||
# moved from ChatControl
|
# moved from ChatControl
|
||||||
|
|
Loading…
Reference in New Issue