comparison pidgin/gtkutils.c @ 16985:e7d59fa4faaf

Add a Google Talk icon from Vinicius Depizzol.
author Richard Laager <rlaager@wiktel.com>
date Wed, 09 May 2007 21:50:29 +0000
parents 071fce59e5e9
children 87e6707b512f
comparison
equal deleted inserted replaced
16984:071fce59e5e9 16985:e7d59fa4faaf
556 } 556 }
557 557
558 if (!strcmp(plugin->info->id, "prpl-jabber")) 558 if (!strcmp(plugin->info->id, "prpl-jabber"))
559 { 559 {
560 GtkWidget *gtalk_item; 560 GtkWidget *gtalk_item;
561
562 filename = g_build_filename(DATADIR, "pixmaps", "pidgin", "protocols",
563 "16", "google-talk.png", NULL);
564 pixbuf = gdk_pixbuf_new_from_file(filename, NULL);
565 g_free(filename);
566
567
561 if (pixbuf) 568 if (pixbuf)
562 image = gtk_image_new_from_pixbuf(pixbuf); 569 image = gtk_image_new_from_pixbuf(pixbuf);
563 else 570 else
564 image = gtk_image_new(); 571 image = gtk_image_new();
565 572