Move sync indicator into a separate widget
And move the new widget into the headerbar itself, instead of the calendars button.
This commit is contained in:
@@ -4,58 +4,12 @@
|
||||
<child>
|
||||
<object class="GtkMenuButton">
|
||||
<property name="tooltip_text" translatable="yes">Manage your calendars</property>
|
||||
<property name="use-underline">True</property>
|
||||
<property name="label" translatable="yes">_Calendars</property>
|
||||
<property name="popover">popover</property>
|
||||
<style>
|
||||
<class name="image-button" />
|
||||
</style>
|
||||
|
||||
<child>
|
||||
<object class="GtkStack" id="icon_stack">
|
||||
<property name="transition-type">crossfade</property>
|
||||
<property name="transition-duration">250</property>
|
||||
<child>
|
||||
<object class="GtkStackPage">
|
||||
<property name="name">icon</property>
|
||||
<property name="child">
|
||||
<object class="GtkBox">
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="label" translatable="yes">_Calendars</property>
|
||||
<property name="use-underline">True</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkImage" id="calendar_image">
|
||||
<property name="icon_name">pan-down-symbolic</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkStackPage">
|
||||
<property name="name">spinner</property>
|
||||
<property name="child">
|
||||
<object class="GtkSpinner" id="refreshing_spinner">
|
||||
<property name="tooltip_text" translatable="yes" context="tooltip">Synchronizing remote calendars…</property>
|
||||
</object>
|
||||
</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkStackPage">
|
||||
<property name="name">success</property>
|
||||
<property name="child">
|
||||
<object class="GtkImage" id="success_image">
|
||||
<property name="icon_name">emblem-ok-symbolic</property>
|
||||
</object>
|
||||
</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
</object>
|
||||
</child>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user