[gnome-notes] window-base: Go back to sidebar when a note is trashed



commit 4fd166a14113d4de4e80df1c18c4a5daa3204c0c
Author: Jonathan Kang <jonathankang gnome org>
Date:   Thu Aug 20 10:34:26 2020 +0800

    window-base: Go back to sidebar when a note is trashed
    
    https://gitlab.gnome.org/GNOME/gnome-notes/-/issues/154

 src/bjb-window-base.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/bjb-window-base.c b/src/bjb-window-base.c
index 83d3302..115be80 100644
--- a/src/bjb-window-base.c
+++ b/src/bjb-window-base.c
@@ -712,7 +712,7 @@ bjb_window_base_switch_to (BjbWindowBase *self, BjbWindowViewType type)
      */
 
     case BJB_WINDOW_BASE_MAIN_VIEW:
-      /* gtk_widget_show (GTK_WIDGET (self->search_bar)); */
+      switch_to_sidebar (self);
       /* gtk_stack_set_visible_child_name (self->stack, "main-view"); */
       break;
 


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