Move crash dialogue preference into the dialogue itself

This commit is contained in:
Christian Dywan 2011-04-04 21:33:52 +02:00
parent aa401634ed
commit f97d82c559
2 changed files with 3 additions and 2 deletions

View file

@ -1054,6 +1054,9 @@ midori_create_diagnostic_dialog (MidoriWebSettings* settings,
gtk_box_pack_start (GTK_BOX (box), button, FALSE, FALSE, 4); gtk_box_pack_start (GTK_BOX (box), button, FALSE, FALSE, 4);
gtk_widget_show_all (box); gtk_widget_show_all (box);
gtk_container_add (GTK_CONTAINER (content_area), 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 #ifdef HAVE_HILDON_2_2
box = gtk_hbox_new (FALSE, 4); box = gtk_hbox_new (FALSE, 4);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), box, TRUE, FALSE, 4); gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), box, TRUE, FALSE, 4);

View file

@ -355,8 +355,6 @@ midori_preferences_set_settings (MidoriPreferences* preferences,
SPANNED_ADD (button); SPANNED_ADD (button);
#endif #endif
} }
button = katze_property_proxy (settings, "show-crash-dialog", NULL);
INDENTED_ADD (button);
FRAME_NEW (_("Transfers")); FRAME_NEW (_("Transfers"));
#if !HAVE_HILDON #if !HAVE_HILDON
label = katze_property_label (settings, "download-folder"); label = katze_property_label (settings, "download-folder");