gnome-games r8425 - trunk/libgames-support
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r8425 - trunk/libgames-support
- Date: Tue, 6 Jan 2009 18:18:17 +0000 (UTC)
Author: chpe
Date: Tue Jan 6 18:18:17 2009
New Revision: 8425
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8425&view=rev
Log:
Add theme name override env var for debugging purposes.
Modified:
trunk/libgames-support/games-card-theme.c
Modified: trunk/libgames-support/games-card-theme.c
==============================================================================
--- trunk/libgames-support/games-card-theme.c (original)
+++ trunk/libgames-support/games-card-theme.c Tue Jan 6 18:18:17 2009
@@ -95,6 +95,11 @@
const char *theme_dir,
const char *theme_name)
{
+ const char *env;
+
+ if ((env = g_getenv ("GAMES_CARD_THEME_NAME")))
+ theme_name = env;
+
if (!theme_dir)
theme_dir = _games_card_theme_class_get_default_theme_path (theme->klass);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]