gcc/libjava/jni/gtk-peer
Thomas Fitzsimmons 23a555b077 GtkButtonPeer.java (handleEvent): Remove modality check.
2003-10-08  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
	modality check.
	* gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
	Initialize insets to use latest insets.
	* gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
	* gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
	field.
	(postConfigureEvent): Update latestInsets field when insets
	change.  Remove call to setSize.  Move validate call outside of
	if blocks.
	(setVisible): Call setBounds before showing window.
	(nativeSetVisible): New native method.
	* java/awt/Window.java (show): Show visible owned windows.
	(hide): Hide visible owned windows.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
	(awt_event_handler): Implement modality using GTK grabs.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
	(global_gtk_window_group): New global variable.
	(gtkInit): Initialize global_gtk_window_group.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
	Clamp width and height values to at least 1.  Add this window to
	the global GTK window group.
	(setVisible): Rename to nativeSetVisible.
	(setup_window): Remove function.
	(setSize): Clamp width and height values to at least 1.
	(nativeSetBounds): Likewise.
	(gdk_window_get_root_geometry): Remove function.
	* jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
	and setup_window declarations.  Declare global_gtk_window_group.

From-SVN: r72252
2003-10-09 00:26:29 +00:00
..
gnu_java_awt_peer_gtk_GdkFontMetrics.c
gnu_java_awt_peer_gtk_GdkGraphics2D.c GdkGraphics2D.java, [...]: New files. 2003-09-17 20:03:02 +00:00
gnu_java_awt_peer_gtk_GdkGraphics.c 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com> 2003-10-08 23:38:45 +00:00
gnu_java_awt_peer_gtk_GdkPixbufDecoder.c GdkGraphics2D.java, [...]: New files. 2003-09-17 20:03:02 +00:00
gnu_java_awt_peer_gtk_GtkButtonPeer.c 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com> 2003-10-08 23:38:45 +00:00
gnu_java_awt_peer_gtk_GtkCanvasPeer.c GdkGraphics.java (drawString): Pass font name, not XLFD, to native drawString. 2003-08-22 20:33:50 +00:00
gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
gnu_java_awt_peer_gtk_GtkChoicePeer.c GtkMenuItemPeer.java (setEnabled): Stub out. 2003-10-08 15:49:33 +00:00
gnu_java_awt_peer_gtk_GtkClipboard.c GtkMenuItemPeer.java (setEnabled): Stub out. 2003-10-08 15:49:33 +00:00
gnu_java_awt_peer_gtk_GtkComponentPeer.c 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com> 2003-10-08 23:38:45 +00:00
gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c GtkEmbeddedWindowPeer.java (construct): Remove method declaration. 2003-09-17 04:39:34 +00:00
gnu_java_awt_peer_gtk_GtkEvents.c GtkButtonPeer.java (handleEvent): Remove modality check. 2003-10-09 00:26:29 +00:00
gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
gnu_java_awt_peer_gtk_GtkImagePainter.c GtkMenuItemPeer.java (setEnabled): Stub out. 2003-10-08 15:49:33 +00:00
gnu_java_awt_peer_gtk_GtkLabelPeer.c GtkComponentPeer.java (postKeyEvent): Add keyLocation parameter. 2003-08-05 18:04:09 +00:00
gnu_java_awt_peer_gtk_GtkListPeer.c GtkMenuItemPeer.java (setEnabled): Stub out. 2003-10-08 15:49:33 +00:00
gnu_java_awt_peer_gtk_GtkMainThread.c GtkButtonPeer.java (handleEvent): Remove modality check. 2003-10-09 00:26:29 +00:00
gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
gnu_java_awt_peer_gtk_GtkMenuItemPeer.c GtkMenuItemPeer.java (setEnabled): Stub out. 2003-10-08 15:49:33 +00:00
gnu_java_awt_peer_gtk_GtkMenuPeer.c GtkMenuItemPeer.java (setEnabled): Stub out. 2003-10-08 15:49:33 +00:00
gnu_java_awt_peer_gtk_GtkPanelPeer.c GtkMenuItemPeer.java (setEnabled): Stub out. 2003-10-08 15:49:33 +00:00
gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c GtkMenuItemPeer.java (setEnabled): Stub out. 2003-10-08 15:49:33 +00:00
gnu_java_awt_peer_gtk_GtkScrollBarPeer.c gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: Handle missing event cases, connect to "value-changed" signal. 2003-07-18 19:27:42 +00:00
gnu_java_awt_peer_gtk_GtkScrollPanePeer.c GtkMenuItemPeer.java (setEnabled): Stub out. 2003-10-08 15:49:33 +00:00
gnu_java_awt_peer_gtk_GtkTextAreaPeer.c 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com> 2003-10-08 23:38:45 +00:00
gnu_java_awt_peer_gtk_GtkTextComponentPeer.c GtkMenuItemPeer.java (setEnabled): Stub out. 2003-10-08 15:49:33 +00:00
gnu_java_awt_peer_gtk_GtkTextFieldPeer.c 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com> 2003-10-08 23:38:45 +00:00
gnu_java_awt_peer_gtk_GtkToolkit.c GtkMenuItemPeer.java (setEnabled): Stub out. 2003-10-08 15:49:33 +00:00
gnu_java_awt_peer_gtk_GtkWindowPeer.c GtkButtonPeer.java (handleEvent): Remove modality check. 2003-10-09 00:26:29 +00:00
gthread-jni.c GtkMenuItemPeer.java (setEnabled): Stub out. 2003-10-08 15:49:33 +00:00
gthread-jni.h glib-2.0.m4: New file. 2003-06-30 23:53:29 +00:00
gtkpeer.h GtkButtonPeer.java (handleEvent): Remove modality check. 2003-10-09 00:26:29 +00:00