pidgin/plugins/unity/im.pidgin.Pidgin.plugin.Unity.gschema.xml

Sun, 10 Aug 2025 23:44:08 +0800

author
Gong Zhile <gongzl@stu.hebust.edu.cn>
date
Sun, 10 Aug 2025 23:44:08 +0800
branch
purple_conversation_find_message_by_id
changeset 43309
099e1dfb856b
parent 42452
8b5a5b21d6da
permissions
-rw-r--r--

Add Purple.Conversation.find_message_by_id

The method was added so that a protocol or plugin could easily lookup
for the reference for a message. This will be especially useful when a
protocol received a quoted message but only with an id.

<?xml version="1.0" encoding="utf-8"?>
<schemalist>
  <enum id="im.pidgin.Pidgin.plugin.Unity.LauncherCount">
    <value nick="Disable launcher integration" value="0"/>
    <value nick="Show number of unread messages" value="1"/>
    <value nick="Show number of unread conversations" value="2"/>
  </enum>

  <enum id="im.pidgin.Pidgin.plugin.Unity.MessagingMenu">
    <value nick="Show number of unread messages for conversations" value="0"/>
    <value nick="Show elapsed time for unread conversations" value="1"/>
  </enum>

  <schema path="/pidgin/plugins/unity/" id="im.pidgin.Pidgin.plugin.Unity">
    <key name="alert-chat-nick" type="b">
      <default>true</default>
      <summary>Chatroom alerts</summary>
      <description>
        Chatroom message alerts only where someone says your username.
      </description>
    </key>

    <key name="launcher-count" enum="im.pidgin.Pidgin.plugin.Unity.LauncherCount">
      <default>"Show number of unread conversations"</default>
      <summary>Launcher integration</summary>
      <description>
        What to show in the launcher icon.
      </description>
    </key>

    <key name="messaging-menu-text" enum="im.pidgin.Pidgin.plugin.Unity.MessagingMenu">
      <default>"Show number of unread messages for conversations"</default>
      <summary>Messaging menu integration</summary>
      <description>
        What to show in the messaging menu.
      </description>
    </key>
  </schema>
</schemalist>

mercurial