Ticket #3412 (assigned enhancement)

Opened 14 months ago

Last modified 8 months ago

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.

 https://bugzilla.gnome.org/show_bug.cgi?id=672950

Change History

Changed 13 months ago by erikos

  • owner set to erikos
  • status changed from new to assigned
  • milestone changed from Unspecified by Release Team to 0.98

Changed 8 months ago by erikos

  • milestone changed from 0.98 to 1.0

Moving out, as this is just a cleanup. Ack'ed by dsd.

Note: See TracTickets for help on using tickets.