diff options
author | Benjamin Berg <benjamin@sipsolutions.net> | 2009-01-05 18:52:44 (GMT) |
---|---|---|
committer | Benjamin Berg <benjamin@sipsolutions.net> | 2009-01-05 18:52:44 (GMT) |
commit | 90ec50f81facdf68f4bc9597d96659d5ec4c2b13 (patch) | |
tree | 9fc89af3ed0b29da550546d6557c3743b94bbd73 | |
parent | 2e3e8035d174ed324dc658b4cb6211cc6e9ef885 (diff) |
Import old colorbutton patch.
-rw-r--r-- | gtk/theme/gtkrc.em | 1 | ||||
-rw-r--r-- | icons/scalable/control/Makefile.am | 3 | ||||
-rw-r--r-- | icons/scalable/control/color-preview.svg | 17 |
3 files changed, 20 insertions, 1 deletions
diff --git a/gtk/theme/gtkrc.em b/gtk/theme/gtkrc.em index 5a4078f..f22a3e8 100644 --- a/gtk/theme/gtkrc.em +++ b/gtk/theme/gtkrc.em @@ -822,6 +822,7 @@ widget_class "*<GtkScrolledWindow>.<GtkHScrollbar>" style "hscrollbar-scrolled-w # Toolbar widget_class "*<GtkToolButton>*" style "toolbutton" +widget_class "*<SugarColorToolButton>*" style "toolbutton" widget_class "*<GtkSeparatorToolItem>*" style "separatortoolbutton" widget_class "*<GtkToolbar>" style "toolbar" diff --git a/icons/scalable/control/Makefile.am b/icons/scalable/control/Makefile.am index e194cdb..965423f 100644 --- a/icons/scalable/control/Makefile.am +++ b/icons/scalable/control/Makefile.am @@ -3,7 +3,8 @@ category=control icondir = $(datadir)/icons/sugar/$(iconsize)/$(category) icon_DATA = \ - control-popup-arrow.svg + control-popup-arrow.svg \ + color-preview.svg EXTRA_DIST = $(icon_DATA) diff --git a/icons/scalable/control/color-preview.svg b/icons/scalable/control/color-preview.svg new file mode 100644 index 0000000..c33f554 --- /dev/null +++ b/icons/scalable/control/color-preview.svg @@ -0,0 +1,17 @@ +<?xml version="1.0" ?><!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd' [ + <!ENTITY stroke_color "#010101"> + <!ENTITY fill_color "#FFFFFF"> +]><svg enable-background="new 0 0 55 55" height="55px" version="1.1" viewBox="0 0 55 55" width="55px" x="0px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" y="0px"><g display="block" id="device-network-wireless-100"> + <g> + <g> + <defs> + <rect height="45" id="SVGID_1_" width="45" x="4.875" y="5"/> + </defs> + <clipPath id="SVGID_2_"> + <use overflow="visible" xlink:href="#SVGID_1_"/> + </clipPath> + <path clip-path="url(#SVGID_2_)" d="M46.375,27.498c0,10.494-8.507,19.002-19,19.002s-19-8.508-19-19.002 c0-10.49,8.507-18.998,19-18.998S46.375,17.003,46.375,27.498z" fill="&fill_color;"/> + </g> + <path d="M46.375,27.498 c0,10.494-8.507,19.002-19,19.002s-19-8.508-19-19.002c0-10.49,8.507-18.998,19-18.998S46.375,17.003,46.375,27.498z" fill="none" stroke="&stroke_color;" stroke-linecap="round" stroke-linejoin="round" stroke-width="3.5"/> + </g> +</g></svg>
\ No newline at end of file |