Files
calls/src/ui/history-box.ui
T
Christopher Davis 50847dfe43 ui: Remove explicit can-focus
Glade misleads us into thinking we need these, but the
property is somewhat confusing in GTK3. In general we don't
want `can-focus` to be true for containers, as that will
break keynav for the children. For non-containers, the
defaults are appropriate.

Instead of manually setting `can-focus`, we should just
use the default values. GTK has sane defaults.

Fixes https://gitlab.gnome.org/GNOME/calls/-/issues/366
2021-12-04 14:40:08 -08:00

43 lines
1.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.22.0 -->
<interface>
<requires lib="gtk+" version="3.22"/>
<template class="CallsHistoryBox" parent="GtkStack">
<child>
<object class="HdyStatusPage">
<property name="visible">True</property>
<property name="icon-name">call-start-symbolic</property>
<property name="title" translatable="yes">No Recent Calls</property>
</object>
<packing>
<property name="name">empty</property>
</packing>
</child>
<child>
<object class="GtkScrolledWindow">
<property name="visible">True</property>
<property name="hscrollbar-policy">never</property>
<child>
<object class="HdyClamp">
<property name="visible">True</property>
<child>
<object class="GtkListBox" id="history">
<property name="visible">True</property>
<property name="margin">12</property>
<property name="valign">start</property>
<style>
<class name="content"/>
</style>
</object>
</child>
</object>
</child>
</object>
<packing>
<property name="name">history</property>
</packing>
</child>
</template>
</interface>