[Xfce4-commits] [panel-plugins/xfce4-clipman-plugin] 36/37: Ensure all rows are visible on empty search entry

noreply at xfce.org noreply at xfce.org
Mon Mar 23 23:30:31 CET 2020


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

o   c   h   o   s   i       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 panel-plugins/xfce4-clipman-plugin.

commit 19221493be5fd728ab470b31c7ff36782a8b2eed
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Mon Mar 23 22:17:41 2020 +0100

    Ensure all rows are visible on empty search entry
---
 panel-plugin/xfce4-clipman-history.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/panel-plugin/xfce4-clipman-history.c b/panel-plugin/xfce4-clipman-history.c
index 150248f..ba06985 100644
--- a/panel-plugin/xfce4-clipman-history.c
+++ b/panel-plugin/xfce4-clipman-history.c
@@ -120,9 +120,8 @@ clipman_history_visible_func (GtkTreeModel *model,
 
   /* search string from dialog */
   text = gtk_entry_get_text (entry);
-  // FIXME:
-  //if (G_UNLIKELY (panel_str_is_empty (text)))
-  //    return TRUE;
+  if (text == NULL || text[0] == '\0')
+    return TRUE;
 
   gtk_tree_model_get (model, iter, COLUMN_TEXT, &name, -1);
 

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


More information about the Xfce4-commits mailing list