[gedit] focus on text view when creating new window from tab



commit 1b926315c097bfb23dae3d881d646f5d0bf7bde2
Author: Sebastien Lafargue <slaf66 gmail com>
Date:   Wed Feb 12 12:53:30 2014 +0100

    focus on text view when creating new window from tab
    
    https://bugzilla.gnome.org/show_bug.cgi?id=724140

 gedit/gedit-window.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gedit/gedit-window.c b/gedit/gedit-window.c
index 8befab6..23950d6 100644
--- a/gedit/gedit-window.c
+++ b/gedit/gedit-window.c
@@ -3518,6 +3518,8 @@ _gedit_window_move_tab_to_new_window (GeditWindow *window,
 
        gtk_widget_show (GTK_WIDGET (new_window));
 
+       gedit_multi_notebook_set_active_tab (window->priv->multi_notebook, tab);
+
        return new_window;
 }
 


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