[gnome-notes] window: Don't grab note view focus on creation



commit 1207fd0bee7feb740ccafe25bcece1155cd1b133
Author: Mohammed Sadiq <sadiq sadiqpk org>
Date:   Sat Jun 5 12:31:57 2021 +0530

    window: Don't grab note view focus on creation
    
    This doesn't work. And we may want to focus the title
    for new notes

 src/bjb-window.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/src/bjb-window.c b/src/bjb-window.c
index ba8cd34f..c4adaa51 100644
--- a/src/bjb-window.c
+++ b/src/bjb-window.c
@@ -978,7 +978,6 @@ bjb_window_set_note (BjbWindow   *self,
   self->note_view = bjb_note_view_new (w, note);
   gtk_box_pack_end (GTK_BOX (self->note_box), GTK_WIDGET (self->note_view), TRUE, TRUE, 0);
   gtk_widget_show (GTK_WIDGET (self->note_view));
-  bjb_note_view_grab_focus (self->note_view);
 
   self->note_deleted = g_signal_connect (self->note, "deleted",
                                          G_CALLBACK (on_note_trashed), self);


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