[gnome-clocks/zbrown/list-alarms: 36/42] alarms: update empty state
- From: Zander <zbrown src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-clocks/zbrown/list-alarms: 36/42] alarms: update empty state
- Date: Wed, 5 Feb 2020 16:31:34 +0000 (UTC)
commit c0ba39e4c3606046fa68e58328bad8530004ee3d
Author: Zander Brown <zbrown gnome org>
Date: Thu Jan 16 01:13:02 2020 +0000
alarms: update empty state
data/ui/alarm.ui | 32 +++++++++++++-------------------
1 file changed, 13 insertions(+), 19 deletions(-)
---
diff --git a/data/ui/alarm.ui b/data/ui/alarm.ui
index 3e1a782..578fe45 100644
--- a/data/ui/alarm.ui
+++ b/data/ui/alarm.ui
@@ -7,39 +7,33 @@
<property name="homogeneous">False</property>
<signal name="notify::visible-child" handler="visible_child_changed" swapped="no"/>
<child>
- <object class="GtkGrid" id="empty_view">
+ <object class="GtkBox" id="empty_view">
<property name="visible">True</property>
- <property name="can_focus">False</property>
<property name="halign">center</property>
<property name="valign">center</property>
- <property name="row_spacing">6</property>
+ <property name="spacing">24</property>
+ <property name="orientation">vertical</property>
<child>
<object class="GtkImage" id="image1">
<property name="visible">True</property>
- <property name="sensitive">False</property>
- <property name="can_focus">False</property>
<property name="icon_name">alarm-symbolic</property>
- <property name="icon_size">6</property>
+ <property name="pixel-size">128</property>
+ <style>
+ <class name="dim-label"/>
+ </style>
</object>
- <packing>
- <property name="left_attach">0</property>
- <property name="top_attach">0</property>
- </packing>
</child>
<child>
- <object class="GtkLabel" id="label1">
+ <object class="GtkButton">
<property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">Select <b>New</b> to add an
alarm</property>
- <property name="use_markup">True</property>
+ <property name="action-name">win.new</property>
+ <property name="label" translatable="yes">Add A_larm</property>
+ <property name="use-underline">True</property>
+ <property name="halign">center</property>
<style>
- <class name="dim-label"/>
+ <class name="suggested-action"/>
</style>
</object>
- <packing>
- <property name="left_attach">0</property>
- <property name="top_attach">1</property>
- </packing>
</child>
</object>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]