blob: 43409da91086b475dc8793d0b45b07dd2e9369d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/usr/bin/python2.7
import time
from gi.repository import GLib
from menuscript import Script, ActionList, MENU_OBJECT_PATH
al = ActionList(MENU_OBJECT_PATH)
al.appendItem("Menu0", "Menu0Act")
al.appendItem("Menu1", "Menu1Act")
al.removeItem("1", "Menu1Act")
t = Script.create(al)
t.run()
|