[banshee/1.5.1-fixes: 13/56] [HigMessageDialog] Default button should grab the focus (bgo#599495)
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee/1.5.1-fixes: 13/56] [HigMessageDialog] Default button should grab the focus (bgo#599495)
- Date: Mon, 22 Mar 2010 18:05:10 +0000 (UTC)
commit 67f82b12a5931e8bb17145ff26365092f827a37e
Author: Alexander Kojevnikov <alexander kojevnikov com>
Date: Sun Oct 25 10:14:12 2009 +1100
[HigMessageDialog] Default button should grab the focus (bgo#599495)
.../Banshee.Widgets/HigMessageDialog.cs | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/Core/Banshee.Widgets/Banshee.Widgets/HigMessageDialog.cs b/src/Core/Banshee.Widgets/Banshee.Widgets/HigMessageDialog.cs
index f7abfdd..b179438 100644
--- a/src/Core/Banshee.Widgets/Banshee.Widgets/HigMessageDialog.cs
+++ b/src/Core/Banshee.Widgets/Banshee.Widgets/HigMessageDialog.cs
@@ -176,6 +176,7 @@ namespace Banshee.Widgets
if (isDefault) {
DefaultResponse = response;
+ button.GrabDefault ();
button.AddAccelerator ("activate",
accel_group,
(uint) Gdk.Key.Return,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]