diff options
author | Juraj Fiala <doctorjellyface@riseup.net> | 2016-01-08 11:22:18 +0100 |
---|---|---|
committer | Juraj Fiala <doctorjellyface@riseup.net> | 2016-01-08 12:17:38 +0100 |
commit | 47b9ff329902c8bb466825ef9e4664d7914c46ce (patch) | |
tree | c4888f8803c5ccef88c15fbaeaeb8c0e1f89604a | |
parent | e2b7726c7255510aa289b74cbf92661bf212953d (diff) | |
download | gnome-themes-standard-47b9ff329902c8bb466825ef9e4664d7914c46ce.tar.gz |
Fixed arrows in treeview headers.
-rw-r--r-- | themes/Adwaita/gtk-2.0/assets.svg | 126 | ||||
-rw-r--r-- | themes/Adwaita/gtk-2.0/assets.txt | 6 | ||||
-rw-r--r-- | themes/Adwaita/gtk-2.0/assets/pan-treeview-down-active.png | bin | 0 -> 208 bytes | |||
-rw-r--r-- | themes/Adwaita/gtk-2.0/assets/pan-treeview-down-hover.png | bin | 0 -> 208 bytes | |||
-rw-r--r-- | themes/Adwaita/gtk-2.0/assets/pan-treeview-down.png | bin | 0 -> 200 bytes | |||
-rw-r--r-- | themes/Adwaita/gtk-2.0/assets/pan-treeview-up-active.png | bin | 0 -> 200 bytes | |||
-rw-r--r-- | themes/Adwaita/gtk-2.0/assets/pan-treeview-up-hover.png | bin | 0 -> 201 bytes | |||
-rw-r--r-- | themes/Adwaita/gtk-2.0/assets/pan-treeview-up.png | bin | 0 -> 197 bytes | |||
-rw-r--r-- | themes/Adwaita/gtk-2.0/main.rc | 58 |
9 files changed, 186 insertions, 4 deletions
diff --git a/themes/Adwaita/gtk-2.0/assets.svg b/themes/Adwaita/gtk-2.0/assets.svg index 836a0a43..096011d0 100644 --- a/themes/Adwaita/gtk-2.0/assets.svg +++ b/themes/Adwaita/gtk-2.0/assets.svg @@ -1586,9 +1586,9 @@ borderopacity="1" inkscape:pageopacity="1" inkscape:pageshadow="2" - inkscape:zoom="45.254834" - inkscape:cx="213.75757" - inkscape:cy="463.96555" + inkscape:zoom="8" + inkscape:cx="537.27639" + inkscape:cy="451.06152" inkscape:current-layer="layer1" inkscape:document-units="px" showgrid="false" @@ -5289,5 +5289,125 @@ inkscape:connector-curvature="0" sodipodi:nodetypes="cccc" inkscape:label="#rect4963" /> + <g + transform="matrix(0,1,1,0,-191,-92.000198)" + id="pan-treeview-up-active" + inkscape:label="pan-up" + style="display:inline"> + <path + style="fill:#2e3436;fill-opacity:1;stroke:none" + d="m 110.00019,760 -5,-5 5,-5 z" + id="path5020" + inkscape:connector-curvature="0" + sodipodi:nodetypes="cccc" /> + <rect + width="16" + height="16" + x="-116.0002" + y="747" + id="rect5022" + style="color:#bebebe;display:inline;overflow:visible;visibility:visible;fill:none;stroke:none;stroke-width:1;marker:none;enable-background:new" + transform="scale(-1,1)" /> + </g> + <g + inkscape:label="pan-down" + id="pan-treeview-down-active" + transform="matrix(0,-1,1,0,-191,144.0002)" + style="display:inline"> + <path + sodipodi:nodetypes="cccc" + inkscape:connector-curvature="0" + id="path5026" + d="m 110.00021,760 -5,-5 5,-5 z" + style="fill:#2e3436;fill-opacity:1;stroke:none" /> + <rect + transform="scale(-1,1)" + style="color:#bebebe;display:inline;overflow:visible;visibility:visible;fill:none;stroke:none;stroke-width:1;marker:none;enable-background:new" + id="rect5028" + y="747" + x="-116.0002" + height="16" + width="16" /> + </g> + <g + style="display:inline" + transform="matrix(0,-1,1,0,-209,144.0002)" + id="pan-treeview-down-hover" + inkscape:label="pan-down"> + <path + style="fill:#636769;fill-opacity:1;stroke:none" + d="m 110.00021,760 -5,-5 5,-5 z" + id="path5032" + inkscape:connector-curvature="0" + sodipodi:nodetypes="cccc" /> + <rect + width="16" + height="16" + x="-116.0002" + y="747" + id="rect5034" + style="color:#bebebe;display:inline;overflow:visible;visibility:visible;fill:none;stroke:none;stroke-width:1;marker:none;enable-background:new" + transform="scale(-1,1)" /> + </g> + <g + inkscape:label="pan-down" + id="pan-treeview-down" + transform="matrix(0,-1,1,0,-227,144.0002)" + style="display:inline"> + <path + sodipodi:nodetypes="cccc" + inkscape:connector-curvature="0" + id="path5038" + d="m 110.00021,760 -5,-5 5,-5 z" + style="fill:#979a9b;fill-opacity:1;stroke:none" /> + <rect + transform="scale(-1,1)" + style="color:#bebebe;display:inline;overflow:visible;visibility:visible;fill:none;stroke:none;stroke-width:1;marker:none;enable-background:new" + id="rect5040" + y="747" + x="-116.0002" + height="16" + width="16" /> + </g> + <g + style="display:inline" + inkscape:label="pan-up" + id="pan-treeview-up-hover" + transform="matrix(0,1,1,0,-209,-92.000198)"> + <path + sodipodi:nodetypes="cccc" + inkscape:connector-curvature="0" + id="path5044" + d="m 110.00019,760 -5,-5 5,-5 z" + style="fill:#636769;fill-opacity:1;stroke:none" /> + <rect + transform="scale(-1,1)" + style="color:#bebebe;display:inline;overflow:visible;visibility:visible;fill:none;stroke:none;stroke-width:1;marker:none;enable-background:new" + id="rect5046" + y="747" + x="-116.0002" + height="16" + width="16" /> + </g> + <g + transform="matrix(0,1,1,0,-227,-92.000198)" + id="pan-treeview-up" + inkscape:label="pan-up" + style="display:inline"> + <path + style="fill:#979a9b;fill-opacity:1;stroke:none" + d="m 110.00019,760 -5,-5 5,-5 z" + id="path5050" + inkscape:connector-curvature="0" + sodipodi:nodetypes="cccc" /> + <rect + width="16" + height="16" + x="-116.0002" + y="747" + id="rect5052" + style="color:#bebebe;display:inline;overflow:visible;visibility:visible;fill:none;stroke:none;stroke-width:1;marker:none;enable-background:new" + transform="scale(-1,1)" /> + </g> </g> </svg> diff --git a/themes/Adwaita/gtk-2.0/assets.txt b/themes/Adwaita/gtk-2.0/assets.txt index 18ef3f2d..16954180 100644 --- a/themes/Adwaita/gtk-2.0/assets.txt +++ b/themes/Adwaita/gtk-2.0/assets.txt @@ -34,6 +34,12 @@ pan-up-insensitive pan-down pan-down-hover pan-down-insensitive +pan-treeview-up +pan-treeview-up-hover +pan-treeview-up-active +pan-treeview-down +pan-treeview-down-hover +pan-treeview-down-active button button-hover button-active diff --git a/themes/Adwaita/gtk-2.0/assets/pan-treeview-down-active.png b/themes/Adwaita/gtk-2.0/assets/pan-treeview-down-active.png Binary files differnew file mode 100644 index 00000000..21ef0676 --- /dev/null +++ b/themes/Adwaita/gtk-2.0/assets/pan-treeview-down-active.png diff --git a/themes/Adwaita/gtk-2.0/assets/pan-treeview-down-hover.png b/themes/Adwaita/gtk-2.0/assets/pan-treeview-down-hover.png Binary files differnew file mode 100644 index 00000000..6d1d7fd8 --- /dev/null +++ b/themes/Adwaita/gtk-2.0/assets/pan-treeview-down-hover.png diff --git a/themes/Adwaita/gtk-2.0/assets/pan-treeview-down.png b/themes/Adwaita/gtk-2.0/assets/pan-treeview-down.png Binary files differnew file mode 100644 index 00000000..9b4acf0e --- /dev/null +++ b/themes/Adwaita/gtk-2.0/assets/pan-treeview-down.png diff --git a/themes/Adwaita/gtk-2.0/assets/pan-treeview-up-active.png b/themes/Adwaita/gtk-2.0/assets/pan-treeview-up-active.png Binary files differnew file mode 100644 index 00000000..36c0ee7d --- /dev/null +++ b/themes/Adwaita/gtk-2.0/assets/pan-treeview-up-active.png diff --git a/themes/Adwaita/gtk-2.0/assets/pan-treeview-up-hover.png b/themes/Adwaita/gtk-2.0/assets/pan-treeview-up-hover.png Binary files differnew file mode 100644 index 00000000..db41d654 --- /dev/null +++ b/themes/Adwaita/gtk-2.0/assets/pan-treeview-up-hover.png diff --git a/themes/Adwaita/gtk-2.0/assets/pan-treeview-up.png b/themes/Adwaita/gtk-2.0/assets/pan-treeview-up.png Binary files differnew file mode 100644 index 00000000..3839e28b --- /dev/null +++ b/themes/Adwaita/gtk-2.0/assets/pan-treeview-up.png diff --git a/themes/Adwaita/gtk-2.0/main.rc b/themes/Adwaita/gtk-2.0/main.rc index 055dd02c..1b568ddf 100644 --- a/themes/Adwaita/gtk-2.0/main.rc +++ b/themes/Adwaita/gtk-2.0/main.rc @@ -2040,8 +2040,8 @@ style "treeview_header" { stretch = TRUE } } - } + style "treeview_header_label" { xthickness = 1 @@ -2053,6 +2053,61 @@ style "treeview_header_label" { } +style "treeview_header_arrow" { + + engine "pixmap" { + + image { + function = ARROW + state = NORMAL + overlay_file = "assets/pan-treeview-up.png" + overlay_stretch = FALSE + arrow_direction = UP + } + + image { + function = ARROW + state = PRELIGHT + overlay_file = "assets/pan-treeview-up-hover.png" + overlay_stretch = FALSE + arrow_direction = UP + } + + image { + function = ARROW + state = ACTIVE + overlay_file = "assets/pan-treeview-up-active.png" + overlay_stretch = FALSE + arrow_direction = UP + } + + image { + function = ARROW + state = NORMAL + overlay_file = "assets/pan-treeview-down.png" + overlay_stretch = FALSE + arrow_direction = DOWN + } + + image { + function = ARROW + state = PRELIGHT + overlay_file = "assets/pan-treeview-down-hover.png" + overlay_stretch = FALSE + arrow_direction = DOWN + } + + image { + function = ARROW + state = ACTIVE + overlay_file = "assets/pan-treeview-down-active.png" + overlay_stretch = FALSE + arrow_direction = DOWN + } + + } + +} style "scrolled_window" { xthickness = 1 @@ -2254,6 +2309,7 @@ widget_class "*HandleBox" style "handlebo widget_class "*<GtkTreeView>" style "treeview" widget_class "*<GtkTreeView>*<GtkButton>*" style "treeview_header_label" widget_class "*<GtkTreeView>*<GtkButton>" style "treeview_header" +widget_class "*<GtkTreeView>*<GtkArrow>" style "treeview_header_arrow" widget_class "*<GtkFileChooserDefault>*<GtkToolbar>" style "inline_toolbar" widget_class "*<GtkFileChooserDefault>*<GtkToolbar>*<GtkButton>" style "button_nohilight" widget_class "*<GtkComboBoxEntry>*<GtkEntry>" style "combobox_entry" |