This is an automated email from the git hooks/post-receive script.

gottcode pushed a 
commit to branch 
master
in repository panel-plugins/xfce4-whiskermenu-plugin.

commit 2ab1c54ff4e1194d4c209d63977c5cfc0bb1cc68
Author: Graeme Gott <[email protected]>
Date:   Tue Dec 24 11:21:33 2019 -0500

    Fix icon view skipping first row.
---
 panel-plugin/window.cpp | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/panel-plugin/window.cpp b/panel-plugin/window.cpp
index 481addb..80fdf48 100644
--- a/panel-plugin/window.cpp
+++ b/panel-plugin/window.cpp
@@ -846,7 +846,13 @@ gboolean 
WhiskerMenu::Window::on_key_press_event(GtkWidget* widget, GdkEvent* ev
                GtkWidget* search = GTK_WIDGET(m_search_entry);
                if ((widget == search) || (gtk_window_get_focus(m_window) == 
search))
                {
+                       GtkTreePath* path = page->get_view()->get_cursor();
+                       if (path)
+                       {
+                               page->get_view()->select_path(path);
+                       }
                        gtk_widget_grab_focus(view);
+                       return true;
                }
        }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to