summaryrefslogtreecommitdiffstats
path: root/panels/background/cc-background-preview.ui
diff options
context:
space:
mode:
Diffstat (limited to 'panels/background/cc-background-preview.ui')
-rw-r--r--panels/background/cc-background-preview.ui152
1 files changed, 152 insertions, 0 deletions
diff --git a/panels/background/cc-background-preview.ui b/panels/background/cc-background-preview.ui
new file mode 100644
index 0000000..30f7902
--- /dev/null
+++ b/panels/background/cc-background-preview.ui
@@ -0,0 +1,152 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <!-- interface-requires gtk+ 3.0 -->
+ <template class="CcBackgroundPreview" parent="GtkBox">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="vexpand">False</property>
+ <style>
+ <class name="frame" />
+ </style>
+
+ <child>
+ <object class="GtkOverlay">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="hexpand">True</property>
+
+ <!-- Wallpaper -->
+ <child>
+ <object class="GtkDrawingArea" id="drawing_area">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="expand">True</property>
+ <signal name="draw" handler="on_preview_draw_cb" object="CcBackgroundPreview" swapped="yes" />
+ </object>
+ </child>
+
+ <!-- Desktop / Lock Screen widgets -->
+ <child type="overlay">
+ <object class="GtkStack" id="stack">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="expand">True</property>
+
+ <child>
+ <object class="GtkFrame" id="desktop_frame">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="shadow-type">none</property>
+ <property name="valign">start</property>
+ <style>
+ <class name="desktop-preview" />
+ </style>
+
+ <child>
+ <object class="GtkBox">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+
+ <child>
+ <object class="GtkLabel">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="label" translatable="yes">Activities</property>
+ </object>
+ </child>
+
+ <child type="center">
+ <object class="GtkLabel" id="desktop_clock_label">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ </object>
+ </child>
+
+ <child>
+ <object class="GtkBox">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="spacing">4</property>
+
+ <child>
+ <object class="GtkImage">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="icon-name">network-wireless-symbolic</property>
+ <property name="pixel-size">6</property>
+ </object>
+ </child>
+
+ <child>
+ <object class="GtkImage">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="icon-name">audio-volume-high-symbolic</property>
+ <property name="pixel-size">6</property>
+ </object>
+ </child>
+
+ <child>
+ <object class="GtkImage">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="icon-name">battery-low-symbolic</property>
+ <property name="pixel-size">6</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="pack-type">end</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+
+ </object>
+ </child>
+
+
+ <child>
+ <object class="GtkFrame" id="lock_frame">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="shadow-type">none</property>
+ <child>
+ <object class="GtkLabel" id="lock_screen_label">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="expand">True</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ </object>
+ </child>
+ <style>
+ <class name="lock-screen-preview" />
+ </style>
+ </object>
+ </child>
+ </object>
+ </child>
+
+ <!-- Wallpaper -->
+ <child type="overlay">
+ <object class="GtkImage" id="animated_background_icon">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="halign">end</property>
+ <property name="valign">end</property>
+ <property name="margin-end">8</property>
+ <property name="margin-bottom">8</property>
+ <property name="pixel-size">16</property>
+ <property name="icon-name">slideshow-emblem</property>
+ <style>
+ <class name="slideshow-icon" />
+ </style>
+ </object>
+ </child>
+
+ </object>
+ </child>
+ </template>
+</interface>