9 Commits

Author SHA1 Message Date
Tristan Van Berkom
0e4da586e9 * gladeui/glade-base-editor.c, gladeui/glade-editor-property.c,
gladeui/glade-editor-table.c, gladeui/glade-editor-table.h,
	plugins/gtk+/glade-activatable-editor.c, plugins/gtk+/glade-button-editor.c,
	plugins/gtk+/glade-entry-editor.c, plugins/gtk+/glade-image-editor.c,
	plugins/gtk+/glade-image-item-editor.c, plugins/gtk+/glade-label-editor.c,
	plugins/gtk+/glade-label-editor.h, plugins/gtk+/glade-tool-button-editor.c:
	Removed the GtkTables and use GtkGrid in property editors so that line wrapping
	is hieght-for-width.
2010-12-29 19:14:52 +09:00
Javier Jardón
f8bbea40f0 Use accessor functions instead direct access. Third patch
Substitute GTK_WIDGET_REALIZED() and GTK_WIDGET_MAPPED()

https://bugzilla.gnome.org/show_bug.cgi?id=594957
2010-02-11 01:14:01 +01:00
Tristan Van Berkom
aa044addc8 Relicensed LGPL.
* gladeui/glade-name-context.[ch], gladeui/glade-editable.[ch]: Relicensed LGPL.

	* plugins/gtk+/glade-image-editor.c, plugins/gtk+/glade-image-item-editor.c,
	plugins/gtk+/glade-button-editor.c, plugins/gtk+/glade-label-editor.c,
	plugins/gtk+/glade-cell-renderer-editor.c, plugins/gtk+/glade-tool-button-editor.c,
	gladeui/glade-editor-table.c, gladeui/glade-base-editor.c: 
	Now editable portions of properties dont expand in tables, leaving more freedom 
	for labels to expand in tight spots, no more item_labels in radio buttons (they dont expand).

	* gladeui/glade-widget-adaptor.c: Fixed regression, now disabled classes are not
	reinstalled in subclasses.


svn path=/trunk/; revision=2065
2008-12-11 07:01:29 +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
bde43f1aed Faked the accel-group property and added accel-groups object list to
* plugins/gtk+/gtk+.xml.in: Faked the accel-group property and added
	accel-groups object list to GtkWindow... work in progress.

	* plugins/gtk+/glade-image-item-editor.c: Adjusted for accel-group property
	which is only avaiable for stock items.

	* plugins/gtk+/glade-gtk.c: Fixed sensitivity for accel-group/stock at load time.

	* gladeui/glade-editor-property.c: Labels dont go insensitive anymore, I think that
	was a general usability problem, the inputs still go insensitive and there are always 
	useful tooltips, the insensitivity message still gets across.

	* gladeui/glade-editor-table.c: Fixed breaking weak refs from dispose.


svn path=/trunk/; revision=2018
2008-11-07 20:49:58 +00:00
Tristan Van Berkom
8dadf185ff making menu conversions seemless
* plugins/gtk+/glade-image-item-editor.[ch], plugins/gtk+/glade-gtk.c:
	making menu conversions seemless

	* gladeui/glade-widget.c: Remove widgets from layout on hide,
	hide widgets when adding parentless prop refs.


svn path=/trunk/; revision=2014
2008-10-31 22:01:23 +00:00
Tristan Van Berkom
1e70cf40ae Added glade_widget_[un]lock() and glade_command_[un]lock_widget().
* gladeui/glade-widget.[ch], gladeui/glade-command.[ch]: Added
	glade_widget_[un]lock() and glade_command_[un]lock_widget().

	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-convert.c,
	plugins/gtk+/glade-image-item-editor.c: Dual format menu editing support
	depending on my gtk+ patch on bug 527672, TODO: still need to add accel-groups
	to GtkWindow on the glade side of things.


svn path=/trunk/; revision=2013
2008-10-31 02:23:01 +00:00
Tristan Van Berkom
936511a43d Fixed bugs around load/save of button/imagemenuitem label (stock driven)
* gladeui/glade-gtk.c: Fixed bugs around load/save of button/imagemenuitem
	label (stock driven) properties.

	* plugins/gtk+/glade-image-item-editor.c: Fixed a null dereference, glade_command_create()
	sometimes ends up changeing the selection, so the editable may be reloaded in the
	midst of its flow.

	* gladeui/glade-property.c, gladeui/glade-widget-adaptor.c: Now check for pclass->save
	and pclass->enabled *before* calling glade_property_write(), this allows plugins to
	mark props as save="False" and save those properties with custom values, still allowing
	them to use the GladeProperty api.


svn path=/trunk/; revision=2007
2008-10-28 06:11:11 +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