client: conversation-list: Migrate from TreeView to ListBox

- Replace ConversationListStore with ConversationListModel
- Replace GtkTreeView with GtkListBox
- Implement proper multiselection for ListBox
- Rework navigation to be touch friendly

Fork of John Renner <john@jrenner.net> merge request !698
This commit is contained in:
Cédric Bellegarde 2022-09-14 15:12:49 +02:00 committed by Niels De Graef
parent 0675662f86
commit 533a32e67b
23 changed files with 1724 additions and 1872 deletions

View file

@ -61,7 +61,24 @@
</object>
<packing>
<property name="pack_type">end</property>
<property name="position">3</property>
</packing>
</child>
<child>
<object class="GtkToggleButton" id="selection_button">
<property name="visible">True</property>
<property name="focus_on_click">False</property>
<property name="receives_default">False</property>
<property name="tooltip_text" translatable="yes">Selection conversations</property>
<property name="always_show_image">True</property>
<child>
<object class="GtkImage" id="selection_button_image">
<property name="visible">True</property>
<property name="icon_name">selection-mode-symbolic</property>
</object>
</child>
</object>
<packing>
<property name="pack_type">end</property>
</packing>
</child>
</template>