/[graveman]/graveman/current/src/config.c
ViewVC logotype

Diff of /graveman/current/src/config.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.13 by scresto, Fri Feb 11 01:06:23 2005 UTC revision 1.14 by scresto, Sat Feb 12 16:22:47 2005 UTC
# Line 406  gboolean manage_config(GHashTable *Ahash Line 406  gboolean manage_config(GHashTable *Ahash
406        if (! Lprog) g_warning("ERREUR LE PROG [%s] EST INDISPENSABLE ET NON TROUVE !\n", Lcurprog->entry);        if (! Lprog) g_warning("ERREUR LE PROG [%s] EST INDISPENSABLE ET NON TROUVE !\n", Lcurprog->entry);
407  #endif  #endif
408      }      }
409        
410        /* pour mkisofs on regarde qu'il y ai bien le support iso version 2 */
411        conf_store_value("mkisofs_support_isov2", _BOOLEAN_CONF(check_mkisofs()));
412    
413        /* pour sox on regarde si il a bien le support ogg / mp3 */
414        check_sox();
415        conf_store_value("sox_support_mp3", _BOOLEAN_CONF(GsupportMp3));
416        conf_store_value("sox_support_ogg", _BOOLEAN_CONF(GsupportOgg));
417      
418    }    }
419    
420    if (Aop & SEARCH_LECTEUR) {    if (Aop & SEARCH_LECTEUR) {
# Line 587  gboolean read_config(GError **Aerror) Line 596  gboolean read_config(GError **Aerror)
596    g_free(Lcontents);    g_free(Lcontents);
597    clean_config();    clean_config();
598    
599      GsupportMp3 = conf_get_boolean("sox_support_mp3");
600      GsupportOgg = conf_get_boolean("sox_support_ogg");
601    
602    if (!test_version()) return FALSE;      if (!test_version()) return FALSE;  
603        
604    return TRUE;    return TRUE;

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26