aboutsummaryrefslogtreecommitdiff
path: root/tests/script
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@canonical.com>2012-11-23 12:03:07 -0300
committerRenato Araujo Oliveira Filho <renato.filho@canonical.com>2012-11-23 12:03:07 -0300
commit6078bd7ddc6819d2650435313bb824442bbe033d (patch)
tree510e14d5585b7fa2777a1a51b9616be07e25de30 /tests/script
parent04391e9723278f8bb0a0985abd50aa9c3455980d (diff)
downloadqmenumodel-6078bd7ddc6819d2650435313bb824442bbe033d.tar.gz
qmenumodel-6078bd7ddc6819d2650435313bb824442bbe033d.tar.bz2
qmenumodel-6078bd7ddc6819d2650435313bb824442bbe033d.zip
Fixed QMenumodel behaviour when the GMenuModel is destroyed.
Diffstat (limited to 'tests/script')
-rw-r--r--tests/script/menuscript.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/script/menuscript.py b/tests/script/menuscript.py
index 60cb33b..d25bb30 100644
--- a/tests/script/menuscript.py
+++ b/tests/script/menuscript.py
@@ -205,6 +205,9 @@ class ActionList(object):
if self._ownNameID:
Gio.bus_unown_name(self._ownNameID)
self._ownNameID = None
+
+ self._root = None
+ self._rootAction = None
self._restore()
def _onActionActivated(self, action, parameter):