diff --git a/panel-plugin/window.cpp b/panel-plugin/window.cpp index d7fe6c8..8b62d6f 100644 --- a/panel-plugin/window.cpp +++ b/panel-plugin/window.cpp @@ -70,8 +70,8 @@ static void ungrab_pointer() WhiskerMenu::Window::Window(Plugin* plugin) : m_plugin(plugin), m_window(NULL), - m_search_cover(GTK_STACK_TRANSITION_TYPE_OVER_DOWN), - m_search_uncover(GTK_STACK_TRANSITION_TYPE_UNDER_UP), + m_search_cover(GTK_STACK_TRANSITION_TYPE_NONE), + m_search_uncover(GTK_STACK_TRANSITION_TYPE_NONE), m_sidebar_size_group(NULL), m_layout_left(true), m_layout_bottom(true), @@ -616,8 +616,6 @@ void WhiskerMenu::Window::show(const Position position) gtk_box_reorder_child(m_vbox, GTK_WIDGET(m_contents_stack), 1); gtk_box_reorder_child(m_vbox, GTK_WIDGET(m_search_box), 2); - m_search_cover = GTK_STACK_TRANSITION_TYPE_OVER_UP; - m_search_uncover = GTK_STACK_TRANSITION_TYPE_UNDER_DOWN; } else if (m_layout_search_alternate) { @@ -625,8 +623,6 @@ void WhiskerMenu::Window::show(const Position position) gtk_box_reorder_child(m_vbox, GTK_WIDGET(m_contents_stack), 1); gtk_box_reorder_child(m_vbox, GTK_WIDGET(m_search_box), 0); - m_search_cover = GTK_STACK_TRANSITION_TYPE_OVER_DOWN; - m_search_uncover = GTK_STACK_TRANSITION_TYPE_UNDER_UP; } else if (m_layout_bottom) { @@ -634,8 +630,6 @@ void WhiskerMenu::Window::show(const Position position) gtk_box_reorder_child(m_vbox, GTK_WIDGET(m_search_box), 1); gtk_box_reorder_child(m_vbox, GTK_WIDGET(m_contents_stack), 2); - m_search_cover = GTK_STACK_TRANSITION_TYPE_OVER_DOWN; - m_search_uncover = GTK_STACK_TRANSITION_TYPE_UNDER_UP; } else { @@ -643,8 +637,6 @@ void WhiskerMenu::Window::show(const Position position) gtk_box_reorder_child(m_vbox, GTK_WIDGET(m_search_box), 1); gtk_box_reorder_child(m_vbox, GTK_WIDGET(m_contents_stack), 0); - m_search_cover = GTK_STACK_TRANSITION_TYPE_OVER_UP; - m_search_uncover = GTK_STACK_TRANSITION_TYPE_UNDER_DOWN; } }