This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
[patch] help fixes
- From: "Martin M. Hunt" <hunt at redhat dot com>
- To: "insight at sources dot redhat dot com" <insight at sources dot redhat dot com>
- Date: 04 Dec 2002 13:00:39 -0800
- Subject: [patch] help fixes
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.
Index: debugwin.itb
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/debugwin.itb,v
retrieving revision 1.10
diff -p -r1.10 debugwin.itb
*** debugwin.itb 6 Nov 2002 21:59:24 -0000 1.10
--- debugwin.itb 4 Dec 2002 20:56:20 -0000
*************** itcl::body DebugWin::build_win {} {
*** 103,110 ****
$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}}}}
$top configure -menu $menu
--- 103,109 ----
$menu add cascade -menu $menu.help -label "Help" -underline 0
set m [menu $menu.help]
$m add command -label "Debugging Functions" -underline 0 \
! -command {open_help debug.html}
$top configure -menu $menu
Index: helpviewer.tcl
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/helpviewer.tcl,v
retrieving revision 1.1
diff -p -r1.1 helpviewer.tcl
*** helpviewer.tcl 11 Nov 2002 22:29:24 -0000 1.1
--- helpviewer.tcl 4 Dec 2002 20:56:20 -0000
*************** proc open_help {hfile} {
*** 36,43 ****
# set list of viewer apps to try
switch [pref get gdb/compat] {
"KDE" {
! # set apps {htmlview khelpcenter mozilla}
! set apps {xhtmlview xkhelpcenter xmozilla}
}
"GNOME" {
set apps {htmlview mozilla gnome-help khelpcenter}
--- 36,42 ----
# set list of viewer apps to try
switch [pref get gdb/compat] {
"KDE" {
! set apps {htmlview khelpcenter mozilla}
}
"GNOME" {
set apps {htmlview mozilla gnome-help khelpcenter}