aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-05-06 20:55:39 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-05-18 21:40:10 +0800
commit6b5bea43c508bc26c2ee88edac5d60cf127b175c (patch)
tree62ae6fc57cc6102e36ae81e0daca146bf4a26731 /src
parenta557339964d56290345f5ad2841ef4a127839655 (diff)
downloadgsoc2013-empathy-6b5bea43c508bc26c2ee88edac5d60cf127b175c.tar
gsoc2013-empathy-6b5bea43c508bc26c2ee88edac5d60cf127b175c.tar.gz
gsoc2013-empathy-6b5bea43c508bc26c2ee88edac5d60cf127b175c.tar.bz2
gsoc2013-empathy-6b5bea43c508bc26c2ee88edac5d60cf127b175c.tar.lz
gsoc2013-empathy-6b5bea43c508bc26c2ee88edac5d60cf127b175c.tar.xz
gsoc2013-empathy-6b5bea43c508bc26c2ee88edac5d60cf127b175c.tar.zst
gsoc2013-empathy-6b5bea43c508bc26c2ee88edac5d60cf127b175c.zip
invite-participant-dialog: add a scrolled window
Diffstat (limited to 'src')
-rw-r--r--src/empathy-invite-participant-dialog.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/empathy-invite-participant-dialog.c b/src/empathy-invite-participant-dialog.c
index e69f6461d..b66d09794 100644
--- a/src/empathy-invite-participant-dialog.c
+++ b/src/empathy-invite-participant-dialog.c
@@ -227,6 +227,7 @@ empathy_invite_participant_dialog_init (EmpathyInviteParticipantDialog *self)
GtkWidget *content;
EmpathyIndividualManager *mgr;
GtkTreeSelection *selection;
+ GtkWidget *scroll;
self->priv = priv;
@@ -263,9 +264,13 @@ empathy_invite_participant_dialog_init (EmpathyInviteParticipantDialog *self)
g_signal_connect (selection, "changed",
G_CALLBACK (view_selection_changed_cb), self);
- gtk_box_pack_start (GTK_BOX (content), GTK_WIDGET (self->priv->view),
- TRUE, TRUE, 6);
+ scroll = gtk_scrolled_window_new (NULL, NULL);
+
+ gtk_container_add (GTK_CONTAINER (scroll), GTK_WIDGET (self->priv->view));
+
+ gtk_box_pack_start (GTK_BOX (content), scroll, TRUE, TRUE, 6);
gtk_widget_show (GTK_WIDGET (self->priv->view));
+ gtk_widget_show (scroll);
self->priv->invite_button = gtk_dialog_add_button (dialog, _("Invite"),
GTK_RESPONSE_ACCEPT);