summaryrefslogtreecommitdiffstats
path: root/scripts/pybootchartgui/pybootchartgui.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-08 11:48:35 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-08 22:56:45 +0100
commit020911ab590624406f406237f8750b0ea8be320b (patch)
treeb27790bf6a76204f0288062bad03cf0b94d8b24e /scripts/pybootchartgui/pybootchartgui.py
parentd13b904305289df1d3ab81f86350d7ff99d2966d (diff)
downloadpoky-020911ab590624406f406237f8750b0ea8be320b.tar.gz
scripts/pybootchart: Port to python3
This updates the pybootchart code (used for viewing build timing profiles) to use python3. The bulk of the changes are to use gi instead of pygtk, i.e. port from gtk+2 to gtk+3. The main change is to make the bootchart widget inherit gtk.Scrollable and change the way the scrollbars are implemented to match the new method upstream. The drawing code used cairo already so can remain unchanged, (From OE-Core rev: 949144681ad7f536732169351cab6d0612e9c566) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/pybootchartgui/pybootchartgui.py')
-rwxr-xr-xscripts/pybootchartgui/pybootchartgui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pybootchartgui/pybootchartgui.py b/scripts/pybootchartgui/pybootchartgui.py
index 7ce1a5be40..1c4062b42c 100755
--- a/scripts/pybootchartgui/pybootchartgui.py
+++ b/scripts/pybootchartgui/pybootchartgui.py
@@ -1,4 +1,4 @@
1#!/usr/bin/env python 1#!/usr/bin/env python3
2# 2#
3# This file is part of pybootchartgui. 3# This file is part of pybootchartgui.
4 4