[Sugar-devel] [PATCH] Wireless key dialog: handle delete_event correctly

Simon Schampijer simon at schampijer.de
Mon Sep 19 14:46:57 EDT 2011

On 09/15/2011 11:43 AM, Daniel Drake wrote:
> When clicking 'OK' in the key dialog, the response callback correctly
> destroys the dialog after processing the response. However, this
> causes _key_dialog_destroy_cb to attempt to process a cancel response,
> causing an invalid message to be sent over dbus (which dbus rejects).
> Handle delete_event correctly by catching gtk.RESPONSE_DELETE_EVENT,
> no need for any special event handling.

Thanks for the patch, pushed as: 8d0daf168840ac201c35d984d7e1246d3bf4c9ca


More information about the Sugar-devel mailing list