summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2009-01-08 20:24:23 -0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2009-01-08 20:24:23 -0200
commitc85c9a673beffc69ffbbef82bd1271da6990ef0a (patch)
tree1e3f20ea9980fae6a41c58c2e6a3458af6ffccaa
parente07d4a8133f2a09a994c584387b41ea47afb1fb3 (diff)
downloadtuna-c85c9a673beffc69ffbbef82bd1271da6990ef0a.tar.gz
irqview: Initialize the rt_prio entry box
Long standing bug... Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r--tuna/gui/irqview.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tuna/gui/irqview.py b/tuna/gui/irqview.py
index 400fa4f..5d08276 100644
--- a/tuna/gui/irqview.py
+++ b/tuna/gui/irqview.py
@@ -37,6 +37,7 @@ class irq_druid:
prio = int(ps[pid]["stat"]["rt_priority"])
self.create_policy_model(self.sched_policy)
self.sched_policy.set_active(schedutils.get_scheduler(pid))
+ self.sched_pri.set_value(prio)
text.set_markup("IRQ <b>%u</b> (PID <b>%u</b>), pri <b>%u</b>, aff <b>%s</b>, <tt><b>%s</b></tt>" % \
( irq, pid, prio, self.affinity_text,
",".join(users)))