Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/PollSession.py
diff options
context:
space:
mode:
authorflavio <fdanesse@gmail.com>2013-08-15 00:06:48 (GMT)
committer flavio <fdanesse@gmail.com>2013-08-15 00:06:48 (GMT)
commit4b532f0a942d04ed3252be0c8c7937d53aefcd44 (patch)
tree00b25f5481e7822eae1df423dea51ad386c190e3 /PollSession.py
parent806b05fba6b83cad6b0ccb895a0cee09b0b9e2ce (diff)
correcciones y mejoras en la colaboraciĆ³n
Diffstat (limited to 'PollSession.py')
-rw-r--r--PollSession.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/PollSession.py b/PollSession.py
index 33d9e24..9feb117 100644
--- a/PollSession.py
+++ b/PollSession.py
@@ -197,10 +197,12 @@ class Poll():
def get_buffer(self, pixbuf):
- data = [""]
- pixbuf.save_to_callback(self._pixbuf_save_cb, "png", {}, data)
+ # FIXME: save_to_callback No Funciona.
+ #data = [""]
+ #pixbuf.save_to_callback(self._pixbuf_save_cb, "png", {}, data)
- return str(data[0])
+ #return str(data[0])
+ return ""
def broadcast_on_mesh(self):
@@ -496,7 +498,7 @@ class PollSession(ExportedGObject):
self.activity._polls.add(poll)
- self.__get_alert(('New Poll'),
+ self.activity.get_alert(('New Poll'),
_("%(author)s shared a poll "
"'%(title)s' with you.") % {'author': author,
'title': title})
@@ -580,7 +582,7 @@ class PollSession(ExportedGObject):
self.activity._polls.add(poll)
- self.activity.__get_alert(_('New Poll'),
+ self.activity.get_alert(_('New Poll'),
_("%(author)s shared a poll "
"'%(title)s' with you.") % {'author': author,
'title': title})