Lines Matching refs:theme_manager

217 ar_card_themes_foreach_theme_type_and_dir (ArCardThemes *theme_manager,  in ar_card_themes_foreach_theme_type_and_dir()  argument
263 ArCardThemes *theme_manager) in ar_card_themes_get_theme_infos_in_dir() argument
288 if (g_hash_table_lookup (theme_manager->theme_infos, info->pref_name)) in ar_card_themes_get_theme_infos_in_dir()
291 g_hash_table_insert (theme_manager->theme_infos, info->pref_name, info); in ar_card_themes_get_theme_infos_in_dir()
327 ar_card_themes_load_theme_infos (ArCardThemes *theme_manager) in ar_card_themes_load_theme_infos() argument
335 ar_card_themes_foreach_theme_type_and_dir (theme_manager, in ar_card_themes_load_theme_infos()
337 theme_manager); in ar_card_themes_load_theme_infos()
340 theme_manager->theme_infos_loaded = TRUE; in ar_card_themes_load_theme_infos()
342 g_signal_emit (theme_manager, signals[CHANGED], 0); in ar_card_themes_load_theme_infos()
373 ArCardThemes *theme_manager; member
385 data->theme = ar_card_themes_get_theme (data->theme_manager, theme_info); in themes_foreach_any()
393 ar_card_themes_init (ArCardThemes *theme_manager) in ar_card_themes_init() argument
396 theme_manager->theme_infos = g_hash_table_new_full (g_str_hash, g_str_equal, in ar_card_themes_init()
400 theme_manager->theme_infos_loaded = FALSE; in ar_card_themes_init()
406 ArCardThemes *theme_manager = AR_CARD_THEMES (object); in ar_card_themes_finalize() local
408 g_hash_table_destroy (theme_manager->theme_infos); in ar_card_themes_finalize()
458 ar_card_themes_request_themes (ArCardThemes *theme_manager) in ar_card_themes_request_themes() argument
460 g_return_if_fail (AR_IS_CARD_THEMES (theme_manager)); in ar_card_themes_request_themes()
462 if (theme_manager->theme_infos_loaded) in ar_card_themes_request_themes()
465 ar_card_themes_load_theme_infos (theme_manager); in ar_card_themes_request_themes()
477 ar_card_themes_get_theme (ArCardThemes *theme_manager, in ar_card_themes_get_theme() argument
483 g_return_val_if_fail (AR_IS_CARD_THEMES (theme_manager), NULL); in ar_card_themes_get_theme()
526 ar_card_themes_get_theme_by_name (ArCardThemes *theme_manager, in ar_card_themes_get_theme_by_name() argument
533 g_return_val_if_fail (AR_IS_CARD_THEMES (theme_manager), NULL); in ar_card_themes_get_theme_by_name()
548 …g_hash_table_foreach (theme_manager->theme_infos, (GHFunc) themes_foreach_by_type_and_filename, &d… in ar_card_themes_get_theme_by_name()
554 !theme_manager->theme_infos_loaded) { in ar_card_themes_get_theme_by_name()
561 g_hash_table_replace (theme_manager->theme_infos, theme_info->pref_name, theme_info); in ar_card_themes_get_theme_by_name()
569 return ar_card_themes_get_theme (theme_manager, theme_info); in ar_card_themes_get_theme_by_name()
581 ar_card_themes_get_theme_any (ArCardThemes *theme_manager) in ar_card_themes_get_theme_any() argument
583 ThemesAnyData data = { theme_manager, NULL }; in ar_card_themes_get_theme_any()
585 g_return_val_if_fail (AR_IS_CARD_THEMES (theme_manager), NULL); in ar_card_themes_get_theme_any()
590 ar_card_themes_request_themes (theme_manager); in ar_card_themes_get_theme_any()
592 g_hash_table_foreach (theme_manager->theme_infos, (GHFunc) themes_foreach_any, &data); in ar_card_themes_get_theme_any()
603 ar_card_themes_get_themes_loaded (ArCardThemes *theme_manager) in ar_card_themes_get_themes_loaded() argument
605 g_return_val_if_fail (AR_IS_CARD_THEMES (theme_manager), FALSE); in ar_card_themes_get_themes_loaded()
607 return theme_manager->theme_infos_loaded; in ar_card_themes_get_themes_loaded()
620 ar_card_themes_get_themes (ArCardThemes *theme_manager) in ar_card_themes_get_themes() argument
624 g_return_val_if_fail (AR_IS_CARD_THEMES (theme_manager), NULL); in ar_card_themes_get_themes()
626 g_hash_table_foreach (theme_manager->theme_infos, (GHFunc) themes_foreach_add_to_list, &list); in ar_card_themes_get_themes()
640 ar_card_themes_install_themes (ArCardThemes *theme_manager, in ar_card_themes_install_themes() argument