pidgin/gtkmain.c

changeset 16496
6f3df30b7136
parent 16478
19107605c565
child 16497
b3bf63c259b7
equal deleted inserted replaced
16494:545d507bca83 16496:6f3df30b7136
239 GList *icons = NULL; 239 GList *icons = NULL;
240 GdkPixbuf *icon = NULL; 240 GdkPixbuf *icon = NULL;
241 char *icon_path; 241 char *icon_path;
242 int i; 242 int i;
243 const char *icon_sizes[] = { 243 const char *icon_sizes[] = {
244 "16", 244 "16x16",
245 "24", 245 "24x24",
246 "32", 246 "32x24",
247 "48" 247 "48x48"
248 }; 248 };
249 249
250 #endif 250 #endif
251 251
252 pidgin_themes_init(); 252 pidgin_themes_init();
254 pidgin_blist_setup_sort_methods(); 254 pidgin_blist_setup_sort_methods();
255 255
256 #ifndef _WIN32 256 #ifndef _WIN32
257 /* use the nice PNG icon for all the windows */ 257 /* use the nice PNG icon for all the windows */
258 for(i=0; i<G_N_ELEMENTS(icon_sizes); i++) { 258 for(i=0; i<G_N_ELEMENTS(icon_sizes); i++) {
259 icon_path = g_build_filename(DATADIR, "pixmaps", "pidgin", "icons", icon_sizes[i], "pidgin.png", NULL); 259 icon_path = g_build_filename(DATADIR, "icons", "hicolor", icon_sizes[i], "apps", "pidgin.png", NULL);
260 icon = gdk_pixbuf_new_from_file(icon_path, NULL); 260 icon = gdk_pixbuf_new_from_file(icon_path, NULL);
261 g_free(icon_path); 261 g_free(icon_path);
262 if (icon) { 262 if (icon) {
263 icons = g_list_append(icons,icon); 263 icons = g_list_append(icons,icon);
264 } else { 264 } else {

mercurial