summaryrefslogtreecommitdiffstats
path: root/panels/common/cc-permission-infobar.ui
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:45:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:45:20 +0000
commitae1c76ff830d146d41e88d6fba724c0a54bce868 (patch)
tree3c354bec95af07be35fc71a4b738268496f1a1c4 /panels/common/cc-permission-infobar.ui
parentInitial commit. (diff)
downloadgnome-control-center-ae1c76ff830d146d41e88d6fba724c0a54bce868.tar.xz
gnome-control-center-ae1c76ff830d146d41e88d6fba724c0a54bce868.zip
Adding upstream version 1:43.6.upstream/1%43.6upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'panels/common/cc-permission-infobar.ui')
-rw-r--r--panels/common/cc-permission-infobar.ui71
1 files changed, 71 insertions, 0 deletions
diff --git a/panels/common/cc-permission-infobar.ui b/panels/common/cc-permission-infobar.ui
new file mode 100644
index 0000000..a2830b9
--- /dev/null
+++ b/panels/common/cc-permission-infobar.ui
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <template class="CcPermissionInfobar" parent="AdwBin">
+ <property name="valign">start</property>
+ <child>
+ <object class="GtkRevealer" id="revealer">
+ <property name="hexpand">True</property>
+ <property name="reveal-child">True</property>
+ <child>
+ <object class="GtkInfoBar">
+ <child>
+ <object class="GtkBox">
+ <property name="margin-top">10</property>
+ <property name="margin-bottom">10</property>
+ <property name="margin-start">10</property>
+ <property name="margin-end">10</property>
+ <property name="spacing">10</property>
+ <child>
+ <object class="GtkImage">
+ <property name="icon-name">system-lock-screen-symbolic</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkBox">
+ <property name="hexpand">True</property>
+ <property name="orientation">vertical</property>
+ <child>
+ <object class="GtkLabel" id="title">
+ <property name="halign">start</property>
+ <property name="wrap">True</property>
+ <!-- Actual string set in code -->
+ <property name="label"></property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
+ </object>
+ </child>
+ <child>
+ <object class="GtkLabel">
+ <property name="halign">start</property>
+ <property name="wrap">True</property>
+ <property name="label" translatable="yes">Some settings must be unlocked before they can be changed.</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+
+ <child>
+ <object class="GtkCenterBox">
+ <property name="margin-top">10</property>
+ <property name="margin-bottom">10</property>
+ <property name="margin-start">10</property>
+ <property name="margin-end">10</property>
+ <child type="end">
+ <object class="GtkLockButton" id="lock_button">
+ <property name="receives-default">True</property>
+ <property name="label" translatable="yes">Unlockā€¦</property>
+ <property name="valign">GTK_ALIGN_CENTER</property>
+ </object>
+ </child>
+ </object>
+ </child>
+
+ </object>
+ </child>
+ </object>
+ </child>
+ </template>
+</interface>