1. 10 Aug, 2010 1 commit
  2. 19 Jul, 2010 1 commit
  3. 13 Jul, 2010 1 commit
  4. 10 Jul, 2010 1 commit
  5. 13 May, 2010 1 commit
  6. 04 Apr, 2010 1 commit
  7. 19 Feb, 2010 1 commit
  8. 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
      95caf23d
  9. 23 Jan, 2009 1 commit
    • 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
      bb72b647
  10. 12 Aug, 2008 1 commit
  11. 01 Jul, 2008 1 commit
  12. 30 Jun, 2008 1 commit
    • Cody Russell's avatar
      Practically everything changed. · fce9c8b7
      Cody Russell authored
      2008-06-30  Cody Russell  <bratsche@gnome.org>
      
              * Practically everything changed.
      
              Change	all references	of GIMP	Toolkit	(and variations	of it)
              to GTK+	Toolkit, showing no mercy at all to our	beloved
      	ancestry. (#540529)
      
      
      svn path=/trunk/; revision=20709
      fce9c8b7
  13. 22 Jun, 2008 1 commit
    • Johan Dahlin's avatar
      Include "config.h" instead of <config.h> Command used: find -name · d97cdbdf
      Johan Dahlin authored
      2008-06-21  Johan Dahlin  <jdahlin@async.com.br>
      
          * *.[ch]: Include "config.h" instead of <config.h>
          Command used:
          find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
          Rubberstamped by Mitch and Tim
      
      
      svn path=/trunk/; revision=20669
      d97cdbdf
  14. 09 Sep, 2007 1 commit
    • Matthias Clasen's avatar
      Update the documentation to mark the optional constructors parameters. The · 8fb6c039
      Matthias Clasen authored
      2007-09-09  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtkaction.c:
              * gtk/gtkradioaction.c:
              * gtk/gtkrecentaction.c:
              * gtk/gtktoggleaction.c: Update the documentation to mark
              the optional constructors parameters. The GtkAction::name
              property is required, instead, as it is used by GtkUIManager
              to find the action object from the XML. (#450032, Murray Cumming,
              patch by Emmanuele Bassi)
      
      
      
      svn path=/trunk/; revision=18773
      8fb6c039
  15. 08 Oct, 2006 1 commit
  16. 14 May, 2006 1 commit
  17. 02 May, 2006 1 commit
  18. 30 Nov, 2005 1 commit
  19. 13 Sep, 2005 1 commit
  20. 01 Sep, 2005 1 commit
    • Matthias Clasen's avatar
      Intern some more strings. · 94eec042
      Matthias Clasen authored
      2005-09-01  Matthias Clasen  <mclasen@redhat.com>
      
              * gdk/*.c: Intern some more strings.
              * gtk/gtkintl.h:
              * gtk/*.c: Define an I_() macro and use it instead of the
              bulky g_intern_static_string().
      94eec042
  21. 31 Aug, 2005 1 commit
    • Matthias Clasen's avatar
      Intern type names in code generated by glib-mkenums, too. · c09cc893
      Matthias Clasen authored
      2005-08-31  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/Makefile.am:
      	* gtk/Makefile.am: Intern type names in code generated by
      	glib-mkenums, too.
      
      	* gtk/*.c:
      	* gdk/x11/*.c:
      	* gdk/*.c: Intern type names before registering the type to avoid
      	unnecessary copies.
      c09cc893
  22. 16 May, 2005 1 commit
  23. 26 Mar, 2005 1 commit
  24. 22 Mar, 2005 1 commit
  25. 20 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · cca8dd63
      Matthias Clasen authored
      2005-03-20  Matthias Clasen  <mclasen@redhat.com>
      
      	Make PLT-reduction work with gcc4, and don't include
      	everything in gdkalias.h:
      
      	* gtk/grk.symbols: Group symbols by header and source file.
      	* gtk/makegtkalias.pl: Protect definitions by the same
      	preprocessor symbols used to guard the headers. Move
      	the alias declarations to a separate file which is
      	produced when calling makegtkalias.pl -def
      	* gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate
      	this file.
      	* gtk/*.c: Include gtkalias.h after the other headers,
      	include gtkaliasdef.c at the bottom.
      	* gtk/*.h: Small cleanups.
      cca8dd63
  26. 09 Mar, 2005 1 commit
  27. 09 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Add hidden aliases for exported symbols which are used internally in order · 3612aee5
      Matthias Clasen authored
      Mon Aug  9 12:48:04 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Add hidden aliases for exported symbols which are
      	used internally in order to get rid of many PLT
      	entries.  (#145519, Arjan van de Ven)
      
      	* gtk/Makefile.am: Add rules to generate gtk.def and
      	from gtk.symbols, and make make check check the abi
      	with abicheck.sh.
      	(gtk_private_h_sources): Add gtkinternals.h
      	(gtk_built_private_headers): Add gtkalias.h
      	(gtk_extra_sources): Add gtk.symbols
      	(EXTRA_DIST): Add makegtkalias.pl and abicheck.sh
      
      	* gtk/gtk.symbols: New file. Definition of the GTK+ ABI.
      	The file can be processed by cpp to filter out certain
      	subsets of symbols.
      
      	* gtk/abicheck.sh: New file. Script to check the actually
      	symbols exported from libgtk-x11.2.0.so against the symbols
      	found in gtk.symbols.
      
      	* gtk/makegtkalias.pl: New file. Perl script to generate the
      	header containing the alias definitions for internally used
      	exported symbols from a list of symbols.
      
      	* gtk/gtkinternals.h: New file. An uninstalled header listing
      	symbols which must be exported for some reason and do not appear
      	in any other header.
      
      	* gtk/*.c: Include gtkalias.h
      3612aee5
  28. 16 Jan, 2004 1 commit
    • Matthias Clasen's avatar
      The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog and · 07d4d314
      Matthias Clasen authored
      Fri Jan 16 23:59:01 2004  Matthias Clasen  <maclas@gmx.de>
      
      	The first part of the fix for #114351 (see also
      	gdk-pixbuf/ChangeLog and po/ChangeLog):
      
      	* gtk/gtkintl.h:
      	* gdk-pixbuf/gdk-pixbuf-i18n.h:
      	* gdk/gdkintl.h: Define P_() for property blurbs and nicks.
      
      	* gdk/gdkdisplaymanager.c:
      	* gdk-pixbuf/gdk-pixbuf.c:
      	* modules/input/gtkimcontextxim.c:
      	* gtk/*.c:  Mark property blurbs and nicks with P_().
      
      	* po/Makefile.in.in: Add --keyword=P_ to the xgettext
      	invocation, since property blurbs and nicks are
      	now marked with P_().
      07d4d314
  29. 07 Jan, 2004 1 commit
    • Matthias Clasen's avatar
      Add creation functions for actions. · a11e45a1
      Matthias Clasen authored
      Wed Jan  7 22:20:20 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkaction.h:
      	* gtk/gtkaction.c (gtk_action_new):
      	* gtk/gtktoggleaction.h:
      	* gtk/gtktoggleaction.c (gtk_toggle_action_new):
      	* gtk/gtkradioaction.h:
      	* gtk/gtkradioaction.c (gtk_radio_action_new): Add creation
      	functions for actions.
      
      	* gtk/gtkactiongroup.c (gtk_action_group_add_actions_full):
      	(gtk_action_group_add_toggle_actions_full):
      	(gtk_action_group_add_radio_actions_full): and use the
      	new functions here.  (#125322, Patch by Jeff Frank)
      a11e45a1
  30. 19 Dec, 2003 1 commit
    • Matthias Clasen's avatar
      Fix the behaviour of insensitive actions, which was broken when · bc5d7efe
      Matthias Clasen authored
      Fri Dec 19 01:35:34 2003  Matthias Clasen  <maclas@gmx.de>
      
      	Fix the behaviour of insensitive actions, which was broken
      	when gtk_action_activate() was changed to pay attention to
      	sensitivity  (#129557, Christian Persch)
      
      	* gtk/gtkaction.h:
      	* gtk/gtkaction.c (_gtk_action_emit_activate): New auxiliary
      	function to emit an activate signal without regard to sensitivity.
      
      	* gtk/gtkradioaction.c:
      	* gtk/gtktoggleaction.c: Always use _gtk_action_emit_activate()
      	instead of gtk_action_activate().
      bc5d7efe
  31. 01 Oct, 2003 1 commit
  32. 21 Sep, 2003 1 commit
    • Matthias Clasen's avatar
      Changes to make cross-process merging feasible: · d381967d
      Matthias Clasen authored
      2003-09-21  Matthias Clasen  <maclas@gmx.de>
      
      	Changes to make cross-process merging feasible:
      
      	* gtk/gtkuimanager.[hc]: Add a readonly "ui" property which holds the
      	merged UI definition. Remove the "changed" signal, since its role
      	is now filled by "notify::ui". Instead add a "actions-changed" signal
      	which gets emitted when the set of actions changes.
      
      	* gtk/gtktoggleactionprivate.h:
      	* gtk/gtktoggleaction.[hc] (gtk_toggle_action_[sg]et_draw_as_radio):
      	Add a "draw_as_radio" property to toggle actions so that they can be
      	used as proxies for radio actions much like the "draw_as_radio"
      	property on check menu items enables them to operate as proxies for
      	radio actions.
      
      	Prevent the "show_all" trap for action-based menus (see
      	http://mail.gnome.org/archives/gtk-devel-list/2003-September/
      	msg00260.html):
      
      	* gtk/gtkmenu.c (gtk_menu_{hide,show}_all): Remove g_return_if_fail()
      	calls from static functions.
      
      	* gtk/gtkuimanager.c (update_node):
      	* gtk/gtkaction.c (connect_proxy): Set "no_show_all" on constructed
      	widgets whose visibility is externally controlled.
      
      	* gtk/gtkwidget.[hc] (gtk_widget_[gs]et_no_show_all): Add a boolean
      	"no_show_all" property with setter and getter. When TRUE, it keeps
      	gtk_widget_{hide,show}_all() from modifying the visibility of the
      	widget and its children.
      d381967d
  33. 04 Sep, 2003 1 commit
    • Matthias Clasen's avatar
      Test buttons and toggle buttons as proxies. · 9ae676b0
      Matthias Clasen authored
      2003-09-04  Matthias Clasen  <maclas@gmx.de>
      
      	* tests/testmerge.c: Test buttons and toggle buttons as proxies.
      
      	* gtk/gtktoggleaction.c (connect_proxy):
      	(gtk_toggle_action_real_toggled): Support toggle buttons as proxies. Note
      	that a "draw_as_radio" property is needed for check buttons similar to
      	check menu items, in order to fully support button proxies for radio actions.
      
      	* gtk/gtkaction.c (connect_proxy): Allow buttons as proxies.
      9ae676b0
  34. 24 Aug, 2003 1 commit
    • Matthias Clasen's avatar
      A model-view separation for menus and toolbars, using the EggMenu code by · e7e39565
      Matthias Clasen authored
      2003-08-24  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkaction.[ch]:
      	* gtk/gtktoggleaction.[ch]:
      	* gtk/gtktoggleactionprivate.h:
      	* gtk/gtkradioaction.[ch]:
      	* gtk/gtkactiongroup.[ch]:
      	* gtk/gtkmenumerge.[ch]: A model-view separation for menus and
      	toolbars, using the EggMenu code by James Henstridge.
      
      	* gtk/gtk.h: Include new headers.
      	* gtk/Makefile.am: Add new files.
      
      	* tests/testactions.c: Test for actions.
      	* tests/testmerge.c: Test for menu merging.
      	* tests/merge-[123].ui: Test data for testmerge.
      	* tests/Makefile.am: Add testactions and testmerge.
      
      	* demos/gtk-demo/appwindow.c: Use GtkMenuMerge to construct the
      	menubar and toolbar.
      e7e39565