diff options
author | Chris Toshok <toshok@ximian.com> | 2004-08-25 06:22:19 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2004-08-25 06:22:19 +0800 |
commit | d17f89b2cd1ca5fa23896b8c3d21f01c2cf328a1 (patch) | |
tree | f54a1ac471093a4a15123916ea4a567aba3c57db /widgets | |
parent | 57caa2f9842eda865945387e446c94f4e389f811 (diff) | |
download | gsoc2013-evolution-d17f89b2cd1ca5fa23896b8c3d21f01c2cf328a1.tar.gz gsoc2013-evolution-d17f89b2cd1ca5fa23896b8c3d21f01c2cf328a1.tar.zst gsoc2013-evolution-d17f89b2cd1ca5fa23896b8c3d21f01c2cf328a1.zip |
[ probable fix for the remaining portion of #45931 ]
2004-08-23 Chris Toshok <toshok@ximian.com>
[ probable fix for the remaining portion of #45931 ]
* gal/e-text/e-entry.c (e_entry_show_popup): only return early if
we're trying to pop up the view while the entry is unfocused. if
we're trying to pop it down, carry on as normal.
svn path=/trunk/; revision=27009
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/text/e-entry.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/widgets/text/e-entry.c b/widgets/text/e-entry.c index fca872d55c..f66a066921 100644 --- a/widgets/text/e-entry.c +++ b/widgets/text/e-entry.c @@ -503,9 +503,14 @@ e_entry_show_popup (EEntry *entry, gboolean visible) if (pop == NULL) return; - /* The async query can give us a result after the focus was lost by the - widget. In that case, we don't want to show the pop-up. */ - if (! GTK_WIDGET_HAS_FOCUS (entry->canvas)) + /* The async query can give us a result after the focus was + lost by the widget. In that case, we don't want to show + the pop-up. + + but only return early if we're popping *up* the completion + view. If we're trying to pop down the view, continue on + regardless of whether or not the canvas has focus. */ + if (/*visible && */! GTK_WIDGET_HAS_FOCUS (entry->canvas)) return; if (visible) { |