Mercurial > pidgin.yaz
comparison pidgin/gtkprefs.c @ 28953:851fcedadd82
Rename a smiley theme function to be a bit more descriptive.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Mon, 16 Nov 2009 07:25:58 +0000 |
parents | 7e7023193316 |
children | 3e96fb2825e7 |
comparison
equal
deleted
inserted
replaced
28952:7e7023193316 | 28953:851fcedadd82 |
---|---|
352 author != NULL ? " - " : "", author != NULL ? author : "", | 352 author != NULL ? " - " : "", author != NULL ? author : "", |
353 description != NULL ? description : ""); | 353 description != NULL ? description : ""); |
354 } | 354 } |
355 | 355 |
356 static void | 356 static void |
357 theme_refresh_theme_list(void) | 357 smileys_refresh_theme_list(void) |
358 { | 358 { |
359 GdkPixbuf *pixbuf; | 359 GdkPixbuf *pixbuf; |
360 GSList *themes; | 360 GSList *themes; |
361 GtkTreeIter iter; | 361 GtkTreeIter iter; |
362 | 362 |
551 /* smiley themes */ | 551 /* smiley themes */ |
552 gtk_list_store_clear(prefs_smiley_themes); | 552 gtk_list_store_clear(prefs_smiley_themes); |
553 | 553 |
554 purple_theme_manager_for_each_theme(prefs_themes_sort); | 554 purple_theme_manager_for_each_theme(prefs_themes_sort); |
555 pref_sound_generate_markup(); | 555 pref_sound_generate_markup(); |
556 theme_refresh_theme_list(); | 556 smileys_refresh_theme_list(); |
557 | 557 |
558 /* set active */ | 558 /* set active */ |
559 prefs_set_active_theme_combo(prefs_sound_themes_combo_box, prefs_sound_themes, purple_prefs_get_string(PIDGIN_PREFS_ROOT "/sound/theme")); | 559 prefs_set_active_theme_combo(prefs_sound_themes_combo_box, prefs_sound_themes, purple_prefs_get_string(PIDGIN_PREFS_ROOT "/sound/theme")); |
560 prefs_set_active_theme_combo(prefs_blist_themes_combo_box, prefs_blist_themes, purple_prefs_get_string(PIDGIN_PREFS_ROOT "/blist/theme")); | 560 prefs_set_active_theme_combo(prefs_blist_themes_combo_box, prefs_blist_themes, purple_prefs_get_string(PIDGIN_PREFS_ROOT "/blist/theme")); |
561 prefs_set_active_theme_combo(prefs_status_themes_combo_box, prefs_status_icon_themes, purple_prefs_get_string(PIDGIN_PREFS_ROOT "/status/icon-theme")); | 561 prefs_set_active_theme_combo(prefs_status_themes_combo_box, prefs_status_icon_themes, purple_prefs_get_string(PIDGIN_PREFS_ROOT "/status/icon-theme")); |
697 #endif | 697 #endif |
698 } | 698 } |
699 | 699 |
700 if (is_smiley_theme) { | 700 if (is_smiley_theme) { |
701 /* just extract the folder to the smiley directory */ | 701 /* just extract the folder to the smiley directory */ |
702 theme_refresh_theme_list(); | |
703 | |
704 prefs_themes_refresh(); | 702 prefs_themes_refresh(); |
705 | 703 |
706 } else if (is_archive) { | 704 } else if (is_archive) { |
707 theme = prefs_theme_find_theme(destdir, info->type); | 705 theme = prefs_theme_find_theme(destdir, info->type); |
708 | 706 |