diff options
Diffstat (limited to 'panels/common/cc-permission-infobar.ui')
-rw-r--r-- | panels/common/cc-permission-infobar.ui | 66 |
1 files changed, 3 insertions, 63 deletions
diff --git a/panels/common/cc-permission-infobar.ui b/panels/common/cc-permission-infobar.ui index a2830b98f..d8e35c1ca 100644 --- a/panels/common/cc-permission-infobar.ui +++ b/panels/common/cc-permission-infobar.ui @@ -1,70 +1,10 @@ <?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 class="AdwBanner" id="banner"> + <property name="button-label" translatable="yes">_Unlock…</property> + <signal name="button-clicked" handler="banner_button_clicked_cb" swapped="yes"/> </object> </child> </template> |