[Xfce4-commits] [panel-plugins/xfce4-whiskermenu-plugin] 126/473: Remove duplicate scroll to top code.

noreply at xfce.org noreply at xfce.org
Mon Feb 16 23:54:56 CET 2015


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 ded8f71e7253ccc7ab11adcb2e2975718ce6f270
Author: Graeme Gott <graeme at gottcode.org>
Date:   Fri Jul 19 08:35:57 2013 -0400

    Remove duplicate scroll to top code.
---
 src/applications_page.cpp |   10 ----------
 1 file changed, 10 deletions(-)

diff --git a/src/applications_page.cpp b/src/applications_page.cpp
index f73995b..51b12c6 100644
--- a/src/applications_page.cpp
+++ b/src/applications_page.cpp
@@ -115,16 +115,6 @@ void ApplicationsPage::apply_filter(GtkToggleButton* togglebutton)
 	m_current_category = i->second;
 	refilter();
 	m_current_category = NULL;
-
-	// Scroll to top
-	GtkTreeIter iter;
-	GtkTreePath* path = gtk_tree_path_new_first();
-	if (gtk_tree_model_get_iter(get_view()->get_model(), &iter, path))
-	{
-		get_view()->scroll_to_path(path);
-		get_view()->unselect_all();
-	}
-	gtk_tree_path_free(path);
 }
 
 //-----------------------------------------------------------------------------

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list