1. 30 Oct, 2015 3 commits
  2. 06 Sep, 2015 1 commit
  3. 31 Jul, 2015 1 commit
    • Carlos Garnacho's avatar
      GtkMenuButton: explicitly protect against recursion · 65f7fb04
      Carlos Garnacho authored
      The visibility toggling happening on ::click() relied implicitly
      on the popover animation, but breaks on disabled animations. The
      recursion happening within gtk_toggle_button_set_active() (which
      triggers ::clicked when changing state) makes this vfunc to run
      again, inverting the visibility of the popover in result.
      
      Fix this by explicitly checking about recursion, we want the
      button to be toggled to the right state, but we don't want the
      callback running again.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=752577
      65f7fb04
  4. 15 Jun, 2015 3 commits
  5. 22 Mar, 2015 1 commit
  6. 13 Mar, 2015 1 commit
    • Matthias Clasen's avatar
      menu button: Improve accessibility · fec8a1ee
      Matthias Clasen authored
      Rework the way we assign an accessible name to menu buttons,
      to make sure we pick up a label, should the button contain
      one, and only override the name with "Menu" as a fallback.
      fec8a1ee
  7. 02 Mar, 2015 1 commit
    • Carlos Garnacho's avatar
      gtkmenubutton: Popup menu/popover on GtkButton:clicked · 0796d7b6
      Carlos Garnacho authored
      This happens on button release, which is more convenient if the gesture
      can be consumed by something else (eg. window dragging), and already behaves
      correctly wrt cancelled gestures, broken grabs, etc.
      
      This also allows us to unify pointer and keyboard behavior, popping up the
      menu widget in a single place.
      0796d7b6
  8. 20 Feb, 2015 1 commit
    • Carlos Garnacho's avatar
      menubutton: Fix possible button/popover state inconsistences · fa48b42e
      Carlos Garnacho authored
      While a popover is hiding, the modal grab is already gone and the toggle
      button is clickable again, but clicking again at that time will result in
      gtk_widget_show() trying to show an already shown widget (although fading
      out and hidden soon) and the toggle button activated.
      
      So let the menubutton set the active status only if the menu/popover
      widget wasn't already shown, and ensure this doesn't get triggered by
      double/triple button press events.
      fa48b42e
  9. 18 Dec, 2014 1 commit
  10. 16 Dec, 2014 1 commit
  11. 09 Oct, 2014 1 commit
  12. 28 Aug, 2014 1 commit
  13. 21 Jul, 2014 2 commits
  14. 09 Jul, 2014 1 commit
  15. 08 Jul, 2014 1 commit
  16. 09 Jun, 2014 1 commit
  17. 14 May, 2014 1 commit
  18. 26 Apr, 2014 1 commit
  19. 25 Apr, 2014 1 commit
    • Matthias Clasen's avatar
      GtkMenuButton: use popovers by default · fab2173b
      Matthias Clasen authored
      When constructing from a menu model, use popovers by default.
      This change has the potential to cause some size problems for
      applications with big gear menus, so we're doing it early in
      the cycle to uncover and fix those.
      fab2173b
  20. 22 Feb, 2014 4 commits
  21. 19 Feb, 2014 2 commits
  22. 10 Feb, 2014 1 commit
  23. 09 Feb, 2014 2 commits
  24. 07 Feb, 2014 3 commits
  25. 05 Feb, 2014 2 commits
  26. 06 Jan, 2014 1 commit
  27. 05 Jan, 2014 1 commit