7 Commits

Author SHA1 Message Date
Tristan Van Berkom
bc939d5ff6 * ALL SOURCE FILES: Removed 8-space indentation, reformatted all code with:
indent   \
	--braces-after-if-line   \
	--case-brace-indentation0   \
	--case-indentation2   \
	--braces-after-struct-decl-line   \
	--line-length80   --no-tabs  \
	--dont-line-up-parentheses   \
	--continuation-indentation4 \
	--continue-at-parentheses  \
	--honour-newlines  --tab-size8  --indent-level2 -nbbo
2010-12-30 20:19:58 +09:00
Tristan Van Berkom
ecabb87545 * Whole tree updated to remove all notion of project conversions and dual project formats,
no more libglade.
2010-12-30 01:15:19 +09:00
Tristan Van Berkom
5af63e5874 Added "commit" signal to allow custom editors to do command group/macros
* gladeui/glade-editor-property.c: Added "commit" signal to allow custom editors to do
	command group/macros serialized around property changes.

	* plugins/gtk+/glade-activatable-editor.[ch], plugins/gtk+/Makefile.am, po/POTFILES.in:
	New activatable editor to handle activatable properties in smart ways.

	* plugins/gtk+/glade-gtk.c: Made various properties insensitive when activatable
	properties are in effect.

	* plugins/gtk+/glade-tool-button-editor.c: Made tables insensitive when activatable
	properties are in effect.

	* plugins/gtk+/glade-button-editor.c: Allow use of use-stock choice while activatable
	properties are in effect.



svn path=/trunk/; revision=2103
2009-02-05 17:47:10 +00:00
Tristan Van Berkom
a1f85b847a Updated to reflect current temporary dual licensing scheme, package is to
* COPYING: Updated to reflect current temporary dual licensing scheme, package is to be LGPL, with
	code portions that are still marked as GPL until they can be relicensed, both licenses are included
	in the package already.

	* plugins/gtk+/glade-store-editor.h plugins/gtk+/glade-icon-factory-editor.h
	plugins/gtk+/glade-image-item-editor.c plugins/gtk+/glade-image-editor.c plugins/gtk+/glade-image-item-editor.h
	plugins/gtk+/glade-model-data.c plugins/gtk+/glade-icon-sources.c plugins/gtk+/glade-tool-button-editor.c
	plugins/gtk+/glade-image-editor.h plugins/gtk+/glade-model-data.h plugins/gtk+/glade-icon-sources.h
	plugins/gtk+/glade-tool-button-editor.h plugins/gtk+/glade-text-button.c plugins/gtk+/glade-button-editor.c
	plugins/gtk+/glade-column-types.c plugins/gtk+/glade-text-button.h plugins/gtk+/glade-label-editor.c
	plugins/gtk+/glade-column-types.h plugins/gtk+/glade-button-editor.h plugins/gtk+/glade-cell-renderer-editor.c
	plugins/gtk+/glade-label-editor.h plugins/gtk+/glade-cell-renderer-editor.h plugins/gtk+/glade-treeview-editor.c
	plugins/gtk+/glade-convert.c plugins/gtk+/glade-store-editor.c plugins/gtk+/glade-icon-factory-editor.c
	plugins/gtk+/glade-treeview-editor.h: First files to safely be completely relicensed under LGPL.


svn path=/trunk/; revision=2061
2008-12-09 19:14:55 +00:00
Tristan Van Berkom
151e42b3e4 Added GladeEPropCellAttribute
* plugins/gtk+/glade-cell-renderer-editor.c: Added GladeEPropCellAttribute

	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Integrated new eprop
	  for cell renderer attributes, avoid setting attributes for columns that
	  exceed model bounds (except on load).


svn path=/trunk/; revision=2038
2008-11-20 20:54:03 +00:00
Tristan Van Berkom
e86dd963ab Reimplemented GtkMenuItem and subclasses from top to bottom
* plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c: 
	Reimplemented GtkMenuItem and subclasses from top to bottom

	* plugins/gtk+/glade-image-item-editor.[ch], plugins/gtk+/Makefile.am:
	New GtkImageMenuItem editor (that embeds the child image editor when needed)

	* gladeui/glade-command.[ch]: Added glade_command_[un]protect_widget()

	* gladeui/glade-widget.[ch]: Added glade_widget_[un]protect()
	protected widgets come with a message and cannot be manually deleted
	from the project.

	* plugins/gtk+/glade-image-editor.c, plugins/gtk+/glade-button-editor.c,
	plugins/gtk+/glade-tool-button-editor.c, gladeui/glade-editor-table.c:
	Fixed to:
	- not reffer to child editables in finalize
	- always removed external signals and weak references from finalize

	* gladeui/glade-base-editor.c: Fixed to allow properties expand/fill
	in both label and entry.


svn path=/trunk/; revision=2006
2008-10-28 05:07:30 +00:00
Tristan Van Berkom
70d528b5ed Added GtkToolButtonEditor editable implementation.
* plugins/gtk+/Makefile.am, plugins/gtk+/glade-tool-button-editor.[ch]:
	Added GtkToolButtonEditor editable implementation.

	* plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c: Reimplemented toolbuttons
	from ground up.

	* gladeui/glade-editor-property.c: object dialog now doesnt do "new" for unmentioned
	abstract or uninstantiatable types, also enhanced dialog title.

	* gladeui/glade-project.c: Moved "parse-finished" emission to /after/ resolving
	object properties (doh !).


svn path=/trunk/; revision=2003
2008-10-26 08:12:09 +00:00