From 538b00b3c82d2ac83a864f7277db17864f84f7ed Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sun, 19 Jul 2015 07:47:24 -0400 Subject: [PATCH] 8730: Error Report Assistant fails --- gramps/gui/logger/_errorreportassistant.py | 35 +++++----------------- 1 file changed, 7 insertions(+), 28 deletions(-) diff --git a/gramps/gui/logger/_errorreportassistant.py b/gramps/gui/logger/_errorreportassistant.py index baaaaf65c..39f7c10dd 100644 --- a/gramps/gui/logger/_errorreportassistant.py +++ b/gramps/gui/logger/_errorreportassistant.py @@ -297,10 +297,7 @@ class ErrorReportAssistant(Gtk.Assistant): error_details_box.set_hexpand(True) error_details_box.set_vexpand(True) - error_details_box.set_margin_left(12) - error_details_box.set_margin_right(12) - error_details_box.set_margin_top(12) - error_details_box.set_margin_bottom(12) + error_details_box.set_property("margin", 12) error_details_frame = Gtk.Frame() error_details_frame.set_border_width(3) @@ -380,10 +377,7 @@ class ErrorReportAssistant(Gtk.Assistant): sys_information_box.pack_start(button_box, False, False, 0) sys_information_box.set_hexpand(True) sys_information_box.set_vexpand(True) - sys_information_box.set_margin_top(12) - sys_information_box.set_margin_bottom(12) - sys_information_box.set_margin_left(12) - sys_information_box.set_margin_right(12) + sys_information_box.set_property("margin", 12) sys_information_frame = Gtk.Frame() sys_information_frame.set_border_width(3) @@ -455,10 +449,7 @@ class ErrorReportAssistant(Gtk.Assistant): user_information_box.pack_start(button_box, False, False, 0) user_information_box.set_hexpand(True) user_information_box.set_vexpand(True) - user_information_box.set_margin_top(12) - user_information_box.set_margin_bottom(12) - user_information_box.set_margin_left(12) - user_information_box.set_margin_right(12) + user_information_box.set_property("margin", 12) user_information_frame = Gtk.Frame() user_information_frame.set_border_width(3) @@ -522,10 +513,7 @@ class ErrorReportAssistant(Gtk.Assistant): summary_box.pack_start(sw_frame, True, True, 0) summary_box.set_hexpand(True) summary_box.set_vexpand(True) - summary_box.set_margin_top(12) - summary_box.set_margin_bottom(12) - summary_box.set_margin_left(12) - summary_box.set_margin_right(12) + summary_box.set_property("margin", 12) summary_frame = Gtk.Frame() summary_frame.set_border_width(3) @@ -591,10 +579,7 @@ class ErrorReportAssistant(Gtk.Assistant): url_box.pack_start(url_label, True, True, 0) url_box.pack_start(url_button_vbox, False, False, 0) url_box.set_hexpand(True) - url_box.set_margin_top(12) - url_box.set_margin_bottom(12) - url_box.set_margin_left(12) - url_box.set_margin_right(12) + url_box.set_property("margin", 12) url_frame = Gtk.Frame() url_frame.add(url_box) @@ -618,10 +603,7 @@ class ErrorReportAssistant(Gtk.Assistant): clip_box.pack_start(clip_label, True, True, 0) clip_box.pack_start(clip_button_vbox, False, False, 0) clip_box.set_hexpand(True) - clip_box.set_margin_left(12) - clip_box.set_margin_right(12) - clip_box.set_margin_top(12) - clip_box.set_margin_bottom(12) + clip_box.set_property("margin", 12) clip_frame = Gtk.Frame() clip_frame.add(clip_box) @@ -630,10 +612,7 @@ class ErrorReportAssistant(Gtk.Assistant): inner_box.pack_start(label, False, False, 0) inner_box.pack_start(clip_frame, False, False, 0) inner_box.pack_start(url_frame, False, False, 0) - inner_box.set_margin_top(12) - inner_box.set_margin_bottom(12) - inner_box.set_margin_left(12) - inner_box.set_margin_right(12) + inner_box.set_property("margin", 12) outer_frame = Gtk.Frame() outer_frame.set_border_width(3)