X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fui.c;h=bea64e65e3a611b361f9b3d1f22c07d63f8f3581;hb=8a6207f6d27cdb27b9774e0c36e09e23e9ac6526;hp=2c6b0726be07f12ab1d9fd49764bd2e99b7e678e;hpb=be64b44e9b0a6d69e5e285750506410c8591cd4c;p=omnplay 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;