pidgin/resources/notificationlink.ui

Thu, 13 Mar 2025 16:09:57 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Thu, 13 Mar 2025 16:09:57 -0500
changeset 43194
77aadc520684
parent 42971
408885dfb067
permissions
-rw-r--r--

Make all ui files use translatable="yes"

A bunch of the ui files we using translatable="1" and per the GTK devs it
should be set to "yes".

Testing Done:
Compiled and ran in a devenv without issues.

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

<?xml version="1.0" encoding="UTF-8"?>
<!--
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="4.0"/>
  <!-- interface-license-type gplv2 -->
  <!-- interface-name Pidgin -->
  <!-- interface-description Internet Messenger -->
  <!-- interface-copyright Pidgin Developers <devel@pidgin.im> -->
  <template class="PidginNotificationLink" parent="PidginNotification">
    <property name="child">
      <object class="GtkBox">
        <property name="orientation">horizontal</property>
        <property name="spacing">6</property>
        <property name="valign">start</property>
        <child>
          <object class="GtkButton">
            <property name="label" translatable="yes">Open Link</property>
            <property name="focusable">1</property>
            <property name="receives-default">1</property>
            <property name="halign">center</property>
            <property name="valign">center</property>
            <property name="action-name">uri.open</property>
            <binding name="tooltip-text">
              <lookup name="link-uri" type="PurpleNotificationLink">
                <lookup name="notification">PidginNotificationLink</lookup>
              </lookup>
            </binding>
            <style>
              <class name="suggested-action"/>
            </style>
          </object>
        </child>
      </object>
    </property>
  </template>
</interface>

mercurial