pidgin/resources/Status/box.ui

Mon, 12 Sep 2022 22:08:59 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Mon, 12 Sep 2022 22:08:59 -0500
changeset 41679
ddd97cdcbefc
parent 41574
5c79e2bb862b
child 42199
adf6d358d438
permissions
-rw-r--r--

Remove the list_icon vfunc from PurpleProtocol.

This was replaced by the icon-name, icon-resource-path, and icon-search-path
properties.

Testing Done:
Compiled

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

<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.38.2 

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 Lesser General Public
License along with this library; if not, see <https://www.gnu.org/licenses/>.

-->
<interface>
  <requires lib="gtk" version="4.0"/>
  <!-- interface-license-type gplv2 -->
  <!-- interface-name Pidgin -->
  <!-- interface-description Internet Messenger -->
  <!-- interface-copyright Pidgin Developers <devel@pidgin.im> -->
  <object class="GtkListStore" id="model">
    <columns>
      <!-- column-name id -->
      <column type="gchararray"/>
      <!-- column-name type -->
      <column type="gint"/>
      <!-- column-name icon-name -->
      <column type="gchararray"/>
      <!-- column-name primitive -->
      <column type="gint"/>
      <!-- column-name text -->
      <column type="gchararray"/>
      <!-- column-name data -->
      <column type="gpointer"/>
      <!-- column-name emblem-visible -->
      <column type="gboolean"/>
    </columns>
  </object>
  <template class="PidginStatusBox" parent="GtkBox">
    <property name="focusable">1</property>
    <property name="orientation">vertical</property>
    <child>
      <object class="GtkComboBox" id="combo">
        <property name="focusable">1</property>
        <property name="model">model</property>
        <property name="id-column">0</property>
        <signal name="changed" handler="pidgin_status_box_combo_changed_cb" object="PidginStatusBox" swapped="no"/>
        <child>
          <object class="GtkCellRendererPixbuf" id="icon"/>
          <attributes>
            <attribute name="icon-name">2</attribute>
          </attributes>
        </child>
        <child>
          <object class="GtkCellRendererText" id="text"/>
          <attributes>
            <attribute name="markup">4</attribute>
          </attributes>
        </child>
        <child>
          <object class="GtkCellRendererPixbuf" id="emblem">
            <property name="icon-name">document-save</property>
          </object>
          <attributes>
            <attribute name="visible">6</attribute>
          </attributes>
        </child>
      </object>
    </child>
  </template>
</interface>

mercurial