          logger.debug("Initialized %s: (icons: %s)", self.__class__.__name__, self.icons)
  
      def delete_preview(self):
          """ Delete the preview files """
          for item in os.listdir(self.pathpreview):
              if item.startswith(".gui_preview_") and item.endswith(".jpg"):
                  fullitem = os.path.join(self.pathpreview, item)
                  logger.debug("Deleting: '%s'", fullitem)
 
</s>
        logger.debug("Deleting previews")
          logger.debug("Initialized %s: (icons: %s)", self.__class__.__name__, self.icons)
  
      def delete_preview(self):
          """ Delete the preview files """
        logger.debug("Deleting previews")
          for item in os.listdir(self.pathpreview):
              if item.startswith(".gui_preview_") and item.endswith(".jpg"):
                  fullitem = os.path.join(self.pathpreview, item)
                  logger.debug("Deleting: '%s'", fullitem)
keep keep keep add keep keep keep keep
 Add right click menu to GUI. Implement some GUI Logging
lib/gui/utils.py