While the combo box for devices can get ellipsized labels, the one for the profile cannot. For Bluetooth profiles with long descriptive names, this can lead to large minimal widths for the combo box, the row, and the panel. Signed-off-by: Markus Göllnitz <camelcasenick@bewares.it>
24 lines
774 B
XML
24 lines
774 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<!-- interface-requires gtk+ 3.0 -->
|
|
<template class="CcProfileComboBox" parent="GtkComboBox">
|
|
<property name="model">profile_model</property>
|
|
<signal name="changed" handler="profile_changed_cb" object="CcProfileComboBox" swapped="yes"/>
|
|
<child>
|
|
<object class="GtkCellRendererText">
|
|
<property name="ellipsize">end</property>
|
|
</object>
|
|
<attributes>
|
|
<attribute name="text">0</attribute>
|
|
</attributes>
|
|
</child>
|
|
</template>
|
|
<object class="GtkListStore" id="profile_model">
|
|
<columns>
|
|
<!-- column-name title -->
|
|
<column type="gchararray"/>
|
|
<!-- column-name profile -->
|
|
<column type="gchararray"/>
|
|
</columns>
|
|
</object>
|
|
</interface>
|