1. 13 Sep, 2005 8 commits
  2. 11 Sep, 2005 5 commits
  3. 10 Sep, 2005 1 commit
    • Matthias Clasen's avatar
      Add a cell renderer for displaying and editing accelerators, a port of · 07600fb1
      Matthias Clasen authored
      2005-09-09  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkcellrendererkeys.h:
      	* gtk/gtkcellrendererkeys.c: Add a cell renderer for displaying
      	and editing accelerators, a port of EggCellRendererKeys .
      
      	* gtk/gtk.symbols:
      	* gtk/gtk.h:
      	* gtk/Makefile.am: Add the keys cell renderer.
      
      	* tests/Makefile.am:
      	* tests/testkeys.c: Test GtkCellRendererKeys
      07600fb1
  4. 09 Sep, 2005 11 commits
  5. 08 Sep, 2005 4 commits
    • Tor Lillqvist's avatar
      Typo. · ef86d403
      Tor Lillqvist authored
      ef86d403
    • Tor Lillqvist's avatar
      Cache the display name. There is only one GdkDisplay on Win32, and · 0905c73a
      Tor Lillqvist authored
      2005-09-09  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): Cache the
      	display name. There is only one GdkDisplay on Win32, and
      	constructing the display name isn't entirely trivial, so cacheing
      	is probably worth it. For instance GIMP calls this function a lot.
      	(gdk_display_open): Call gdk_display_get_name() to prime the
      	cached name.
      	(gdk_display_get_n_screens, gdk_display_get_screen,
      	gdk_display_get_default_screen): Verify parameter correctness like
      	the X11 backend does.
      
      	* gdk/win32/gdkscreen-win32.c (gdk_screen_make_display_name):
      	Return a freshly allocated string, as the API specifies. Fixes a
      	heap corruption problem that caused random errors and crashes in
      	GIMP, for instance.
      0905c73a
    • Matthias Clasen's avatar
      Forgotten file · 93bb0e92
      Matthias Clasen authored
      93bb0e92
    • Clytie Siddall's avatar
      vi.po: Updated Vietnamese translation. · a53bbeb1
      Clytie Siddall authored
      a53bbeb1
  6. 07 Sep, 2005 4 commits
  7. 06 Sep, 2005 7 commits
    • Matthias Clasen's avatar
      Rename · 97088102
      Matthias Clasen authored
      97088102
    • Matthias Clasen's avatar
      Include Super, Hyper and Meta in the default accel mod mask. · 77494a0a
      Matthias Clasen authored
      2005-09-06  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkaccelgroup.c: Include Super, Hyper and Meta in the
      	default accel mod mask.
      77494a0a
    • Matthias Clasen's avatar
      Remove erroneous log entry · 557e266a
      Matthias Clasen authored
      557e266a
    • Matthias Clasen's avatar
      Don't use GDK_ALT_MASK. · 582af236
      Matthias Clasen authored
      2005-09-06  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkaccelgroup.c (gtk_accelerator_parse):
      	* gtk/gtkaccellabel.c (_gtk_accel_label_class_get_accelerator_label):
      	Don't use GDK_ALT_MASK.
      
      	* gdk/gdktypes.h: No need to introduce GDK_ALT_MASK
      582af236
    • Matthias Clasen's avatar
      Document new modifier bits. · eb7abab2
      Matthias Clasen authored
      eb7abab2
    • Matthias Clasen's avatar
      Add tests for extra virtual modifiers. · 244d41b9
      Matthias Clasen authored
      2005-09-06  Matthias Clasen  <mclasen@redhat.com>
      
      	* tests/testgtk.c (create_key_lookup): Add tests for extra virtual
      	modifiers.
      
      	* gtk/gtkkeyhash.c (_gtk_key_hash_lookup): Try to match both against
      	Mod2 - Mod5 and against Super, Hyper, Meta.
      
      	* gtk/gtkaccellabel.c (_gtk_accel_label_class_get_accelerator_label):
      	* gtk/gtkaccelgroup.c (gtk_accelerator_parse)
      	(gtk_accelerator_name): Support Super, Hyper Meta and Mod2 - Mod5.
      244d41b9
    • Matthias Clasen's avatar
      Add support for extra virtual modifiers: (#85780, Owen Taylor) · 543ce674
      Matthias Clasen authored
      2005-09-06  Matthias Clasen  <mclasen@redhat.com>
      
      	Add support for extra virtual modifiers:  (#85780, Owen Taylor)
      
      	* gdk/x11/gdkkeys-x11.c (struct _GdkKeymapX11): Add a
      	modmap to maintain the information which X modifiers map to
      	virtual modifiers.
      	(get_xkb): Set up the modmap from the XKB tables.
      	(update_keymaps): Set up the modmap from the information returned
      	by XGetModifierMapping in the non-XKB case.
      
      	* gdk/x11/gdkprivate-x11.h:
      	* gdk/x11/gdkkeys-x11.c (_gdk_keymap_add_virtual_modifiers): New
      	function to set the virtual modifiers in the state.
      
      	* gdk/x11/gdkevents-x11.c (translate_key_event): Call
      	_gdk_keymap_add_virtual_modifiers here.
      
      	* gdk/gdktypes.h (GdkModifierType): Add bits for virtual Super,
      	Hyper and Meta modifiers. Also add GDK_ALT_MASK as an alias
      	for GDK_MOD1_MASK.
      543ce674