Thu, 30 Dec 2021 20:33:28 -0600
Add the status box to the conversation window
Testing Done:
Ran and played around with stuff.
Reviewed at https://reviews.imfreedom.org/r/1165/
<?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 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> <requires lib="gtk+" version="3.24"/> <requires lib="pidgin" version="3.0"/> <!-- interface-license-type gplv2 --> <!-- interface-name Pidgin --> <!-- interface-description Internet Messenger --> <!-- interface-copyright Pidgin Developers <devel@pidgin.im> --> <object class="GtkTreeStore" id="model"> <columns> <!-- column-name conversation --> <column type="GObject"/> <!-- column-name icon --> <column type="GdkPixbuf"/> <!-- column-name markup --> <column type="gchararray"/> </columns> </object> <template class="PidginConversationWindow" parent="GtkApplicationWindow"> <property name="can-focus">False</property> <property name="role">conversation</property> <child> <object class="GtkBox" id="vbox"> <property name="visible">True</property> <property name="can-focus">False</property> <property name="orientation">vertical</property> <child> <object class="GtkPaned" id="paned"> <property name="visible">True</property> <property name="can-focus">True</property> <property name="position">100</property> <child> <object class="GtkBox"> <property name="visible">True</property> <property name="can-focus">False</property> <property name="border-width">6</property> <property name="orientation">vertical</property> <property name="spacing">6</property> <child> <object class="PidginStatusBox"> <property name="visible">True</property> <property name="can-focus">False</property> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> <property name="position">0</property> </packing> </child> <child> <object class="GtkScrolledWindow"> <property name="visible">True</property> <property name="can-focus">True</property> <property name="shadow-type">out</property> <property name="propagate-natural-width">True</property> <child> <object class="GtkTreeView" id="view"> <property name="visible">True</property> <property name="can-focus">True</property> <property name="model">model</property> <property name="headers-visible">False</property> <property name="search-column">2</property> <child internal-child="selection"> <object class="GtkTreeSelection"> <signal name="changed" handler="pidgin_conversation_window_selection_changed" object="PidginConversationWindow" swapped="no"/> </object> </child> <child> <object class="GtkTreeViewColumn" id="markup"> <child> <object class="GtkCellRendererPixbuf" id="icon"/> <attributes> <attribute name="pixbuf">1</attribute> </attributes> </child> <child> <object class="GtkCellRendererText" id="name"/> <attributes> <attribute name="markup">2</attribute> </attributes> </child> </object> </child> </object> </child> </object> <packing> <property name="expand">True</property> <property name="fill">True</property> <property name="position">1</property> </packing> </child> </object> <packing> <property name="resize">True</property> <property name="shrink">True</property> </packing> </child> <child> <object class="GtkStack" id="stack"> <property name="visible">True</property> <property name="can-focus">False</property> <child> <object class="GtkLabel"> <property name="visible">True</property> <property name="can-focus">False</property> <property name="label" translatable="yes">Select a conversation to chat!</property> </object> <packing> <property name="name">__empty__</property> <property name="title" translatable="yes">__empty__</property> </packing> </child> </object> <packing> <property name="resize">True</property> <property name="shrink">True</property> </packing> </child> </object> <packing> <property name="expand">True</property> <property name="fill">True</property> <property name="pack-type">end</property> <property name="position">0</property> </packing> </child> </object> </child> </template> </interface>