diff options
Diffstat (limited to 'src/window-commands.c')
-rw-r--r-- | src/window-commands.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/window-commands.c b/src/window-commands.c index 727429106..d42dca547 100644 --- a/src/window-commands.c +++ b/src/window-commands.c @@ -846,10 +846,8 @@ window_cmd_tabs_move_left (EggAction *action, GtkWidget *child; child = gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook), page); - gtk_notebook_reorder_child (GTK_NOTEBOOK (notebook), child, page - 1); + ephy_notebook_move_page (EPHY_NOTEBOOK (notebook), NULL, child, page - 1); } - - ephy_window_update_control (window, TabsControl); } void window_cmd_tabs_move_right (EggAction *action, @@ -868,10 +866,8 @@ void window_cmd_tabs_move_right (EggAction *action, GtkWidget *child; child = gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook), page); - gtk_notebook_reorder_child (GTK_NOTEBOOK (notebook), child, page + 1); + ephy_notebook_move_page (EPHY_NOTEBOOK (notebook), NULL, child, page + 1); } - - ephy_window_update_control (window, TabsControl); } void @@ -882,7 +878,8 @@ window_cmd_tabs_detach (EggAction *action, GtkWidget *src_page; EphyWindow *new_win; - if (g_list_length (ephy_window_get_tabs (window)) <= 1) { + if (g_list_length (ephy_window_get_tabs (window)) <= 1) + { return; } |