Port PidginProtocolChooser to GTK4 gtk4

Thu, 25 Aug 2022 20:27:19 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Thu, 25 Aug 2022 20:27:19 -0500
branch
gtk4
changeset 41585
af28a422c1ad
parent 41584
a90849d63f9e
child 41586
4d0ae8061933

Port PidginProtocolChooser to GTK4

Testing Done:
Opened the account editor and make sure the chooser was working.

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

pidgin/resources/Protocols/chooser.ui file | annotate | diff | comparison | revisions
--- a/pidgin/resources/Protocols/chooser.ui	Thu Aug 25 20:26:50 2022 -0500
+++ b/pidgin/resources/Protocols/chooser.ui	Thu Aug 25 20:27:19 2022 -0500
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.38.2 
-
+<!--
 Pidgin - Internet Messenger
 Copyright (C) Pidgin Developers <devel@pidgin.im>
 
@@ -15,12 +14,10 @@
 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.
-
+along with this library; if not, see <https://www.gnu.org/licenses/>.
 -->
 <interface domain="pidgin">
-  <requires lib="gtk+" version="3.22"/>
+  <requires lib="gtk" version="4.0"/>
   <requires lib="pidgin" version="3.0"/>
   <!-- interface-license-type gplv2 -->
   <!-- interface-name Pidgin -->
@@ -31,8 +28,6 @@
     <property name="model">raw_model</property>
   </object>
   <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"/>

mercurial