From: Maksym Veremeyenko Date: Tue, 21 Jun 2011 15:53:23 +0000 (+0300) Subject: fix closing dialog X-Git-Url: http://research.m1stereo.tv/gitweb?a=commitdiff_plain;h=60c5e3509ce7c34d015956a562a98cce45e82ecb;p=omnplay fix closing dialog --- diff --git a/src/ui.c b/src/ui.c index 2c6b072..bea64e6 100644 --- a/src/ui.c +++ b/src/ui.c @@ -636,7 +636,9 @@ int ui_playlist_item_dialog(omnplay_instance_t* app, playlist_item_t* item) { response = gtk_dialog_run(GTK_DIALOG(dlg)); - if(GTK_RESPONSE_REJECT == response) + if( GTK_RESPONSE_REJECT == response || + GTK_RESPONSE_DELETE_EVENT == response || + GTK_RESPONSE_CANCEL == response) { r = 0; c = 0;