1. 17 Sep, 2012 1 commit
    • Allison Karlitskaya's avatar
      GtkAccelLabel: add manual accel API · 778aa7ad
      Allison Karlitskaya authored
      Add an API to GtkAccelLabel for hardcoding the accel key to be displayed
      (ie: allowing us to bypass the GtkAccelGroup lookup).
      
      Use that from the GMenuModel-based GtkMenu construction code instead of
      passing around the accel group.
      
      This makes accel labels work in bloatpad again.
      
      This patch effectively removes any hope of automatic runtime accel
      changes in GMenuModel-based menus without additional application
      support but it leaves the door open for this to be supported again in
      the future (if we decide that it's important).
      
      https://bugzilla.gnome.org/show_bug.cgi?id=683738
      778aa7ad
  2. 20 Aug, 2012 2 commits
    • Lars Uebernickel's avatar
      gtkmodelmenu: add support for action namespaces · 71067472
      Lars Uebernickel authored
      If a section or submenu item has a "action-namespace" attribute, the
      action names of the created GtkModelMenuItems will be prefixed with that
      namespace.  Namespaces can be cascaded.
      71067472
    • Allison Karlitskaya's avatar
      gtkmodelmenu: move to new action regime · dd45862a
      Allison Karlitskaya authored
      Drop the explicit passing of GActionGroup into the GtkMenu(Bar)
      constructors and operate from the action context instead.
      
      With GtkMenuItem implementing GtkActionable, this turns out to be pretty
      easy (and most of the code can be removed from GtkModelMenuItem,
      including the GActionObserver implementation).
      dd45862a
  3. 27 Feb, 2012 1 commit
  4. 19 Dec, 2011 2 commits