banshee r5041 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Gui
- From: gburt svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r5041 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Gui
- Date: Tue, 17 Feb 2009 20:09:37 +0000 (UTC)
Author: gburt
Date: Tue Feb 17 20:09:37 2009
New Revision: 5041
URL: http://svn.gnome.org/viewvc/banshee?rev=5041&view=rev
Log:
2009-02-17 Gabriel Burt <gabriel burt gmail com>
* src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs: Patch from
Alexander Kojevnikov making Delete from Disk still default to Cancel but
the Remove actions to OK/Confirm (BGO #569870)
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs
Modified: trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs (original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs Tue Feb 17 20:09:37 2009
@@ -475,8 +475,9 @@
DialogFlags.DestroyWithParent, delete ? MessageType.Warning : MessageType.Question,
ButtonsType.None, header, message
);
- md.AddButton ("gtk-cancel", ResponseType.No, false);
- md.AddButton (button_label, ResponseType.Yes, false);
+ // Delete from Disk defaults to Cancel and the others to OK/Confirm.
+ md.AddButton ("gtk-cancel", ResponseType.No, delete);
+ md.AddButton (button_label, ResponseType.Yes, !delete);
try {
if (md.Run () == (int) ResponseType.Yes) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]