[Xfce4-commits] <midori:master> Correctly use nth tab, not n - 1 to append

Christian Dywan noreply at xfce.org
Tue Jul 24 23:12:04 CEST 2012


Updating branch refs/heads/master
         to 21d95c62f471e1b875a893baeb486996f780d50d (commit)
       from d95513226d265448abc7d12ec1431e9c9d7c0a54 (commit)

commit 21d95c62f471e1b875a893baeb486996f780d50d
Author: Christian Dywan <christian at twotoasts.de>
Date:   Tue Jul 24 23:09:31 2012 +0200

    Correctly use nth tab, not n - 1 to append

 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 fb129b6..62d5061 100644
--- a/midori/midori-browser.c
+++ b/midori/midori-browser.c
@@ -1801,7 +1801,7 @@ _midori_browser_add_tab (MidoriBrowser* browser,
         katze_array_move_item (browser->proxy_array, item, n);
     }
     else
-        n = midori_browser_get_n_pages (browser) - 1;
+        n = midori_browser_get_n_pages (browser);
     katze_item_set_meta_integer (item, "append", -1);
 
 #ifdef HAVE_GRANITE


More information about the Xfce4-commits mailing list