Kaydet (Commit) 834923b1 authored tarafından Bahadır Kandemir's avatar Bahadır Kandemir

setState() method emits final service state instead of on and off

üst e3a6ea00
2009-04-03 Bahadır Kandemir <bahadir@pardus.org.tr>
* service: setState() method emits final service state instead of on and
off
2009-02-06 Bahadır Kandemir <bahadir@pardus.org.tr>
* api: socket parameter for Link class to connect any other DBus servers
......
......@@ -449,6 +449,7 @@ def setState(state=None):
if os.access(os.path.join("/etc/mudur/services/disabled", script()), os.F_OK):
remove(os.path.join("/etc/mudur/services/disabled", script()))
state = info()[2]
notify("System.Service", "Changed", (script(), state))
def registerState():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment