1. 17 May, 2013 5 commits
  2. 16 May, 2013 3 commits
  3. 15 May, 2013 20 commits
  4. 14 May, 2013 1 commit
  5. 13 May, 2013 11 commits
    • Jasper St. Pierre's avatar
      gtkmenutrackeritem: Simplify the submenu opening API · 7793f21d
      Jasper St. Pierre authored
      Instead of making clients inspect the submenu action and decide what
      to do based upon that, always request the submenu open and let the
      tracker decide what to do.
    • Jasper St. Pierre's avatar
    • Allison Karlitskaya's avatar
      add GtkMenuTrackerItem · a4276a6c
      Allison Karlitskaya authored and Jasper St. Pierre's avatar Jasper St. Pierre committed
      Add a new class, GtkMenuTrackerItem that represents a menu item, to be
      used with GtkMenuTracker.
      GtkMenuTracker's insert callback now works in terms of this new type
      (instead of passing reference to the model and an index to the item).
      GtkMenuShell now handles all of the binding tasks internally, mostly
      through the use of property bindings.  Having bindings for the label and
      visibility attributes, in partiular, will help with supporting upcoming
      extensions to GMenuModel.
      GtkModelMenu has been reduced to a helper class that has nothing to do
      with GMenuModel.  It represents something closer to an "ideal" API for
      GtkMenuItem if we didn't have compatibility concerns (eg: not emitting
      "activate" when setting toggle state, no separate subclasses per menu
      item type, supporting icons, etc.) Improvements to GtkMenuItem could
      eventually shrink the size of this class or remove the need for it
      Some GtkActionHelper functionality has been duplicated in
      GtkMenuTracker, which is suboptimal.  The duplication exists so that
      other codebases (such as Unity and gnome-shell) can reuse the
      GtkMenuTracker code, whereas GtkActionHelper is very much tied to
      GtkWidget.  Supporting binding arbitrary GtkWidgets to actions vs.
      supporting the full range of GMenuModel features for menu items turns
      out to be two overlapping but not entirely similar problems.  Some of
      the duplication (such as roles) can be removed from GtkActionHelper once
      Gtk's internal Mac OS menubar support is ported to GtkMenuTracker.
      The intent to reuse the code outside of Gtk is also the reason for the
      unusual treatment of the enum type introduced in this comment.
      This adds no new "public" API to the Gtk library, other than types that
      we cannot make private due to GType limitations.
    • Allison Karlitskaya's avatar
      action stuff: Change include style · 03235bf0
      Allison Karlitskaya authored and Jasper St. Pierre's avatar Jasper St. Pierre committed
      The shell wants to transplant our GtkActionObserver/GtkActionObservable
      code now as well, so change to ""-style #includes there.
    • Jasper St. Pierre's avatar
      action stuff: Introspection fixes · 6030ba48
      Jasper St. Pierre authored
    • Jasper St. Pierre's avatar
      action stuff: Remove G_GNUC_INTERNAL · 8ad384f3
      Jasper St. Pierre authored
    • Allison Karlitskaya's avatar
      action stuff: stop abusing GLib's namespace · 6c49cd0e
      Allison Karlitskaya authored and Jasper St. Pierre's avatar Jasper St. Pierre committed
      Rename our internal GActionMuxer, GActionObserver and GActionObservable
      classes and interfaces to have names in our own namespace.
      These classes were originally intended for GIO but turned out to be too
      special-purpose to be useful there, so we never made them public API but
      have just been copying them around (without bothering to properly rename
      them).  Now that other people will be copying them out of Gtk, it's even
      more important to prevent this namespace abuse from spreading further.
    • Allison Karlitskaya's avatar
      tests: make GtkMenu test more flexible · 58481ffa
      Allison Karlitskaya authored and Jasper St. Pierre's avatar Jasper St. Pierre committed
      We were using gtk_menu_item_get_label() from a testcase to determine the
      label associated with a menu item.  Future changes to GtkModelMenuItem
      will cause this to stop working, so try a bit harder to find a label
      inside of the item.
    • Matthias Clasen's avatar
      Revert "Fix .ui.h -> .ui naming of files." · 0e40afd5
      Matthias Clasen authored
      This reverts commit 99c7091a.
      Please, no more touching of POTFILES.in without asking first.
      These .ui.h files are really meant to be there.
    • Hib Eris's avatar
      Build extract-strings tool for build system · 914099dc
      Hib Eris authored
      This fixes cross compiling where build system != host system.
    • Kjartan Maraas's avatar
      Updated Norwegian bokmål translation · 7d5a90b7
      Kjartan Maraas authored