public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Fix for session numbering
@ 2001-01-09  3:51 Fernando Nasser
  0 siblings, 0 replies; only message in thread
From: Fernando Nasser @ 2001-01-09  3:51 UTC (permalink / raw)
  To: Insight List

This will make your sessions have different numbers (in the File menu).

	* srcmenubar.itcl (create_file_menu): Add missing incr for session
	numbers.


Index: library/srcmenubar.itcl
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/srcmenubar.itcl,v
retrieving revision 1.2
diff -c -p -r1.2 srcmenubar.itcl
*** srcmenubar.itcl	2001/01/04 17:22:22	1.2
--- srcmenubar.itcl	2001/01/09 11:47:02
*************** class SrcMenuBar {
*** 126,131 ****
--- 126,132 ----
  	menubar_add_menu_command Other "$i $item" \
  	  [list session_load $item] \
  	  -underline 0
+ 	incr i
        }
      }
  

-- 
Fernando Nasser
Red Hat Canada Ltd.                     E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-01-09  3:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-09  3:51 Fix for session numbering Fernando Nasser

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).