diff options
author | Jon Trowbridge <trow@ximian.com> | 2001-10-19 01:34:26 +0800 |
---|---|---|
committer | Jon Trowbridge <trow@src.gnome.org> | 2001-10-19 01:34:26 +0800 |
commit | 35c88458073d8b30d07281e2bca092e027fc58c8 (patch) | |
tree | 24af387c5e99dec3eef3603416df7322c9e6948a /widgets/text/e-entry.c | |
parent | 1ff8c9a9228ae4ca9d88b0a8f5e7b464b9119bf5 (diff) | |
download | gsoc2013-evolution-35c88458073d8b30d07281e2bca092e027fc58c8.tar.gz gsoc2013-evolution-35c88458073d8b30d07281e2bca092e027fc58c8.tar.zst gsoc2013-evolution-35c88458073d8b30d07281e2bca092e027fc58c8.zip |
Connect keys before we show the widget.
2001-10-18 Jon Trowbridge <trow@ximian.com>
* gal/e-text/e-entry.c (e_entry_enable_completion_full): Connect
keys before we show the widget.
svn path=/trunk/; revision=13756
Diffstat (limited to 'widgets/text/e-entry.c')
-rw-r--r-- | widgets/text/e-entry.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/widgets/text/e-entry.c b/widgets/text/e-entry.c index 54a9e6e8af..b46ed1e6c5 100644 --- a/widgets/text/e-entry.c +++ b/widgets/text/e-entry.c @@ -805,14 +805,14 @@ e_entry_enable_completion_full (EEntry *entry, ECompletion *completion, gint del GTK_SIGNAL_FUNC (key_release_cb), entry->canvas); + e_completion_view_connect_keys (E_COMPLETION_VIEW (entry->priv->completion_view), + GTK_WIDGET (entry->canvas)); + gtk_object_ref (GTK_OBJECT (entry->priv->completion_view_popup)); gtk_object_sink (GTK_OBJECT (entry->priv->completion_view_popup)); gtk_window_set_policy (GTK_WINDOW (entry->priv->completion_view_popup), TRUE, TRUE, TRUE); gtk_container_add (GTK_CONTAINER (entry->priv->completion_view_popup), entry->priv->completion_view); gtk_widget_show (entry->priv->completion_view); - - e_completion_view_connect_keys (E_COMPLETION_VIEW (entry->priv->completion_view), - GTK_WIDGET (entry->canvas)); } gboolean |