summaryrefslogtreecommitdiff
path: root/panels/wacom/cc-wacom-panel.ui
diff options
context:
space:
mode:
Diffstat (limited to 'panels/wacom/cc-wacom-panel.ui')
-rw-r--r--panels/wacom/cc-wacom-panel.ui52
1 files changed, 32 insertions, 20 deletions
diff --git a/panels/wacom/cc-wacom-panel.ui b/panels/wacom/cc-wacom-panel.ui
index 28a9d79b6..77e7e16a9 100644
--- a/panels/wacom/cc-wacom-panel.ui
+++ b/panels/wacom/cc-wacom-panel.ui
@@ -15,34 +15,46 @@
</child>
<child type="content">
- <object class="GtkScrolledWindow">
- <property name="hscrollbar-policy">never</property>
- <property name="vadjustment">vadjustment</property>
+ <object class="GtkStack" id="initial_state_stack">
+ <property name="transition_duration">0</property>
<child>
- <object class="AdwClamp" id="scrollable">
- <property name="margin_top">32</property>
- <property name="margin_bottom">32</property>
- <property name="margin_start">12</property>
- <property name="margin_end">12</property>
-
+ <object class="GtkScrolledWindow" id="panel_view">
+ <property name="hscrollbar-policy">never</property>
+ <property name="vadjustment">vadjustment</property>
<child>
- <object class="GtkBox">
- <property name="spacing">48</property>
- <property name="orientation">vertical</property>
+ <object class="AdwClamp" id="scrollable">
+ <property name="margin_top">32</property>
+ <property name="margin_bottom">32</property>
+ <property name="margin_start">12</property>
+ <property name="margin_end">12</property>
+
<child>
- <object class="GtkBox" id="tablets">
- <property name="orientation">vertical</property>
+ <object class="GtkBox">
<property name="spacing">48</property>
- </object>
- </child>
- <child>
- <object class="GtkBox" id="styli">
<property name="orientation">vertical</property>
- <property name="spacing">48</property>
- </object>
+ <child>
+ <object class="GtkBox" id="tablets">
+ <property name="orientation">vertical</property>
+ <property name="spacing">48</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkBox" id="styli">
+ <property name="orientation">vertical</property>
+ <property name="spacing">48</property>
+ </object>
+ </child>
+ </object>
</child>
</object>
</child>
+ </object>
+ </child>
+ <child>
+ <object class="AdwStatusPage" id="panel_empty_state">
+ <property name="icon-name">input-tablet-symbolic</property>
+ <property name="title" translatable="yes">No tablet detected</property>
+ <property name="description" translatable="yes">Please plug in or turn on your Wacom tablet.</property>
</object>
</child>
</object>