/[classpath]/classpath/gnu/java/awt/peer/gtk/GtkDialogPeer.java
ViewVC logotype

Diff of /classpath/gnu/java/awt/peer/gtk/GtkDialogPeer.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.16 by fitzsim, Thu Oct 2 18:39:54 2003 UTC revision 1.17 by fitzsim, Thu Oct 9 00:34:16 2003 UTC
# Line 54  public class GtkDialogPeer extends GtkWi Line 54  public class GtkDialogPeer extends GtkWi
54    
55    void initializeInsets ()    void initializeInsets ()
56    {    {
57      // Unfortunately, X does not provide a clean way to calculate the      synchronized (latestInsets)
58      // dimensions of a dialog's borders before it has been displayed.        {
59      // So we guess and then fix the dimensions upon receipt of the          insets = new Insets (latestInsets.top,
60      // first configure event.                               latestInsets.left,
61      insets = new Insets (20, 6, 6, 6);                               latestInsets.bottom,
62                                 latestInsets.right);
63          }
64    }    }
65    
66    void create ()    void create ()

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26