[PATCH] Fix Bug 595564 - wrong behavior on cancel

View: New views
1 Messages — Rating Filter:   Alert me  

[PATCH] Fix Bug 595564 - wrong behavior on cancel

by fishor :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I you use gnome-sound-record and on question "save recording befor closing" you
press cancel it will just close the programm.

Signed-off-by: Alexey Fisher <bug-track@...>
---
 grecord/src/gnome-recorder.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/grecord/src/gnome-recorder.c b/grecord/src/gnome-recorder.c
index 80ba4ed..ecb5737 100644
--- a/grecord/src/gnome-recorder.c
+++ b/grecord/src/gnome-recorder.c
@@ -52,10 +52,10 @@ delete_event_cb (GSRWindow *window,
 {
  if (!gsr_window_is_saved (window) && gsr_discard_confirmation_dialog (window, TRUE)) {
  gsr_window_close (window);
- return TRUE;
+ return FALSE;
  }
 
- return FALSE;
+ return TRUE;
 }
 
 static void
--
1.6.3.3

_______________________________________________
gnome-multimedia mailing list
gnome-multimedia@...
http://mail.gnome.org/mailman/listinfo/gnome-multimedia