From 696626bc0ea323b39cf231ececdbaac88bfc1fe1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C3=A9cureuil?= Date: Tue, 19 May 2015 12:59:00 +0200 Subject: Fix use of get_iter_root --- src/msec/msecgui.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/msec/msecgui.py b/src/msec/msecgui.py index 21496c1..5e1a132 100755 --- a/src/msec/msecgui.py +++ b/src/msec/msecgui.py @@ -957,7 +957,7 @@ class MsecGui: else: # revert back to the selected level or switch to 'Standard' if none level = config.STANDARD_LEVEL - iter = self.level_list.get_iter_root() + iter = self.level_list.get_iter_first() while iter: list_level = self.level_list.get_value(iter, self.COLUMN_LEVEL) list_weight = self.level_list.get_value(iter, self.COLUMN_LEVEL_CURRENT) @@ -993,7 +993,7 @@ class MsecGui: # updating the markup of new current level unless switching to 'None' level # in this case, we'll still use current level in case user decides to switch back later if level != config.NONE_LEVEL: - iter = self.level_list.get_iter_root() + iter = self.level_list.get_iter_first() while iter: list_level = self.level_list.get_value(iter, self.COLUMN_LEVEL) if list_level != level: @@ -1011,7 +1011,7 @@ class MsecGui: for z in self.current_options_view: options, curconfig = self.current_options_view[z] - iter = options.get_iter_root() + iter = options.get_iter_first() # what options are we changing if curconfig.__class__ == config.MsecConfig: # main msec options -- cgit v1.2.1