1. 15 Dec, 2009 1 commit
    • Matthew Barnes's avatar
      Bug 602099 - Actions can be activatable too · e8ed5668
      Matthew Barnes authored
      Add a couple type checks in gtk_activatable_do_set_related_action() to
      allow both GtkWidgets and GtkActions to implement GtkActivatable.  Bug
      602099 describes a use case for this.
      Also add a GObject prerequisite to the GtkActivatable interface.
  2. 15 Oct, 2009 1 commit
  3. 17 Jun, 2009 1 commit
    • Benjamin Otte's avatar
      fix compile warnings · 1a385c50
      Benjamin Otte authored
      Fallout from running make CFLAGS="-Werror"; mostly missing casts and
      constness issues.
  4. 22 Feb, 2009 1 commit
  5. 27 Jan, 2009 1 commit
    • Matthias Clasen's avatar
      Block the previous action when calling reset() to prevent accidental · 95caf23d
      Matthias Clasen authored
             * gtk/gtkactivatable.c (gtk_activatable_do_set_related_action):
              Block the previous action when calling reset() to prevent
              accidental activation of the previous action.
              * gtk/gtkaction.c (gtk_action_activate): Don't compare booleans.
              * gtk/gtktoggleaction.c (gtk_toggle_action_set_active): Remove
              extraneous braces.
      svn path=/trunk/; revision=22225
  6. 23 Jan, 2009 3 commits
    • Matthias Clasen's avatar
      Doc fixes · d0113d27
      Matthias Clasen authored
      svn path=/trunk/; revision=22201
    • Matthias Clasen's avatar
      Fix the section docs · 1c4e394b
      Matthias Clasen authored
      svn path=/trunk/; revision=22199
    • Matthias Clasen's avatar
      i Bug 560228 – Add "action-controller" property to GtkWidgetClass · bb72b647
      Matthias Clasen authored
              Rework the way actions and proxies interact, to make the
              interaction less ad hoc, more extensible, and better suited
              for support in GUI builders like glade.
              To be used as a proxy, a widget must now implement the
              GtkActivatable interface, and GtkActivatable implementations
              are responsible for syncing their appearance with the action
              and for activating the action.
              All the widgets that are commonly used as proxies implement
              GtkActivatable now.
              Patch by Tristan van Berkom.
              * gtk/gtkactivatable.[hc]: The GtkActivatable interface.
              * gtk/gtkbutton.c:
              * gtk/gtktogglebutton.c:
              * gtk/gtktoolitem.c:
              * gtk/gtktoolbutton.c:
              * gtk/gtktoggletoolbutton.c:
              * gtk/gtkmenuitem.c:
              * gtk/gtkcheckmenuitem.c:
              * gtk/gtkimagemenuitem.c:
              * gtk/gtkradiomenuitem.c:
              * gtk/gtkrecentchooserprivate.h:
              * gtk/gtkrecentchooser.c:
              * gtk/gtkrecentchooserdefault.c:
              * gtk/gtkrecentchoosermenu.c: Implement GtkActivatable.
              * gtk/gtkaction.[hc]: Move appearance synchronization to
              GtkActivatable implementations.
              * gtk/gtkradioaction.c:
              * gtk/gtkrecentaction.c:
              * gtk/gtktoggleaction.c:
              * gtk/gtkactiongroup.c: Adapt.
              * gtk/gtk.h: Include gtkactivatable.h
              * gtk/gtk.symbols: Add new functions
      svn path=/trunk/; revision=22195