projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c00767c
)
Force attachments view resize on add/remove of parts
author
Jose Dapena Paz
<jdapena@igalia.com>
Tue, 16 Dec 2008 13:59:10 +0000
(13:59 +0000)
committer
Jose Dapena Paz
<jdapena@igalia.com>
Tue, 16 Dec 2008 13:59:10 +0000
(13:59 +0000)
pmo-trunk-r6879
src/widgets/modest-attachments-view.c
patch
|
blob
|
history
diff --git
a/src/widgets/modest-attachments-view.c
b/src/widgets/modest-attachments-view.c
index
6a17f99
..
b52b543
100644
(file)
--- a/
src/widgets/modest-attachments-view.c
+++ b/
src/widgets/modest-attachments-view.c
@@
-206,6
+206,7
@@
modest_attachments_view_add_attachment (ModestAttachmentsView *attachments_view,
modest_attachment_view_set_size (MODEST_ATTACHMENT_VIEW (att_view), size);
gtk_box_pack_end (GTK_BOX (priv->box), att_view, FALSE, FALSE, 0);
gtk_widget_show_all (att_view);
+ gtk_widget_queue_resize (GTK_WIDGET (attachments_view));
}
void
@@
-257,6
+258,7
@@
modest_attachments_view_remove_attachment (ModestAttachmentsView *atts_view, Tny
own_clipboard (atts_view);
}
+ gtk_widget_queue_resize (GTK_WIDGET (atts_view));
}
void
@@
-287,6
+289,7
@@
modest_attachments_view_remove_attachment_by_id (ModestAttachmentsView *atts_vie
own_clipboard (atts_view);
+ gtk_widget_queue_resize (GTK_WIDGET (atts_view));
}
static void