[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: fixes for Choice

Kaffe CVS cvs-commits at kaffe.org
Wed Oct 27 12:00:11 PDT 2004


PatchSet 5371 
Date: 2004/10/27 18:56:20
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with GNU Classpath: fixes for Choice

2004-10-27  Dalibor Topic  <robilad at kaffe.org>

        * libraries/javalib/gnu/java/awt/peer/gtk/GtkChoicePeer.java:
        Resynced with GNU Classpath.

        2004-10-25  Mark Wielaard  <mark at klomp.org>

        * gnu/java/awt/peer/gtk/GtkChoicePeer.java (GtkChoicePeer):
        Call select() when Choice has a selected item.

Members: 
	ChangeLog:1.2923->1.2924 
	libraries/javalib/gnu/java/awt/peer/gtk/GtkChoicePeer.java:1.2->1.3 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2923 kaffe/ChangeLog:1.2924
--- kaffe/ChangeLog:1.2923	Wed Oct 27 17:23:16 2004
+++ kaffe/ChangeLog	Wed Oct 27 18:56:20 2004
@@ -1,3 +1,13 @@
+2004-10-27  Dalibor Topic  <robilad at kaffe.org>
+
+	* libraries/javalib/gnu/java/awt/peer/gtk/GtkChoicePeer.java:
+        Resynced with GNU Classpath.
+
+	2004-10-25  Mark Wielaard  <mark at klomp.org>
+
+        * gnu/java/awt/peer/gtk/GtkChoicePeer.java (GtkChoicePeer):
+        Call select() when Choice has a selected item.
+
 2004-10-27  Riccardo Mottola <rmottola at users.sf.net>
 
         * config/powerpc/common.h,
Index: kaffe/libraries/javalib/gnu/java/awt/peer/gtk/GtkChoicePeer.java
diff -u kaffe/libraries/javalib/gnu/java/awt/peer/gtk/GtkChoicePeer.java:1.2 kaffe/libraries/javalib/gnu/java/awt/peer/gtk/GtkChoicePeer.java:1.3
--- kaffe/libraries/javalib/gnu/java/awt/peer/gtk/GtkChoicePeer.java:1.2	Sun Aug  8 19:45:55 2004
+++ kaffe/libraries/javalib/gnu/java/awt/peer/gtk/GtkChoicePeer.java	Wed Oct 27 18:56:24 2004
@@ -59,6 +59,10 @@
 	  
 	append (items);
       }
+
+    int selected = c.getSelectedIndex();
+    if (selected >= 0)
+      select(selected);
   }
 
   native void create ();




More information about the kaffe mailing list