pidgin/resources/Status/editor.ui

Mon, 03 Jul 2023 23:48:37 -0500

author
Elliott Sales de Andrade <quantum.analyst@gmail.com>
date
Mon, 03 Jul 2023 23:48:37 -0500
changeset 42231
e322f1f3f5c7
parent 42189
4784cd60a1f8
child 42445
f7838d462608
permissions
-rw-r--r--

Remove unused GTK account preferences

These are neither read nor written anywhere else.

Testing Done:
Compiled, and also searched for `accounts`, which did not show any mention of prefs.

Reviewed at https://reviews.imfreedom.org/r/2495/

<?xml version="1.0" encoding="UTF-8"?>
<!--
Pidgin - Internet Messenger
Copyright (C) Pidgin Developers <devel@pidgin.im>

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 2
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 library; if not, see <https://www.gnu.org/licenses/>.
-->
<interface>
  <requires lib="gtk" version="4.0"/>
  <requires lib="Talkatu" version="0.2.0"/>
  <requires lib="pidgin" version="3.0"/>
  <!-- interface-license-type gplv2 -->
  <!-- interface-name Pidgin -->
  <!-- interface-description Internet Messenger -->
  <!-- interface-copyright Pidgin Developers <devel@pidgin.im> -->
  <template class="PidginStatusEditor" parent="GtkDialog">
    <property name="title" translatable="1">Status</property>
    <property name="destroy-with-parent">1</property>
    <property name="resizable">0</property>
    <signal name="response" handler="pidgin_status_editor_response_cb" swapped="no"/>
    <child internal-child="content_area">
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <child>
          <object class="AdwPreferencesGroup">
            <property name="margin-start">24</property>
            <property name="margin-end">24</property>
            <property name="margin-top">24</property>
            <property name="margin-bottom">24</property>
            <child>
              <object class="AdwEntryRow" id="title">
                <property name="title" translatable="1">_Title</property>
                <property name="use-underline">1</property>
                <signal name="changed" handler="pidgin_status_editor_title_changed_cb"/>
              </object>
            </child>
            <child>
              <object class="PidginStatusPrimitiveChooser" id="primitive">
                <property name="title" translatable="1">St_atus</property>
                <property name="use-underline">1</property>
              </object>
            </child>
            <child>
              <object class="AdwPreferencesRow">
                <property name="focusable">0</property>
                <child>
                  <object class="GtkBox">
                    <property name="orientation">vertical</property>
                    <child>
                      <object class="GtkLabel">
                        <property name="css-classes">subtitle</property>
                        <property name="label" translatable="1">_Message</property>
                        <property name="mnemonic-widget">message</property>
                        <property name="margin-start">12</property>
                        <property name="margin-end">12</property>
                        <property name="xalign">0</property>
                        <property name="use-underline">1</property>
                      </object>
                    </child>
                    <child>
                      <object class="TalkatuEditor" id="editor">
                        <property name="hexpand">1</property>
                        <property name="show-send-button">0</property>
                        <child internal-child="input">
                          <object class="TalkatuInput" id="message">
                            <property name="buffer">buffer</property>
                            <property name="hexpand">1</property>
                            <property name="width-request">450</property>
                            <property name="wrap-mode">word</property>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child type="action">
      <object class="GtkButton" id="cancel">
        <property name="label" translatable="1">_Cancel</property>
        <property name="focusable">1</property>
        <property name="receives-default">1</property>
        <property name="use-underline">1</property>
      </object>
    </child>
    <child type="action">
      <object class="GtkButton" id="use">
        <property name="label" translatable="1">_Use</property>
        <property name="focusable">1</property>
        <property name="receives-default">1</property>
        <property name="sensitive">0</property>
        <property name="use-underline">1</property>
      </object>
    </child>
    <child type="action">
      <object class="GtkButton" id="save">
        <property name="label" translatable="1">_Save</property>
        <property name="focusable">1</property>
        <property name="receives-default">1</property>
        <property name="sensitive">0</property>
        <property name="use-underline">1</property>
      </object>
    </child>
    <action-widgets>
      <action-widget response="cancel">cancel</action-widget>
      <action-widget response="0">use</action-widget>
      <action-widget response="1">save</action-widget>
    </action-widgets>
  </template>
  <object class="TalkatuBuffer" id="buffer">
    <property name="action-group">
      <object class="TalkatuActionGroup">
        <property name="format">html</property>
        <property name="buffer">buffer</property>
      </object>
    </property>
  </object>
</interface>

mercurial