Whenever there isn't a GPermission set, the infobar should show "Error: some settings cannot be unlocked". See https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1708#note_1742075
12 lines
490 B
XML
12 lines
490 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<template class="CcPermissionInfobar" parent="AdwBin">
|
|
<child>
|
|
<object class="AdwBanner" id="banner">
|
|
<property name="title" translatable="yes">Error: some settings cannot be unlocked</property>
|
|
<property name="button-label" translatable="yes">_Unlock…</property>
|
|
<signal name="button-clicked" handler="banner_button_clicked_cb" swapped="yes"/>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|