diff --git a/gramps/gui/plug/_guioptions.py b/gramps/gui/plug/_guioptions.py index 35a56a7f7..01266d2a7 100644 --- a/gramps/gui/plug/_guioptions.py +++ b/gramps/gui/plug/_guioptions.py @@ -1524,7 +1524,7 @@ class GuiSurnameColorOption(Gtk.HBox): title = _('Select color for %s') % surname colour_dialog = Gtk.ColorSelectionDialog(title) - colorsel = colour_dialog.colorsel + colorsel = colour_dialog.get_color_selection() colorsel.set_current_color(colour) response = colour_dialog.run()