OSDN Git Service

2001-10-18 Martin M. Hunt <hunt@redhat.com>
authorhunt <hunt>
Thu, 18 Oct 2001 17:57:48 +0000 (17:57 +0000)
committerhunt <hunt>
Thu, 18 Oct 2001 17:57:48 +0000 (17:57 +0000)
commitd4743c02a2ada42aab663307f0f21ed883bfb8d2
tree8e092e1f87f903f85b2972576d1a43a62ac69a55
parent6b6a1aa01b692363816255a4a55e7f74ae3e38ed
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.
gdb/gdbtk/ChangeLog
gdb/gdbtk/library/srcpref.itb
gdb/gdbtk/library/srcpref.ith