diff options
author | flavio <fdanesse@gmail.com> | 2013-08-15 00:06:48 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2013-09-02 17:50:02 (GMT) |
commit | 16f71a627d738a93efe877437f8b5922f6674be2 (patch) | |
tree | 2c166821eb838be196fbe3c7e3e72becb19d056a /PollSession.py | |
parent | 26bd6036ef4b8c0b5b6c0ba92c053339a52c046e (diff) |
correcciones y mejoras en la colaboraciĆ³n
Diffstat (limited to 'PollSession.py')
-rw-r--r-- | PollSession.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/PollSession.py b/PollSession.py index f033d45..273b433 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}) |