[PATCH] Don't force gtkmozembed in the Facebook module



The current Facebook module forces the built-in browser to be used for authentication.  This should respect the 'Use Built in Web Browser' setting in the properties dialog.  Please CC me on replies.

Thanks,
Chris
Index: conduit/modules/FacebookModule/FacebookModule.py
===================================================================
--- conduit/modules/FacebookModule/FacebookModule.py	(revision 1374)
+++ conduit/modules/FacebookModule/FacebookModule.py	(working copy)
@@ -43,7 +43,6 @@
     def __init__(self, *args):
         Image.ImageSink.__init__(self)
         self.fapi = Facebook(FacebookSink.API_KEY, FacebookSink.SECRET)
-        self.browser = "gtkmozembed"
 
     def _upload_photo (self, uploadInfo):
         """
@@ -64,7 +63,6 @@
 
         #wait for log in
         Web.LoginMagic("Log into Facebook", url, login_function=self._try_login, 
-                browser=self.browser,       #instance var so tests can set it to system
                 sleep_time=45,              #long sleep time to give time to login if using system browser
                 )
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]