src/gdb/gdbtk ChangeLog library/srcpref.itb li ...

hunt@sourceware.cygnus.com hunt@sourceware.cygnus.com
Thu Oct 18 10:57:00 GMT 2001


CVSROOT:	/cvs/src
Module name:	src
Changes by:	hunt@sources.redhat.com	2001-10-18 10:57:50

Modified files:
	gdb/gdbtk      : ChangeLog 
	gdb/gdbtk/library: srcpref.itb srcpref.ith 

Log message:
	2001-10-18  Martin M. Hunt  <hunt@redhat.com>
	
	* library/srcpref.itb (SrcPref::contructor): Move array
	initialization to _init_var.
	(SrcPref::_init_var): New method to initialize _saved and
	_new arrays.
	(SrcPref::buildwin): Rename to _buildwin. Have widgets use
	_new instead of [pref varname ...].  Set initial value of
	tab size spinint.
	(SrcPref::_apply): Set prefs with values from the _new array.
	(SrcPref::_cancel): Reset disassembly flavor and don't call
	_save because nothing is saved unless OK is selected.
	(SrcPref::set_flavor): Rename to _set_flavor.
	(SrcPref::_pick): Just set _new, not prefs.
	
	* library/srcpref.ith: Add private variable _new and
	private method cancel. Rename others with leading underscore.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/gdbtk/ChangeLog.diff?cvsroot=src&r1=1.149&r2=1.150
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/gdbtk/library/srcpref.itb.diff?cvsroot=src&r1=1.3&r2=1.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/gdbtk/library/srcpref.ith.diff?cvsroot=src&r1=1.1.1.1&r2=1.2



More information about the Gdb-cvs mailing list