[gnome-music/wip/jfelder/gtk4-v3: 135/145] ui/playlistnotification: Port to gtk4




commit 6dbd7a56b2263d62670acdd36e47752373ad4330
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]