Ticket #3412 (assigned enhancement)
Use gtk_accelerator_parse() instead of egg for key handling
| Reported by: | dsd | Owned by: | erikos |
|---|---|---|---|
| Priority: | Unspecified by Maintainer | Milestone: | 1.0 |
| Component: | sugar | Version: | Unspecified |
| Severity: | Unspecified | Keywords: | |
| Cc: | Distribution/OS: | Unspecified | |
| Bug Status: | Unconfirmed |
Description
When porting the shell to GTK3, we can simplify the key grabbing (for Frame key, etc) code in sugar-toolkit-gtk3.
We currently include eggaccelerators.c from libegg just to parse key names into codes that can be grabbed. This is now provided by GTK+ in the form of gtk_accelerator_parse() or its more flexible variant gtk_accelerator_parse_with_keycode(). We can switch to that and remove the egg code.
Change History
Note: See
TracTickets for help on using
tickets.
