From f97d82c5597ce0f6b19f47f91d35f75f29c892de Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Mon, 4 Apr 2011 21:33:52 +0200 Subject: [PATCH] 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 3b841cca..645e03e0 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 5d3cfdd0..6bfba5d6 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");