~ubuntu-branches/ubuntu/natty/empathy/natty-updates

« back to all changes in this revision

Viewing changes to libempathy-gtk/empathy-theme-boxes.c

  • Committer: Bazaar Package Importer
  • Author(s): Sjoerd Simons
  • Date: 2008-03-10 16:39:07 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20080310163907-tv41g2zmf0qqgi85
Tags: 0.22.0-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
597
597
        box = gtk_hbox_new (FALSE, 0);
598
598
 
599
599
 
600
 
        avatar = empathy_chat_view_get_avatar_pixbuf_with_cache (contact);
601
 
        if (avatar && empathy_theme_get_show_avatars (theme)) {
602
 
                GtkWidget *image;
603
 
 
604
 
                image = gtk_image_new_from_pixbuf (avatar);
605
 
 
606
 
                gtk_box_pack_start (GTK_BOX (box), image,
607
 
                                    FALSE, TRUE, 2);
608
 
 
 
600
        if (empathy_theme_get_show_avatars (theme)) {
 
601
                avatar = empathy_chat_view_get_avatar_pixbuf_with_cache (contact);
 
602
                if (avatar) {
 
603
                        GtkWidget *image;
 
604
 
 
605
                        image = gtk_image_new_from_pixbuf (avatar);
 
606
 
 
607
                        gtk_box_pack_start (GTK_BOX (box), image,
 
608
                                            FALSE, TRUE, 2);
 
609
                }
609
610
        }
610
611
 
611
612
        g_signal_connect_object (view, "size-allocate",