[gtksourceview/completion: 3/3] Completion: attach windows to widgets
- From: SÃbastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/completion: 3/3] Completion: attach windows to widgets
- Date: Sun, 8 Apr 2012 13:42:45 +0000 (UTC)
commit 83bbe09e195e69939c9ab03e84db8da5dbd1fb06
Author: SÃbastien Wilmet <sebastien wilmet gmail com>
Date: Sat Apr 7 03:22:26 2012 +0200
Completion: attach windows to widgets
gtksourceview/gtksourcecompletion.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gtksourceview/gtksourcecompletion.c b/gtksourceview/gtksourcecompletion.c
index 3214085..f214934 100644
--- a/gtksourceview/gtksourcecompletion.c
+++ b/gtksourceview/gtksourcecompletion.c
@@ -2949,6 +2949,9 @@ initialize_ui (GtkSourceCompletion *completion)
GTK_WIDGET (gtk_builder_get_object (builder,
"hbox_info"));
+ gtk_window_set_attached_to (GTK_WINDOW (completion->priv->window),
+ GTK_WIDGET (completion->priv->view));
+
info_button_style_updated (completion->priv->info_button, completion);
/* Tree view and model */
@@ -3061,6 +3064,9 @@ initialize_ui (GtkSourceCompletion *completion)
G_CALLBACK (update_transient_for_info),
completion);
+ gtk_window_set_attached_to (GTK_WINDOW (completion->priv->info_window),
+ GTK_WIDGET (completion->priv->window));
+
/* Default info widget */
completion->priv->default_info = gtk_label_new (NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]