1. 30 Jun, 2013 1 commit
  2. 27 Feb, 2012 1 commit
  3. 02 Nov, 2010 1 commit
  4. 31 Oct, 2010 1 commit
  5. 30 Oct, 2010 2 commits
  6. 24 Jan, 2009 1 commit
  7. 04 Aug, 2008 1 commit
    • Michael Natterer's avatar
      gtk/gtkseparatortoolitem.c remove pointless #undef GTK_DISABLE_DEPRECATED. · a3a5bc34
      Michael Natterer authored
      2008-08-04  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkseparatortoolitem.c
      	* tests/testactions.c: remove pointless #undef GTK_DISABLE_DEPRECATED.
      
      	* gtk/gtkcalendar.c (calendar_set_display_option): use
      	gtk_calendar_set_display_options() instead of the deprecated
      	gtk_calendar_display_options().
      
      
      svn path=/trunk/; revision=20977
      a3a5bc34
  8. 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
  9. 01 Feb, 2008 1 commit
    • Michael Natterer's avatar
      initialize GdkColor structs to fix warning about uninitialized "pixel" · 2a9c3e80
      Michael Natterer authored
      2008-02-01  Michael Natterer  <mitch@imendio.com>
      
      	* tests/testgtk.c: initialize GdkColor structs to fix warning
      	about uninitialized "pixel" member.
      
      	* tests/testactions.c: connect the toolbar_style() callback so it
      	does something useful and doesn't warn about being defined but not
      	used.
      
      
      svn path=/trunk/; revision=19454
      2a9c3e80
  10. 15 Mar, 2007 1 commit
    • Emmanuele Bassi's avatar
      Add GtkActionClass::get_submenu() vfunc: actions providing a menu item or · ccf49466
      Emmanuele Bassi authored
      2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
      
      	* gtk/gtkaction.[ch]: Add GtkActionClass::get_submenu() vfunc:
      	actions providing a menu item or a menu tool button with already
      	a submenu should return the GtkMenu widget.
      
      	* gtk/gtkuimanager.c (update_node): If an action provides its
      	own submenu, use it instead of adding an empty one
      
      	* gtk/gtkrecentaction.[ch]: Add GtkRecentAction, an action
      	implementing the GtkRecentChooser interface for displaying the
      	list of recently used files into menus and toolbars generated
      	using GtkUIManager. (#338843)
      
      	* gtk/Makefile.am:
      	* gtk/gtk.h:
      	* gtk/gtk.symbols: Add GtkRecentAction API to the build.
      
      	* tests/testactions.c: Exercise the GtkRecentAction API.
      
      svn path=/trunk/; revision=17524
      ccf49466
  11. 13 Jul, 2005 1 commit
  12. 20 Jul, 2004 1 commit
    • Matthias Clasen's avatar
      Add some refcount debugging. · 82877f9e
      Matthias Clasen authored
      2004-07-20  Matthias Clasen  <mclasen@redhat.com>
      
      	* tests/testactions.c (main):
      	* tests/testmerge.c (main): Add some refcount debugging.
      
      	* gtk/gtkuimanager.c (update_node, free_node): Ref an sink
      	all proxies, so that we can properly clean up floating proxies
      	which the app didn't adopt.  (#147926, Tommi Komulainen)
      82877f9e
  13. 15 Mar, 2004 1 commit
    • Owen Taylor's avatar
      #136672, reported by Christian Persch; fixes based on a patch by Soeren · 3895bea4
      Owen Taylor authored
      Sun Mar 14 19:26:48 2004  Owen Taylor  <otaylor@redhat.com>
      
              #136672, reported by Christian Persch; fixes based
              on a patch by Soeren Sandmann.
      
              * gtk/gtkmenu.c: Change the handling of mixed gridded
              and non-gridded menu items; the old method was causing
              major performance problems even with the "avoid relayout
              on destruction" hack put in recently.
      
              Now we first lay out the gridded items and then put the
              non-gridded items into empty rows / after the gridded items.
              Layout is done in a central menu_shell_ensure_layout(). Also
              avoid emitting property notifications when we initially
              insert or attach items.
      
              * gtk/gtkmenushell.[ch] gtk/gtkmenu.c: Stop setting the
              unused menu_shell->menu_flag, and document it as unused
              in the header.
      
              * tests/testactions.c: Add a test of creating/removing
              lots of items.
      
              * test/testgtk.c: Add some more cruft to the menu test.
      3895bea4
  14. 06 Mar, 2004 1 commit
  15. 15 Sep, 2003 1 commit
    • Matthias Clasen's avatar
      Add value parameter to allow setting the currently selected group member · caf380c7
      Matthias Clasen authored
      2003-09-15  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkactiongroup.[hc]: (gtk_action_group_add_radio_actions):
      	(gtk_action_group_add_radio_actions_full): Add value parameter to allow
      	setting the currently selected group member before connecting signals.
      	(GtkToggleActionEntry): Separate struct for constructing toggle actions,
      	including a boolean to initialize the action state before connecting
      	signals.
      	(gtk_action_group_add_toggle_actions):
      	(gtk_action_group_add_toggle_actions_full): New functions to construct
      	toggle actions from an array of GtkToggleActionEntries.
      
      	* demos/gtk-demo/appwindow.c:
      	* tests/testactions.c:
      	* tests/testmerge.c: Adjust to new action group API.
      
      	* gtk/gtk-sections.txt: Add gtk_action_group_add_toggle_actions[_full].
      caf380c7
  16. 27 Aug, 2003 1 commit
    • Matthias Clasen's avatar
      Change the XML format: <Root> element is replaced by <ui>, <menu> element · cbc20c4d
      Matthias Clasen authored
      2003-08-28  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkuimanager.c: Change the XML format:
      	<Root> element is replaced by <ui>,
      	<menu> element is replaced by <menubar>,
      	<submenu> element is replaced by <menu>,
      	<dockitem> element is replaced by <toolbar>,
      	<popups> element is gone,
      	verb attribute is replaced by action,
      	name defaults to action or the element name.
      
      	* gtk/gtkactiongroup.[hc]: Replace GtkActionGroupEntry by GtkActionEntry
      	and GtkRadioActionEntry. GtkActionEntry is simplified by removing
      	the user_data, entry_type and extra_data fields, GtkRadioActionEntry is
      	further simplified by removing the callback. The user_data can now be
      	specified as an argument to gtk_action_group_add_actions(). There is
      	a new method gtk_action_group_add_radio_actions(), which is similar
      	to gtk_action_group_add_actions(), but takes GtkRadioActionEntrys
      	and a callback parameter in addition to the user_data. The callback
      	is connected to the ::changed signal of the first group member.
      	There are _full() variants taking a GDestroyNotify of
      	gtk_action_group_add_[radio_]actions().
      
      	* gtk/gtkradioaction.[hc]: Add a ::changed signal which gets emitted
      	on every member of the radio group when the active member is changed.
      	Add an integer property "value", and a getter for the value of "value"
      	on the currently active group member.
      
      	* tests/testactions.c:
      	* tests/testmerge.c:
      	* tests/merge-[123].ui:
      	* demos/gtk-demo/appwindow.c: Adjust to these changes.
      
      	* gtk/gtktoolbar.c (gtk_toolbar_append_element): Trivial doc fix.
      cbc20c4d
  17. 26 Aug, 2003 1 commit
    • Matthias Clasen's avatar
      Use gssize for length, not gsize. · 720bdb8d
      Matthias Clasen authored
      2003-08-26  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkuimanager.[hc] (gtk_ui_manager_add_ui_from_string): Use gssize
      	for length, not gsize.
      
      	* gtk/gtkuimanager.c: Refactor the XML format a bit: rename <Root> to
      	<ui> and make it optional in strings. Rename verb to action, <dockitem>
      	to <toolbar>, <menu> to <menubar>, <submenu> to <menu>.
      
      	* demos/gtk-demo/appwindow.c:
      	* tests/testactions.c:
      	* tests/testmerge.c:
      	* tests/merge-1.ui:
      	* tests/merge-2.ui:
      	* tests/merge-3.ui: Adjust to the new XML format.
      720bdb8d
  18. 25 Aug, 2003 1 commit
  19. 24 Aug, 2003 2 commits
    • Matthias Clasen's avatar
      Namespace the enum values properly. Sorry about the resize grip trouble, · 32c6a944
      Matthias Clasen authored
      2003-08-25  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkactiongroup.h (GtkActionGroupEntryType): Namespace the enum
      	values properly. Sorry about the resize grip trouble, Owen.  (#120621)
      
      	* gtk/gtkactiongroup.c:
      	* demos/gtk-demo/appwindow.c:
      	* tests/testmerge.c:
      	* tests/testactions.c: Use new GtkActionGroupEntryType enum.
      32c6a944
    • 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