This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix to ActionEvent generation on List widgets


Tom Tromey wrote:
"Fernando" == Fernando Nasser <fnasser@redhat.com> writes:


Fernando> 2003-12-02  Fernando Nasser  <fnasser@redhat.com>
Fernando> * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
Fernando> of ActionEvents so that a return only generates one if something is
Fernando> selected and a higher number of mouse multiple-clicks do not generate
Fernando> a spurious ActionEvent after the expected one.

Ok.

Please put explanatory stuff in the code itself as comments.
The ChangeLog entries can be simple descriptions of the mechanics of
the change.


Sure. Changing ChangeLog to:


	2003-12-02  Fernando Nasser  <fnasser@redhat.com>
	* gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
	of ActionEvents.

I will put the (equivalent of) "so that a return only generates one if something is selected and a higher number of mouse multiple-clicks do not generate a spurious ActionEvent after the expected one." in a comment before checkin it in.

Thanks for the reminder.

Regards,
Fernando


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]