deskbar-applet r2363 - in trunk: . deskbar/handlers
- From: kamstrup svn gnome org
- To: svn-commits-list gnome org
- Subject: deskbar-applet r2363 - in trunk: . deskbar/handlers
- Date: Thu, 28 Aug 2008 16:40:35 +0000 (UTC)
Author: kamstrup
Date: Thu Aug 28 16:40:35 2008
New Revision: 2363
URL: http://svn.gnome.org/viewvc/deskbar-applet?rev=2363&view=rev
Log:
2008-08-28 Mikkel Kamstrup Erlandsen <kamstrup cvs gnome org>
* deskbar/handlers/twitter.py
Set the 'source' paramter on updates to 'deskbar'. This should put
a small 'from deskbar' links after Twitter posts.
Modified:
trunk/ChangeLog
trunk/deskbar/handlers/twitter.py
Modified: trunk/deskbar/handlers/twitter.py
==============================================================================
--- trunk/deskbar/handlers/twitter.py (original)
+++ trunk/deskbar/handlers/twitter.py Thu Aug 28 16:40:35 2008
@@ -79,7 +79,7 @@
def update (self, msg):
try:
- post_payload = urllib.urlencode({"status" : msg})
+ post_payload = urllib.urlencode({"status" : msg, "source" : "deskbar"})
self._opener.open_async (self._update_url, post_payload)
except ConcurrentRequestsException :
LOGGER.warning ("Attempting to post while another post is already running. Ignoring")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]