Commit Graph

8 Commits

Author SHA1 Message Date
Michael Natterer 14c39816d8 app: keep the theme directories around a GFiles
and change gimp_get_theme_dir() to return a GFile.
2014-07-20 17:09:25 +02:00
Michael Natterer cac40f2db9 app: make themes_apply_theme() private, it's only used in themes.c 2010-12-18 22:42:09 +01: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 41237259c9 In all files, changed the standard copyright notice to say "GIMP - The GNU
2006-12-09  Sven Neumann  <sven@gimp.org>

        * In all files, changed the standard copyright notice to say
        "GIMP - The GNU Image Manipulation Program".
2006-12-09 21:33:38 +00:00
Sven Neumann f43d307437 G_GNUC_NULL_TERMINATED.
2006-07-05  Sven Neumann  <sven@gimp.org>

	* app/gui/themes.h (themes_get_theme_file): G_GNUC_NULL_TERMINATED.
2006-07-05 14:43:14 +00:00
Michael Natterer 74cbd80f17 new utility function which takes a filename relative to the theme's root
2003-11-15  Michael Natterer  <mitch@gimp.org>

	* app/gui/themes.c (themes_get_theme_file): new utility function
	which takes a filename relative to the theme's root directory and
	returns the absolute path to the file in the current theme. It
	falls back to the resp. path in the default theme if the given
	file is not present in the current theme.

	* app/gui/preferences-dialog.c (prefs_notebook_append_page): use it.
2003-11-15 17:53:18 +00:00
Michael Natterer 0ce22bfc51 split out function themes_apply_theme() from themes_init(). Connect to
2003-11-12  Michael Natterer  <mitch@gimp.org>

	* app/gui/themes.[ch]: split out function themes_apply_theme()
	from themes_init(). Connect to "notify::theme" of gimp->config and
	change the theme in the callback. Added themes_list_themes().
	Added "const gchar *theme_name" parameter to
	themes_get_theme_dir().

	* app/gui/gui-vtable.c (gui_get_theme_dir): changed accordingly.

	* app/gui/preferences-dialog.c (prefs_dialog_create): enabled
	theme selection on the "Interface" page. Still has many issues
	(like using a conceptually wrong method of theme changing ;-)
	but it won't get fixed if we cannot change themes on the fly...
2003-11-11 23:56:00 +00:00
Michael Natterer 82321d4a2f app/gui/Makefile.am new files.
2003-09-11  Michael Natterer  <mitch@gimp.org>

	* app/gui/Makefile.am
	* app/gui/themes.[ch]: new files.

	* app/gui/gui.[ch]: code taken from here. It was getting too large.

	* app/gui/preferences-dialog.c; changed accordingly.
2003-09-10 23:42:59 +00:00