[Xfce4-commits] <midori:master> Notify MidoriBrowser::tab property properly

Christian Dywan noreply at xfce.org
Tue Sep 29 20:54:01 CEST 2009


Updating branch refs/heads/master
         to f530218492f367fe60bf78dfd80e93c216571f3e (commit)
       from 7a5329a1e0467c87d62faa972c0138a67da39b00 (commit)

commit f530218492f367fe60bf78dfd80e93c216571f3e
Author: Christian Dywan <christian at twotoasts.de>
Date:   Tue Sep 29 20:49:30 2009 +0200

    Notify MidoriBrowser::tab property properly

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

diff --git a/midori/midori-browser.c b/midori/midori-browser.c
index 3e722ab..d7b0df1 100644
--- a/midori/midori-browser.c
+++ b/midori/midori-browser.c
@@ -4255,7 +4255,10 @@ gtk_notebook_switch_page_cb (GtkWidget*       notebook,
     if (browser->proxy_array)
         katze_item_set_meta_integer (KATZE_ITEM (browser->proxy_array), "current",
                                      midori_browser_get_current_page (browser));
+    g_object_freeze_notify (G_OBJECT (browser));
     g_object_notify (G_OBJECT (browser), "uri");
+    g_object_notify (G_OBJECT (browser), "tab");
+    g_object_thaw_notify (G_OBJECT (browser));
 
     _midori_browser_set_statusbar_text (browser, NULL);
     _midori_browser_update_interface (browser);
@@ -4271,7 +4274,10 @@ midori_browser_notebook_page_reordered_cb (GtkNotebook*   notebook,
     KatzeItem* item = midori_view_get_proxy_item (view);
     katze_array_move_item (browser->proxy_array, item, page_num);
 
+    g_object_freeze_notify (G_OBJECT (browser));
     g_object_notify (G_OBJECT (browser), "uri");
+    g_object_notify (G_OBJECT (browser), "tab");
+    g_object_thaw_notify (G_OBJECT (browser));
 }
 
 static gboolean



More information about the Xfce4-commits mailing list