[f-spot: 2/6] Do not ClearTagCompletions in HandleKeyPressEvent
- From: Stephane Delcroix <sdelcroix src gnome org>
- To: svn-commits-list gnome org
- Subject: [f-spot: 2/6] Do not ClearTagCompletions in HandleKeyPressEvent
- Date: Mon, 15 Jun 2009 03:12:02 -0400 (EDT)
commit ad312429d3b018c0f21b3d65efce625bc5d91ad0
Author: Joachim Breitner <mail joachim-breitner de>
Date: Thu Jun 11 20:30:44 2009 +0200
Do not ClearTagCompletions in HandleKeyPressEvent
as this was actually redundant, given that ClearTagCompletions is called
in OnChanged anyways.
src/Widgets/TagEntry.cs | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/src/Widgets/TagEntry.cs b/src/Widgets/TagEntry.cs
index c6a6e34..6ff56b3 100644
--- a/src/Widgets/TagEntry.cs
+++ b/src/Widgets/TagEntry.cs
@@ -144,11 +144,7 @@ namespace FSpot.Widgets {
} else if (args.Event.Key == Gdk.Key.ISO_Left_Tab) {
DoTagCompletion (false);
args.RetVal = true;
- } else if (args.Event.Key != Gdk.Key.Shift_L &&
- args.Event.Key != Gdk.Key.Shift_R &&
- args.Event.Key != Gdk.Key.Control_L &&
- args.Event.Key != Gdk.Key.Control_R)
- ClearTagCompletions ();
+ }
}
bool tag_ignore_changes = false;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]