[gnome-media] Fix Bug 595564 - wrong behavior on cancel
- From: Marc-Andre Lureau <malureau src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-media] Fix Bug 595564 - wrong behavior on cancel
- Date: Mon, 11 Jan 2010 22:56:08 +0000 (UTC)
commit 2534e59bb35b10542c805afb5635a7346c9b7a4d
Author: Alexey Fisher <bug-track fisher-privat net>
Date: Wed Sep 23 22:19:02 2009 +0200
Fix Bug 595564 - wrong behavior on cancel
I you use record something without saving and close the window,
on question "save recording befor closing" you
press cancel it will just close the program.
Signed-off-by: Alexey Fisher <bug-track fisher-privat net>
grecord/src/gnome-recorder.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/grecord/src/gnome-recorder.c b/grecord/src/gnome-recorder.c
index 80ba4ed..c3eed34 100644
--- a/grecord/src/gnome-recorder.c
+++ b/grecord/src/gnome-recorder.c
@@ -50,10 +50,8 @@ static gboolean
delete_event_cb (GSRWindow *window,
gpointer data)
{
- if (!gsr_window_is_saved (window) && gsr_discard_confirmation_dialog (window, TRUE)) {
- gsr_window_close (window);
+ if (!gsr_window_is_saved (window) && !gsr_discard_confirmation_dialog (window, TRUE))
return TRUE;
- }
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]