From d10216f66824c7adcaa864ed835de4acdabcf6c9 Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Mon, 7 Jan 2013 01:14:44 +0400 Subject: [PATCH] fix actions for selected text submenu --- src/conversation_textview.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/conversation_textview.py b/src/conversation_textview.py index ffef36e7b..26a278468 100644 --- a/src/conversation_textview.py +++ b/src/conversation_textview.py @@ -765,12 +765,12 @@ class ConversationTextview(GObject.GObject): else: link = 'http://%s.wikipedia.org/wiki/Special:Search?search=%s'\ % (gajim.LANG, phrase_for_url) - item = Gtk.MenuItem(_('Read _Wikipedia Article')) + item = Gtk.MenuItem(_('Read Wikipedia Article')) id_ = item.connect('activate', self.visit_url_from_menuitem, link) self.handlers[id_] = item submenu.append(item) - item = Gtk.MenuItem(_('Look it up in _Dictionary')) + item = Gtk.MenuItem(_('Look it up in Dictionary')) dict_link = gajim.config.get('dictionary_url') if dict_link == 'WIKTIONARY': # special link (yeah undocumented but default) @@ -803,13 +803,13 @@ class ConversationTextview(GObject.GObject): item = Gtk.MenuItem(_('Web Search URL is missing an "%s"')) item.set_property('sensitive', False) else: - item = Gtk.MenuItem(_('Web _Search for it')) + item = Gtk.MenuItem(_('Web Search for it')) link = search_link % phrase_for_url id_ = item.connect('activate', self.visit_url_from_menuitem, link) self.handlers[id_] = item submenu.append(item) - item = Gtk.MenuItem(_('Open as _Link')) + item = Gtk.MenuItem(_('Open as Link')) id_ = item.connect('activate', self.visit_url_from_menuitem, link) self.handlers[id_] = item submenu.append(item)