f-spot r4351 - trunk/src



Author: sdelcroix
Date: Mon Sep 15 15:04:25 2008
New Revision: 4351
URL: http://svn.gnome.org/viewvc/f-spot?rev=4351&view=rev

Log:
fix Anton's bugs


Modified:
   trunk/src/MainWindow.cs

Modified: trunk/src/MainWindow.cs
==============================================================================
--- trunk/src/MainWindow.cs	(original)
+++ trunk/src/MainWindow.cs	Mon Sep 15 15:04:25 2008
@@ -1421,6 +1421,9 @@
 	public void HandleCommonPhotoCommands (object sender, Gtk.KeyPressEventArgs args) {
 		bool alt = ModifierType.Mod1Mask == (args.Event.State & ModifierType.Mod1Mask);
 		bool shift = ModifierType.ShiftMask == (args.Event.State & ModifierType.ShiftMask);
+
+		if (args.RetVal == null)
+			args.RetVal = false;
 		
 		switch (args.Event.Key) {
 		case Gdk.Key.Delete:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]