[gimp/gimp-2-10] tools: in performance-log-viewer.py, allow sorting profile by function name



commit 8e6c7c10df73b6159d909c368ac60dda60c555ca
Author: Ell <ell_se yahoo com>
Date:   Sun Oct 21 03:33:51 2018 -0400

    tools: in performance-log-viewer.py, allow sorting profile by function name
    
    In the performance-log viewer's profile view, allow sorting the
    call-graph tree-views by function name, in addition to the
    inclusive/exclusive frequencies.
    
    (cherry picked from commit 4664fa73fb0fc4bcc6c6329d4b0b1005d7aa2e18)

 tools/performance-log-viewer.py | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/tools/performance-log-viewer.py b/tools/performance-log-viewer.py
index 58b7effb74..e7aa5e4465 100755
--- a/tools/performance-log-viewer.py
+++ b/tools/performance-log-viewer.py
@@ -2570,6 +2570,7 @@ class ProfileViewer (Gtk.ScrolledWindow):
             col = Gtk.TreeViewColumn (title = "Function")
             tree.append_column (col)
             col.set_resizable (True)
+            col.set_sort_column_id (store.FUNCTION)
 
             cell = Gtk.CellRendererText (ellipsize = Pango.EllipsizeMode.END)
             col.pack_start (cell, True)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]