Bug #6917 : Gtk2 to Gtk3 port of colorsel to get_color_selection()

svn: r22679
This commit is contained in:
Serge Noiraud 2013-07-14 12:25:02 +00:00
parent 6a45bc4a40
commit 66b9e798ed

View File

@ -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()