Advertisement
Guest User

Untitled

a guest
Apr 29th, 2012
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.66 KB | None | 0 0
  1.                 self.client = gconf.client_get_default()
  2.                 self.api_path = self.client.get_string('/apps/ControlPanel/Statusnet/api_path')
  3.                 if not self.api_path:
  4.                         ret = subprocess.call(["/usr/bin/invoker", "--type=e", "-s", "/opt/statusnet-meego/statusnet-login.py"])
  5.                         if ret == 2:
  6.                                 self.api_path = self.client.get_string('/apps/ControlPanel/Statusnet/api_path')
  7.                         else:  
  8.                                 # Quit if the user just closed the configuration applet without setting up login details
  9.                                 return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement