InAppNotification: Change box margins.

This commit is contained in:
Jordan Petridis 2018-03-09 19:36:43 +02:00
parent 745ea0ca10
commit 8614922213
No known key found for this signature in database
GPG Key ID: CEABAD9F5683B9A6
2 changed files with 4 additions and 4 deletions

View File

@ -25,9 +25,9 @@
<property name="can_focus">False</property>
<property name="halign">center</property>
<property name="valign">center</property>
<property name="margin_top">6</property>
<property name="margin_bottom">6</property>
<property name="spacing">12</property>
<property name="margin_left">6</property>
<property name="margin_right">6</property>
<property name="spacing">6</property>
<child>
<object class="GtkLabel" id="text">
<property name="visible">True</property>

View File

@ -169,7 +169,7 @@ impl App {
glib::Continue(false)
});
let text = "Marked all episodes as listened.";
let text = "Marked all episodes as listened";
let notif = InAppNotification::new(text.into(), callback, sender.clone());
overlay.add_overlay(&notif.overlay);
// We need to display the notification after the widget is added to the overlay