gnome-games r8443 - trunk/libgames-support
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r8443 - trunk/libgames-support
- Date: Tue, 6 Jan 2009 18:18:50 +0000 (UTC)
Author: chpe
Date: Tue Jan 6 18:18:50 2009
New Revision: 8443
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8443&view=rev
Log:
Fix the theme path for the pre-2.19 theme format.
Modified:
trunk/libgames-support/games-card-theme-sliced.c
Modified: trunk/libgames-support/games-card-theme-sliced.c
==============================================================================
--- trunk/libgames-support/games-card-theme-sliced.c (original)
+++ trunk/libgames-support/games-card-theme-sliced.c Tue Jan 6 18:18:50 2009
@@ -210,14 +210,16 @@
games_card_theme_sliced_class_get_theme_infos (GamesCardThemeClass *klass,
GList **list)
{
+ char *dir;
+
_games_card_theme_class_append_theme_info_foreach_env
(klass, "GAMES_CARD_THEME_PATH_SLICED", list);
- // FIXMEchpe find the old theme path
-#if 0
- _games_card_theme_class_append_theme_info_foreach
- (klass, games_runtime_get_directory (GAMES_RUNTIME_SCALABLE_CARDS_DIRECTORY), list);
-#endif
+ /* Themes in the pre-2.19 theme format: $(datadir)/pixmaps/gnome-games-common/cards */
+ dir = g_build_filename (games_runtime_get_directory (GAMES_RUNTIME_DATA_DIRECTORY),
+ "pixmaps", "gnome-games-common", "cards", NULL);
+ _games_card_theme_class_append_theme_info_foreach (klass, dir, list);
+ g_free (dir);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]