summaryrefslogtreecommitdiffstats
path: root/shell/cc-panel-list.ui
diff options
context:
space:
mode:
Diffstat (limited to 'shell/cc-panel-list.ui')
-rw-r--r--shell/cc-panel-list.ui133
1 files changed, 133 insertions, 0 deletions
diff --git a/shell/cc-panel-list.ui b/shell/cc-panel-list.ui
new file mode 100644
index 0000000..c9e90e8
--- /dev/null
+++ b/shell/cc-panel-list.ui
@@ -0,0 +1,133 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <requires lib="gtk+" version="3.20"/>
+ <template class="CcPanelList" parent="AdwBin">
+
+ <child>
+ <object class="GtkStack" id="stack">
+ <property name="vhomogeneous">False</property>
+ <property name="hhomogeneous">True</property>
+ <property name="transition_type">slide-left-right</property>
+
+ <child>
+ <object class="GtkStackPage">
+ <property name="name">main</property>
+ <property name="child">
+ <object class="GtkListBox" id="main_listbox">
+ <accessibility>
+ <property name="label" translatable="yes">Settings categories</property>
+ </accessibility>
+ <signal name="row-activated" handler="row_activated_cb" object="CcPanelList" swapped="no" />
+ <style>
+ <class name="navigation-sidebar" />
+ </style>
+ <child>
+ <object class="GtkListBoxRow" id="privacy_row">
+ <property name="visible">False</property>
+ <child>
+ <object class="GtkBox">
+ <property name="margin-start">6</property>
+ <property name="margin-end">6</property>
+ <property name="margin-top">12</property>
+ <property name="margin-bottom">12</property>
+ <property name="spacing">12</property>
+ <child>
+ <object class="GtkImage">
+ <property name="icon_name">preferences-system-privacy-symbolic</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkLabel">
+ <property name="hexpand">True</property>
+ <property name="label" translatable="yes">Privacy</property>
+ <property name="xalign">0</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkImage">
+ <property name="icon_name">go-next-symbolic</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </property>
+ </object>
+ </child>
+
+ <child>
+ <object class="GtkStackPage">
+ <property name="name">privacy</property>
+ <property name="child">
+ <object class="GtkListBox" id="privacy_listbox">
+ <signal name="row-activated" handler="row_activated_cb" object="CcPanelList" swapped="no" />
+ <style>
+ <class name="navigation-sidebar" />
+ </style>
+ </object>
+ </property>
+ </object>
+ </child>
+
+ <child>
+ <object class="GtkStackPage">
+ <property name="name">search</property>
+ <property name="child">
+ <object class="GtkListBox" id="search_listbox">
+ <signal name="row-activated" handler="search_row_activated_cb" object="CcPanelList" swapped="no" />
+ <style>
+ <class name="navigation-sidebar" />
+ </style>
+
+ <!-- Placeholder -->
+ <child type="placeholder">
+ <object class="GtkBox" id="empty_search_placeholder">
+ <property name="halign">center</property>
+ <property name="valign">center</property>
+ <property name="hexpand">True</property>
+ <property name="vexpand">True</property>
+ <property name="margin-start">18</property>
+ <property name="margin-end">18</property>
+ <property name="margin-top">18</property>
+ <property name="margin-bottom">18</property>
+ <property name="orientation">vertical</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkImage">
+ <property name="pixel_size">64</property>
+ <property name="icon_name">edit-find-symbolic</property>
+ <style>
+ <class name="dim-label"/>
+ </style>
+ </object>
+ </child>
+ <child>
+ <object class="GtkLabel">
+ <property name="label" translatable="yes">No results found</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ <attribute name="scale" value="1.44"/>
+ </attributes>
+ </object>
+ </child>
+ <child>
+ <object class="GtkLabel">
+ <property name="label" translatable="yes">Try a different search</property>
+ <style>
+ <class name="dim-label"/>
+ </style>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </property>
+ </object>
+ </child>
+
+ </object>
+ </child>
+ </template>
+</interface>