changeset 571:5e9019d528d5 trunk

[svn] - aosd: remove other skin_file manipulation
author giacomo
date Mon, 29 Jan 2007 07:46:29 -0800
parents 9774ac406bde
children a1d05f2435ae
files ChangeLog src/aosd/aosd_cfg.c
diffstat 2 files changed, 13 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Jan 29 07:00:45 2007 -0800
+++ b/ChangeLog	Mon Jan 29 07:46:29 2007 -0800
@@ -1,3 +1,10 @@
+2007-01-29 15:00:45 +0000  Giacomo Lozito <james@develia.org>
+  revision [1226]
+  - aosd: do not try to save skin_file, not implemented yet
+  trunk/src/aosd/aosd_cfg.c |    3 ++-
+  1 file changed, 2 insertions(+), 1 deletion(-)
+
+
 2007-01-29 14:40:04 +0000  Giacomo Lozito <james@develia.org>
   revision [1224]
   - added Audacious OSD, yet-another-written-from-scratch plugin to display OSD, based on Ghosd library; currently untied from configure, to compile it you have to run make in its directory; will be added to configure after some testing
--- a/src/aosd/aosd_cfg.c	Mon Jan 29 07:00:45 2007 -0800
+++ b/src/aosd/aosd_cfg.c	Mon Jan 29 07:46:29 2007 -0800
@@ -109,8 +109,10 @@
       if ( cfg_osd->text.fonts_name[i] != NULL )
         g_free( cfg_osd->text.fonts_name[i] );
     }
+    /* TODO not implemented yet
     if ( cfg_osd->decoration.skin_file != NULL )
       g_free( cfg_osd->decoration.skin_file );
+    */
     if ( cfg_osd->decoration.colors != NULL )
       g_array_free( cfg_osd->decoration.colors , TRUE );
   }
@@ -178,7 +180,7 @@
   }
   g_print("\nDECORATION\n");
   g_print("  code: %i\n", cfg->osd->decoration.code);
-  g_print("  custom skin file: %s\n", cfg->osd->decoration.skin_file);
+  /*g_print("  custom skin file: %s\n", cfg->osd->decoration.skin_file);*/
   for ( i = 0 ; i < cfg->osd->decoration.colors->len ; i++ )
   {
     aosd_color_t color = g_array_index( cfg->osd->decoration.colors , aosd_color_t , i );
@@ -257,9 +259,12 @@
        "decoration_code" , &(cfg->osd->decoration.code) ) )
     cfg->osd->decoration.code = aosd_deco_style_get_first_code();
 
+  /* TODO not implemented yet 
   if ( !bmp_cfg_db_get_string( cfgfile , "aosd" ,
        "decoration_skin_file" , &(cfg->osd->decoration.skin_file) ) )
     cfg->osd->decoration.skin_file = g_strdup( "" );
+  */
+  cfg->osd->decoration.skin_file = NULL;
 
   /* decoration - colors */
   max_numcol = aosd_deco_style_get_max_numcol();