[gnome-music/wip/jfelder/songeditor-gtk4: 68/76] notificationspopup: Add support for tag notification




commit 93edf9cbd1f0139b91006172750500c85a787827
Author: Sumaid Syed <sumaidsyed gmail com>
Date:   Sun Aug 4 23:22:41 2019 +0530

    notificationspopup: Add support for tag notification
    
    This notification will be used by the tag editor dialogs.
    
    Related: #293

 data/org.gnome.Music.gresource.xml |  1 +
 data/ui/TagEditorNotification.ui   | 20 ++++++++++++++++++++
 po/POTFILES.in                     |  1 +
 3 files changed, 22 insertions(+)
---
diff --git a/data/org.gnome.Music.gresource.xml b/data/org.gnome.Music.gresource.xml
index 2be39220b..91d10915c 100644
--- a/data/org.gnome.Music.gresource.xml
+++ b/data/org.gnome.Music.gresource.xml
@@ -33,6 +33,7 @@
     <file preprocess="xml-stripblanks">ui/SongsView.ui</file>
     <file preprocess="xml-stripblanks">ui/SongWidget.ui</file>
     <file preprocess="xml-stripblanks">ui/SongWidgetMenu.ui</file>
+    <file preprocess="xml-stripblanks">ui/TagEditorNotification.ui</file>
     <file preprocess="xml-stripblanks">ui/TwoLineTip.ui</file>
     <file preprocess="xml-stripblanks">ui/Window.ui</file>
   </gresource>
diff --git a/data/ui/TagEditorNotification.ui b/data/ui/TagEditorNotification.ui
new file mode 100644
index 000000000..56972112b
--- /dev/null
+++ b/data/ui/TagEditorNotification.ui
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+  <template class="TagEditorNotification" parent="GtkGrid">
+    <property name="column_spacing">18</property>
+    <child>
+      <object class="GtkLabel" id="_label">
+        <property name="halign">start</property>
+        <property name="hexpand">True</property>
+      </object>
+    </child>
+    <child>
+      <object class="GtkButton" id="_undo_button">
+        <property name="label" translatable="yes">_Undo</property>
+        <property name="use_underline">True</property>
+        <property name="visible">False</property>
+        <signal name="clicked" handler="_undo_clicked" swapped="no"/>
+      </object>
+    </child>
+  </template>
+</interface>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 13b8547b1..a6d47c7e9 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -19,6 +19,7 @@ data/ui/SearchView.ui
 data/ui/SelectionBarMenuButton.ui
 data/ui/SelectionToolbar.ui
 data/ui/SongWidgetMenu.ui
+data/ui/TagEditorNotification.ui
 gnomemusic/__init__.py
 gnomemusic/application.py
 gnomemusic/grilowrappers/grltrackerplaylists.py


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