The `.content` style class is deprecated in favor of the `.boxed-list` style class, which is named after the design pattern it's used for.
84 lines
4 KiB
XML
84 lines
4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<requires lib="gtk+" version="3.12"/>
|
|
<template class="CcNotificationsPanel" parent="CcPanel">
|
|
<child>
|
|
<object class="GtkScrolledWindow" id="main_scrolled_window">
|
|
<property name="hscrollbar_policy">never</property>
|
|
<property name="vadjustment">focus_adjustment</property>
|
|
<child>
|
|
<object class="GtkViewport">
|
|
<child>
|
|
<object class="AdwClamp">
|
|
<property name="margin_top">32</property>
|
|
<property name="margin_bottom">32</property>
|
|
<property name="margin_start">12</property>
|
|
<property name="margin_end">12</property>
|
|
<child>
|
|
<object class="GtkBox" id="main_box">
|
|
<property name="orientation">vertical</property>
|
|
<property name="hexpand">True</property>
|
|
<child>
|
|
<object class="GtkListBox" id="options_listbox">
|
|
<property name="hexpand">True</property>
|
|
<property name="selection_mode">none</property>
|
|
<property name="margin_bottom">32</property>
|
|
<signal name="keynav-failed" handler="keynav_failed" object="CcNotificationsPanel" swapped="yes" />
|
|
<style>
|
|
<class name="boxed-list"/>
|
|
</style>
|
|
<child>
|
|
<object class="CcListRow" id="dnd_row">
|
|
<property name="title" translatable="yes">_Do Not Disturb</property>
|
|
<property name="use-underline">True</property>
|
|
<property name="show-switch">True</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="CcListRow" id="lock_screen_row">
|
|
<property name="title" translatable="yes">_Lock Screen Notifications</property>
|
|
<property name="use-underline">True</property>
|
|
<property name="show-switch">True</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="app_list_heading_label">
|
|
<property name="xalign">0</property>
|
|
<property name="margin_bottom">12</property>
|
|
<property name="label" translatable="yes" comments="List of applications.">Applications</property>
|
|
<attributes>
|
|
<attribute name="weight" value="bold"/>
|
|
</attributes>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkListBox" id="app_listbox">
|
|
<property name="hexpand">True</property>
|
|
<property name="selection_mode">none</property>
|
|
<signal name="keynav-failed" handler="keynav_failed" object="CcNotificationsPanel" swapped="yes" />
|
|
<signal name="row-activated" handler="select_app" object="CcNotificationsPanel" swapped="yes" />
|
|
<style>
|
|
<class name="boxed-list"/>
|
|
</style>
|
|
<accessibility>
|
|
<relation name="labelled-by">app_list_heading_label</relation>
|
|
</accessibility>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
<object class="GtkSizeGroup" id="sizegroup1">
|
|
<property name="mode">both</property>
|
|
</object>
|
|
<object class="GtkAdjustment" id="focus_adjustment">
|
|
</object>
|
|
</interface>
|