[gedit] clone window: no need to set active tab
- From: Sebastien Lafargue <slafargue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] clone window: no need to set active tab
- Date: Sat, 8 Mar 2014 14:15:37 +0000 (UTC)
commit 7332811a278db8899b45eb38f99e3daafc3f9311
Author: Sebastien Lafargue <slafargue src gnome org>
Date: Fri Mar 7 21:02:10 2014 +0100
clone window: no need to set active tab
A unique tab in a new window is already set as active
and in this case it's set on the wrong multi-notebook.
gedit/gedit-window.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gedit/gedit-window.c b/gedit/gedit-window.c
index 9af0773..2301941 100644
--- a/gedit/gedit-window.c
+++ b/gedit/gedit-window.c
@@ -3376,8 +3376,6 @@ _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]