Sat, 02 Jan 2021 21:58:08 -0600
Some initial cleanups to PidginStatusBox
* Removed the connecting animation
* Removed the typing animation
* Internally track network connectivity status
* Moved object declaration to G_DEFINE_*_TYPE
* Removed the timer that would set a status message after you stop typing.
Testing Done:
Compiled and ran locally.
Reviewed at https://reviews.imfreedom.org/r/320/
<?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>