Skip to content

Instantly share code, notes, and snippets.

@mattiasb
Created October 13, 2014 10:59
Show Gist options
  • Save mattiasb/f9e1b1f37a19a29aa8e1 to your computer and use it in GitHub Desktop.
Save mattiasb/f9e1b1f37a19a29aa8e1 to your computer and use it in GitHub Desktop.
No-network UI
<object class="GtkGrid" id="no-network-conn-message">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<property name="margin-start">15</property>
<child>
<object class="GtkLabel" id="message1">
<attributes>
<attribute name="weight" value="bold" />
<attribute name="scale" value="2.0" />
</attributes>
<property name="label" translatable="yes">Maps is offline!</property>
<property name="halign">start</property>
</object>
</child>
<child>
<object class="GtkLabel" id="message2">
<property name="wrap">True</property>
<property name="max-width-chars">41</property>
<property name="margin_top">10</property>
<property name="halign">start</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">Maps need an active internet connection to function properly, but one can't be found.
Check your connection and proxy settings.</property>
</object>
</child>
</object>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment