summaryrefslogtreecommitdiff
path: root/src/gui/views/gcal-agenda-view.ui
blob: 08f27a9e343fa78a48f4bfe6ffd86bd5efd61ca2 (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
49
50
51
<?xml version="1.0"?>
<interface>
  <template class="GcalAgendaView" parent="GtkBox">
    <property name="orientation">vertical</property>
    <style>
      <class name="week-view" />
    </style>
    <child>
      <object class="GcalWeekHeader" id="header">
        <property name="visible">False</property>
        <signal name="event-activated" handler="on_event_activated" object="GcalAgendaView" swapped="yes" />
      </object>
    </child>
    <child>
      <object class="GcalWeekGrid" id="week_grid">
        <property name="visible">False</property>
        <property name="hexpand">True</property>
        <property name="vexpand">True</property>
        <signal name="event-activated" handler="on_event_activated" object="GcalAgendaView" swapped="yes" />
      </object>
    </child>
    <child>
      <object class="GtkScrolledWindow" id="scrolled_window">
        <property name="hexpand">True</property>
        <property name="vexpand">True</property>
        <child>
          <object class="GtkListBox" id="list_box">
            <property name="hexpand">True</property>
            <property name="selection-mode">none</property>
            <property name="vexpand">True</property>
            <child>
              <object class="GtkListBoxRow" id="no_events_row">
                <property name="activatable">False</property>
                <property name="child">
                  <object class="GtkLabel">
                    <property name="label" translatable="yes">No events</property>
                    <property name="xalign">0</property>
                    <style>
                      <class name="no-events" />
                      <class name="dim-label" />
                    </style>
                  </object>
                </property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>