1. 07 May, 2022 4 commits
    • Christian Hergert's avatar
      actionmuxer: add test for action parent · b5842507
      Christian Hergert authored
      This tests that the infrastructure for action muxer parents is working
      by activating an action on a widget for which the action is defined on
      a widget not in the ancestry.
    • Christian Hergert's avatar
      actionmuxer: check for observer before unregistering · 3e76026a
      Christian Hergert authored
      This can happen if the group can be resolved even when doing the initial
      registration of an action as observer will not yet be in the GSList of
      watchers (and therefore has no weak references).
      Fixes a warning like the following:
       g_object_weak_unref: couldn't find weak ref
    • Christian Hergert's avatar
      actionmuxer: set handler ids initially to zero · f9c27683
      Christian Hergert authored
      These were getting created with possible non-zero values and then inserted
      into a hashtable where the readers may not know the state of the group.
      Ensure those values are set to zero until we assign them below.
    • Christian Hergert's avatar
      widget: add gtk_widget_set_action_parent() · 3b3ad3d6
      Christian Hergert authored
      This adds a new function to the 4.8 ABI that allows setting an action
      parent for a widget. The action parent affects the action muxing so that
      instead of using the widgets direct ancestor, an alternate widget's
      action muxer may be used.
      You may not set an action parent for a widget that is a direct descendant
      of your widget as that would cause cycles in action resolution.
      You might find this API useful for situations where you want menus in
      headerbars to route through action muxers for the current document as
      well as toolbars or sidebars.
      Fixes #4860
  2. 02 May, 2022 7 commits
  3. 01 May, 2022 2 commits
  4. 27 Apr, 2022 1 commit
  5. 26 Apr, 2022 8 commits
  6. 23 Apr, 2022 1 commit
  7. 21 Apr, 2022 1 commit
  8. 20 Apr, 2022 2 commits
  9. 19 Apr, 2022 5 commits
  10. 18 Apr, 2022 5 commits
  11. 17 Apr, 2022 4 commits