@ -66,7 +66,7 @@ class _ColorButton(Gtk.Button):
self . _accept_drag = True
self . _accept_drag = True
self . _preview = Icon ( icon_name = ' color-preview ' ,
self . _preview = Icon ( icon_name = ' color-preview ' ,
pixel_size = style . S MALL _ICON_SIZE)
pixel_size = style . S TANDARD _ICON_SIZE)
GObject . GObject . __init__ ( self , * * kwargs )
GObject . GObject . __init__ ( self , * * kwargs )
@ -359,7 +359,7 @@ class _ColorPalette(Palette):
button = _ColorButton ( has_palette = False ,
button = _ColorButton ( has_palette = False ,
color = Gdk . color_parse ( color ) ,
color = Gdk . color_parse ( color ) ,
accept_drag = False ,
accept_drag = False ,
icon_size = Gtk. IconSize . LARGE_TOOLBAR )
icon_size = style. STANDARD_ICON_SIZE )
button . set_relief ( Gtk . ReliefStyle . NONE )
button . set_relief ( Gtk . ReliefStyle . NONE )
self . _swatch_tray . attach ( button ,
self . _swatch_tray . attach ( button ,
i % rows , i % rows + 1 ,
i % rows , i % rows + 1 ,
@ -476,7 +476,7 @@ class ColorToolButton(Gtk.ToolItem):
# The following is so that the behaviour on the toolbar is correct.
# The following is so that the behaviour on the toolbar is correct.
color_button . set_relief ( Gtk . ReliefStyle . NONE )
color_button . set_relief ( Gtk . ReliefStyle . NONE )
color_button . icon_size = Gtk. IconSize . LARGE_TOOLBAR
color_button . icon_size = style. STANDARD_ICON_SIZE
self . _palette_invoker . attach_tool ( self )
self . _palette_invoker . attach_tool ( self )
self . _palette_invoker . props . toggle_palette = True
self . _palette_invoker . props . toggle_palette = True