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:
parent
0675662f86
commit
533a32e67b
23 changed files with 1724 additions and 1872 deletions
25
ui/conversation-list-view.ui
Normal file
25
ui/conversation-list-view.ui
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Generated with glade 3.38.2 -->
|
||||
<interface>
|
||||
<requires lib="gtk+" version="3.24"/>
|
||||
<template class="ConversationListView" parent="GtkScrolledWindow">
|
||||
<property name="width-request">250</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can-focus">False</property>
|
||||
<child>
|
||||
<object class="GtkViewport">
|
||||
<property name="visible">True</property>
|
||||
<property name="shadow-type">none</property>
|
||||
<property name="can-focus">False</property>
|
||||
<child>
|
||||
<object class="GtkListBox" id="list">
|
||||
<property name="name">conversation-list</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="selection-mode">single</property>
|
||||
<property name="activate-on-single-click">false</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</template>
|
||||
</interface>
|
||||
Loading…
Add table
Add a link
Reference in a new issue