[Xfce4-commits] <midori:master> Implement Quit in Midori in web application mode

Christian Dywan noreply at xfce.org
Mon Dec 7 20:46:01 CET 2009


Updating branch refs/heads/master
         to 38205dd35194416fcdc1ae220bd304121d6cdb97 (commit)
       from 427ae90f088f863bf7169b5ce642898efa43f063 (commit)

commit 38205dd35194416fcdc1ae220bd304121d6cdb97
Author: Christian Dywan <christian at twotoasts.de>
Date:   Mon Dec 7 20:41:13 2009 +0100

    Implement Quit in Midori in web application mode

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

diff --git a/midori/main.c b/midori/main.c
index 961ef2c..b87504b 100644
--- a/midori/main.c
+++ b/midori/main.c
@@ -1762,6 +1762,8 @@ main (int    argc,
             G_CALLBACK (midori_web_app_browser_notify_load_status_cb), NULL);
         midori_browser_add_uri (browser, webapp);
         g_object_set_data (G_OBJECT (browser), "locked", (void*)1);
+        g_signal_connect (browser, "quit",
+            G_CALLBACK (gtk_main_quit), NULL);
         g_signal_connect (browser, "destroy",
             G_CALLBACK (gtk_main_quit), NULL);
         gtk_widget_show (GTK_WIDGET (browser));



More information about the Xfce4-commits mailing list