gcc/libjava ChangeLog gnu/java/awt/peer/gtk/Gt ...
djee@gcc.gnu.org
djee@gcc.gnu.org
Fri Mar 26 23:42:00 GMT 2004
CVSROOT: /cvs/gcc
Module name: gcc
Branch: java-gui-branch
Changes by: djee@gcc.gnu.org 2004-03-26 19:21:55
Modified files:
libjava : ChangeLog
libjava/gnu/java/awt/peer/gtk: GtkMenuPeer.java
libjava/java/awt: Menu.java
libjava/java/awt/peer: MenuPeer.java
Log message:
2004-03-26 David Jee <djee@redhat.com>
* gnu/java/awt/peer/gtk/GtkMenuPeer.java
(addSeparator): Remove.
* java/awt/Menu.java
(separator): Remove static final MenuItem field.
(separatorLabel): New static final String field.
(addSeparator): Do not use peer method; use add(MenuItem) instead.
Use separatorLabel to denote that it is a separator.
(insertSeparator): Create a new MenuItem with separatorLabel, instead
of reusing the static separator instance, because a MenuItem instance
can't be added more than once without being cloned.
* java/awt/peer/MenuPeer.java
(addSeparator): Remove from interface.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.2660.2.58&r2=1.2660.2.59
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/gnu/java/awt/peer/gtk/GtkMenuPeer.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.2&r2=1.2.18.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/awt/Menu.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.16&r2=1.16.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/awt/peer/MenuPeer.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.6&r2=1.6.14.1
More information about the Gcc-cvs
mailing list