Headerbar: Added update indication.

This commit is contained in:
Jordan Petridis
2017-12-29 22:58:20 +02:00
parent bcc089bd82
commit ce08d49107
5 changed files with 76 additions and 14 deletions
+31
View File
@@ -159,6 +159,37 @@
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkBox" id="update_notification">
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
<child>
<object class="GtkSpinner" id="update_spinner">
<property name="can_focus">False</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="padding">6</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="update_label">
<property name="can_focus">False</property>
<property name="label" translatable="yes">Fetching new episodes</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="position">3</property>
</packing>
</child>
<child type="title">
<object class="GtkBox">
<property name="visible">True</property>
+1 -1
View File
@@ -151,7 +151,7 @@
<property name="receives_default">True</property>
<property name="halign">center</property>
<property name="valign">center</property>
<property name="action_name">app.update</property>
<property name="action_name">app.refresh</property>
<style>
<class name="destructive-action"/>
</style>