[pan2: 53/68] clear face images when setting message.
- From: Petr Kovář <pmkovar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pan2: 53/68] clear face images when setting message.
- Date: Tue, 8 Feb 2011 23:02:29 +0000 (UTC)
commit 6f8a04fa1033f20344fb010f030ad1d39acf79ca
Author: K. Haley <haleykd users sf net>
Date: Thu Aug 19 00:43:19 2010 -0600
clear face images when setting message.
pan/gui/body-pane.cc | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pan/gui/body-pane.cc b/pan/gui/body-pane.cc
index 19b9b69..4ade406 100644
--- a/pan/gui/body-pane.cc
+++ b/pan/gui/body-pane.cc
@@ -1063,6 +1063,7 @@ BodyPane :: set_text_from_message (GMimeMessage * message)
gtk_label_set_width_chars (GTK_LABEL(_headers), (int)w);
// set the x-face...
+ gtk_image_clear(GTK_IMAGE(_xface));
const char * pch = message ? g_mime_object_get_header ((GMimeObject *) message, "X-Face") : 0;
if (pch && _xface->window)
{
@@ -1073,6 +1074,7 @@ BodyPane :: set_text_from_message (GMimeMessage * message)
g_object_unref (pixmap);
}
// set the face
+ gtk_image_clear(GTK_IMAGE(_face));
pch = message ? g_mime_object_get_header ((GMimeObject *) message, "Face") : 0;
if (pch && _face->window)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]