OSDN Git Service

2003-02-14 Martin M. Hunt <hunt@redhat.com>
authorMartin Hunt <hunt@redhat.com>
Sat, 15 Feb 2003 02:10:41 +0000 (02:10 +0000)
committerMartin Hunt <hunt@redhat.com>
Sat, 15 Feb 2003 02:10:41 +0000 (02:10 +0000)
* library/globalpref.itb (GlobalPref::_change_icons): Fix
curselection call for combobox.

gdb/gdbtk/ChangeLog
gdb/gdbtk/library/globalpref.itb

index e94e97e..23d2a50 100644 (file)
@@ -1,3 +1,8 @@
+2003-02-14  Martin M. Hunt  <hunt@redhat.com>
+
+       * library/globalpref.itb (GlobalPref::_change_icons): Fix
+       curselection call for combobox.
+
 2003-02-12  Andrew Cagney  <ac131313@redhat.com>
 
        * generic/gdbtk-hooks.c (tk_command_loop): Move function ...
index e3502b8..af727e3 100644 (file)
@@ -314,8 +314,7 @@ itcl::body GlobalPref::_resize_font_item_height {} {
 #  PRIVATE METHOD:  _change_icons
 # ------------------------------------------------------------------
 itcl::body GlobalPref::_change_icons {w args} {
-  debug
-  set index [$w list curselection]
+  set index [$w curselection]
   if {$index != ""} {
     set _new(gdb/ImageDir) [lindex $_icondirlist $index]
   }