[Xfce4-commits] [apps/xfdashboard] 01/02: Prevent showing "show X more results..." text in button when showing all results was requested regardless if number of results exceed a calculated maximum.
noreply at xfce.org
noreply at xfce.org
Tue Nov 21 14:08:34 CET 2017
This is an automated email from the git hooks/post-receive script.
n o m a d p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository apps/xfdashboard.
commit cfddbc5d96c91f771afd150d74b2814e6ae10869
Author: Stephan Haller <nomad at froevel.de>
Date: Tue Nov 21 14:01:31 2017 +0100
Prevent showing "show X more results..." text in button when showing all results was requested regardless if number of results exceed a calculated maximum.
Hopefully fixes issue GH #152
---
libxfdashboard/search-result-container.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libxfdashboard/search-result-container.c b/libxfdashboard/search-result-container.c
index d01e42e..26e9d53 100644
--- a/libxfdashboard/search-result-container.c
+++ b/libxfdashboard/search-result-container.c
@@ -658,7 +658,7 @@ static void _xfdashboard_search_result_container_update_result_items(Xfdashboard
/* If we tried to create at least one more actore than maximum allowed
* then set text at "more"-label otherwise set empty text to "hide" it
*/
- if(actorsCount>priv->maxResultsItemsCount)
+ if(!inShowAllItems && actorsCount>priv->maxResultsItemsCount)
{
gchar *labelText;
gint moreCount;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list