diff src/statusicon/si_cfg.c @ 2124:b8da6a0b0da2

s/bmp_cfg_/aud_cfg_/g
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 24 Oct 2007 07:34:02 +0300
parents 00394f91e3c6
children ced4a5392948
line wrap: on
line diff
--- a/src/statusicon/si_cfg.c	Wed Oct 24 07:32:18 2007 +0300
+++ b/src/statusicon/si_cfg.c	Wed Oct 24 07:34:02 2007 +0300
@@ -29,27 +29,27 @@
 void
 si_cfg_load ( void )
 {
-  ConfigDb *cfgfile = bmp_cfg_db_open();
+  ConfigDb *cfgfile = aud_cfg_db_open();
 
-  if ( !bmp_cfg_db_get_int( cfgfile , "statusicon" ,
+  if ( !aud_cfg_db_get_int( cfgfile , "statusicon" ,
        "rclick_menu" , &(si_cfg.rclick_menu) ) )
     si_cfg.rclick_menu = SI_CFG_RCLICK_MENU_AUD;
 
-  if ( !bmp_cfg_db_get_int( cfgfile , "statusicon" ,
+  if ( !aud_cfg_db_get_int( cfgfile , "statusicon" ,
        "scroll_action" , &(si_cfg.scroll_action) ) )
     si_cfg.scroll_action = SI_CFG_SCROLL_ACTION_VOLUME;
     
-  if ( !bmp_cfg_db_get_bool( cfgfile , "statusicon" ,
+  if ( !aud_cfg_db_get_bool( cfgfile , "statusicon" ,
        "mw_visib_prevstatus" , &(si_cfg.mw_visib_prevstatus) ) )
     si_cfg.mw_visib_prevstatus = FALSE;
-  if ( !bmp_cfg_db_get_bool( cfgfile , "statusicon" ,
+  if ( !aud_cfg_db_get_bool( cfgfile , "statusicon" ,
        "pw_visib_prevstatus" , &(si_cfg.pw_visib_prevstatus) ) )
     si_cfg.pw_visib_prevstatus = FALSE;
-  if ( !bmp_cfg_db_get_bool( cfgfile , "statusicon" ,
+  if ( !aud_cfg_db_get_bool( cfgfile , "statusicon" ,
        "ew_visib_prevstatus" , &(si_cfg.ew_visib_prevstatus) ) )
     si_cfg.ew_visib_prevstatus = FALSE;
 
-  bmp_cfg_db_close( cfgfile );
+  aud_cfg_db_close( cfgfile );
   return;
 }
 
@@ -57,21 +57,21 @@
 void
 si_cfg_save ( void )
 {
-  ConfigDb *cfgfile = bmp_cfg_db_open();
+  ConfigDb *cfgfile = aud_cfg_db_open();
 
-  bmp_cfg_db_set_int( cfgfile , "statusicon" ,
+  aud_cfg_db_set_int( cfgfile , "statusicon" ,
     "rclick_menu" , si_cfg.rclick_menu );
   
-  bmp_cfg_db_set_int( cfgfile , "statusicon" ,
+  aud_cfg_db_set_int( cfgfile , "statusicon" ,
     "scroll_action" , si_cfg.scroll_action );
   
-  bmp_cfg_db_set_bool( cfgfile , "statusicon" ,
+  aud_cfg_db_set_bool( cfgfile , "statusicon" ,
     "mw_visib_prevstatus" , si_cfg.mw_visib_prevstatus );
-  bmp_cfg_db_set_bool( cfgfile , "statusicon" ,
+  aud_cfg_db_set_bool( cfgfile , "statusicon" ,
     "pw_visib_prevstatus" , si_cfg.pw_visib_prevstatus );
-  bmp_cfg_db_set_bool( cfgfile , "statusicon" ,
+  aud_cfg_db_set_bool( cfgfile , "statusicon" ,
     "ew_visib_prevstatus" , si_cfg.ew_visib_prevstatus );
 
-  bmp_cfg_db_close( cfgfile );
+  aud_cfg_db_close( cfgfile );
   return;
 }