aboutsummaryrefslogtreecommitdiff
path: root/mail/balsa
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2005-08-01 02:22:03 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2005-08-01 02:22:03 +0000
commit9ccdf092b7b5105f6a3e4501c4c4a6a88e279889 (patch)
treeb301df5e954fe412d7fee5ea7d9952998b71c0c8 /mail/balsa
parentec03c22a0fbda76b4c8c48b37f648d363d054994 (diff)
downloadports-9ccdf092b7b5105f6a3e4501c4c4a6a88e279889.tar.gz
ports-9ccdf092b7b5105f6a3e4501c4c4a6a88e279889.zip
Notes
Diffstat (limited to 'mail/balsa')
-rw-r--r--mail/balsa/files/patch-src_sendmsg-window.c19
1 files changed, 14 insertions, 5 deletions
diff --git a/mail/balsa/files/patch-src_sendmsg-window.c b/mail/balsa/files/patch-src_sendmsg-window.c
index 1a1494fd507e..0dd0d83e5245 100644
--- a/mail/balsa/files/patch-src_sendmsg-window.c
+++ b/mail/balsa/files/patch-src_sendmsg-window.c
@@ -1,11 +1,11 @@
---- src/sendmsg-window.c.orig Sun Jul 24 12:51:49 2005
-+++ src/sendmsg-window.c Sun Jul 24 12:52:57 2005
+--- src/sendmsg-window.c.orig Fri Jun 24 04:36:25 2005
++++ src/sendmsg-window.c Sun Jul 31 22:10:14 2005
@@ -2009,7 +2009,7 @@ add_attachment(BalsaSendmsg * bsmsg, gch
ATTACH_ICON_COLUMN, pixbuf,
ATTACH_TYPE_COLUMN, content_type,
ATTACH_MODE_COLUMN, attach_data->mode,
- ATTACH_SIZE_COLUMN, attach_stat.st_size,
-+ ATTACH_SIZE_COLUMN, (guint64) attach_stat.st_size,
++ ATTACH_SIZE_COLUMN, (glong) attach_stat.st_size,
ATTACH_DESC_COLUMN, utf8name,
-1);
g_object_unref(attach_data);
@@ -14,16 +14,25 @@
{
gint mode;
- gint size;
-+ guint64 size;
++ glong size;
gchar *sstr;
gtk_tree_model_get(model, iter, ATTACH_MODE_COLUMN, &mode,
+@@ -2674,7 +2674,7 @@ render_attach_size(GtkTreeViewColumn *co
+ else if (size > 1200)
+ sstr = g_strdup_printf("%.2fkB", (gfloat)size / (gfloat)1024);
+ else
+- sstr = g_strdup_printf("%dB", size);
++ sstr = g_strdup_printf("%ldB", size);
+ g_object_set(cell, "text", sstr, NULL);
+ }
+
@@ -2780,7 +2780,7 @@ create_info_pane(BalsaSendmsg * bsmsg, S
GDK_TYPE_PIXBUF,
G_TYPE_STRING,
G_TYPE_INT,
- G_TYPE_INT,
-+ G_TYPE_UINT64,
++ G_TYPE_LONG,
G_TYPE_STRING);
bsmsg->attachments[1] = gtk_tree_view_new_with_model(GTK_TREE_MODEL(store));