Wed, 25 Sep 2024 04:03:24 -0500
Show the uri as a tooltip on the open link button in PidginNotificationLink
Testing Done:
Verified the url was displayed on the "debug version" notification.
Bugs closed: PIDGIN-17975
Reviewed at https://reviews.imfreedom.org/r/3529/
<?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="1">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>