[gnome-media] Bug 595830 - Make "save as" default option
- From: Marc-Andre Lureau <malureau src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-media] Bug 595830 - Make "save as" default option
- Date: Mon, 11 Jan 2010 23:05:12 +0000 (UTC)
commit d7092d901d5e57f5c0a3829ef9848b022738c4bc
Author: Alexey Fisher <bug-track fisher-privat net>
Date: Mon Nov 30 12:25:13 2009 +0100
Bug 595830 - Make "save as" default option
It is better to make "save as" default option to
prevent any accinedts.
Signed-off-by: Alexey Fisher <bug-track fisher-privat net>
grecord/src/gsr-window.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/grecord/src/gsr-window.c b/grecord/src/gsr-window.c
index e2f8742..9cb79fe 100644
--- a/grecord/src/gsr-window.c
+++ b/grecord/src/gsr-window.c
@@ -871,6 +871,8 @@ gsr_discard_confirmation_dialog (GSRWindow *window, gboolean closing)
GTK_RESPONSE_YES,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_SAVE_AS, GTK_RESPONSE_NO, NULL);
+ gtk_dialog_set_default_response (GTK_DIALOG (confirmation_dialog),
+ GTK_RESPONSE_NO);
gtk_window_set_title (GTK_WINDOW (confirmation_dialog), "");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]