[Xfce4-commits] <midori:master> Move crash dialogue preference into the dialogue itself

Christian Dywan noreply at xfce.org
Mon Apr 4 21:34:02 CEST 2011


Updating branch refs/heads/master
         to f97d82c5597ce0f6b19f47f91d35f75f29c892de (commit)
       from aa401634ed40d7d5bc50efe60ca503d476842720 (commit)

commit f97d82c5597ce0f6b19f47f91d35f75f29c892de
Author: Christian Dywan <christian at twotoasts.de>
Date:   Mon Apr 4 21:33:52 2011 +0200

    Move crash dialogue preference into the dialogue itself

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

diff --git a/midori/main.c b/midori/main.c
index 3b841cc..645e03e 100644
--- a/midori/main.c
+++ b/midori/main.c
@@ -1054,6 +1054,9 @@ midori_create_diagnostic_dialog (MidoriWebSettings* settings,
     gtk_box_pack_start (GTK_BOX (box), button, FALSE, FALSE, 4);
     gtk_widget_show_all (box);
     gtk_container_add (GTK_CONTAINER (content_area), box);
+    button = katze_property_proxy (settings, "show-crash-dialog", NULL);
+    gtk_widget_show (button);
+    gtk_container_add (GTK_CONTAINER (content_area), button);
     #ifdef HAVE_HILDON_2_2
     box = gtk_hbox_new (FALSE, 4);
     gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), box, TRUE, FALSE, 4);
diff --git a/midori/midori-preferences.c b/midori/midori-preferences.c
index 5d3cfdd..6bfba5d 100644
--- a/midori/midori-preferences.c
+++ b/midori/midori-preferences.c
@@ -355,8 +355,6 @@ midori_preferences_set_settings (MidoriPreferences* preferences,
         SPANNED_ADD (button);
         #endif
     }
-    button = katze_property_proxy (settings, "show-crash-dialog", NULL);
-    INDENTED_ADD (button);
     FRAME_NEW (_("Transfers"));
     #if !HAVE_HILDON
     label = katze_property_label (settings, "download-folder");



More information about the Xfce4-commits mailing list