From ef472059bbff006d3388d4bf0472f036ac7c609f Mon Sep 17 00:00:00 2001 From: Ed Page Date: Mon, 13 Apr 2009 21:21:25 -0500 Subject: [PATCH] Now that persisting of credentials is in, bringing bag the nag dialog about authorizing DoneIt --- src/gtk_rtmilk.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/gtk_rtmilk.py b/src/gtk_rtmilk.py index 2a0b39b..a235205 100644 --- a/src/gtk_rtmilk.py +++ b/src/gtk_rtmilk.py @@ -48,15 +48,14 @@ def get_token(username, apiKey, secret): authURL = rtm.getAuthURL() webbrowser.open(authURL) - # mb = gtk_toolbox.MessageBox2("You need to authorize DoneIt with\nRemember The Milk.\nClick OK after you authorize.") - # mb.run() + mb = gtk_toolbox.MessageBox2("You need to authorize DoneIt with\nRemember The Milk.\nClick OK after you authorize.") + mb.run() token = rtm.getToken() return token def get_credentials(credentialsDialog): - # @todo Figure out storage of credentials username, password = credentialsDialog.request_credentials() token = get_token(username, rtmilk.RtMilkManager.API_KEY, rtmilk.RtMilkManager.SECRET) return username, password, token -- 1.7.9.5