classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] Patch: GtkDialogPeer and GtkWindowPeer fix


From: Lillian Angel
Subject: [cp-patches] Patch: GtkDialogPeer and GtkWindowPeer fix
Date: Wed, 16 Nov 2005 10:57:14 -0500

Ever since Roman changed popups to use PopupFactory, the
HeavyWeightPopups have been changed to JWindows. When a HeavyWeightPopup
is shown, the focus has been taken away from the parent window. This is
now fixed. The code was left in GtkDialogPeer, whereas it should have
been taken care of in GtkWindowPeer.

2005-11-15  Lillian Angel  <address@hidden>

        * gnu/java/awt/peer/gtk/GtkDialogPeer.java
        (create): Since popups were changed to be JWindowPopups,
        this code should be done in GtkWindowPeer. Code is not
        needed.
        * gnu/java/awt/peer/gtk/GtkWindowPeer.java
        (create): If window is not focusable, it should not take
        the focus away from any other window. Therefore, its
        type should be set to GDK_WINDOW_TYPE_HINT_MENU.

Attachment: patch.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]