Files
gtk3/gtk
Ryan Lortie 9a6ee36e9c GtkApplication: a new approach to accels
Rework how accels are handled on GtkApplicationWindow.

Instead of having GtkApplication fill the GtkAccelMap which is then used
by GtkApplicationWindow to create a GtkAccelGroup filled with closures
that is then associated with the window, do it directly.

GtkApplication now keeps a list of accels and their actions.
Accelerators on a GtkApplicationWindow ask GtkApplication to execute the
appropriate action.

This saves a fair bit of complexity and memory use (due to not having to
create all those closures and accelmap entries).  The new approach also
supports multiple accels per action (although there is not yet a public
API for it).

This patch (and the ones before) Reviewed and ACK'd by Matthias Clasen.
2013-10-15 09:24:12 -04:00
..
2013-04-23 13:58:09 -04:00
2013-03-17 12:19:50 -04:00
2012-02-27 17:06:11 +00:00
2012-01-16 14:36:18 +01:00
2012-01-16 14:36:18 +01:00
2012-01-16 14:36:18 +01:00
2012-01-16 14:36:18 +01:00
2012-01-16 14:36:18 +01:00
2012-02-27 17:06:11 +00:00
2013-10-06 23:31:17 -04:00
2012-02-27 17:06:11 +00:00
2013-05-31 17:09:11 +02:00
2013-10-06 23:31:17 -04:00
2013-10-09 14:19:54 -04:00
2013-08-03 17:26:27 +02:00
2013-05-05 15:38:47 -04:00
2012-02-27 17:06:11 +00:00
2013-05-05 15:38:47 -04:00
2013-05-05 15:38:47 -04:00
2013-05-05 15:38:47 -04:00
2013-05-05 15:38:47 -04:00
2013-05-05 15:38:47 -04:00
2012-02-27 17:06:11 +00:00
2013-05-05 15:38:47 -04:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2013-05-05 15:38:47 -04:00
2013-08-27 23:14:14 -04:00
2013-05-05 15:38:47 -04:00
2013-08-03 17:26:27 +02:00
2013-05-05 15:38:47 -04:00
2013-05-05 15:38:47 -04:00
2013-05-05 15:38:47 -04:00
2013-05-05 15:38:47 -04:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2013-05-05 15:38:47 -04:00
2013-08-21 04:15:52 +02:00
2013-05-05 15:38:47 -04:00
2013-01-04 15:36:32 +01:00
2013-05-05 15:38:47 -04:00
2012-02-27 17:06:11 +00:00
2013-10-15 09:24:11 -04:00
2013-10-15 09:24:11 -04:00
2013-08-19 14:42:18 -04:00
2013-08-14 10:41:42 +03:00
2013-05-05 15:38:47 -04:00
2013-05-05 15:38:47 -04:00
2013-05-05 15:38:47 -04:00
2013-05-05 15:38:47 -04:00
2013-05-05 15:38:47 -04:00
2012-02-27 17:06:11 +00:00
2013-08-03 17:26:27 +02:00
2012-02-27 17:06:11 +00:00
2013-05-05 15:38:47 -04:00
2013-10-09 14:19:54 -04:00
2012-02-27 17:06:11 +00:00
2012-12-10 12:57:10 +01:00
2013-05-05 15:38:47 -04:00
2013-08-03 17:26:27 +02:00
2013-02-11 11:40:15 +01:00
2013-10-09 14:19:54 -04:00
2013-05-05 15:38:47 -04:00
2013-05-05 15:38:47 -04:00
2013-05-05 15:38:47 -04:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-04-12 21:12:16 -04:00
2013-05-05 15:38:47 -04:00
2013-05-05 15:38:47 -04:00
2013-10-06 23:31:17 -04:00
2013-05-05 15:38:47 -04:00
2013-08-03 17:26:27 +02:00
2013-03-14 20:29:00 -04:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2013-05-05 15:38:47 -04:00
2013-05-05 15:38:47 -04:00
2013-05-05 15:38:47 -04:00
2012-11-25 03:25:15 +01:00
2012-11-25 03:25:15 +01:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2013-10-15 08:04:25 -04:00
2013-08-31 12:27:31 -04:00
2013-05-05 15:38:47 -04:00
2012-02-27 17:06:11 +00:00
2013-05-05 15:38:47 -04:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2013-08-03 09:04:47 +02:00
2013-08-03 15:15:12 +02:00
2013-08-03 17:26:27 +02:00
2013-05-05 15:38:47 -04:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2013-05-05 15:38:47 -04:00
2013-05-05 15:38:47 -04:00
2013-09-20 20:17:25 -04:00
2013-10-09 14:19:54 -04:00
2013-05-05 15:38:47 -04:00
2012-02-27 17:06:11 +00:00
2013-08-03 17:26:27 +02:00
2013-05-05 15:38:47 -04:00
2013-10-11 10:25:24 +02:00
2013-05-05 15:38:47 -04:00
2013-05-05 15:38:47 -04:00
2013-05-05 15:38:47 -04:00
2013-09-04 20:59:56 -04:00
2013-05-13 16:33:43 -04:00
2013-05-13 16:33:43 -04:00
2013-05-05 15:38:47 -04:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2013-05-13 16:33:43 -04:00
2013-05-13 16:33:43 -04:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2013-05-05 15:38:47 -04:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2013-05-05 15:38:47 -04:00
2013-05-05 15:38:47 -04:00
2012-02-27 17:06:11 +00:00
2013-05-19 21:24:01 -04:00
2013-05-05 15:38:47 -04:00
2013-08-03 17:26:27 +02:00
2013-10-05 15:09:53 +02:00
2013-05-05 15:38:47 -04:00
2012-02-27 17:06:11 +00:00
2013-05-05 15:38:47 -04:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2013-05-05 15:38:47 -04:00
2012-02-27 17:06:11 +00:00
2013-08-03 17:26:27 +02:00
2013-05-05 15:38:47 -04:00
2012-02-27 17:06:11 +00:00
2013-05-05 15:38:47 -04:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2013-07-19 22:32:23 -04:00
2013-05-05 15:38:47 -04:00
2013-08-03 17:26:27 +02:00
2012-02-27 17:06:11 +00:00
2013-05-05 15:38:47 -04:00
2013-05-05 15:38:47 -04:00
2013-08-03 17:26:27 +02:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2013-10-09 14:19:54 -04:00
2013-05-05 15:38:47 -04:00
2013-05-05 15:38:47 -04:00
2013-05-05 15:38:47 -04:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2013-05-05 15:38:47 -04:00
2013-05-05 15:38:47 -04:00
2013-05-05 15:38:47 -04:00
2012-02-27 17:06:11 +00:00
2013-07-19 22:32:23 -04:00
2013-05-05 15:38:47 -04:00
2013-05-05 15:38:47 -04:00
2013-09-25 23:54:31 -04:00
2013-09-25 23:54:31 -04:00
2013-09-25 23:54:31 -04:00
2013-05-05 15:38:47 -04:00
2013-08-03 17:26:27 +02:00
2012-02-27 17:06:11 +00:00
2013-05-05 15:38:47 -04:00
2011-12-25 17:49:03 +01:00
2012-02-27 17:06:11 +00:00
2013-05-05 15:38:47 -04:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2013-05-05 15:38:47 -04:00
2012-09-03 00:19:03 -04:00
2013-06-25 13:21:08 +02:00
2012-02-27 17:06:11 +00:00
2013-05-05 15:38:47 -04:00
2013-05-05 15:38:47 -04:00
2012-02-27 17:06:11 +00:00
2013-09-14 21:45:00 +02:00
2013-05-05 15:38:47 -04:00
2013-05-05 15:38:47 -04:00
2012-02-27 17:06:11 +00:00
2013-05-05 15:38:47 -04:00
2013-07-19 22:32:23 -04:00
2013-05-05 15:38:47 -04:00
2012-02-27 17:06:11 +00:00
2012-04-12 21:12:16 -04:00
2013-05-05 15:38:47 -04:00
2013-05-05 15:38:47 -04:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2013-05-05 15:38:47 -04:00
2013-10-09 14:19:54 -04:00
2012-02-27 17:06:11 +00:00
2013-10-09 14:19:54 -04:00
2013-05-05 15:38:47 -04:00
2013-05-05 15:38:47 -04:00
2012-02-27 17:06:11 +00:00
2013-05-05 15:38:47 -04:00
2013-08-03 17:26:27 +02:00
2013-05-05 15:38:47 -04:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2013-06-28 22:19:15 -04:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2013-10-06 23:31:17 -04:00