gnome-contacts/data/ui/contacts-in-app-notification.ui
Niels De Graef a483ccf5a6 Create InAppNotification class and remove libgd.
Libgd is bound to remove Gd.Notification, and removing it also means it
gets easier to port our build system to Meson.

Furthermore, we can now use some more sane defaults for our application
w.r.t. notifications.
2017-06-24 13:57:40 +02:00

49 lines
1.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk+" version="3.14"/>
<template class="ContactsInAppNotification" parent="GtkRevealer">
<property name="visible">True</property>
<property name="halign">center</property>
<property name="valign">start</property>
<child>
<object class="GtkGrid" id="grid">
<property name="visible">True</property>
<property name="column_spacing">8</property>
<style>
<class name="app-notification"/>
</style>
<child>
<object class="GtkLabel" id="label">
<property name="visible">True</property>
<property name="wrap">True</property>
<property name="wrap_mode">PANGO_WRAP_WORD_CHAR</property>
</object>
<packing>
<property name="top_attach">0</property>
<property name="left_attach">0</property>
</packing>
</child>
<child>
<object class="GtkButton" id="close_button">
<property name="visible">True</property>
<property name="focus_on_click">False</property>
<property name="relief">none</property>
<signal name="clicked" handler="on_close_button_clicked" swapped="no"/>
<child>
<object class="GtkImage">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="pixel_size">16</property>
<property name="icon_name">window-close-symbolic</property>
</object>
</child>
</object>
<packing>
<property name="top_attach">0</property>
<property name="left_attach">2</property>
</packing>
</child>
</object>
</child>
</template>
</interface>