From 090b582ad715775847a7405545a57f241e946ada Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 1 Jan 2013 02:21:01 +0000 Subject: hard-code the insertion point for Search in case the translations cause freakouts, like with https://sourceforge.net/tracker/?func=detail&atid=478070&aid=3599056&group_id=55736 svn path=/trunk/scripts/guiplugins/search-plugin/; revision=16800 --- search-plugin.tcl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/search-plugin.tcl b/search-plugin.tcl index 98ffbf2..c366296 100644 --- a/search-plugin.tcl +++ b/search-plugin.tcl @@ -1096,7 +1096,9 @@ proc ::dialog_helpbrowser2::get_info {xpos ypos mytoplevel} { # create the menu item on load set mymenu .menubar.help - set inserthere [$mymenu index [_ "Report a bug"]] + # this can be buggy with translated text + #set inserthere [$mymenu index [_ "Report a bug"]] + set inserthere 4 $mymenu insert $inserthere separator $mymenu insert $inserthere command -label [_ "Search"] \ -command {::dialog_helpbrowser2::open_helpbrowser .helpbrowser2} -- cgit v1.2.1