[Xfce4-commits] <midori:master> No need to move proxy item if it is appended

Christian Dywan noreply at xfce.org
Fri Dec 9 21:02:04 CET 2011


Updating branch refs/heads/master
         to 9c11fb1219414c457f3c73ffc316af25ae0e94d9 (commit)
       from 3d96749b932e81c35e070355aad414177acb0209 (commit)

commit 9c11fb1219414c457f3c73ffc316af25ae0e94d9
Author: Christian Dywan <christian at twotoasts.de>
Date:   Fri Dec 9 21:00:13 2011 +0100

    No need to move proxy item if it is appended

 midori/midori-browser.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/midori/midori-browser.c b/midori/midori-browser.c
index 97c1385..6581138 100644
--- a/midori/midori-browser.c
+++ b/midori/midori-browser.c
@@ -1593,11 +1593,11 @@ _midori_browser_add_tab (MidoriBrowser* browser,
         katze_object_get_boolean (browser->settings, "open-tabs-next-to-current"))
     {
         n = gtk_notebook_get_current_page (notebook) + 1;
+        katze_array_move_item (browser->proxy_array, item, n);
     }
     else
         n = -1;
     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);
 
     gtk_notebook_set_tab_reorderable (notebook, view, TRUE);


More information about the Xfce4-commits mailing list