<?xml version="1.0" encoding="UTF-8"?>
<!--

    BleachBit
    Copyright (C) 2013 Andrew Ziem
    http://bleachbit.sourceforge.net

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.

-->
<cleaner id="emesene" os="linux">
  <label>emesene</label>
  <description>Chat client</description>
  <option id="cache">
    <label>Cache</label>
    <description>Delete the avatars and emoticons cache</description>
    <action command="delete" search="glob" path="~/.config/emesene1.0/*/cache/*.tmp"/>
    <action command="delete" search="glob" path="~/.config/emesene1.0/*/cache/.*_*.tmp"/>
    <action command="delete" search="glob" path="~/.config/emesene1.0/*/cache/*_[0-9a-f]*[0-9a-f]" regex="_[0-9a-f]{40}$"/>
  </option>
  <option id="logs">
    <label>Chat logs</label>
    <description>Delete the chat logs</description>
    <action command="delete" search="glob" path="~/.config/emesene1.0/*/logs/*"/>
    <action command="delete" search="glob" path="~/.config/emesene2/*/log"/>
    <action command="delete" search="glob" path="~/.config/emesene2/*/log-journal"/>
  </option>
</cleaner>
