[Xfce4-commits] <xfce4-appfinder:master> Allow using up/down in expanded view.

Nick Schermer noreply at xfce.org
Thu Sep 29 22:40:02 CEST 2011


Updating branch refs/heads/master
         to b07bcb298b626bbf78d1e75e43c0c7f908a0d276 (commit)
       from e40873a419dd82c94ad3c2bf28ef3ac0f17cf8ae (commit)

commit b07bcb298b626bbf78d1e75e43c0c7f908a0d276
Author: Nick Schermer <nick at xfce.org>
Date:   Thu Sep 29 22:29:31 2011 +0200

    Allow using up/down in expanded view.
    
    In the collapsed view this break the completion menu
    navigation.

 src/appfinder-window.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/appfinder-window.c b/src/appfinder-window.c
index 91bc2e8..8e5fdef 100644
--- a/src/appfinder-window.c
+++ b/src/appfinder-window.c
@@ -560,7 +560,8 @@ xfce_appfinder_window_entry_key_press_event (GtkWidget           *entry,
     {
       /* only switch modes when there is no text in the entry */
       text = gtk_entry_get_text (GTK_ENTRY (window->entry));
-      if (IS_STRING (text))
+      if (IS_STRING (text)
+          && !gtk_widget_get_visible (window->paned))
         return FALSE;
 
       expand = (event->keyval == GDK_KEY_Down);


More information about the Xfce4-commits mailing list