[empathy] invite-participant-dialog: add a scrolled window
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] invite-participant-dialog: add a scrolled window
- Date: Wed, 18 May 2011 13:40:49 +0000 (UTC)
commit 6b5bea43c508bc26c2ee88edac5d60cf127b175c
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Fri May 6 14:55:39 2011 +0200
invite-participant-dialog: add a scrolled window
src/empathy-invite-participant-dialog.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/src/empathy-invite-participant-dialog.c b/src/empathy-invite-participant-dialog.c
index e69f646..b66d097 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]