[gnome-control-center/wip/gbsneto/list-layout: 8/19] window: keep searchbar visible when panel changes



commit e605c6410c9a585f6002a044e5449c562890113e
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Sun May 22 13:39:06 2016 -0300

    window: keep searchbar visible when panel changes
    
    The sidebar width is determined by the search entry,
    and now it changes whenever we open a panel. This
    would also break the desired behavior of keeping
    the search visible - something impossible before.
    
    Fix that by not hiding the search bar when the visible
    panel changes.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=766922

 shell/cc-window.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/shell/cc-window.c b/shell/cc-window.c
index 9c0a5f7..f838cae 100644
--- a/shell/cc-window.c
+++ b/shell/cc-window.c
@@ -887,14 +887,12 @@ stack_page_notify_cb (GtkStack     *stack,
     {
       gtk_widget_hide (self->previous_button);
       gtk_widget_show (self->search_button);
-      gtk_widget_show (self->search_bar);
       gtk_widget_hide (self->lock_button);
     }
   else
     {
       gtk_widget_show (self->previous_button);
       gtk_widget_hide (self->search_button);
-      gtk_widget_hide (self->search_bar);
     }
 }
 


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