Re: GTK 2.8

2006-06-07 Thread Yvan Norsa
Hi, dependencies such as GTK can be matched with older versions of GTK It sure would be useful, as GTK 2.8 doesn't seem to be in debian stable (current is 2.6.4). Yvan

[cp-patches] Patch: PlatformHelper

2006-05-10 Thread Yvan Norsa
Hi, There was a small issue in the toCanonicalForm() method in PlatformHelper, used to get the canonical form of a file : at least on Unix, the call new File(/).getCanonicalPath() would return // instead of /. So I added a little test at the beginning of this method to correct this. I also

[cp-patches] Patch: bug #27480

2006-05-08 Thread Yvan Norsa
Hi, Here is a small patch verifying that there isn't already a selected Button when adding another selected one. Regards, Yvan ButtonGroup.java.patch Description: Binary data

[cp-patches] RFC: patch for #27485

2006-05-08 Thread Yvan Norsa
Hi, Although I am not sure what the intended effect of the test case should be, I have written this little fix which prevents the ArrayIndexOutOfBoundsException. In doing so, I had to write DefaultTableModel.java.patch Description: Binary data

[cp-patches] Re: RFC: patch for #27485

2006-05-08 Thread Yvan Norsa
Sorry, here is the rest of my sentence : In doing so, I had to write a method which duplicated some existing code, so I refactored it. Regards, Yvan

[cp-patches] Patch: #27503

2006-05-08 Thread Yvan Norsa
Hi, Another bug crashing the JVM if we try do read an ImageIcon from a file which isn't there : this bug happens when the Icon is on a disabled JButton. Here is a fix preventing this. Regards, Yvan GtkImage.java.patch Description: Binary data

[cp-patches] RFC: patch for bug #27454

2006-05-06 Thread Yvan Norsa
Hi, After reporting the bug about empty IconImage, I traced the code, and the problem is coming from trying to draw the error image in GTK. I noticed that when not passing width and height to drawImage(), the bug doesn't occur. That is because in drawPixelsScaled, the width and height parameters