No need to move proxy item if it is appended
This commit is contained in:
parent
3d96749b93
commit
9c11fb1219
1 changed files with 1 additions and 1 deletions
|
@ -1593,11 +1593,11 @@ _midori_browser_add_tab (MidoriBrowser* browser,
|
||||||
katze_object_get_boolean (browser->settings, "open-tabs-next-to-current"))
|
katze_object_get_boolean (browser->settings, "open-tabs-next-to-current"))
|
||||||
{
|
{
|
||||||
n = gtk_notebook_get_current_page (notebook) + 1;
|
n = gtk_notebook_get_current_page (notebook) + 1;
|
||||||
|
katze_array_move_item (browser->proxy_array, item, n);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
n = -1;
|
n = -1;
|
||||||
gtk_notebook_insert_page (notebook, view, tab_label, n);
|
gtk_notebook_insert_page (notebook, view, tab_label, n);
|
||||||
katze_array_move_item (browser->proxy_array, item, n);
|
|
||||||
katze_item_set_meta_integer (item, "append", 0);
|
katze_item_set_meta_integer (item, "append", 0);
|
||||||
|
|
||||||
gtk_notebook_set_tab_reorderable (notebook, view, TRUE);
|
gtk_notebook_set_tab_reorderable (notebook, view, TRUE);
|
||||||
|
|
Loading…
Reference in a new issue