Aparajita Fishman
62ced1749f
Fixed: invalid menu item validator was not checked properly
...
Previously, if CPApplication -targetForAction:to:from: returned nil, no check was done to see if that failed because there was no action or no valid target. If the item had no item, no target, and to action binding, it would be left enabled, which was incorrect.
This commit fixes the validation to disable the item if targetForAction:to:from: returns nil and the item has an action or target.
2013-02-27 18:26:34 -05:00
..
2013-02-26 11:56:18 +01:00
2013-02-25 17:02:36 +00:00
2013-02-26 16:27:54 +00:00
2013-02-27 18:26:34 -05:00
2013-02-25 18:27:44 +00:00
2013-02-25 18:27:44 +00:00
2013-02-25 17:50:12 -05:00
2013-02-25 18:27:44 +00:00
2013-01-23 15:48:56 +07:00
2013-02-26 11:56:18 +01:00
2013-02-26 18:55:22 +00:00
2013-02-25 17:02:36 +00:00
2010-11-01 11:10:01 -07:00
2013-01-27 10:32:23 +08:00
2013-02-08 00:29:38 +00:00
2013-01-24 19:18:39 +08:00
2013-01-23 15:48:55 +07:00
2012-12-20 14:22:09 +01:00
2013-01-23 15:48:55 +07:00
2012-12-20 14:22:09 +01:00
2013-01-23 15:48:55 +07:00
2012-12-20 14:22:09 +01:00
2013-01-23 10:45:42 -08:00
2012-07-13 01:28:38 +01:00
2013-01-18 14:24:37 +01:00
2013-02-25 18:27:44 +00:00
2013-01-27 10:32:23 +08:00
2013-02-25 17:02:36 +00:00
2013-02-15 12:21:13 -05:00
2013-02-23 13:53:20 -05:00
2013-02-25 18:27:44 +00:00
2013-02-25 17:02:36 +00:00
2013-02-25 18:27:44 +00:00
2013-02-25 18:27:44 +00:00
2013-02-15 12:21:13 -05:00
2013-02-24 21:26:02 +00:00
2013-02-26 08:11:42 -05:00
2013-02-08 11:26:56 +00:00
2013-02-22 21:58:12 -05:00
2013-01-30 22:35:21 +08:00
2013-01-19 16:51:56 +07:00
2013-01-23 15:48:55 +07:00
2013-02-25 18:27:44 +00:00
2013-02-25 18:27:44 +00:00
2013-02-15 21:17:39 -05:00
2013-02-25 18:27:44 +00:00
2013-01-18 14:24:37 +01:00
2013-01-08 18:07:15 +00:00
2013-02-14 16:35:30 -05:00
2013-02-20 03:00:20 -05:00
2013-02-25 17:02:36 +00:00
2013-02-25 17:02:36 +00:00
2013-01-23 15:48:55 +07:00
2013-02-25 17:02:36 +00:00
2013-01-24 19:18:39 +08:00
2013-01-24 19:18:39 +08:00
2010-12-09 13:00:52 -08:00
2013-02-25 17:02:36 +00:00
2013-01-19 16:51:56 +07:00
2013-02-25 17:02:36 +00:00
2013-02-12 16:41:54 +00:00
2012-10-15 01:00:29 +01:00
2013-02-23 13:53:20 -05:00
2013-02-23 13:53:20 -05:00
2013-02-22 22:11:42 +01:00
2013-01-24 19:18:39 +08:00
2013-02-25 18:27:44 +00:00
2013-02-25 18:27:44 +00:00
2013-02-25 21:22:45 -05:00
2013-01-20 07:24:00 +07:00
2013-02-26 11:56:18 +01:00
2013-02-26 18:55:22 +00:00
2013-02-25 17:02:36 +00:00
2013-01-28 09:32:37 +08:00
2013-02-12 11:06:39 -08:00
2013-02-25 18:27:44 +00:00
2013-02-23 00:01:19 -05:00
2013-01-23 15:48:55 +07:00
2011-03-25 22:52:57 -04:00
2011-04-03 17:45:53 -04:00
2013-02-25 18:27:44 +00:00
2013-02-25 18:27:44 +00:00
2013-02-25 18:27:44 +00:00
2011-03-25 22:52:57 -04:00
2013-02-25 18:27:44 +00:00
2013-02-06 16:36:49 +00:00
2013-02-25 18:27:44 +00:00
2013-02-25 18:27:44 +00:00
2013-01-23 15:48:55 +07:00
2013-01-23 15:48:55 +07:00
2013-02-25 18:27:44 +00:00
2013-02-25 18:27:44 +00:00
2013-01-23 15:48:56 +07:00
2013-02-26 11:56:18 +01:00
2013-02-26 11:56:18 +01:00
2013-02-26 11:56:18 +01:00
2013-02-24 23:08:44 +00:00
2013-01-18 14:24:37 +01:00
2010-10-05 15:54:25 -07:00
2013-02-26 11:56:18 +01:00
2013-02-25 18:27:44 +00:00
2013-01-10 11:27:52 -08:00
2013-02-25 18:27:44 +00:00
2013-02-25 18:27:44 +00:00
2012-12-20 14:22:09 +01:00
2013-01-11 00:48:18 +00:00
2013-01-24 19:18:39 +08:00
2013-02-26 18:27:41 +00:00
2013-02-25 18:27:44 +00:00
2013-02-25 18:27:44 +00:00
2013-02-15 23:47:01 -05:00
2013-02-25 18:27:44 +00:00
2012-02-24 19:44:13 +00:00
2011-10-25 14:33:47 +02:00
2013-01-30 12:46:27 +08:00