[gnome-music/wip/mschraal/gtk4-v3: 138/187] ui/playlistnotification: Port to gtk4




commit e85de0e0396a4e21c085a5fb7d11c863aaf537f6
Author: Jean Felder <jfelder src gnome org>
Date:   Thu Feb 3 19:35:50 2022 +0100

    ui/playlistnotification: Port to gtk4

 data/ui/PlaylistNotification.ui | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)
---
diff --git a/data/ui/PlaylistNotification.ui b/data/ui/PlaylistNotification.ui
index b10ee723e..c1ae97c6a 100644
--- a/data/ui/PlaylistNotification.ui
+++ b/data/ui/PlaylistNotification.ui
@@ -1,17 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
-  <object class="GtkImage" id="close_notification_window">
-    <property name="visible">True</property>
-    <property name="can_focus">False</property>
-    <property name="icon_name">window-close-symbolic</property>
-    <property name="icon_size">1</property>
-  </object>
   <template class="PlaylistNotification" parent="GtkGrid">
-    <property name="visible">True</property>
     <property name="column_spacing">18</property>
     <child>
       <object class="GtkLabel" id="_label">
-        <property name="visible">True</property>
         <property name="halign">start</property>
         <property name="hexpand">True</property>
         <property name="label" translatable="yes"></property>
@@ -21,17 +13,12 @@
       <object class="GtkButton">
         <property name="label" translatable="yes">_Undo</property>
         <property name="use_underline">True</property>
-        <property name="visible">True</property>
         <signal name="clicked" handler="_undo_deletion" swapped="no"/>
       </object>
     </child>
     <child>
       <object class="GtkButton">
-        <property name="always_show_image">True</property>
-        <property name="image">close_notification_window</property>
-        <property name="image_position">right</property>
-        <property name="relief">none</property>
-        <property name="visible">True</property>
+        <property name="icon-name">window-close-symbolic</property>
         <signal name="clicked" handler="_close_notification" swapped="no"/>
       </object>
     </child>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]