1. 30 Mar, 2016 1 commit
  2. 14 Dec, 2015 1 commit
  3. 07 Dec, 2015 1 commit
    • Matthias Clasen's avatar
      accel cellrenderer: Fix rendering · 88c4d069
      Matthias Clasen authored
      We were getting the "New Accelerator" text mixed with the
      content of the underlying cell, since plain labels don't
      have a background. Go back to putting the label in selected
      state, and fix the theme to render that white-on-blue. This
      was lost when we switched to using a selection sub-node.
      88c4d069
  4. 03 Oct, 2014 1 commit
  5. 02 Oct, 2014 1 commit
  6. 07 Sep, 2014 2 commits
  7. 06 Sep, 2014 3 commits
  8. 30 Jun, 2014 1 commit
    • Jasper St. Pierre's avatar
      gtkcellrendereraccel: Use a GtkInvisible to grab on · fe5402d3
      Jasper St. Pierre authored
      Grabbing on a non-toplevel might not do what we want it to do, since it
      will go on the focused widget, not the grabbed widget. Since we don't
      focus the widget before clicking on it, that means that putting the
      focus somewhere else and then clicking on the accelerator editor will
      freeze the app. Additionally, since it's a global system grab that can't
      be exited except by a key press that we won't ever get, it effectively
      locks up your system as well unless you know how to break the grab or
      kill the app. Ouch.
      
      Since doing a device grab on a non-toplevel is generally considered a
      bad idea, just don't do it. Use a GtkInvisible and take a grab on that
      instead.
      fe5402d3
  9. 09 Jun, 2014 1 commit
  10. 23 May, 2014 1 commit
  11. 05 Feb, 2014 1 commit
  12. 09 Jul, 2013 1 commit
  13. 26 Nov, 2012 1 commit
  14. 02 Oct, 2012 1 commit
  15. 22 Mar, 2012 1 commit
  16. 28 Feb, 2012 2 commits
  17. 27 Feb, 2012 1 commit
  18. 08 Dec, 2011 1 commit
    • Matthias Clasen's avatar
      Revert 3fd7dbc9 · 9bf17a95
      Matthias Clasen authored
      Calling gdk_keymap_add_virtual_modifiers causes _all_ virtual
      modifiers to be added, which causes problem when they are co-located
      on the same real modifier (as Super and Hyper often are). Effectively,
      this made it impossible to enter key combinations involving Super,
      since they all turn into Super+Hyper.
      9bf17a95
  19. 18 Nov, 2011 1 commit
    • 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()
      1c8481a6
  20. 10 Nov, 2011 1 commit
  21. 26 Sep, 2011 1 commit
  22. 10 Jun, 2011 1 commit
  23. 12 Apr, 2011 1 commit
  24. 11 Apr, 2011 1 commit
  25. 27 Jan, 2011 1 commit
  26. 15 Jan, 2011 1 commit
  27. 04 Jan, 2011 2 commits
  28. 23 Nov, 2010 1 commit
  29. 04 Oct, 2010 1 commit
  30. 26 Sep, 2010 1 commit
    • Benjamin Otte's avatar
      Move GtkSizeRequest into GtkWidget · d9c92598
      Benjamin Otte authored
      It doesn't make sense to keep them separate as GtkSizeRequest requires a
      GtkWidget and GtkWidget implements GtkSizeRequest, so you can never have
      one without the other.
      It also makes the code a lot easier because no casts are required when
      calling functions.
      
      Also, the names would translate to gtk_widget_get_width() and people
      agreed that this would be a too generic name, so a "preferred" was added
      to the names.
      
      So this patch moves the functions:
      gtk_size_request_get_request_mode() => gtk_widget_get_request_mode()
      gtk_size_request_get_width() => gtk_widget_get_preferred_width()
      gtk_size_request_get_height() => gtk_widget_get_preferred_height()
      gtk_size_request_get_size() => gtk_widget_get_preferred_size()
      gtk_size_request_get_width_for_height() =>
        gtk_widget_get_preferred_width_for_height()
      gtk_size_request_get_height_for_width() =>
        gtk_widget_get_preferred_height_for_width()
      ... and moves the corresponding vfuncs to the GtkWidgetClass.
      
      The patch also renames the implementations of the vfuncs in widgets to
      include the word "preferrred".
      d9c92598
  31. 15 Sep, 2010 1 commit
  32. 08 Sep, 2010 1 commit
    • Colin Walters's avatar
      GDK: Prefix key names with KEY_ · 913cdf3b
      Colin Walters authored
      The keysyms create a lot of potential namespace conflicts for
      C, and are especially problematic for introspection, where we take
      constants into the namespace, so GDK_Display conflicts with GdkDisplay.
      
      For C application compatiblity, add gdkkeysyms-compat.h which uses
      the old names.
      
      Just one user in GTK+ continues to use gdkkeysyms-compat.h, which is
      the gtkimcontextsimple.c, since porting that requires porting more
      custom Perl code.
      913cdf3b
  33. 27 Aug, 2010 1 commit
  34. 22 Aug, 2010 1 commit
  35. 13 Jul, 2010 1 commit