[gnome-control-center/gbsneto/panel-widget-in-sidebar: 3/4] fixup! window: Add panel's sidebar widget to sidebar



commit da3f3827bde44b6c3e8a76cf3deb6ad96f74db19
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Fri Nov 16 19:21:54 2018 -0200

    fixup! window: Add panel's sidebar widget to sidebar

 shell/cc-panel-list.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/shell/cc-panel-list.c b/shell/cc-panel-list.c
index ed4b89a75..fefa59d44 100644
--- a/shell/cc-panel-list.c
+++ b/shell/cc-panel-list.c
@@ -613,6 +613,7 @@ row_activated_cb (GtkWidget     *listbox,
    * a custom widget, show the custom widget again.
    */
   if (g_strcmp0 (data->id, self->current_panel_id) == 0 &&
+      self->previous_view != CC_PANEL_LIST_SEARCH &&
       gtk_stack_get_child_by_name (GTK_STACK (self), "custom-widget") != NULL)
     {
       switch_to_view (self, CC_PANEL_LIST_WIDGET);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]