Mercurial > pidgin
diff src/aim.c @ 4323:8a932c488afc
[gaim-migrate @ 4578]
This is so you don't have to restart Gaim to use a new theme, yo.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Fri, 17 Jan 2003 07:18:26 +0000 |
parents | a4d30084fe1c |
children | dd6671b5378c |
line wrap: on
line diff
--- a/src/aim.c Fri Jan 17 04:24:29 2003 +0000 +++ b/src/aim.c Fri Jan 17 07:18:26 2003 +0000 @@ -502,11 +502,13 @@ GdkPixbuf *icon = NULL; char *icon_path; #endif - - - smiley_theme_probe(); - if (current_smiley_theme == NULL && smiley_themes) - load_smiley_theme(smiley_themes->data, TRUE); + if (current_smiley_theme == NULL) { + smiley_theme_probe(); + if (smiley_themes) { + struct smiley_theme *smile = smiley_themes->data; + load_smiley_theme(smile->path, TRUE); + } + } #ifndef _WIN32 /* use the nice PNG icon for all the windows */ icon_path = g_build_filename(DATADIR, "pixmaps", "gaim.png", NULL);