File tree 1 file changed +10
-2
lines changed
1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -1886,8 +1886,16 @@ static public String[] headerListFromIncludePath(File path) throws IOException {
1886
1886
*/
1887
1887
@ SuppressWarnings ("serial" )
1888
1888
public void handleAbout () {
1889
- final Image image = Theme .getLibImage ("about" , activeEditor ,
1890
- Theme .scale (475 ), Theme .scale (300 ));
1889
+ Image image ;
1890
+ File f = UpdateCheck .getUpdatedSplashImageFile ();
1891
+ if (f != null ) {
1892
+ Toolkit tk = Toolkit .getDefaultToolkit ();
1893
+ Image unscaled = tk .getImage (f .getAbsolutePath ());
1894
+ image = Theme .scale (unscaled , activeEditor );
1895
+ } else {
1896
+ image = Theme .getLibImage ("about" , activeEditor , //
1897
+ Theme .scale (475 ), Theme .scale (300 ));
1898
+ }
1891
1899
final Window window = new Window (activeEditor ) {
1892
1900
public void paint (Graphics graphics ) {
1893
1901
Graphics2D g = Theme .setupGraphics2D (graphics );
You can’t perform that action at this time.
0 commit comments