Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 4322:a789969fc198 | 4323:8a932c488afc |
|---|---|
| 500 char name[256]; | 500 char name[256]; |
| 501 GList *icons = NULL; | 501 GList *icons = NULL; |
| 502 GdkPixbuf *icon = NULL; | 502 GdkPixbuf *icon = NULL; |
| 503 char *icon_path; | 503 char *icon_path; |
| 504 #endif | 504 #endif |
| 505 | 505 if (current_smiley_theme == NULL) { |
| 506 | 506 smiley_theme_probe(); |
| 507 smiley_theme_probe(); | 507 if (smiley_themes) { |
| 508 if (current_smiley_theme == NULL && smiley_themes) | 508 struct smiley_theme *smile = smiley_themes->data; |
| 509 load_smiley_theme(smiley_themes->data, TRUE); | 509 load_smiley_theme(smile->path, TRUE); |
| 510 } | |
| 511 } | |
| 510 #ifndef _WIN32 | 512 #ifndef _WIN32 |
| 511 /* use the nice PNG icon for all the windows */ | 513 /* use the nice PNG icon for all the windows */ |
| 512 icon_path = g_build_filename(DATADIR, "pixmaps", "gaim.png", NULL); | 514 icon_path = g_build_filename(DATADIR, "pixmaps", "gaim.png", NULL); |
| 513 icon = gdk_pixbuf_new_from_file(icon_path, NULL); | 515 icon = gdk_pixbuf_new_from_file(icon_path, NULL); |
| 514 g_free(icon_path); | 516 g_free(icon_path); |
