f-spot r4549 - in trunk: . src



Author: sdelcroix
Date: Thu Oct 30 11:07:30 2008
New Revision: 4549
URL: http://svn.gnome.org/viewvc/f-spot?rev=4549&view=rev

Log:
2008-10-30  Stephane Delcroix  <sdelcroix novell com>

	* src/MainWindow.cs: Allow rating using Alt + NumPad 0 to 5

Modified:
   trunk/ChangeLog
   trunk/src/MainWindow.cs

Modified: trunk/src/MainWindow.cs
==============================================================================
--- trunk/src/MainWindow.cs	(original)
+++ trunk/src/MainWindow.cs	Thu Oct 30 11:07:30 2008
@@ -1445,26 +1445,32 @@
 				HandleRemoveCommand (sender, args);
 			break;
 		case Gdk.Key.Key_0:
+		case Gdk.Key.KP_0:
 			if (alt)
 				HandleRatingMenuSelected (0);
 			break;
 		case Gdk.Key.Key_1:
+		case Gdk.Key.KP_1:
 			if (alt)
 				HandleRatingMenuSelected (1);
 			break;
 		case Gdk.Key.Key_2:
+		case Gdk.Key.KP_2:
 			if (alt)
 				HandleRatingMenuSelected (2);
 			break;
 		case Gdk.Key.Key_3:
+		case Gdk.Key.KP_3:
 			if (alt)
 				HandleRatingMenuSelected (3);
 			break;
 		case Gdk.Key.Key_4:
+		case Gdk.Key.KP_4:
 			if (alt)
 				HandleRatingMenuSelected (4);
 			break;
 		case Gdk.Key.Key_5:
+		case Gdk.Key.KP_5:
 			if (alt)
 				HandleRatingMenuSelected (5);
 			break;



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