1. 19 Feb, 2014 1 commit
  2. 07 Feb, 2014 2 commits
  3. 04 Feb, 2014 1 commit
  4. 08 Apr, 2013 1 commit
    • Tristan Van Berkom's avatar
      Work around access to global resources without calling gtk_init() · 4ec6d600
      Tristan Van Berkom authored
      Some utilities such as GIR and gtk-doc, initialize class vtables without
      initializing GTK+, with composite templates accessing resources this
      causes a hand full of unneeded warnings.
      The workaround for now is the use a private function _gtk_ensure_resources()
      which is both called while initializing GTK+, and at the beginning of
      gtk_widget_class_set_template_from_resource() (the private function
      ensures that the resource will only ever be registered GOnce).
  5. 27 Feb, 2012 1 commit
  6. 03 Jan, 2012 1 commit
  7. 18 Nov, 2011 2 commits
    • Michael Natterer's avatar
      Turn the private #define for the group-shifting modifier into API · 9c79f9f8
      Michael Natterer authored
      Add GDK_MODIFIER_INTENT_SHIFT_GROUP to enum GdkModifierIntent
      and handle it in gdk_keymap_get_modifier_mask(). Add an X11
      impl of the method and return keymap_x11->group_switch_mask.
      Return 0 from the default impl because we don't know.
    • Michael Natterer's avatar
      Bug 663856 - Make option-foo accelerators use the right symbol · 1c8481a6
      Michael Natterer authored
      If the keyboard group shifting modifier is *also* a normal
      accelerator modifier, we need to special case it when calling
      gdk_keymap_translate_keyboard_state(), so we get the right
      key symbol for accelerators (for example we want Option-O,
      not Option-Ø displayed in menu items). This patch should only
      affect quartz where the Alt key both shifts the group and can
      be used as accel modifier, and not X11 or Win32 where AltGr
      is not used for accelerators.
      - fix quartz' gdk_keymap_translate_keyboard_state() to return
        the right consumed_modifiers
      - add _gtk_translate_keyboard_accel_state() which does the
        special casing
      - use it everywhere instead of gdk_keymap_translate_keyboard_state()
  8. 22 Oct, 2011 1 commit
    • Michael Natterer's avatar
      gtk: clean up the private horror · 2688ccdb
      Michael Natterer authored
      - add gtkmodulesprivate.h and move stuff there from gtkprivate.h
      - add gtkprivate.c and move stuff there from gtkmain.c
      - add gtkwin32.c and move stuff there from gtkmain.c
      - don't redefine GTK_DATADIR and friends in gtkprivate.h
      - have _gtk_get_datadir() and friends on all platforms
      - remove the horrid hacks where gtkprivate.h can't be included,
        or must be included later due to redefinition of the compile-time