[banshee] [Nereid] Fix bug preventing typing S into webviews
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] [Nereid] Fix bug preventing typing S into webviews
- Date: Thu, 16 Sep 2010 14:41:25 +0000 (UTC)
commit 8fc5a9e84f4423eca950eff766edf9907a8d730a
Author: Gabriel Burt <gabriel burt gmail com>
Date: Thu Sep 16 09:40:09 2010 -0500
[Nereid] Fix bug preventing typing S into webviews
src/Clients/Nereid/Nereid/PlayerInterface.cs | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/Clients/Nereid/Nereid/PlayerInterface.cs b/src/Clients/Nereid/Nereid/PlayerInterface.cs
index 1189aed..3175b3e 100644
--- a/src/Clients/Nereid/Nereid/PlayerInterface.cs
+++ b/src/Clients/Nereid/Nereid/PlayerInterface.cs
@@ -653,8 +653,9 @@ namespace Nereid
}
}
- disable_keybindings &= ((GtkUtilities.NoImportantModifiersAreSet () &&
- evnt.Key != Gdk.Key.Control_L && evnt.Key != Gdk.Key.Control_R));
+ // Don't disable them if ctrl is pressed
+ disable_keybindings &= (evnt.State & Gdk.ModifierType.ControlMask) == 0 &&
+ evnt.Key != Gdk.Key.Control_L && evnt.Key != Gdk.Key.Control_R;
if (disable_keybindings) {
if (accel_group_active) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]