aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2013-01-01 02:21:01 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2013-01-01 02:21:01 +0000
commit090b582ad715775847a7405545a57f241e946ada (patch)
tree005b135ae5e995bfb2946d3f350763ce2c6a314e
parent68584efbd7ed70740a44aab86cc0edfe73f794c1 (diff)
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
-rw-r--r--search-plugin.tcl4
1 files changed, 3 insertions, 1 deletions
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}