Files
federated-calendar/src/gui/views/gcal-agenda-view.ui
T
Hari Rana 0aaf13626c views/agenda: Only focus rows
This is to avoid selecting the event widget twice, while still
being able to use the GtkListBoxRow's features.
2025-04-30 21:43:43 -03:00

39 lines
1.4 KiB
XML

<?xml version="1.0"?>
<interface>
<template class="GcalAgendaView" parent="GtkBox">
<property name="orientation">vertical</property>
<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>
<signal name="row-activated" handler="on_list_box_row_activated_cb" object="GcalAgendaView" swapped="no" />
<style>
<class name="background" />
</style>
<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>