pidgin/resources/closebutton.ui

Sat, 02 Jan 2021 21:58:08 -0600

author
Gary Kramlich <grim@reaperworld.com>
date
Sat, 02 Jan 2021 21:58:08 -0600
changeset 40682
edbc992e77be
parent 40539
2941deda6d8d
permissions
-rw-r--r--

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

-->
<interface>
  <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="PidginCloseButton" parent="GtkButton">
    <property name="visible">True</property>
    <property name="can_focus">True</property>
    <property name="focus_on_click">False</property>
    <property name="receives_default">True</property>
    <property name="tooltip_text" translatable="yes">Close</property>
    <property name="relief">none</property>
    <child>
      <object class="GtkLabel">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
        <property name="label" translatable="yes">×</property>
        <property name="single_line_mode">True</property>
      </object>
    </child>
  </template>
</interface>

mercurial