Updating branch refs/heads/master
         to aeccc9e9ac22bb9fe2be164b58fdd0150bad9ecf (commit)
       from 07ffc279b2dae47cad0754db904acf7a4d5f9641 (commit)

commit aeccc9e9ac22bb9fe2be164b58fdd0150bad9ecf
Author: Christian Dywan <christ...@twotoasts.de>
Date:   Sun Jan 30 19:11:38 2011 +0100

    Use midori_browser_add_tab for tab on tab bar click
    
    So we get speed dial if it is enabled like on new tab button.

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

diff --git a/midori/midori-browser.c b/midori/midori-browser.c
index a3bd405..86ddf6a 100644
--- a/midori/midori-browser.c
+++ b/midori/midori-browser.c
@@ -4756,9 +4756,7 @@ midori_browser_notebook_button_press_event_after_cb 
(GtkNotebook*    notebook,
     if (/*(event->type == GDK_2BUTTON_PRESS && event->button == 1)
     || */(event->type == GDK_BUTTON_PRESS && event->button == 2))
     {
-        gint n;
-        GtkWidget* view = midori_view_new_with_title (NULL, browser->settings, 
TRUE);
-        n = midori_browser_add_tab (browser, view);
+        gint n = midori_browser_add_uri (browser, "");
         midori_browser_set_current_page (browser, n);
 
         return TRUE;
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to