From: Soeren Apel Date: Fri, 9 Jun 2017 20:44:38 +0000 (+0200) Subject: View: Improve 2a9fcd621 by using settings_restored_ X-Git-Tag: pulseview-0.4.0~13 X-Git-Url: http://sigrok.org/gitweb/?a=commitdiff_plain;h=b760e6e0527fd96608aeeff345b3a7c9cead9511;hp=b760e6e0527fd96608aeeff345b3a7c9cead9511;p=pulseview.git View: Improve 2a9fcd621 by using settings_restored_ The timer is no longer needed as the introduction of settings_restored_ allows us to determine whether we should resize the trace label header to its proper width when the show event is received. This is because the show event is received only after all widget resizing took place. This means that the header pane sizes will be reliable at this point, making this solution much cleaner than relying on a timer repeatedly calling expand_header_to_fit(). ---