pidgin/gtkmain.c

changeset 16497
b3bf63c259b7
parent 16496
6f3df30b7136
parent 16495
e5cabecaadfb
child 16499
ca5974e057ae
equal deleted inserted replaced
16496:6f3df30b7136 16497:b3bf63c259b7
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 <<<<<<< variant A
244 "16x16", 245 "16x16",
245 "24x24", 246 "24x24",
246 "32x24", 247 "32x24",
247 "48x48" 248 "48x48"
249 >>>>>>> variant B
250 "16x16",
251 "24x24",
252 "32x32",
253 "48x48"
254 ####### Ancestor
255 "16",
256 "24",
257 "32",
258 "48"
259 ======= end
248 }; 260 };
249 261
250 #endif 262 #endif
251 263
252 pidgin_themes_init(); 264 pidgin_themes_init();
254 pidgin_blist_setup_sort_methods(); 266 pidgin_blist_setup_sort_methods();
255 267
256 #ifndef _WIN32 268 #ifndef _WIN32
257 /* use the nice PNG icon for all the windows */ 269 /* use the nice PNG icon for all the windows */
258 for(i=0; i<G_N_ELEMENTS(icon_sizes); i++) { 270 for(i=0; i<G_N_ELEMENTS(icon_sizes); i++) {
271 <<<<<<< variant A
259 icon_path = g_build_filename(DATADIR, "icons", "hicolor", icon_sizes[i], "apps", "pidgin.png", NULL); 272 icon_path = g_build_filename(DATADIR, "icons", "hicolor", icon_sizes[i], "apps", "pidgin.png", NULL);
273 >>>>>>> variant B
274 icon_path = g_build_filename(DATADIR, "pixmaps", "icons", "hicolor", icon_sizes[i], "apps", "pidgin.png", NULL);
275 ####### Ancestor
276 icon_path = g_build_filename(DATADIR, "pixmaps", "pidgin", "icons", icon_sizes[i], "pidgin.png", NULL);
277 ======= end
260 icon = gdk_pixbuf_new_from_file(icon_path, NULL); 278 icon = gdk_pixbuf_new_from_file(icon_path, NULL);
261 g_free(icon_path); 279 g_free(icon_path);
262 if (icon) { 280 if (icon) {
263 icons = g_list_append(icons,icon); 281 icons = g_list_append(icons,icon);
264 } else { 282 } else {

mercurial