Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- self.client = gconf.client_get_default()
- self.api_path = self.client.get_string('/apps/ControlPanel/Statusnet/api_path')
- if not self.api_path:
- ret = subprocess.call(["/usr/bin/invoker", "--type=e", "-s", "/opt/statusnet-meego/statusnet-login.py"])
- if ret == 2:
- self.api_path = self.client.get_string('/apps/ControlPanel/Statusnet/api_path')
- else:
- # Quit if the user just closed the configuration applet without setting up login details
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement