diff options
Diffstat (limited to 'panels/common/cc-permission-infobar.ui')
-rw-r--r-- | panels/common/cc-permission-infobar.ui | 71 |
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> |