Bug #6917 : Gtk2 to Gtk3 port of colorsel to get_color_selection()
svn: r22680
This commit is contained in:
parent
e6c91354a5
commit
c635e94f5d
@ -1524,7 +1524,7 @@ class GuiSurnameColorOption(Gtk.HBox):
|
|||||||
|
|
||||||
title = _('Select color for %s') % surname
|
title = _('Select color for %s') % surname
|
||||||
colour_dialog = Gtk.ColorSelectionDialog(title)
|
colour_dialog = Gtk.ColorSelectionDialog(title)
|
||||||
colorsel = colour_dialog.colorsel
|
colorsel = colour_dialog.get_color_selection()
|
||||||
colorsel.set_current_color(colour)
|
colorsel.set_current_color(colour)
|
||||||
response = colour_dialog.run()
|
response = colour_dialog.run()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user