|
@@ -162,7 +162,7 @@ public class IconManager implements ConfigChangeListener {
|
162
|
162
|
imageURL = defaultURL;
|
163
|
163
|
}
|
164
|
164
|
|
165
|
|
- if (imageURL == null && defaultURL == null) {
|
|
165
|
+ if (imageURL == null) {
|
166
|
166
|
imageURL = classLoader.getResource("com/dmdirc/res/icon.png");
|
167
|
167
|
}
|
168
|
168
|
|
|
@@ -184,9 +184,9 @@ public class IconManager implements ConfigChangeListener {
|
184
|
184
|
private String getSpecialIcons(final String type) {
|
185
|
185
|
final Calendar cal = new GregorianCalendar();
|
186
|
186
|
cal.setTime(new Date());
|
187
|
|
- if ((cal.get(Calendar.MONTH) == Calendar.DECEMBER
|
|
187
|
+ if (cal.get(Calendar.MONTH) == Calendar.DECEMBER
|
188
|
188
|
&& cal.get(Calendar.DAY_OF_MONTH) >= 12
|
189
|
|
- && cal.get(Calendar.DAY_OF_MONTH) <= 31)
|
|
189
|
+ && cal.get(Calendar.DAY_OF_MONTH) <= 31
|
190
|
190
|
&& ("icon".equals(type) || "logo".equals(type))) {
|
191
|
191
|
return "logo-special";
|
192
|
192
|
}
|