aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-02-03 03:55:05 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-02-03 03:55:05 +0000
commitbbd01399b88a360fde6446083d1a35cdebbc8de3 (patch)
treefbae63e13c21c738accf5deeef48a20c7e206c07
parent0529544b73da9f3cde32ede9680fdec777cefda2 (diff)
show filenames with normal font in MIME view.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@968 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.ja5
-rw-r--r--src/mimeview.c3
3 files changed, 12 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 232fadf3..b1350b95 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-02-03
+
+ * src/mimeview.c: mimeview_show_mime_part(): show filenames with
+ normal font.
+
2006-02-02
* manual/ja/sylpheed.sgml: partially updated for 2.2.
diff --git a/ChangeLog.ja b/ChangeLog.ja
index e830f98e..1cfad9c7 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -1,3 +1,8 @@
+2006-02-03
+
+ * src/mimeview.c: mimeview_show_mime_part(): ファイル名を通常のフォント
+ で表示。
+
2006-02-02
* manual/ja/sylpheed.sgml: 2.2 向けに一部を更新。
diff --git a/src/mimeview.c b/src/mimeview.c
index 549ffb5f..f33f4d26 100644
--- a/src/mimeview.c
+++ b/src/mimeview.c
@@ -632,7 +632,8 @@ static void mimeview_show_mime_part(MimeView *mimeview, MimeInfo *partinfo)
g_snprintf(buf, sizeof(buf), "[%s (%s)]\n\n",
partinfo->content_type,
to_human_readable(partinfo->content_size));
- gtk_text_buffer_insert(buffer, &iter, buf, -1);
+ gtk_text_buffer_insert_with_tags_by_name(buffer, &iter, buf, -1,
+ "mimepart", NULL);
vbbox = gtk_vbutton_box_new();
gtk_box_set_spacing(GTK_BOX(vbbox), 5);