1. 08 Dec, 2011 6 commits
    • Allison Karlitskaya's avatar
      Menu model exporter: clean up the API · cfbc1b5a
      Allison Karlitskaya authored
      Give it the same treatment as the exporter for GActionGroup just got.
      
      There is a wart here: the exporter attempt to re-enter GDBusConnection
      when it is freed in order to cancel outstanding name watches.
      GDBusConnection holds its own lock while calling the destroy notify, so
      the attempt at reentrancy results in a deadlock.
      
      We have a workaround to deal with that for now...
      cfbc1b5a
    • Allison Karlitskaya's avatar
      gmenu exporter: put submenus in separate groups · 02b001f8
      Allison Karlitskaya authored
      Keep sections in the same subscription group as the parent (since they
      will be needed immediately) but put submenus in a separate group.
      02b001f8
    • Matthias Clasen's avatar
      Shorten a variable name · d6f22813
      Matthias Clasen authored
      d6f22813
    • Matthias Clasen's avatar
      Describe the org.gtk.Menus interface · 60ab57c4
      Matthias Clasen authored
      Even though we consider the interface to be an implementation
      detail, we should have internal documentation of the interface.
      60ab57c4
    • Matthias Clasen's avatar
      Rename exporter APIs · db34b1ae
      Matthias Clasen authored
      There are no public 'exporter' objects, so don't allude to them
      in the function names. At the same time, we want to make it clear
      that these functions are D-Bus specific.
      
      The new APIs are
      g_action_group_dbus_export_start
      g_action_group_dbus_export_query
      g_action_group_dbus_export_stop
      g_menu_model_dbus_export_start
      g_menu_model_dbus_export_query
      g_menu_model_dbus_export_stop
      db34b1ae
    • Matthias Clasen's avatar
      Add GMenuModel D-Bus exporter · 66e089f0
      Matthias Clasen authored
      66e089f0