summaryrefslogtreecommitdiffstats
path: root/panels/notifications/cc-notifications-panel.ui
blob: acba49f39ee2b8879164df75e9de529206d9f6a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <template class="CcNotificationsPanel" parent="CcPanel">
    <child type="content">
      <object class="AdwPreferencesPage">
        <child>
          <object class="AdwPreferencesGroup">
            <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" comments="Translators: Whether to show notifications on the lock screen">_Lock Screen Notifications</property>
                <property name="use-underline">True</property>
                <property name="show-switch">True</property>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="AdwPreferencesGroup" id="app_group">
            <property name="title" translatable="yes" comments="List of applications.">Applications</property>
            <child>
              <object class="GtkListBox" id="app_listbox">
                <property name="selection_mode">none</property>
                <signal name="row-activated" handler="select_app" object="CcNotificationsPanel" swapped="yes" />
                <signal name="keynav-failed" handler="keynav_failed_cb" object="CcNotificationsPanel" swapped="yes"/>
                <style>
                  <class name="boxed-list"/>
                </style>
                <accessibility>
                  <relation name="labelled-by">app_group</relation>
                </accessibility>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
  <object class="GtkSizeGroup" id="sizegroup1">
    <property name="mode">both</property>
  </object>
</interface>