shell: ensure a search is in progress before activating a panel
https://bugzilla.gnome.org/show_bug.cgi?id=702469
This commit is contained in:
parent
d5a7c75134
commit
da4b2f0a89
1 changed files with 2 additions and 1 deletions
|
@ -629,7 +629,8 @@ search_entry_key_press_event_cb (GtkEntry *entry,
|
|||
{
|
||||
CcWindowPrivate *priv = self->priv;
|
||||
|
||||
if (event->keyval == GDK_KEY_Return)
|
||||
if (event->keyval == GDK_KEY_Return &&
|
||||
g_strcmp0 (priv->filter_string, "") != 0)
|
||||
{
|
||||
GtkTreePath *path;
|
||||
GtkTreeSelection *selection;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue