gnome-control-center/panels/keyboard/cc-input-list-box.ui
Automeris naranja 26c22045dd input-list-box: Remove "No input source selected" placeholder row
This placeholder row will never show because the list box will never be
empty due to the presence of the "Add Input Source" row, which also acts
as a placeholder. Also, the placeholder row broke the list box row
counting even more.

So, remove the "No input source selected" placeholder row, as it's
unnecessary.
2024-06-02 22:54:38 +00:00

22 lines
886 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="CcInputListBox" parent="AdwBin">
<child>
<object class="GtkListBox" id="listbox">
<property name="selection-mode">none</property>
<signal name="row_activated" handler="input_row_activated_cb" object="CcInputListBox" swapped="yes"/>
<signal name="keynav_failed" handler="keynav_failed_cb" object="CcInputListBox" swapped="yes"/>
<style>
<class name="boxed-list"/>
</style>
<child>
<object class="AdwButtonRow" id="add_input_row">
<property name="title" translatable="yes">_Add Input Source</property>
<property name="start-icon-name">list-add-symbolic</property>
<property name="use-underline">True</property>
</object>
</child>
</object>
</child>
</template>
</interface>