Commit Graph

13 Commits

Author SHA1 Message Date
Michael Natterer 84e933d80b Use accessors instead of widget->window and widget->style 2009-07-15 03:58:30 +02:00
Michael Natterer bcc31e20e7 use "list" as variable name for iterators to be consistent with the rest
2009-03-22  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimptagentry.c: use "list" as variable name for
	iterators to be consistent with the rest of GIMP; various code
	cleanups.


svn path=/trunk/; revision=28196
2009-03-22 19:10:15 +00:00
Michael Natterer f1f3913b5e use gtk_paint_layout() instead of fiddling with a PangoRenderer manually.
2009-03-02  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimptagentry.c (gimp_tag_entry_expose): use
	gtk_paint_layout() instead of fiddling with a PangoRenderer
	manually.


svn path=/trunk/; revision=28096
2009-03-02 22:28:57 +00:00
Michael Natterer 7dd3ce30f2 allow to leave the widget with Ctrl+Tab. Handle GDK_KP_Tab and
2009-03-02  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimptagentry.c (gimp_tag_entry_key_press): allow to
	leave the widget with Ctrl+Tab. Handle GDK_KP_Tab and
	GDK_ISO_Left_Tab.


svn path=/trunk/; revision=28095
2009-03-02 22:16:40 +00:00
Michael Natterer c06c90b545 add gimp_tagged_set_tags() which takes a GList of tags.
2009-03-02  Michael Natterer  <mitch@gimp.org>

	* app/core/gimptagged.[ch]: add gimp_tagged_set_tags() which
	takes a GList of tags.

	* app/widgets/gimptagentry.c (gimp_tag_entry_assign_tags): use it.

	(gimp_tag_entry_item_set_tags): remove.


svn path=/trunk/; revision=28094
2009-03-02 21:48:50 +00:00
Michael Natterer 56198ec77b app/widgets/gimpcombotagentry.c indentation, spacing, some general
2009-03-02  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcombotagentry.c
	* app/widgets/gimptagentry.c: indentation, spacing, some general
	formatting cleanup.

	(gimp_tag_entry_expose): don't leak the PangoAttrList.


svn path=/trunk/; revision=28093
2009-03-02 21:34:59 +00:00
Aurimas Juška a31ca23ddb fixed popup list (tag cloud) toggling by querying tags immediately instead
* app/widgets/gimptagentry.c (gimp_tag_entry_set_tag_string):
fixed popup list (tag cloud) toggling by querying tags immediately
instead of adding idle handler.

svn path=/trunk/; revision=28044
2009-02-16 14:44:04 +00:00
Aurimas Juška cf3e18312e don't cause tag query after focus-out. Fixes annoying bug.
* app/widgets/gimptagentry.c (gimp_tag_entry_commit_tags),
(gimp_tag_entry_strip_extra_whitespace): don't cause tag query
after focus-out. Fixes annoying bug.

svn path=/trunk/; revision=28043
2009-02-16 13:59:31 +00:00
Michael Natterer d9b5207aa2 Change licence to GPLv3 (and to LGPLv3 for libgimp).
2009-01-17  Michael Natterer  <mitch@gimp.org>

	* all files with a GPL header and all COPYING files:

	Change licence to GPLv3 (and to LGPLv3 for libgimp).

	Cleaned up some copyright headers and regenerated the parsers in
	the ImageMap plugin.


svn path=/trunk/; revision=27913
2009-01-17 22:28:01 +00:00
Sven Neumann 2d2aec81b9 another small formatting cleanup
svn path=/trunk/; revision=27863
2008-12-31 00:25:20 +00:00
Sven Neumann d9d657ca19 added GimpTagEntryMode.
2008-12-31  Sven Neumann  <sven@gimp.org>

	* app/widgets/widgets-enums.[ch]: added GimpTagEntryMode.

	* app/widgets/gimptagentry.[ch]: removed it here. Also did some
	code cleanup, mostly formatting.

	* app/widgets/gimpcombotagentry.[ch]
	* app/widgets/gimptagpopup.[ch]: some code cleanup, mostly
	formatting.


svn path=/trunk/; revision=27861
2008-12-31 00:01:24 +00:00
Aurimas Juška 3093ef28ce fixed handling of tags which contain non-ASCII characters.
* app/widgets/gimptagentry.c: fixed handling of tags which contain
non-ASCII characters.

svn path=/trunk/; revision=27822
2008-12-21 16:41:09 +00:00
Martin Nordholts 4255e43681 Bug 555954 – Merge Tagging of Gimp Resources GSoC Project
Merge the rest of the tagging code developed on the tagging branch
by Aurimas Juška. Development will now continue in trunk.

* app/core/gimptag.[ch]: New files (not strictly true but almost)
implementing the represention of a tag.

* app/core/gimptagcache.[ch]: New files implementing functionality
for loading and saving tags to tags.xml, and assigning loaded tags
to tagged objects.

* app/core/gimpfilteredcontainer.[ch]: New files implementing a
tag filtered GimpContainer.

* app/widgets/gimptagentry.[ch]: New files implementing a
GtkEntry-like widget for entering tags.

* app/widgets/gimpcombotagentry.[ch]: New files implementing a
combobox-like widget for selecting tags.

* app/widgets/gimptagpopup.[ch]: New files implementing a popup of
all available tags that can be selected and combined in a
checkbox-like way.

* app/core/gimp.[ch]: Add a GimpTagCache member and manage tag
assignment and saving and loading to/from tags.xml.

* app/widgets/gimpdatafactoryview.c: Add the tag query and tag
assignment widgets to the UI and show the tag filtered items
instead of all items.

* app/core/Makefile.am
* app/widgets/Makefile.am: Add new files.

* app/core/core-types.h
* app/widgets/widgets-types.h: Add new types.

svn path=/trunk/; revision=27816
2008-12-20 14:46:54 +00:00