mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
sysprof: sort before filter and make incremental
Doing this in reverse *and* making it incremental seems to work better than just making them incremental. So do that so the UI stays responsive even if it flickers to an empty set momentarily.
This commit is contained in:
@ -75,13 +75,15 @@
|
|||||||
<property name="show-row-separators">true</property>
|
<property name="show-row-separators">true</property>
|
||||||
<property name="model">
|
<property name="model">
|
||||||
<object class="GtkSingleSelection" id="selection">
|
<object class="GtkSingleSelection" id="selection">
|
||||||
|
<property name="model">
|
||||||
|
<object class="GtkFilterListModel">
|
||||||
|
<property name="incremental">true</property>
|
||||||
<property name="model">
|
<property name="model">
|
||||||
<object class="GtkSortListModel">
|
<object class="GtkSortListModel">
|
||||||
|
<property name="incremental">true</property>
|
||||||
<binding name="sorter">
|
<binding name="sorter">
|
||||||
<lookup name="sorter">column_view</lookup>
|
<lookup name="sorter">column_view</lookup>
|
||||||
</binding>
|
</binding>
|
||||||
<property name="model">
|
|
||||||
<object class="GtkFilterListModel">
|
|
||||||
<property name="model">
|
<property name="model">
|
||||||
<object class="SysprofTimeFilterModel">
|
<object class="SysprofTimeFilterModel">
|
||||||
<binding name="time-span">
|
<binding name="time-span">
|
||||||
@ -98,6 +100,8 @@
|
|||||||
</binding>
|
</binding>
|
||||||
</object>
|
</object>
|
||||||
</property>
|
</property>
|
||||||
|
</object>
|
||||||
|
</property>
|
||||||
<property name="filter">
|
<property name="filter">
|
||||||
<object class="GtkAnyFilter">
|
<object class="GtkAnyFilter">
|
||||||
<!-- support searching in all fields -->
|
<!-- support searching in all fields -->
|
||||||
@ -162,8 +166,6 @@
|
|||||||
</property>
|
</property>
|
||||||
</object>
|
</object>
|
||||||
</property>
|
</property>
|
||||||
</object>
|
|
||||||
</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkColumnViewColumn" id="time_column">
|
<object class="GtkColumnViewColumn" id="time_column">
|
||||||
<property name="title" translatable="yes">Time</property>
|
<property name="title" translatable="yes">Time</property>
|
||||||
|
|||||||
Reference in New Issue
Block a user