aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNicolas Lécureuil <neoclust@mageia.org>2015-05-19 12:59:00 +0200
committerNicolas Lécureuil <neoclust@mageia.org>2015-05-19 12:59:00 +0200
commit696626bc0ea323b39cf231ececdbaac88bfc1fe1 (patch)
tree4f67cf2a29525687288ab8840fbbbf054853bd98 /src
parent7e25eb6e61818846f537db62163c158cb55f2529 (diff)
downloadmsec-696626bc0ea323b39cf231ececdbaac88bfc1fe1.tar
msec-696626bc0ea323b39cf231ececdbaac88bfc1fe1.tar.gz
msec-696626bc0ea323b39cf231ececdbaac88bfc1fe1.tar.bz2
msec-696626bc0ea323b39cf231ececdbaac88bfc1fe1.tar.xz
msec-696626bc0ea323b39cf231ececdbaac88bfc1fe1.zip
Fix use of get_iter_root
Diffstat (limited to 'src')
-rwxr-xr-xsrc/msec/msecgui.py6
1 files changed, 3 insertions, 3 deletions
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