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

<!--
SPDX-License-Identifier: GPL-2.0-or-later

SPDX-FileCopyrightText: 2015 Florian Müllner <fmuellner@gnome.or>
-->

<schemalist gettext-domain="polari">
  <schema path="/org/gnome/polari/" id="org.gnome.Polari">
    <key type="aa{sv}" name="saved-channel-list">
      <default>[]</default>
      <summary>Saved channel list</summary>
      <description>List of channels to restore on startup</description>
    </key>
    <key type="b" name="run-in-background">
      <default>false</default>
      <summary>Run in Background</summary>
      <description>Keep running in background when closed.</description>
    </key>
    <key type="i" name="window-width">
      <default>800</default>
      <summary>Window width</summary>
    </key>
    <key type="i" name="window-height">
      <default>500</default>
      <summary>Window height</summary>
    </key>
    <key type="b" name="window-maximized">
      <default>false</default>
      <summary>Window maximized</summary>
      <description>Window maximized state</description>
    </key>
    <key type="a{sv}" name="last-selected-channel">
      <default>{}</default>
      <summary>Last active channel</summary>
      <description>Last active (selected) channel</description>
    </key>
  </schema>

  <schema id="org.gnome.Polari.Account">
    <key type="s" name="identify-botname">
      <default>"NickServ"</default>
      <summary>Identify botname</summary>
      <description>Nickname of the bot to identify with</description>
    </key>
    <key type="s" name="identify-command">
      <default>"identify"</default>
      <summary>Identify command</summary>
      <description>Command used to identify with bot</description>
    </key>
    <key type="s" name="identify-username">
      <default>""</default>
      <summary>Identify username</summary>
      <description>Username to use in identify command</description>
    </key>
    <key type="b" name="identify-username-supported">
      <default>false</default>
      <summary>Identify username supported</summary>
      <description>
        Whether the identify command is known to support the username parameter
      </description>
    </key>
    <key type="as" name="muted-usernames">
      <default>[]</default>
      <summary>List of muted usernames</summary>
      <description>
        A list of usernames for whose private messages not to show notifications
      </description>
    </key>
  </schema>
</schemalist>
