Improve background check handling, and hide services until connection is proved.
This commit is contained in:
@@ -49,11 +49,24 @@
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<!-- Middle: Cards Grid/Scroller -->
|
||||
<!-- Middle: Status / Cards -->
|
||||
<child>
|
||||
<object class="GtkOverlay" id="content_area">
|
||||
<property name="vexpand">true</property>
|
||||
<property name="hexpand">true</property>
|
||||
|
||||
<!-- Cards -->
|
||||
<child>
|
||||
<object class="GtkRevealer" id="cards_revealer">
|
||||
<property name="transition-type">crossfade</property>
|
||||
<property name="transition-duration">500</property>
|
||||
<property name="reveal-child">false</property>
|
||||
|
||||
<child>
|
||||
<object class="GtkScrolledWindow">
|
||||
<object class="GtkScrolledWindow" id="cards_scroller">
|
||||
<property name="vexpand">true</property>
|
||||
<property name="hexpand">true</property>
|
||||
|
||||
<child>
|
||||
<object class="GtkFlowBox" id="cards_flow">
|
||||
<property name="halign">3</property>
|
||||
@@ -68,6 +81,55 @@
|
||||
</object>
|
||||
</child>
|
||||
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<!-- Startup message -->
|
||||
<child type="overlay">
|
||||
<object class="GtkRevealer" id="startup_revealer">
|
||||
<property name="transition-type">crossfade</property>
|
||||
<property name="transition-duration">500</property>
|
||||
<property name="reveal-child">true</property>
|
||||
<property name="halign">3</property>
|
||||
<property name="valign">3</property>
|
||||
|
||||
<child>
|
||||
<object class="GtkBox" id="startup_message">
|
||||
<style>
|
||||
<class name="startup-message"/>
|
||||
</style>
|
||||
<property name="orientation">1</property>
|
||||
<property name="spacing">8</property>
|
||||
<property name="halign">3</property>
|
||||
<property name="valign">3</property>
|
||||
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="label">Connecting...</property>
|
||||
<style>
|
||||
<class name="startup-message-title"/>
|
||||
</style>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="label">Waiting for network connectivity before enabling services.</property>
|
||||
<property name="justify">2</property>
|
||||
<style>
|
||||
<class name="startup-message-description"/>
|
||||
</style>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
</object>
|
||||
</child>
|
||||
|
||||
</object>
|
||||
</child>
|
||||
|
||||
</object>
|
||||
</child>
|
||||
<!-- Bottom: Status Bar -->
|
||||
<child>
|
||||
<object class="GtkBox" id="status_bar">
|
||||
|
||||
Reference in New Issue
Block a user