Пример #1
0
 public void onLoad() {
   config.addChangeListener(domain, this);
   userConfig.setOption(domain, "general.icon", filesHelper.getFilesDirString() + "icon.png");
   setCachedSettings();
   // Extract the files needed
   try {
     filesHelper.extractResourcesEndingWith(".py");
     filesHelper.extractResourcesEndingWith(".png");
   } catch (IOException ex) {
     LOG.warn(
         USER_ERROR,
         "Unable to extract files for Free desktop notifications: {}",
         ex.getMessage(),
         ex);
   }
 }