1. 26 Oct, 2011 1 commit
  2. 10 Jun, 2005 1 commit
    • Matthias Clasen's avatar
      Generate N_() calls for translatable key names. · 79d82223
      Matthias Clasen authored
      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)
      79d82223
  3. 08 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Convert the gdk keyval-keyname tables to a big string + offsets. (#168901) · 3c8b5b49
      Matthias Clasen authored
      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.
      3c8b5b49