[Xfce4-commits] [xfce/xfce4-settings] 01/01: Fix search change clearing and hiding sections (bug #14792)

noreply at xfce.org noreply at xfce.org
Mon May 6 00:11:56 CEST 2019


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

b   l   u   e   s   a   b   r   e       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 xfce/xfce4-settings.

commit 187eee6d9d3d41404b5c6f1fc56510f780afd703
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Sun May 5 18:11:50 2019 -0400

    Fix search change clearing and hiding sections (bug #14792)
---
 xfce4-settings-manager/xfce-settings-manager-dialog.c | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/xfce4-settings-manager/xfce-settings-manager-dialog.c b/xfce4-settings-manager/xfce-settings-manager-dialog.c
index fc0c137..cabf286 100644
--- a/xfce4-settings-manager/xfce-settings-manager-dialog.c
+++ b/xfce4-settings-manager/xfce-settings-manager-dialog.c
@@ -676,6 +676,23 @@ xfce_settings_manager_dialog_go_back (XfceSettingsManagerDialog *dialog)
 
 
 
+static gboolean
+xfce_settings_manager_queue_redraw (XfceSettingsManagerDialog *dialog)
+{
+    GList *li;
+    DialogCategory *category;
+
+    for (li = dialog->categories; li != NULL; li = li->next)
+    {
+        category = li->data;
+        gtk_widget_queue_resize(GTK_WIDGET(category->iconview));
+    }
+
+    return FALSE;
+}
+
+
+
 static void
 xfce_settings_manager_dialog_entry_changed (GtkWidget                 *entry,
                                             XfceSettingsManagerDialog *dialog)
@@ -731,6 +748,8 @@ xfce_settings_manager_dialog_entry_changed (GtkWidget                 *entry,
             n_children = gtk_tree_model_iter_n_children (model, NULL);
             gtk_widget_set_visible (category->box, n_children > 0);
         }
+
+        g_idle_add ((GSourceFunc) xfce_settings_manager_queue_redraw, dialog);
     }
     else
     {

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


More information about the Xfce4-commits mailing list