pidgin/resources/Protocols/chooser.ui

Sun, 20 Dec 2020 00:51:00 -0600

author
Elliott Sales de Andrade <quantum.analyst@gmail.com>
date
Sun, 20 Dec 2020 00:51:00 -0600
changeset 40663
2453bef0abe7
parent 40297
082c07053a79
child 40741
850137e8737c
permissions
-rw-r--r--

Cleanup local IP getters

* Rename `purple_network_get_my_ip` to `purple_network_discover_my_ip`.
Nothing actually cares about what it returns, so stop returning anything.
* Use libnice to replace `purple_network_get_local_system_ip`.

Testing Done:
Compile only.

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

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

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 program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

-->
<interface domain="pidgin">
  <requires lib="gtk+" version="3.20"/>
  <!-- interface-license-type gplv2 -->
  <!-- interface-name Pidgin -->
  <!-- interface-description Internet Messenger -->
  <!-- interface-copyright Pidgin Developers <devel@pidgin.im> -->
  <template class="PidginProtocolChooser" parent="GtkComboBox">
    <property name="visible">True</property>
    <property name="can_focus">False</property>
    <property name="model">model</property>
    <child>
      <object class="GtkCellRendererPixbuf" id="icon"/>
      <attributes>
        <attribute name="pixbuf">2</attribute>
      </attributes>
    </child>
    <child>
      <object class="GtkCellRendererText" id="name"/>
      <attributes>
        <attribute name="text">1</attribute>
      </attributes>
    </child>
  </template>
  <object class="PidginProtocolStore" id="model"/>
</interface>

mercurial