|
|
|
|
@ -3,7 +3,7 @@
|
|
|
|
|
theme_struct *yon_theme_update(main_window *widgets){
|
|
|
|
|
char *theme_id;
|
|
|
|
|
if (!yon_window_config_get_parameter(settings_section,theme_parameter,&theme_id,YON_TYPE_STRING)){
|
|
|
|
|
theme_id = yon_char_new(GNOME_THEME_LABEL);
|
|
|
|
|
theme_id = yon_char_new(MAIN_THEME_LABEL);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
theme_struct *theme = ((theme_struct*(*)())g_hash_table_lookup(main_config.themes,theme_id))();
|
|
|
|
|
|