From: NeilBrown Date: Mon, 14 Jan 2013 20:22:22 +0000 (+1100) Subject: plato_gsm: fix bug with message passing. X-Git-Url: http://git.neil.brown.name/?a=commitdiff_plain;h=616159576455529c013dbe4ffabbe8f59eddab08;p=plato.git plato_gsm: fix bug with message passing. This call is only need in the recipient of a message (so it can receive another), not the sender. --- diff --git a/plato/plato_gsm.py b/plato/plato_gsm.py index dd3a88b..4ead21e 100644 --- a/plato/plato_gsm.py +++ b/plato/plato_gsm.py @@ -354,8 +354,6 @@ def clip_get_data(clip, sel, info, data): def clip_clear_data(clip, data): global sel_number sel_number = None - c.set_with_data([(gtk.gdk.SELECTION_TYPE_STRING, 0, 0)], - clip_get_data, clip_clear_data, None) def send_number(sel, num): global sel_number, clips