* [patch] help fixes
@ 2002-12-04 12:59 Martin M. Hunt
0 siblings, 0 replies; only message in thread
From: Martin M. Hunt @ 2002-12-04 12:59 UTC (permalink / raw)
To: insight
[-- Attachment #1: Type: text/plain, Size: 162 bytes --]
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.
[-- Attachment #2: p --]
[-- Type: text/x-patch, Size: 1826 bytes --]
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}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-12-04 20:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-04 12:59 [patch] help fixes Martin M. Hunt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).