main-window: Use CallsHistoryBox
This helps the window to be only a glue in between the actual UI elements instead of handling a lot of the UI.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<object class="GtkListStore" id="history_store"/>
|
||||
<template class="CallsHistoryBox" parent="GtkTreeView">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="model">history_store</property>
|
||||
<property name="model">history_store</property>
|
||||
<property name="visible">True</property>
|
||||
<child internal-child="selection">
|
||||
<object class="GtkTreeSelection"/>
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
<interface>
|
||||
<requires lib="gtk+" version="3.20"/>
|
||||
<requires lib="libhandy" version="0.0"/>
|
||||
<object class="GtkListStore" id="history_store"/>
|
||||
<object class="GtkListStore" id="origin_store">
|
||||
<columns>
|
||||
<!-- column-name name -->
|
||||
@@ -259,13 +258,9 @@
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkTreeView" id="history_view">
|
||||
<object class="CallsHistoryBox" id="history_view">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="model">history_store</property>
|
||||
<child internal-child="selection">
|
||||
<object class="GtkTreeSelection"/>
|
||||
</child>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="name">history</property>
|
||||
|
||||
Reference in New Issue
Block a user