summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Hunt <hunt@redhat.com>2002-12-04 20:58:05 +0000
committerMartin Hunt <hunt@redhat.com>2002-12-04 20:58:05 +0000
commita5317fe4ad2e1a3036cf276934476467796be49e (patch)
treede8a6a4463f1c6d5efd6f63ae8dc5dcfa626d348
parenta235eabcca4176185ddf9ebed7caadc08642ac66 (diff)
downloadgdb-a5317fe4ad2e1a3036cf276934476467796be49e.tar.gz
2002-12-04 Martin M. Hunt <hunt@redhat.com>
* library/helpviewer.tcl (open_help): Fix KDE apps list. * library/debugwin.itb (build_win): Fix help call.
-rw-r--r--gdb/gdbtk/library/debugwin.itb3
-rw-r--r--gdb/gdbtk/library/helpviewer.tcl3
2 files changed, 2 insertions, 4 deletions
diff --git a/gdb/gdbtk/library/debugwin.itb b/gdb/gdbtk/library/debugwin.itb
index b1ae72f9bf1..baeadab300e 100644
--- a/gdb/gdbtk/library/debugwin.itb
+++ b/gdb/gdbtk/library/debugwin.itb
@@ -103,8 +103,7 @@ itcl::body DebugWin::build_win {} {
$menu add cascade -menu $menu.help -label "Help" -underline 0
set m [menu $menu.help]
$m add command -label "Debugging Functions" -underline 0 \
- -command {ManagedWin::open HtmlViewer -force -file debug.html \
- -topics {{{"Debug Functions" debug.html}}}}
+ -command {open_help debug.html}
$top configure -menu $menu
diff --git a/gdb/gdbtk/library/helpviewer.tcl b/gdb/gdbtk/library/helpviewer.tcl
index 0ef45b2ca07..c7237255200 100644
--- a/gdb/gdbtk/library/helpviewer.tcl
+++ b/gdb/gdbtk/library/helpviewer.tcl
@@ -36,8 +36,7 @@ proc open_help {hfile} {
# set list of viewer apps to try
switch [pref get gdb/compat] {
"KDE" {
- # set apps {htmlview khelpcenter mozilla}
- set apps {xhtmlview xkhelpcenter xmozilla}
+ set apps {htmlview khelpcenter mozilla}
}
"GNOME" {
set apps {htmlview mozilla gnome-help khelpcenter}