Commit Graph

12 Commits

Author SHA1 Message Date
Michael Natterer 47ef3be145 Initialize GValues with G_VALUE_INIT instead of { 0, } 2016-03-26 15:59:26 +01:00
Jehan f0b3c76c9d app - fix crash of the language parser on OSX.
Stupid bug. I misused the GINT_TO_POINTER macro.
2013-07-29 02:12:17 +12:00
Jehan a129f84c68 Bug 704592 - only load language lists once at gui startup.
Improvements:
- setenv/getenv() are not thread-safe, hence they should be run only at
startup before any threading occurs.
- it is counter-productive to load the huge ISO-639 XML file each time
the user opens the Preferences dialog or the text tool options.
2013-07-28 04:46:52 +12:00
Michael Natterer 908f727f0a Chain up unconditionally in GObject::constructed()
It's supported since GLib 2.28.
2012-11-12 21:51:22 +01:00
Michael Natterer 202124c438 app: implement GObject::constructed() instead of ::constructor() 2011-01-14 09:38:46 +01:00
Sven Neumann 8f6fea7636 app: prepare another refactoring 2010-01-05 22:30:17 +01:00
Sven Neumann 50c2ba45ec app: add GimpTranslationStore class
Derive GimpTranslationStore from GimpLanguageStore. It lists the
installed GIMP translations. Also sort the list alphabetically
instead of relying on the XML file being sorted.
2010-01-05 22:30:16 +01:00
Sven Neumann 5febc2e417 Add functions to get the ISO 639-1 language code from GimpLanguageEntry
and to set the language using this code.
2009-08-04 22:46:01 +02: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 244b50a357 app/widgets/gimplanguagestore.[ch] code cleanup.
2008-03-24  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimplanguagestore.[ch]
	* app/widgets/gimplanguageentry.[ch]: code cleanup.


svn path=/trunk/; revision=25211
2008-03-24 22:31:08 +00:00
Sven Neumann 904abbfd11 app/widgets/gimplanguagestore.[ch] actually populate the language store.
2008-02-08  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimplanguagestore.[ch]
	* app/widgets/gimplanguagestore-parser.c: actually populate the
	language store. Still work in progress...

	* app/widgets/gimptexteditor.c: added a combo-box for language
	selection. Not functional yet; just something to play with.

svn path=/trunk/; revision=24833
2008-02-08 13:50:34 +00:00
Sven Neumann 7f2a8fc35a added configure checks for the iso-codes package.
2008-02-07  Sven Neumann  <sven@gimp.org>

	* configure.in: added configure checks for the iso-codes package.

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimplanguagestore.[ch]:
	* app/widgets/gimplanguagestore-parser.[ch]: added rough outline
	of GtkListStore for language selection.

svn path=/trunk/; revision=24828
2008-02-07 16:50:11 +00:00