[gnome-contacts] Make sure to repaint the ControlFrame when its content changes



commit eb2825669ac9071e9d9d05f96915537ee44230a4
Author: Alexander Larsson <alexl redhat com>
Date:   Thu Aug 25 09:45:20 2011 +0200

    Make sure to repaint the ControlFrame when its content changes

 src/contacts-contact-pane.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/contacts-contact-pane.vala b/src/contacts-contact-pane.vala
index f98ec90..3f25b7a 100644
--- a/src/contacts-contact-pane.vala
+++ b/src/contacts-contact-pane.vala
@@ -223,6 +223,7 @@ public class Contacts.ContactFrame : Frame {
       pixbuf = Contact.draw_fallback_avatar (size, contact);
     }
     pixbuf = Contact.frame_icon (pixbuf);
+    queue_draw ();
   }
 
   public void set_text (string? text_, int text_height_) {
@@ -242,6 +243,7 @@ public class Contacts.ContactFrame : Frame {
 	layout.get_extents (null, out rect);
       } while (rect.width > size * Pango.SCALE);
     }
+    queue_draw ();
   }
 
   public override bool draw (Cairo.Context cr) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]