summaryrefslogtreecommitdiff
path: root/gdk/gen-keyname-table.pl
Commit message (Collapse)AuthorAgeFilesLines
* gdk: Make gen-keyname-table.pl work againBastien Nocera2011-10-261-4/+33
| | | | | | | keyname-table.h was modified by hand, and gen-keyname-table.pl couldn't be used to generate that file again. https://bugzilla.gnome.org/show_bug.cgi?id=662628
* Generate N_() calls for translatable key names.Matthias Clasen2005-06-101-2/+24
| | | | | | | | | | | | | | | | | 2005-06-10 Matthias Clasen <mclasen@redhat.com> * gdk/gen-keyname-table.pl: Generate N_() calls for translatable key names. * gdk/keynames.txt: Mark some key names as translatable. * gdk/keyname-table.h: Regenerated. * gtk/gtkaccellabel.c (gtk_accel_label_class_init): Add some context to the msg ids for keyboard modifiers and key names. (_gtk_accel_label_class_get_accelerator_label): Try to translate key names. (#300224, Christian Rose)
* Convert the gdk keyval-keyname tables to a big string + offsets. (#168901)Matthias Clasen2005-03-081-0/+92
2005-03-07 Matthias Clasen <mclasen@redhat.com> Convert the gdk keyval-keyname tables to a big string + offsets. (#168901) * gdk/gen-keyname-table.pl: Perl script inspired by pango/tools/gen-color-table.pl to create the gdk_keys_by_keyval and gdk_keys_by_name tables as lists of offsets pointing into a big const string. * gdk/keynames.txt: List of keyval-keyname pairs. * gdk/keyname-table.h: Generated tables. * gdk/gdkkeynames.c: Include keyname-table.h and don't generate the inverse table at runtime.